/* ══════════════════════════════════════════════════════════════════════════
   MAISON CORAIL · restaurant prototype
   Design tokens transcribed 1:1 from DESIGN.md (Claude-design-analysis).
   No inline hex in component rules — every value resolves through a token.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand & accent ─────────────────────────────────────────────────── */
  --primary:            #cc785c;
  --primary-active:     #a9583e;
  --primary-disabled:   #e6dfd8;
  --accent-teal:        #5db8a6;
  --accent-amber:       #e8a55a;

  /* ── Surface ────────────────────────────────────────────────────────── */
  --canvas:             #faf9f5;
  --surface-soft:       #f5f0e8;
  --surface-card:       #efe9de;
  --surface-cream-strong:#e8e0d2;
  --surface-dark:       #181715;
  --surface-dark-elevated:#252320;
  --surface-dark-soft:  #1f1e1b;
  --hairline:           #e6dfd8;
  --hairline-soft:      #ebe6df;

  /* ── Text ───────────────────────────────────────────────────────────── */
  --ink:                #141413;
  --body:               #3d3d3a;
  --body-strong:        #252523;
  --muted:              #6c6a64;
  --muted-soft:         #8e8b82;
  --on-primary:         #ffffff;
  --on-dark:            #faf9f5;
  --on-dark-soft:       #a09d96;

  /* ── Semantic ───────────────────────────────────────────────────────── */
  --success:            #5db872;
  --warning:            #d4a017;
  --error:              #c64545;

  /* ── Type families ──────────────────────────────────────────────────── */
  /* Copernicus / Tiempos Headline unavailable → Cormorant Garamond 500
     (DESIGN.md "Note on Font Substitutes"), EB Garamond fallback.        */
  --font-display: "Cormorant Garamond", "Tiempos Headline", "EB Garamond", Garamond, "Times New Roman", serif;
  /* StyreneB unavailable → Inter (humanist sans).                         */
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* ── Type scale ─────────────────────────────────────────────────────── */
  --display-xl: 64px;  --display-xl-lh: 1.05; --display-xl-ls: -1.5px;
  --display-lg: 48px;  --display-lg-lh: 1.1;  --display-lg-ls: -1px;
  --display-md: 36px;  --display-md-lh: 1.15; --display-md-ls: -0.5px;
  --display-sm: 28px;  --display-sm-lh: 1.2;  --display-sm-ls: -0.3px;

  --title-lg: 22px; --title-lg-lh: 1.3;
  --title-md: 18px; --title-md-lh: 1.4;
  --title-sm: 16px; --title-sm-lh: 1.4;

  --body-md: 16px; --body-md-lh: 1.55;
  --body-sm: 14px; --body-sm-lh: 1.55;

  --caption: 13px; --caption-lh: 1.4;
  --caption-upper: 12px; --caption-upper-lh: 1.4; --caption-upper-ls: 1.5px;
  --code: 14px; --code-lh: 1.6;
  --button: 14px; --nav-link: 14px;

  /* ── Radius ─────────────────────────────────────────────────────────── */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 9999px;
  --r-full: 9999px;

  /* ── Spacing ────────────────────────────────────────────────────────── */
  --s-xxs: 4px;
  --s-xs: 8px;
  --s-sm: 12px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-xxl: 48px;
  --s-section: 96px;

  --container: 1200px;
  --nav-h: 64px;
  --footer-pad: 64px;
  --gutter: 64px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--s-md)); }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: var(--body-md);
  font-weight: 400;
  line-height: var(--body-md-lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, dl, dd, dt, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

::selection { background: var(--surface-cream-strong); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--canvas); color: var(--ink);
  padding: var(--s-sm) var(--s-lg);
  border-radius: 0 0 var(--r-md) 0;
  font-size: var(--body-sm); font-weight: 500;
}
.skip-link:focus { left: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY — display stays serif 400 with negative tracking; body stays sans 400
   ══════════════════════════════════════════════════════════════════════════ */
.t-display-xl,
.t-display-lg,
.t-display-md,
.t-display-sm {
  font-family: var(--font-display);
  font-weight: 500;              /* Cormorant substitute uses 500, per DESIGN.md */
  color: var(--ink);
}
.t-display-xl { font-size: var(--display-xl); line-height: var(--display-xl-lh); letter-spacing: var(--display-xl-ls); }
.t-display-lg { font-size: var(--display-lg); line-height: var(--display-lg-lh); letter-spacing: var(--display-lg-ls); }
.t-display-md { font-size: var(--display-md); line-height: var(--display-md-lh); letter-spacing: var(--display-md-ls); }
.t-display-sm { font-size: var(--display-sm); line-height: var(--display-sm-lh); letter-spacing: var(--display-sm-ls); }

.t-title-lg { font-family: var(--font-sans); font-size: var(--title-lg); font-weight: 500; line-height: var(--title-lg-lh); letter-spacing: 0; color: var(--ink); }
.t-title-md { font-family: var(--font-sans); font-size: var(--title-md); font-weight: 500; line-height: var(--title-md-lh); letter-spacing: 0; color: var(--ink); }
.t-title-sm { font-family: var(--font-sans); font-size: var(--title-sm); font-weight: 500; line-height: var(--title-sm-lh); letter-spacing: 0; color: var(--ink); }

.t-body-md { font-size: var(--body-md); font-weight: 400; line-height: var(--body-md-lh); color: var(--body); }
.t-body-sm { font-size: var(--body-sm); font-weight: 400; line-height: var(--body-sm-lh); color: var(--muted); }

.caption-upper {
  display: block;
  font-size: var(--caption-upper);
  font-weight: 500;
  line-height: var(--caption-upper-lh);
  letter-spacing: var(--caption-upper-ls);
  text-transform: uppercase;
  color: var(--muted-soft);
}

.eyebrow {
  display: block;
  margin-bottom: var(--s-md);
  font-size: var(--caption-upper);
  font-weight: 500;
  line-height: var(--caption-upper-lh);
  letter-spacing: var(--caption-upper-ls);
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow--on-dark { color: var(--on-dark-soft); }

.text-link {
  color: var(--primary);
  text-decoration: none;
}
.text-link:active { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-lg);
}

/* Bands alternate surface mode — never repeat the same mode consecutively */
.band { padding-block: var(--s-section); }
.band--canvas { background: var(--canvas); }
.band--soft   { background: var(--surface-soft); }
.band--flush-top { padding-top: 0; }

.section-head {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--s-xxl);
  text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }
.section-head__sub { margin-top: var(--s-md); }

/* ══════════════════════════════════════════════════════════════════════════
   TOP NAV — 64px, canvas, sticky
   ══════════════════════════════════════════════════════════════════════════ */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.top-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-xl);
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark { width: 20px; height: 20px; fill: var(--ink); flex-shrink: 0; }
.brand__word {
  font-family: var(--font-sans);
  font-size: var(--title-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.top-nav__menu {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  margin-left: auto;
}
.nav-link {
  font-size: var(--nav-link);
  font-weight: 500;
  line-height: 1.4;
  color: var(--body-strong);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:active { color: var(--primary); }
.top-nav__menu-cta { display: none; }

.top-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  flex-shrink: 0;
}

.btn-text {
  font-size: var(--nav-link);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.btn-text:active { color: var(--primary); }

.nav-toggle {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 11px; width: 16px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-xs);
  min-height: 40px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: var(--button);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:active { background: var(--primary-active); }

.btn--secondary {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--hairline);
}
.btn--secondary:active { background: var(--surface-card); }

.btn--on-dark {
  background: var(--surface-dark-elevated);
  color: var(--on-dark);
}
.btn--on-dark:active { background: var(--surface-dark-soft); }

.btn--secondary-on-dark {
  background: var(--surface-dark-elevated);
  color: var(--on-dark);
}
.btn--secondary-on-dark:active { background: var(--surface-dark-soft); }

/* Inverted button — used on coral surfaces only */
.btn--invert {
  background: var(--canvas);
  color: var(--ink);
}
.btn--invert:active { background: var(--surface-cream-strong); }

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--hairline);
}
.btn--ghost:active { background: var(--surface-soft); }

.btn--wide { width: 100%; }

/* ══════════════════════════════════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.badge--pill {
  background: var(--surface-card);
  color: var(--ink);
  font-size: var(--caption);
  font-weight: 500;
  line-height: var(--caption-lh);
}
.badge--coral {
  background: var(--primary);
  color: var(--on-primary);
  font-size: var(--caption-upper);
  font-weight: 500;
  line-height: var(--caption-upper-lh);
  letter-spacing: var(--caption-upper-ls);
  text-transform: uppercase;
}
.badge--on-dark-soft {
  background: var(--surface-dark-elevated);
  color: var(--on-dark-soft);
}
.badge--inline { vertical-align: 2px; margin-left: var(--s-xs); }

/* ══════════════════════════════════════════════════════════════════════════
   BAND 01 · HERO
   ══════════════════════════════════════════════════════════════════════════ */
.hero { padding-block: var(--s-section); }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xxl);
  align-items: center;
}
.hero__copy .badge { margin-bottom: var(--s-lg); }
.hero__sub {
  max-width: 46ch;
  margin-top: var(--s-lg);
  color: var(--body);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  margin-top: var(--s-xl);
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-sm);
  margin-top: var(--s-xl);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--hairline);
}
.proof__stars { display: flex; gap: 2px; }
.proof__stars svg { width: 15px; height: 14px; fill: var(--primary); }
.proof__text { font-size: var(--body-sm); color: var(--muted); }

/* ── Dark product surface: kitchen ticket rail ─────────────────────────── */
.ticket {
  background: var(--surface-dark);
  border-radius: var(--r-xl);
  padding: var(--s-lg);
  overflow: hidden;
}
.ticket__bar {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  padding-bottom: var(--s-md);
  border-bottom: 1px solid var(--surface-dark-soft);
}
.ticket__dot {
  width: 8px; height: 8px; border-radius: var(--r-full);
  background: var(--accent-amber);
  flex-shrink: 0;
}
.ticket__title {
  font-size: var(--body-sm);
  font-weight: 500;
  color: var(--on-dark);
}
.ticket__live {
  margin-left: auto;
  font-size: var(--caption-upper);
  font-weight: 500;
  letter-spacing: var(--caption-upper-ls);
  text-transform: uppercase;
  color: var(--success);
  white-space: nowrap;
}
.ticket__body {
  background: var(--surface-dark-soft);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  margin-top: var(--s-lg);
}
.ticket__row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: baseline;
  gap: var(--s-sm);
  padding: var(--s-sm) 0;
  border-bottom: 1px solid var(--surface-dark-elevated);
}
.ticket__row:last-of-type { border-bottom: 0; }
.ticket__qty {
  font-family: var(--font-mono);
  font-size: var(--code);
  color: var(--on-dark-soft);
}
.ticket__item {
  font-size: var(--body-sm);
  font-weight: 500;
  color: var(--on-dark);
}
.ticket__note {
  font-family: var(--font-mono);
  font-size: var(--caption);
  color: var(--on-dark-soft);
}
.ticket__row--fire .ticket__qty { color: var(--accent-amber); }
.ticket__row--fire .ticket__item { color: var(--accent-amber); }

.ticket__rule { height: 1px; background: var(--surface-dark-elevated); margin: var(--s-md) 0; }

.ticket__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
}
.ticket__meta span {
  display: block;
  font-size: var(--caption-upper);
  font-weight: 500;
  letter-spacing: var(--caption-upper-ls);
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 2px;
}
.ticket__meta strong {
  font-family: var(--font-mono);
  font-size: var(--code);
  font-weight: 500;
  color: var(--on-dark);
}
.ticket__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-lg);
  margin-top: var(--s-lg);
  padding-top: var(--s-md);
  border-top: 1px solid var(--surface-dark-soft);
}
.ticket__status {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  font-size: var(--caption);
  font-weight: 500;
  color: var(--on-dark-soft);
}
.ticket__status i {
  width: 7px; height: 7px; border-radius: var(--r-full);
  background: var(--success);
  flex-shrink: 0;
}
.ticket__status--amber i { background: var(--accent-amber); }

/* ══════════════════════════════════════════════════════════════════════════
   BAND 02 · PRESS STRIP
   ══════════════════════════════════════════════════════════════════════════ */
.press { padding-block: var(--s-xxl); border-block: 1px solid var(--hairline); }
.press__label { text-align: center; margin-bottom: var(--s-lg); }
.press__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-lg) var(--s-xl);
}
.press__item {
  font-family: var(--font-display);
  font-size: var(--title-lg);
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.press__sep { color: var(--hairline); font-size: var(--caption); }

/* ══════════════════════════════════════════════════════════════════════════
   BAND 03 · STORY
   ══════════════════════════════════════════════════════════════════════════ */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xxl);
  align-items: center;
}
.story__copy h2 { margin-bottom: var(--s-lg); }
.story__copy p + p { margin-top: var(--s-md); }
.story__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
  margin-top: var(--s-xl);
  padding-top: var(--s-xl);
  border-top: 1px solid var(--hairline);
}
.story__stats dd { margin-top: var(--s-xxs); font-size: var(--body-sm); color: var(--muted); }

.story__figure { margin: 0; }
.story__figure svg { width: 100%; height: auto; border-radius: var(--r-xl); }
.story__caption {
  display: flex;
  align-items: baseline;
  gap: var(--s-sm);
  margin-top: var(--s-md);
  font-size: var(--body-sm);
  color: var(--muted);
}
.story__caption .caption-upper { color: var(--muted-soft); }

/* ══════════════════════════════════════════════════════════════════════════
   BAND 04 · SIGNATURE CREAM CARD
   ══════════════════════════════════════════════════════════════════════════ */
.feature-card {
  background: var(--surface-card);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
}
.signature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-xxl);
  align-items: center;
}
.signature__copy .badge { margin-bottom: var(--s-md); }
.signature__copy p { margin-top: var(--s-sm); max-width: 52ch; }
.signature__meta {
  display: grid;
  gap: var(--s-md);
  padding-left: var(--s-xl);
  border-left: 1px solid var(--hairline);
}
.meta__item { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-md); }
.meta__item .caption-upper { margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   BAND 05 · MENU
   ══════════════════════════════════════════════════════════════════════════ */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-xs);
  margin-bottom: var(--s-xxl);
}
.tab {
  padding: 8px 14px;
  background: transparent;
  border: 0;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: var(--nav-link);
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.tab.is-active {
  background: var(--surface-card);
  color: var(--ink);
}
.tab:active { background: var(--surface-cream-strong); color: var(--ink); }

.menu__panel[hidden] { display: none; }

.menu__list { display: grid; gap: var(--s-xs); }
.menu__item {
  padding: var(--s-lg) 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.menu__item--star {
  background: var(--surface-card);
  border-bottom-color: transparent;
  border-radius: var(--r-lg);
  padding: var(--s-lg) var(--s-xl);
  margin: var(--s-xs) 0;
}
.menu__head {
  display: flex;
  align-items: baseline;
  gap: var(--s-sm);
}
.menu__dots {
  flex: 1;
  height: 1px;
  min-width: var(--s-lg);
  border-bottom: 1px dotted var(--hairline);
  transform: translateY(-3px);
}
.menu__price {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.menu__item p { margin-top: var(--s-xxs); }
.menu__foot {
  max-width: 62ch;
  margin: var(--s-xl) auto 0;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════════════
   BAND 06 · EXPERIENCE
   ══════════════════════════════════════════════════════════════════════════ */
.x-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}
.x-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-bottom: var(--s-lg);
  border-radius: var(--r-md);
  background: var(--canvas);
  color: var(--primary);
}
.x-card__icon svg { width: 22px; height: 22px; }
.x-card h3 { margin-bottom: var(--s-xs); }

/* ── Dark availability mockup ──────────────────────────────────────────── */
.availability {
  margin-top: var(--s-xxl);
  background: var(--surface-dark);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
}
.availability__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-md);
  padding-bottom: var(--s-lg);
  border-bottom: 1px solid var(--surface-dark-soft);
}
.availability__head .t-display-sm { color: var(--on-dark); margin-top: var(--s-xxs); }

.availability__board {
  display: grid;
  gap: var(--s-xxs);
  margin-top: var(--s-lg);
}
.avail-row {
  display: grid;
  grid-template-columns: 88px 1fr 1fr;
  align-items: center;
  gap: var(--s-md);
  padding: var(--s-sm) var(--s-md);
  border-radius: var(--r-md);
  background: var(--surface-dark-soft);
}
.avail-time {
  font-family: var(--font-mono);
  font-size: var(--code);
  color: var(--on-dark);
}
.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: var(--caption);
  font-weight: 500;
  color: var(--on-dark-soft);
  background: var(--surface-dark-elevated);
  width: fit-content;
}
.avail-pill--open { color: var(--success); }
.avail-pill--low  { color: var(--accent-amber); }
.avail-pill--full { color: var(--error); }
.avail-pill--bar  { color: var(--on-dark-soft); }

.availability__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-lg);
  margin-top: var(--s-lg);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--surface-dark-soft);
}
.availability__foot .btn { margin-left: auto; }
.avail-legend {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  font-size: var(--caption);
  font-weight: 500;
  color: var(--on-dark-soft);
}

.dot { width: 7px; height: 7px; border-radius: var(--r-full); flex-shrink: 0; display: inline-block; }
.dot--open { background: var(--success); }
.dot--low  { background: var(--accent-amber); }
.dot--full { background: var(--error); }
.dot--bar  { background: var(--on-dark-soft); }

/* ══════════════════════════════════════════════════════════════════════════
   BAND 07 · REVIEWS
   ══════════════════════════════════════════════════════════════════════════ */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  padding: var(--s-xl);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}
.review-card__stars { display: flex; gap: 2px; }
.review-card__stars svg { width: 15px; height: 14px; fill: var(--primary); }
.review-card blockquote { flex: 1; color: var(--body-strong); }
.review-card__by { display: flex; align-items: center; gap: var(--s-sm); }
.review-card__by div { display: flex; flex-direction: column; }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  background: var(--surface-card);
  color: var(--ink);
  font-size: var(--caption);
  font-weight: 500;
  flex-shrink: 0;
}
.review-card__meta { color: var(--muted-soft); }

/* ══════════════════════════════════════════════════════════════════════════
   BAND 08 · RESERVATION — the coral moment
   ══════════════════════════════════════════════════════════════════════════ */
.reserve__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--s-xxl);
  align-items: start;
}
.reserve__intro h2 { margin-bottom: var(--s-lg); }
.reserve__points { display: grid; gap: var(--s-sm); margin-top: var(--s-xl); }
.reserve__points li { display: flex; align-items: flex-start; gap: var(--s-sm); }
.tick {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  border-radius: var(--r-full);
  background: var(--surface-card);
  position: relative;
}
.tick::after {
  content: "";
  position: absolute;
  left: 5px; top: 4px;
  width: 5px; height: 9px;
  border-right: 1.8px solid var(--primary);
  border-bottom: 1.8px solid var(--primary);
  transform: rotate(42deg);
}
.reserve__call {
  margin-top: var(--s-xl);
  padding: var(--s-lg);
  background: var(--surface-soft);
  border-radius: var(--r-lg);
}
.phone-link { color: var(--ink); text-decoration: none; display: inline-block; margin: 2px 0; }
.phone-link:active { color: var(--primary); }
.reserve__call-note { margin-top: var(--s-xxs); color: var(--muted-soft); }

/* Coral card — full-bleed coral surface, generous padding */
.reserve__card {
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--r-lg);
  padding: var(--s-xxl);
}
.reserve__card-head { margin-bottom: var(--s-xl); }
.reserve__card-head .t-display-sm { color: var(--on-primary); }
.reserve__card-sub { margin-top: var(--s-xxs); font-size: var(--body-sm); color: var(--on-primary); opacity: .84; }

.booking { display: grid; gap: var(--s-md); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-md); }
.field { display: flex; flex-direction: column; gap: var(--s-xs); }
.field label {
  font-size: var(--caption);
  font-weight: 500;
  color: var(--on-primary);
}
.label-optional { font-weight: 400; opacity: .7; }

.input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: var(--body-md);
  font-weight: 400;
  line-height: 1.4;
}
.input::placeholder { color: var(--muted-soft); }
.input:focus {
  outline: none;
  border-color: var(--primary-active);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .28);
}
.input.is-invalid { border-color: var(--error); box-shadow: none; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236c6a64' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.textarea { resize: vertical; min-height: 88px; line-height: var(--body-md-lh); }

.field__error {
  font-size: var(--caption);
  font-weight: 500;
  color: var(--on-primary);
  min-height: 0;
}
.field__error:empty { display: none; }
.field__error::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: var(--s-xs);
  border-radius: var(--r-full);
  background: var(--ink);
  vertical-align: middle;
}

.booking__note {
  font-size: var(--caption);
  line-height: 1.5;
  color: var(--on-primary);
  opacity: .82;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════════════
   BAND 09 · VISIT
   ══════════════════════════════════════════════════════════════════════════ */
.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: var(--s-lg);
  align-items: start;
}
.info-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
}
.info-card h3 { margin-bottom: var(--s-md); }
.info-card__note { margin-top: var(--s-md); font-size: var(--body-sm); color: var(--muted-soft); }

.hours { display: grid; gap: 1px; }
.hours__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-md);
  padding: var(--s-xs) 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.hours__row dt { font-size: var(--body-sm); color: var(--body-strong); }
.hours__row dd { font-size: var(--body-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.hours__row--closed dd { color: var(--muted-soft); }

.address { font-style: normal; line-height: 1.7; color: var(--body); }

.map {
  margin-top: var(--s-lg);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.map svg { width: 100%; height: auto; }

.info-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-md);
  margin-top: var(--s-lg);
}
.info-card__hint { color: var(--muted-soft); }

.facts { display: grid; gap: var(--s-md); }
.facts li { display: grid; gap: 2px; }
.facts .caption-upper { margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   BAND 10 · CTA
   ══════════════════════════════════════════════════════════════════════════ */
.cta-band { padding-block: 0 var(--s-section); }
.cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-xl);
  background: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: var(--footer-pad);
}
.cta-card__copy { max-width: 60ch; }
.cta-card .t-display-sm { color: var(--on-dark); }
.cta-card p { margin-top: var(--s-sm); color: var(--on-dark-soft); }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: var(--s-sm); }

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER — dark, never inverts
   ══════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--surface-dark);
  color: var(--on-dark-soft);
  padding-block: var(--footer-pad);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--gutter);
  padding-bottom: var(--s-xxl);
  border-bottom: 1px solid var(--surface-dark-soft);
}
.brand--on-dark .brand__mark { fill: var(--on-dark); }
.brand--on-dark .brand__word { color: var(--on-dark); }
.footer__blurb { margin-top: var(--s-md); max-width: 40ch; color: var(--on-dark-soft); }
.footer__social { display: flex; gap: var(--s-xs); margin-top: var(--s-lg); }
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: var(--surface-dark-elevated);
  color: var(--on-dark);
}
.social svg { width: 18px; height: 18px; }
.social:active { background: var(--surface-dark-soft); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-xl);
}
.footer__col { display: flex; flex-direction: column; gap: var(--s-sm); }
.footer__heading { color: var(--muted-soft); margin-bottom: var(--s-xxs); }
.footer__col a {
  font-size: var(--body-sm);
  color: var(--on-dark-soft);
  text-decoration: none;
  width: fit-content;
}
.footer__col a:active { color: var(--on-dark); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  padding-top: var(--s-lg);
}
.footer__bottom p { color: var(--on-dark-soft); }
.footer__fine { color: var(--muted); }

/* ══════════════════════════════════════════════════════════════════════════
   CONFIRMATION MODAL
   ══════════════════════════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-lg);
}
.modal[hidden] { display: none; }

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 19, .62);
  animation: fade-in .22s ease both;
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--canvas);
  border-radius: var(--r-lg);
  animation: modal-in .3s cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .modal__scrim, .modal__dialog { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* Dark chrome bar — echoes the product-mockup surface */
.modal__bar {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  padding: var(--s-md) var(--s-lg);
  background: var(--surface-dark);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.modal__dot {
  width: 8px; height: 8px; border-radius: var(--r-full);
  background: var(--success);
  flex-shrink: 0;
}
.modal__bar-title { font-size: var(--body-sm); font-weight: 500; color: var(--on-dark); }
.modal__bar-tag {
  margin-left: auto;
  font-size: var(--caption-upper);
  font-weight: 500;
  letter-spacing: var(--caption-upper-ls);
  text-transform: uppercase;
  color: var(--success);
  white-space: nowrap;
}

.modal__body { padding: var(--s-xl); text-align: center; }

.modal__check { display: flex; justify-content: center; margin-bottom: var(--s-lg); }
.modal__check svg { width: 56px; height: 56px; }
.check__ring {
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  animation: draw .55s ease-out .1s both;
}
.check__tick {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw .35s ease-out .5s both;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .check__ring, .check__tick { animation: none; stroke-dashoffset: 0; }
}

.modal__title { margin-bottom: var(--s-xs); }
.modal__sub { color: var(--muted); }
.modal__sub strong { color: var(--ink); font-weight: 500; }

.modal__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: var(--s-xl) 0;
  background: var(--hairline-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: left;
}
.modal__detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s-md) var(--s-lg);
  background: var(--surface-card);
}
.modal__detail--wide { grid-column: 1 / -1; }
.modal__detail .caption-upper { margin: 0; }
.modal__ref { font-family: var(--font-mono); font-size: var(--body-sm); letter-spacing: .04em; }

.modal__meta {
  display: grid;
  gap: var(--s-xs);
  padding: var(--s-md) var(--s-lg);
  background: var(--surface-soft);
  border-radius: var(--r-md);
  text-align: left;
}
.modal__meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  font-size: var(--caption);
  font-weight: 500;
  color: var(--muted);
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  margin-top: var(--s-xl);
}
.modal__actions .btn { flex: 1 1 180px; }

.modal__foot { margin-top: var(--s-md); color: var(--muted-soft); }

/* ── Scroll reveal (subtle, one-shot) ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — mobile <768 · tablet 768–1024 · desktop 1024–1440 · wide >1440
   ══════════════════════════════════════════════════════════════════════════ */

/* Wide: more outer breathing room, container still caps at 1200px */
@media (min-width: 1441px) {
  .container { padding-inline: var(--s-xxl); }
}

/* Tablet and below — collapse the hero 6/6 split */
@media (max-width: 1024px) {
  :root { --s-section: 72px; }

  .hero__grid,
  .story__grid,
  .reserve__grid { grid-template-columns: 1fr; gap: var(--s-xxl); }

  .hero__copy { order: 1; }
  .hero__artifact { order: 2; }
  .hero__sub { max-width: 56ch; }

  .signature { grid-template-columns: 1fr; gap: var(--s-xl); }
  .signature__meta {
    padding-left: 0;
    padding-top: var(--s-lg);
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }

  .x-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .visit__grid { grid-template-columns: repeat(2, 1fr); }
  .info-card--map { grid-column: 1 / -1; order: -1; }

  .footer__top { grid-template-columns: 1fr; gap: var(--s-xxl); }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }

  .cta-card { padding: var(--s-xxl); }
}

/* Mobile — hamburger nav, everything 1-up */
@media (max-width: 768px) {
  :root { --s-section: 56px; }

  /* Nav collapses to a full-screen cream sheet */
  .nav-toggle { display: block; }
  .top-nav__actions .btn,
  .top-nav__actions .btn-text { display: none; }

  .top-nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: var(--s-lg);
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    overflow-y: auto;
  }
  .top-nav__menu.is-open { opacity: 1; transform: none; visibility: visible; }

  .nav-link {
    padding: var(--s-md) 0;
    font-size: var(--title-sm);
    border-bottom: 1px solid var(--hairline-soft);
  }
  .top-nav__menu-cta { display: block; margin-top: var(--s-lg); }
  .top-nav__menu-cta .btn { width: 100%; min-height: 48px; }

  /* Hero — display-xl 64 → 32 */
  .t-display-xl { font-size: 34px; line-height: 1.08; letter-spacing: -0.8px; }
  .t-display-lg { font-size: 30px; line-height: 1.12; letter-spacing: -0.6px; }
  .t-display-md { font-size: 26px; letter-spacing: -0.4px; }
  .t-display-sm { font-size: 23px; letter-spacing: -0.2px; }

  .hero__cta .btn { flex: 1 1 100%; min-height: 48px; }

  .ticket { padding: var(--s-md); }
  .ticket__row { grid-template-columns: 22px 1fr; row-gap: 2px; }
  .ticket__note { grid-column: 2; }
  .ticket__meta { grid-template-columns: repeat(3, 1fr); gap: var(--s-xs); }

  .press__row { gap: var(--s-md); }
  .press__item { font-size: var(--title-sm); }
  .press__sep { display: none; }

  .story__stats { grid-template-columns: 1fr; gap: var(--s-md); }
  .story__stats > div { display: flex; align-items: baseline; gap: var(--s-md); }

  .tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: var(--s-xl);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }

  .menu__item { padding: var(--s-md) 0; }
  .menu__item--star { padding: var(--s-md); }
  .menu__head { flex-wrap: wrap; row-gap: 2px; }
  .menu__dots { display: none; }
  .menu__price { margin-left: auto; }

  .x-grid,
  .reviews__grid,
  .visit__grid { grid-template-columns: 1fr; }
  .info-card--map { order: 0; }

  .availability { padding: var(--s-lg); }
  .avail-row { grid-template-columns: 72px 1fr; row-gap: var(--s-xs); padding: var(--s-sm); }
  .avail-pill { grid-column: 2; }
  .availability__foot { gap: var(--s-md); }
  .availability__foot .btn { margin-left: 0; width: 100%; min-height: 48px; }

  .reserve__card { padding: var(--s-lg); }
  .field-row { grid-template-columns: 1fr; }
  .btn--wide { min-height: 48px; }

  .cta-card { padding: var(--s-xl); flex-direction: column; align-items: stretch; }
  .cta-card__actions { flex-direction: column; }
  .cta-card__actions .btn { width: 100%; min-height: 48px; }

  .footer__cols { grid-template-columns: 1fr; gap: var(--s-xl); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  /* Modal → bottom sheet feel on mobile */
  .modal { padding: 0; align-items: flex-end; }
  .modal__dialog {
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .modal__body { padding: var(--s-lg); }
  .modal__actions { flex-direction: column; }
  .modal__actions .btn { flex: 1 1 auto; min-height: 48px; }
}

@media (max-width: 420px) {
  .ticket__meta { grid-template-columns: repeat(2, 1fr); }
  .modal__details { grid-template-columns: 1fr; }
}
