/* Brasilia — mobile-first global stylesheet.
   One file, no framework. Fluid type, generous tap targets, no layout shift. */

:root {
  --ink: #17150f;
  --ink-soft: #4a4437;
  --cream: #fbf6ec;
  --cream-deep: #f2e9d8;
  --green: #0f4c3a;
  --green-deep: #0a3427;
  --gold: #e0a82e;
  --gold-soft: #f4d789;
  --terracotta: #b4522f;
  --line: rgba(23, 21, 15, 0.12);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 68rem;
  --pad: clamp(1rem, 4vw, 2rem);
  --radius: 0.5rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); }
a:hover { color: var(--terracotta); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); }

p { margin: 0 0 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--pad);
  top: 0.5rem;
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  padding-block: 0.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  margin-right: auto;
}
.brand span { color: var(--gold); }

/* nav collapses to a scrollable row on small screens — no hamburger, no JS */
.site-nav {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius);
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--green);
  background: var(--cream-deep);
}

@media (max-width: 30rem) {
  .site-nav { display: none; }
  .site-header__inner { min-height: 3.5rem; }
}

/* ---------- order button ---------- */
.order-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--gold);
  color: #241c05;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: transform 0.12s ease, background 0.12s ease;
}
.order-btn:hover { background: var(--gold-soft); color: #241c05; }
.order-btn:active { transform: translateY(1px); }
.order-btn__sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.8;
}
.order-btn--ghost {
  background: transparent;
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}
.order-btn--ghost:hover { background: var(--gold-soft); color: var(--green-deep); }
.order-btn--lg { min-height: 3.25rem; padding: 0.8rem 1.6rem; font-size: 1.1rem; }

@media (max-width: 30rem) {
  .order-btn__sub { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--green-deep);
  color: var(--cream);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero__inner {
  position: relative;
  padding-block: clamp(3.5rem, 12vw, 7rem);
  max-width: 44rem;
}
.hero__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 0.9rem;
}
.hero h1 { color: #fff; }
.hero p {
  color: rgba(251, 246, 236, 0.9);
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  max-width: 34rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- strips and sections ---------- */
.strip {
  background: var(--green);
  color: var(--cream);
  text-align: center;
  padding-block: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.15rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.strip strong { color: var(--gold-soft); }

.section { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.section--tint { background: var(--cream-deep); }
.section__head { max-width: 42rem; margin-bottom: 1.75rem; }
.section__head p { color: var(--ink-soft); margin: 0; }

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 44rem) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.card h3 { color: var(--green); margin-bottom: 0.35rem; }
.card p:last-child { margin-bottom: 0; }
.card--accent { border-top: 4px solid var(--gold); }

/* ---------- hours ---------- */
.hours {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.hours dt, .hours .days { font-weight: 600; }
.hours .open { color: var(--ink-soft); white-space: nowrap; }

/* ---------- menu ---------- */
.menu-nav {
  position: sticky;
  top: 4rem;
  z-index: 20;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.5rem;
  padding-block: 0.6rem;
  overflow-x: auto;
}
.menu-nav a {
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}
.menu-nav a:hover { background: var(--cream-deep); }

.menu-section { padding-block: clamp(1.75rem, 5vw, 2.75rem); }
.menu-section + .menu-section { border-top: 1px solid var(--line); }
.menu-section__title {
  color: var(--green);
  margin-bottom: 1rem;
}
.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 48rem) {
  .menu-items { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  align-items: baseline;
  padding-bottom: 0.85rem;
  border-bottom: 1px dotted var(--line);
}
.menu-item__name {
  font-weight: 600;
  font-size: 1.02rem;
}
.menu-item__star { color: var(--terracotta); }
.menu-item__price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}
.menu-item__desc {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}
.menu-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- visit / cta ---------- */
.cta {
  background: var(--green-deep);
  color: var(--cream);
  padding-block: clamp(2.5rem, 7vw, 4rem);
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(251, 246, 236, 0.85); }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.map-frame {
  border: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  margin-top: 1.5rem;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(251, 246, 236, 0.75);
  padding-block: 2.5rem;
  font-size: 0.92rem;
}
.site-footer a { color: var(--gold-soft); }
.site-footer__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 44rem) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer__legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(251, 246, 236, 0.18);
  font-size: 0.85rem;
}

.social {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.75rem;
}
.social img { width: 1.6rem; height: 1.6rem; }
.social a { text-decoration: none; }

/* ---------- tap targets ----------
   WCAG 2.2 "Target Size (Minimum)" wants 24x24 CSS px for standalone controls.
   Inline links inside a sentence are exempt; list and icon links are not. */
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.site-footer li a,
.site-footer p a,
.card p a,
.menu-note a {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(251, 246, 236, 0.08);
}
.social img { width: 1.75rem; height: 1.75rem; }

/* ---------- mobile order bar ---------- */
.order-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: none;
  padding: 0.6rem var(--pad) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(251, 246, 236, 0.96);
  border-top: 1px solid var(--line);
  gap: 0.5rem;
}
.order-bar .order-btn { flex: 1; }
.order-bar .order-btn--call {
  flex: 0 0 auto;
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}
@media (max-width: 44rem) {
  .order-bar { display: flex; }
  body { padding-bottom: 4.5rem; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
