/* ===========================================================================
   Azul Tequila — styles.css (IDENTITY layer; base.css loads first)

   Brand: logo is a deep-navy brush-script badge (brand.json: 59% #003048,
   #006090 beneath) photographed on a bright TURQUOISE clapboard building with a
   green metal roof and agaves in white gravel (gbp-photo-1, -3, loc-3-photo-1);
   room is warm and dim but the building is shot in flat Florida daylight, and
   five life-size hand-carved mariachis stand at the Sebring door -> DNA "Casa
   Azul de la Carretera" (Cantina Clásica's spirit — traditional, framed panels,
   serif menu with dotted leaders — with its green/oxblood swapped for the
   buildings' own colour, per .art-direction.json). Palette from the logo primary
   #003048, deepened to ink #06293F; brand #1E92A0 is the paint on all three
   buildings; accent #C25327 is the Arcadia roof, used only for hairlines, dotted
   leaders and button fills; ground #EDE5D6 is the crushed-shell gravel.
   Type: DM Serif Display (fat high-contrast serif = painted highway sign) over
   Archivo (plain municipal grotesque). ALIGNMENT: left-aligned throughout —
   headlines, lede, cards and menu all set flush left like a sign board; only the
   pull-quote in a photo band and the footer legal line are centred.
   Radius: 0 everywhere. Hard-edged rectangles, no arch masks, no duotone.
   Note: 4 font files, not 3 — the art direction names DM Serif 400i explicitly
   for Spanish dish names, and Archivo needs 400 + 700 for body vs nav/buttons.
   =========================================================================== */

/* --- 1. fonts -------------------------------------------------------------- */
@font-face {
  font-family: "DM Serif Display";
  src: url("assets/fonts/dm-serif-display-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("assets/fonts/dm-serif-display-400i.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* --- 2. tokens ------------------------------------------------------------- */
:root {
  --ground: #EDE5D6;          /* caliche gravel */
  --ink: #06293F;             /* logo navy, deepened */
  --ink-soft: #3E5C70;
  --brand: #1E92A0;           /* the paint on all three buildings */
  --brand-pale: #A8DAE0;      /* washed siding — carries navy text at AA */
  --brand-deep: #14606B;
  --accent: #C25327;          /* Arcadia roof rust — backgrounds, borders, rules only */
  --accent-ink: #A5431C;      /* accent, darkened for text set on light paper (AA) */
  /* --navy is the fixed dark FIELD (nav, footer, hero, bands, dark sections).
     Unlike --ink it never inverts in dusk: evening ambience, not a redesign. */
  --navy: #06293F;
  --navy-text: #EDE5D6;
  --agave: #7E8F72;           /* rules, dividers, open/closed dot */
  --surface: #F7F2E7;
  --line: rgb(6 41 63 / 0.22);

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 0px;
  --radius-lg: 0px;

  --container: 1240px;
  --section-pad: clamp(56px, 9vw, 128px);
  --section-pad-tight: clamp(40px, 6vw, 72px);
  --keyline: 2px solid var(--ink);
}

html.dusk {
  --ground: #0B2233;
  --ink: #EDE5D6;
  --ink-soft: #A7BDCA;
  --brand: #2FA6B4;
  --brand-pale: #16455C;
  --brand-deep: #0F4B55;
  --accent: #D9683A;
  --accent-ink: #D9683A;       /* dusk surfaces are already dark, so the base accent reads fine */
  --navy: #041A28;
  --navy-text: #E4DBCB;
  --agave: #93A487;
  --surface: #123146;
  --line: rgb(237 229 214 / 0.2);
  --keyline: 2px solid rgb(237 229 214 / 0.35);
}

body { font-weight: 400; }

h1, h2 { line-height: 0.98; letter-spacing: -0.015em; font-weight: 400; }
h3 { line-height: 1.1; font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
::selection { background: var(--brand-deep); color: #fff; }

/* section themes ------------------------------------------------------------ */
/* :not(.btn) matters: without it these link-colour rules (specificity 0,1,1)
   silently beat .btn--pale/--accent/--ink (0,1,0) and repaint button text the
   section's link colour instead of the button's own — that was shipping as
   invisible/low-contrast CTAs in every dark section (see .btn theming below,
   which restores what dark sections owe .btn--ghost/.btn--ink instead). */
.section--ink { background: var(--navy); color: var(--navy-text); }
.section--ink a:not(.btn) { color: #A8DAE0; }
.section--ink .rule-rust { background: var(--accent); }
.section--surface { background: var(--surface); }
/* --brand-deep, not --brand: solid white paragraph text on the raw paint teal
   only reaches ~3.7:1 (fails AA); the deeper existing token clears 7:1. */
.section--brand { background: var(--brand-deep); color: #fff; }
.section--brand a:not(.btn) { color: #fff; }

/* buttons on dark/colour grounds: --ghost is transparent (its default ink text
   would vanish on navy or brand) and --ink's own fill matches --navy almost
   exactly (its edge would vanish too) — both need the light treatment here.
   Covers .section--ink/.section--brand AND the subpage .page-hero, which is
   navy but not one of those theme classes. */
.section--ink .btn--ghost, .section--brand .btn--ghost, .page-hero .btn--ghost {
  color: var(--navy-text); border-color: var(--navy-text);
}
.section--ink .btn--ink, .section--brand .btn--ink, .page-hero .btn--ink {
  background: var(--ground); color: var(--ink); border-color: var(--ground);
}
@media (hover: hover) and (pointer: fine) {
  .section--ink .btn--ghost:hover, .section--brand .btn--ghost:hover, .page-hero .btn--ghost:hover {
    background: var(--navy-text); color: var(--navy);
  }
  .section--ink .btn--ink:hover, .section--brand .btn--ink:hover, .page-hero .btn--ink:hover {
    background: var(--brand-pale); border-color: var(--brand-pale);
  }
}

/* small shared bits --------------------------------------------------------- */
.rule-rust { display: block; width: 56px; height: 2px; background: var(--accent); border: 0; }
.keyline { border: var(--keyline); }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 46ch; }
.section--ink .lede, .section--brand .lede { color: inherit; opacity: 0.86; }
.es { font-family: var(--font-display); font-style: italic; }

/* --- 3. buttons ------------------------------------------------------------ */
.btn { font-family: var(--font-body); font-weight: 700; letter-spacing: 0.01em; border: 2px solid transparent; }
.btn--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--ink { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--pale { background: var(--ground); color: var(--ink); border-color: var(--ground); }
.btn--sm { min-height: 44px; padding: 0 var(--space-3); font-size: var(--step--1); }
.btn--wide { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: #a5431c; border-color: #a5431c; }
  .btn--ink:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
  .btn--ghost:hover { background: var(--ink); color: var(--ground); }
  .btn--pale:hover { background: var(--brand-pale); border-color: var(--brand-pale); }
}

/* --- 4. header: solid navy bar + turquoise locations strip ----------------- */
.site-header { position: sticky; top: 0; z-index: 60; view-transition-name: site-header; }
.nav-bar { background: var(--navy); color: var(--navy-text); }
.nav-bar__inner {
  display: flex; align-items: center; gap: var(--space-4);
  min-height: 76px; padding-block: var(--space-2);
  transition: min-height 240ms var(--ease-out);
}
.site-header.is-condensed .nav-bar__inner { min-height: 62px; }

.brandmark { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brandmark img { height: 50px; width: auto; max-width: 190px; transition: height 240ms var(--ease-out); }
.site-header.is-condensed .brandmark img { height: 40px; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: clamp(14px, 2vw, 30px); align-items: center; margin: 0; }
.nav__link {
  display: inline-block; padding-block: 6px;
  font-size: var(--step--1); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy-text); text-decoration: none;
  border-bottom: 2px solid transparent;
}
/* six items since "Print Menu" joined the bar — between the nav breakpoint and
   1080px the gap tightens so nothing pushes the Locations button off the end */
@media (min-width: 901px) and (max-width: 1080px) { .nav__list { gap: 12px; } }
.nav__link[aria-current="page"] { border-bottom-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { border-bottom-color: var(--brand-pale); } }
.nav-bar__cta { flex: 0 0 auto; }

/* Order dropdown: one live ordering menu per branch. Opens on hover, and on
   click via app.js (aria-expanded); with JS off, :focus-within still opens it
   so the three links stay reachable by keyboard and by tap. */
.nav__order { position: relative; }
.nav__order-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; border-bottom: 2px solid transparent;
  font-family: inherit; cursor: pointer;
}
.nav__order-btn svg { width: 11px; height: 8px; transition: transform 200ms var(--ease-out); }
.nav__order-btn[aria-expanded="true"] { border-bottom-color: var(--accent); }
.nav__order-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__order-menu {
  display: none; position: absolute; z-index: 60;
  inset-block-start: calc(100% + 14px); inset-inline-end: 0;
  min-width: 210px; margin: 0; padding: 0; list-style: none;
  background: var(--surface); border: var(--keyline);
  box-shadow: 0 16px 36px rgb(6 41 63 / 0.3);
}
/* the menu hangs 14px below the button; this bridges that gap so travelling
   from "Order" down to a branch never leaves .nav__order and closes it */
.nav__order-menu::before {
  content: ""; position: absolute; inset-inline: 0;
  inset-block-end: 100%; height: 14px;
}
html:not(.js) .nav__order:focus-within .nav__order-menu,
.nav__order-btn[aria-expanded="true"] + .nav__order-menu { display: block; }
/* hover-open is for mice only — on a touch tablet the nav is still shown above
   900px, and a sticky :hover there would leave the menu open with no way out */
@media (hover: hover) and (pointer: fine) {
  .nav__order:hover .nav__order-menu { display: block; }
}
.nav__order-menu li + li { border-block-start: 1px solid var(--line); }
.nav__order-menu a {
  display: flex; align-items: center; min-height: 46px; padding: 10px 16px;
  font-size: var(--step--1); font-weight: 700; color: var(--ink); text-decoration: none;
}
.nav__order-menu a:focus-visible { background: var(--brand-pale); }
@media (hover: hover) and (pointer: fine) {
  .nav__order-menu a:hover { background: var(--brand-pale); }
}

/* the same three links, stacked, in the mobile drawer */
.drawer__order { display: grid; gap: var(--space-3); margin-block-start: var(--space-5); }
.drawer__order-label { margin: 0; font-size: var(--step--1); font-weight: 700; opacity: 0.7; }

.nav-toggle {
  display: none; width: 48px; height: 48px; margin-inline-start: auto;
  color: var(--navy-text); border: 2px solid rgb(237 229 214 / 0.35);
}
.nav-toggle svg { width: 22px; height: 22px; margin-inline: auto; }

/* the turquoise strip: three live branch links, one agave dot each */
.loc-strip {
  background: var(--brand-pale); color: var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  max-height: 60px;
  transition: max-height 280ms var(--ease-out), opacity 200ms var(--ease-out);
}
.site-header.is-condensed .loc-strip { max-height: 0; opacity: 0; border-bottom-width: 0; }
.loc-strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); padding-block: 9px; }
.loc-strip__label { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.loc-strip__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--step--1); font-weight: 700; text-decoration: none;
  padding-block: 4px;
}
.loc-strip__link:hover { text-decoration: underline; }
.loc-strip__state { font-weight: 400; opacity: 0.72; }
/* below 700px the strip has no room for the status words — so the colour-coded
   dot goes with them rather than becoming the only signal. */
@media (max-width: 700px) { .loc-strip__state, .loc-strip__link .dot { display: none; } }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--agave); flex: 0 0 auto; }
.dot--closed { background: var(--accent); }

@media (max-width: 900px) {
  .nav, .nav-bar__cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .loc-strip__label { display: none; }
}
@media (max-width: 520px) {
  .loc-strip { max-height: 76px; }
  .loc-strip__inner { gap: var(--space-2) var(--space-3); }
  .loc-strip__link { font-size: 0.8rem; min-height: 44px; }
}

/* drawer (mobile nav) */
.drawer__panel { background: var(--navy); color: var(--navy-text); border-inline-start: 3px solid var(--accent); }
.drawer__nav { display: grid; gap: var(--space-2); margin-block: var(--space-5); }
.drawer__nav a {
  display: block; padding-block: var(--space-2);
  font-family: var(--font-display); font-size: var(--step-2);
  text-decoration: none; border-bottom: 1px solid rgb(237 229 214 / 0.18);
}
.drawer__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--navy-text); border: 2px solid rgb(237 229 214 / 0.35); }
.drawer__branches { display: grid; gap: var(--space-3); margin-block-start: var(--space-5); }
.drawer__branch { display: block; text-decoration: none; border-top: 1px solid rgb(237 229 214 / 0.18); padding-block-start: var(--space-2); }
.drawer__branch b { display: block; font-size: var(--step-0); }
.drawer__branch span { font-size: var(--step--1); opacity: 0.75; }

/* --- 5. hero (H-A full-bleed, type in the left third) ---------------------- */
.hero { position: relative; min-height: min(100svh, 900px); display: grid; isolation: isolate; background: var(--navy); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgb(6 41 63 / 0.88) 0%, rgb(6 41 63 / 0.6) 34%, rgb(6 41 63 / 0) 62%),
    linear-gradient(to top, rgb(6 41 63 / 0.7), rgb(6 41 63 / 0) 45%);
}
.hero__inner {
  position: relative; z-index: 1;
  align-self: end;
  width: 100%;
  padding-block: clamp(40px, 9vh, 96px);
  color: var(--navy-text);
}
.hero__body { max-width: min(50ch, 46%); }
.hero__title { font-size: clamp(3rem, 9vw, 6.5rem); line-height: 0.92; margin-block-end: var(--space-3); }
.hero__title .line { display: block; }
.hero__lede { color: var(--navy-text); opacity: 0.9; max-width: 34ch; }
.hero__cta { margin-block-start: var(--space-5); gap: var(--space-3); }
.hero__meta {
  margin-block-start: var(--space-4);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3);
  font-size: var(--step--1); opacity: 0.86;
}
.hero__scroll { position: absolute; z-index: 1; inset-block-end: 18px; inset-inline-end: var(--gutter); font-size: var(--step--1); color: var(--navy-text); opacity: 0.7; letter-spacing: 0.08em; }

@media (max-width: 980px) { .hero__body { max-width: 60%; } }
@media (max-width: 760px) {
  .hero { min-height: 92svh; }
  .hero__body { max-width: none; }
  .hero__media img { object-position: 62% 60%; }
  .hero__media::after {
    background: linear-gradient(to top, rgb(6 41 63 / 0.92) 6%, rgb(6 41 63 / 0.5) 46%, rgb(6 41 63 / 0.12) 78%);
  }
  .hero__cta .btn { flex: 1 1 150px; }
}
@media (max-width: 359px) { .hero__cta .btn { flex-basis: 100%; } }

/* star rating shown as text, never as review markup. currentColor (not a fixed
   accent) because these glyphs sit on both light paper and dark/brand grounds —
   one fixed rust value can't clear AA against both, the surrounding text already
   does. */
.stars { color: currentColor; letter-spacing: 0.08em; }
.rating-badge {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-size: var(--step--1); font-weight: 700;
}

/* --- 6. tres casas azules: three hard-edged storefront panels -------------- */
/*    reused verbatim on locations.html and in the footer-lead of subpages     */
.casas__grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.casa { display: flex; flex-direction: column; }
.casa__photo { display: block; border: var(--keyline); --ratio: 4 / 3; }
.casa__city {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
  margin-block: var(--space-3) var(--space-2);
}
.casa__rule { width: 100%; height: 1px; background: var(--accent); border: 0; margin-block-end: var(--space-3); }
.casa__meta { font-size: var(--step--1); color: var(--ink-soft); display: grid; gap: 4px; margin-block-end: var(--space-4); }
.casa__meta b { color: var(--ink); font-weight: 700; }
.casa__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: auto; }
.casa__actions .btn { flex: 1 1 140px; }
.section--ink .casa__meta { color: rgb(237 229 214 / 0.72); }
.section--ink .casa__meta b { color: var(--navy-text); }

/* --- 7. la banda de la entrada: the signature move ------------------------- */
/*  .banda__figures holds the carved mariachis. Add .banda__figures--cut when
    the image is a cut-out PNG with alpha (transparent background + contact
    shadow); leave it off for a full-height photo panel.                       */
.banda { position: relative; overflow: hidden; }
.banda__grid { display: grid; gap: var(--space-5); align-items: end; grid-template-columns: 1fr; }
.banda__figures { position: relative; align-self: end; }
.banda__figures img { width: 100%; height: auto; }
.banda__figures--cut { filter: drop-shadow(0 18px 22px rgb(6 41 63 / 0.28)); }
.banda__figures--cut::after {
  content: ""; position: absolute; inset-block-end: 2%; inset-inline: 8%;
  height: 14px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(6 41 63 / 0.3), rgb(6 41 63 / 0) 70%);
}
.banda__figures:not(.banda__figures--cut) img { border: var(--keyline); }
.banda__body { padding-block-end: var(--space-4); }
.banda__body h2 { margin-block-end: var(--space-3); }
.banda__body p { max-width: 68ch; }
@media (min-width: 900px) {
  .banda__grid { grid-template-columns: 42fr 58fr; gap: var(--space-6); }
  .banda__figures { margin-block-start: calc(-1 * var(--space-5)); }
  .banda__body { padding-block: var(--space-6) var(--space-6); }
}

/* --- 8. feature: dish / drink told as a framed sign panel ------------------ */
.feature__media { border: var(--keyline); }
.feature__body h2 { margin-block-end: var(--space-3); }
.feature__body p { max-width: 68ch; }
.feature__list { display: grid; gap: var(--space-2); margin-block-start: var(--space-4); font-size: var(--step-0); }
.feature__list li { display: flex; gap: var(--space-2); }
.feature__list li::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px; margin-block-start: 0.55em; background: var(--accent); }
@media (min-width: 860px) { .feature--flip .feature__media { order: 2; } }

/* --- 9. photo band (B-A): full-bleed, parallax, one pull-quote ------------- */
.band { position: relative; overflow: clip; background: var(--navy); }
.band__photo { position: absolute; inset: -12% 0; z-index: 0; }
.band__photo img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgb(6 41 63 / 0.62); }
.band__inner { position: relative; z-index: 2; padding-block: clamp(80px, 14vw, 190px); text-align: center; color: var(--navy-text); }
.band__quote {
  font-family: var(--font-display); font-size: clamp(1.7rem, 4.2vw, 3.1rem);
  line-height: 1.14; max-width: 22ch; margin-inline: auto;
}
.band__quote::before { content: "\201C"; display: block; font-size: 2.4em; line-height: 0.5; color: var(--accent); margin-block-end: 0.16em; }
.band__cite { display: block; margin-block-start: var(--space-4); font-family: var(--font-body); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; font-style: normal; }

/* --- 10. la copa azul: colour-block band ---------------------------------- */
.copa { background: var(--brand-deep); color: #fff; }
.copa h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.copa .btn--pale { color: var(--ink); }
.copa__media { border: 2px solid #fff; }

/* --- 11. lo que dicen los vecinos ----------------------------------------- */
.voices { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.voice { background: var(--surface); border: var(--keyline); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.voice__text { font-size: var(--step-0); }
.voice__who { margin-block-start: auto; font-size: var(--step--1); color: var(--ink-soft); display: flex; align-items: center; gap: var(--space-2); }
.voice__mark {
  flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--brand-deep); color: #fff; font-weight: 700; font-size: var(--step--1);
}
.section--ink .voice { background: rgb(237 229 214 / 0.06); border-color: rgb(237 229 214 / 0.28); }
.section--ink .voice__who { color: rgb(237 229 214 / 0.72); }

/* --- 12. hours & location (L-B) ------------------------------------------- */
.info-cols { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.info-cols h3 { font-size: var(--step-1); letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; margin-block-end: var(--space-3); }
.hours { width: 100%; font-size: var(--step-0); }
.hours th { font-weight: 400; padding-block: 7px; padding-inline-end: var(--space-3); }
.hours td { padding-block: 7px; text-align: end; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line); }
.hours tr[data-today] th, .hours tr[data-today] td { font-weight: 700; }
.address-big { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; }

/* --- 13. page hero for subpages ------------------------------------------- */
.page-hero { background: var(--navy); color: var(--navy-text); padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.page-hero__title { font-size: clamp(2.6rem, 7vw, 5rem); }
.page-hero__lede { color: rgb(237 229 214 / 0.72); max-width: 52ch; margin-block-start: var(--space-3); font-size: var(--step-1); }
.page-hero--photo { position: relative; overflow: clip; isolation: isolate; }
.page-hero--photo .page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero--photo .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo .page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgb(6 41 63 / 0.9), rgb(6 41 63 / 0.55)); }
.crumbs { font-size: var(--step--1); margin-block-end: var(--space-3); color: rgb(237 229 214 / 0.72); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* --- 14. menu ------------------------------------------------------------- */
/* 62px = the condensed nav-bar height; the turquoise strip has collapsed by the
   time anything is sticky, so the category rail parks directly under the bar. */
.menu-nav { position: sticky; top: 62px; z-index: 40; background: var(--ground); border-bottom: 2px solid var(--ink); }
.menu-group { scroll-margin-top: 132px; }
.menu-nav__list { display: flex; gap: var(--space-3); overflow-x: auto; padding-block: var(--space-3); scrollbar-width: none; margin: 0; }
.menu-nav__list::-webkit-scrollbar { display: none; }
.menu-nav__list a { flex: 0 0 auto; font-size: var(--step--1); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; min-height: 44px; display: inline-flex; align-items: center; }
.menu-nav__list a:hover { border-bottom-color: var(--accent); }

.menu-group + .menu-group { margin-block-start: var(--space-6); }
.menu-group__head { display: flex; align-items: baseline; gap: var(--space-3); border-bottom: 2px solid var(--ink); padding-block-end: var(--space-2); margin-block-end: var(--space-4); }
.menu-group__head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.menu-group__note { font-size: var(--step--1); color: var(--ink-soft); margin-inline-start: auto; text-align: end; }
.menu-list { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .menu-list--two { grid-template-columns: 1fr 1fr; column-gap: var(--space-6); } }
.menu-item__top { display: flex; align-items: baseline; gap: 6px; }
.menu-item__name { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.15; }
.menu-item__desc { font-size: var(--step--1); color: var(--ink-soft); max-width: 62ch; margin-block-start: 4px; }
.menu-item__note { font-family: var(--font-display); font-style: italic; font-size: var(--step-0); color: var(--ink-soft); margin-block-start: 4px; }
.menu-pdf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: var(--step--1); font-weight: 700; margin-block-start: var(--space-2); }
.menu-pdf a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* photo cards (menu highlights on any page) */
.dish-cards { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.dish { border: var(--keyline); background: var(--surface); display: flex; flex-direction: column; }
.dish .media { border-bottom: var(--keyline); }
.dish__body { padding: var(--space-3) var(--space-3) var(--space-4); display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.dish__name { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.1; }
.dish__desc { font-size: var(--step--1); color: var(--ink-soft); }

/* --- 15. gallery ---------------------------------------------------------- */
.mosaic { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .mosaic { grid-template-columns: repeat(4, 1fr); } }
.mosaic__item { border: var(--keyline); position: relative; overflow: hidden; aspect-ratio: 1 / 1; margin: 0; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__item--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: 1 / 1; }
.mosaic__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.mosaic__btn { display: block; width: 100%; height: 100%; padding: 0; cursor: zoom-in; }
.lightbox img { border: 2px solid var(--ground); }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; color: #fff; border: 2px solid rgb(255 255 255 / 0.5); }
.gallery-strip .media { border: var(--keyline); }
@media (max-width: 640px) { .filmstrip > * { flex-basis: 78vw; } }

/* --- 16. marquee band ----------------------------------------------------- */
.marquee-band { background: var(--navy); color: var(--navy-text); border-block: 2px solid var(--accent); padding-block: var(--space-3); }
.marquee-band .marquee__track > span { font-family: var(--font-display); font-size: clamp(1.4rem, 3.4vw, 2.4rem); white-space: nowrap; display: inline-flex; align-items: center; gap: var(--space-5); }
.marquee-band .marquee__track > span::after { content: ""; width: 10px; height: 10px; background: var(--accent); flex: 0 0 auto; }
@media (hover: hover) and (pointer: fine) { .marquee-band:hover { --marquee-dur: 42s; } }

/* --- 17. forms ------------------------------------------------------------ */
.form { display: grid; gap: var(--space-3); max-width: 560px; }
.form label { font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; display: grid; gap: 6px; }
.form input, .form textarea, .form select { min-height: 48px; border: var(--keyline); background: var(--surface); font-size: var(--step-0); text-transform: none; font-weight: 400; letter-spacing: 0; }
.form__row { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.form__note { font-size: var(--step--1); color: var(--ink-soft); max-width: 68ch; }
.form-status { border-inline-start: 4px solid var(--brand); background: var(--surface); padding: var(--space-3); font-size: var(--step-0); }
.form-status--error { border-inline-start-color: var(--accent); }
.req { color: var(--accent-ink); }

/* --- 18. faq -------------------------------------------------------------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding-block: var(--space-3); display: flex; gap: var(--space-3); align-items: baseline; font-family: var(--font-display); font-size: var(--step-1); min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-inline-start: auto; color: var(--accent); font-family: var(--font-body); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { padding-block-end: var(--space-4); color: var(--ink-soft); max-width: 68ch; }

/* --- 19. footer ----------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--navy-text); padding-block: clamp(48px, 7vw, 88px) var(--space-5); view-transition-name: site-footer; }
.footer__grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.footer__grid h2, .footer__grid h3 { font-family: var(--font-body); font-size: var(--step--1); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #A8DAE0; margin-block-end: var(--space-3); }
.footer__logo { height: 58px; width: auto; max-width: 200px; margin-block-end: var(--space-3); }
.footer__links { display: grid; gap: 4px; }
.footer__links a { text-decoration: none; display: flex; align-items: center; min-height: 44px; }
.footer__links a:hover { text-decoration: underline; }
.footer__branch { display: block; text-decoration: none; padding-block: var(--space-2); border-top: 1px solid rgb(237 229 214 / 0.18); }
.footer__branch b { display: block; font-family: var(--font-display); font-size: var(--step-1); }
.footer__branch span { display: block; font-size: var(--step--1); color: rgb(237 229 214 / 0.72); }
.footer__nap { font-size: var(--step--1); color: rgb(237 229 214 / 0.72); }
.footer__legal {
  margin-block-start: var(--space-5); padding-block-start: var(--space-4);
  border-top: 1px solid rgb(237 229 214 / 0.18);
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4);
  align-items: center; justify-content: center; text-align: center;
  font-size: var(--step--1); color: rgb(237 229 214 / 0.6);
}

/* --- 20. mobile bar + dusk toggle ----------------------------------------- */
.mobile-bar { background: var(--navy); border-top: 2px solid var(--accent); }
.mobile-bar .btn { min-height: 48px; font-size: var(--step--1); }
.mobile-bar .btn--pale { background: var(--navy-text); color: var(--navy); border-color: var(--navy-text); }
.dusk-toggle { background: var(--navy); color: var(--navy-text); border: 2px solid var(--brand); }
.lightbox__stage { display: grid; place-items: center; }
.dusk-toggle svg { width: 20px; height: 20px; }

/* --- 21. motion: only the bands and the carved figures move ---------------- */
/*  The art direction is explicit: bands hold, type sets in place on load, and
    nothing else fades up. .parallax-y and .drift are driven by app.js.        */
.parallax-y, .drift { will-change: transform; }
.hero__title .line { will-change: transform; }
.line-mask { display: block; overflow: hidden; }

/*  Put .hero-anim on the .hero to opt into the load choreography. app.js splits
    .hero__title into masked lines, raises them, then the lede/CTAs/meta.
    Without JS or with reduced motion the hero renders complete and static.
    This only hides the type until app.js has taken the start state inline —
    the moment it adds .is-ready the rule is inert, so a SplitText revert or a
    cleared inline style can never blank the headline again.                    */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero-anim:not(.is-ready) .hero__title,
  html.js .hero-anim:not(.is-ready) .hero__lede,
  html.js .hero-anim:not(.is-ready) .hero__cta,
  html.js .hero-anim:not(.is-ready) .hero__meta { opacity: 0; }
}

/* --- 22. print ------------------------------------------------------------ */
@media print {
  .site-header, .band__photo { display: none !important; }
  .band::after { display: none; }
  .band__inner { color: #000; }
}
