/* ==========================================================================
   Restoran — Modern Filipino Kitchen
   Design system + components. One stylesheet, organised top to bottom:

   01 Tokens          08 Marquee          15 Testimonials
   02 Reset & base    09 Story            16 Reservation form
   03 Typography      10 Dish cards       17 Hours & location
   04 Layout          11 Menu page        18 Newsletter
   05 Buttons         12 Chef & team      19 Footer
   06 Header & nav    13 Gallery          20 Motion & reveal
   07 Hero            14 Lightbox         21 Utilities & print
   ========================================================================== */

/* 01 · Tokens ============================================================= */

:root {
  /* Brand — annatto orange, ube violet, calamansi green, palm gold.
     Sampled from the plate: achuete oil, ube halaya, calamansi rind, leche flan. */
  --annatto: #e0762d;
  --annatto-soft: #f0a463;
  --annatto-deep: #a8501a;
  --ube: #6b4c9a;
  --ube-soft: #9b7cc4;
  --calamansi: #9fbf3b;
  --gold: #d9a441;
  --chili: #c0392b;

  /* Neutrals — warm, never blue-grey. A restaurant room is candlelit. */
  --ink: #12100e;
  --ink-2: #1a1613;
  --ink-3: #241e1a;
  --ink-4: #322a24;
  --cream: #f7f1e6;
  --cream-2: #ece3d3;
  --cream-3: #ddd0b9;
  --sand: #b7a893;

  /* Semantic */
  --bg: var(--ink);
  --bg-raised: var(--ink-2);
  --bg-inset: var(--ink-3);
  --text: var(--cream);
  --text-muted: #b3a595;
  --text-faint: #8a7d6f;
  --line: rgba(247, 241, 230, 0.12);
  --line-strong: rgba(247, 241, 230, 0.22);
  --accent: var(--annatto);

  /* Type — a system stack, so there is no webfont round-trip and no
     third-party request. Swap in a hosted face here if you want one. */
  --font-display: "Iowan Old Style", "Palatino Linotype", "Palatino",
    "Big Caslon", "Hoefler Text", Garamond, "Times New Roman", serif;
  --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;

  /* Fluid type scale — clamp() so nothing needs a breakpoint to breathe. */
  --step--1: clamp(0.8rem, 0.77rem + 0.15vw, 0.875rem);
  --step-0: clamp(0.98rem, 0.95rem + 0.18vw, 1.075rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.36vw, 1.4rem);
  --step-2: clamp(1.4rem, 1.26rem + 0.7vw, 1.9rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.25vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.75rem + 2.2vw, 3.6rem);
  --step-5: clamp(2.8rem, 1.9rem + 4.2vw, 5.6rem);

  /* Space */
  --gutter: clamp(1.25rem, 0.9rem + 1.6vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);
  --measure: 62ch;
  --radius: 4px;
  --radius-lg: 10px;

  /* Depth */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.95);

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-quint: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light "parchment" zone — banig cream, used for menu + story blocks so the
   page breathes between dark rooms. Set on a section, inherited by children. */
.zone-cream {
  --bg: var(--cream);
  --bg-raised: #fff;
  --bg-inset: var(--cream-2);
  --text: #211a15;
  --text-muted: #6a5c4e;
  --text-faint: #8c7d6c;
  --line: rgba(33, 26, 21, 0.14);
  --line-strong: rgba(33, 26, 21, 0.28);
  background: var(--bg);
  color: var(--text);
}

/* 02 · Reset & base ======================================================= */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--annatto-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--annatto);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -110%);
  z-index: 200;
  background: var(--annatto);
  color: var(--ink);
  padding: 0.7rem 1.25rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* 03 · Typography ========================================================= */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { text-wrap: pretty; }

em { font-style: italic; }

.display-em {
  font-style: italic;
  color: var(--annatto-soft);
}

.zone-cream .display-em { color: var(--annatto-deep); }

/* Small caps eyebrow above every section heading. */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--annatto);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.kicker--center::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.zone-cream .kicker { color: var(--annatto-deep); }

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 54ch;
}

.prose p + p { margin-top: 1.1em; }
.prose { color: var(--text-muted); max-width: var(--measure); }

.tagalog {
  font-style: italic;
  color: var(--text-faint);
}

/* 04 · Layout ============================================================= */

.container {
  width: min(100% - (var(--gutter) * 2), 1240px);
  margin-inline: auto;
}
.container--narrow { width: min(100% - (var(--gutter) * 2), 880px); }
.container--wide { width: min(100% - (var(--gutter) * 2), 1500px); }

.section {
  padding-block: var(--section-y);
  position: relative;
  background: var(--bg);
  color: var(--text);
}

.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.section-head--center {
  justify-items: center;
  text-align: center;
}
.section-head--split {
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
  }
}

.grid { display: grid; gap: var(--gutter); }

/* Hairline divider with a diamond, used between rooms. */
.rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--line-strong);
}
.rule::before,
.rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: currentColor;
}
.rule__mark {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--annatto);
}

/* A woven banig texture, faintly, behind dark sections. */
.texture {
  position: relative;
  isolation: isolate;
}
.texture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  pointer-events: none;
  background-image: repeating-linear-gradient(
      45deg,
      var(--cream) 0 1px,
      transparent 1px 9px
    ),
    repeating-linear-gradient(-45deg, var(--cream) 0 1px, transparent 1px 9px);
}

/* 05 · Buttons ============================================================ */

.btn {
  --btn-bg: var(--annatto);
  /* Ink, not white: white on annatto is 3.09:1, which fails AA at this text
     size. Ink on the same orange is 6.15:1 and keeps the colour vivid. */
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95em 1.9em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-quint),
    background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px var(--annatto-deep);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  --btn-bg: transparent;
  border-color: var(--annatto);
  color: var(--annatto-soft);
  box-shadow: none;
}
.zone-cream .btn--ghost:hover { color: var(--annatto-deep); }

.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
}
.btn--light:hover { box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.9); }

/* min-height keeps the small button a comfortable tap target on touch. */
.btn--sm { padding: 0.7em 1.35em; font-size: 0.72rem; min-height: 40px; }
.btn--block { width: 100%; }

/* Text link with a rule that draws in from the left. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--annatto);
  padding-bottom: 0.35rem;
  position: relative;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0.25);
  transition: transform 0.45s var(--ease-out-quint);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.zone-cream .link-arrow { color: var(--annatto-deep); }

/* 06 · Header & nav ======================================================= */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease), height 0.4s var(--ease),
    border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: min(100% - (var(--gutter) * 2), 1500px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header.is-stuck {
  height: 64px;
  background: rgba(18, 16, 14, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.brand__sub {
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 0.28rem;
}

.nav { display: none; }
@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 0.4rem + 1.4vw, 2.4rem);
  }
}
.nav__link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 0.4rem 0;
  position: relative;
  opacity: 0.82;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--annatto);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-quint);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] {
  opacity: 1;
  color: var(--annatto-soft);
}
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 0.9rem; }
.header__phone {
  display: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
@media (min-width: 1180px) { .header__phone { display: inline-flex; gap: 0.5rem; align-items: center; } }
.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }

/* Burger */
.burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  flex: none;
}
@media (min-width: 1024px) { .burger { display: none; } }
.burger__box { display: grid; gap: 5px; width: 18px; }
.burger__box span {
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s linear;
}
.burger[aria-expanded="true"] .burger__box span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: grid;
  align-content: space-between;
  gap: 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.65s var(--ease-out-quint), visibility 0.65s;
  visibility: hidden;
  overflow-y: auto;
}
.drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.drawer__nav { display: grid; gap: 0.25rem; }
.drawer__link {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.2rem + 3.4vw, 3rem);
  line-height: 1.25;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.15em 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease-out-quint),
    color 0.25s var(--ease);
}
.drawer.is-open .drawer__link { opacity: 1; transform: none; }
.drawer__link:hover { color: var(--annatto-soft); }
.drawer__link span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}
.drawer__foot {
  display: grid;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: var(--step--1);
}
.drawer__foot a:hover { color: var(--annatto-soft); }

/* 07 · Hero =============================================================== */

.hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(110% 80% at 78% 22%, rgba(224, 118, 45, 0.28), transparent 62%),
    radial-gradient(90% 70% at 12% 88%, rgba(107, 76, 154, 0.3), transparent 60%),
    linear-gradient(180deg, #0d0b09 0%, #171310 45%, #12100e 100%);
}
.hero__art {
  position: absolute;
  z-index: -2;
  right: -14%;
  top: 50%;
  transform: translateY(-50%);
  width: min(78vw, 900px);
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 50px 80px rgba(0, 0, 0, 0.6));
}
@media (min-width: 900px) { .hero__art { right: -6%; width: min(52vw, 780px); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
      180deg,
      rgba(13, 11, 9, 0.55) 0%,
      transparent 30%,
      rgba(13, 11, 9, 0.5) 88%
    ),
    linear-gradient(90deg, rgba(13, 11, 9, 0.92) 0%, rgba(13, 11, 9, 0.1) 62%);
}
@media (max-width: 899px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(13, 11, 9, 0.7) 0%, rgba(13, 11, 9, 0.55) 40%, rgba(13, 11, 9, 0.92) 100%);
  }
}

.hero__inner { max-width: 44rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lede { margin-bottom: 2.25rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__meta {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--text-muted);
}
.hero__meta strong {
  display: block;
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.hero__meta .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--calamansi);
  margin-right: 0.45rem;
  box-shadow: 0 0 0 3px rgba(159, 191, 59, 0.18);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  z-index: 2;
}
@media (min-width: 900px) { .scroll-cue { display: flex; } }
.scroll-cue__line {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--annatto), transparent);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(38px); opacity: 0; }
}

/* Page hero — the shorter banner every interior page uses. */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 120% at 50% -10%, rgba(224, 118, 45, 0.26), transparent 60%),
    radial-gradient(60% 90% at 85% 110%, rgba(107, 76, 154, 0.28), transparent 65%),
    linear-gradient(180deg, #0d0b09, #12100e);
}
.page-hero h1 { font-size: var(--step-4); }
.page-hero .lede { margin: 1.25rem auto 0; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--annatto-soft); }

/* 08 · Marquee ============================================================ */

.marquee {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: 1.15rem;
  overflow: hidden;
  display: flex;
  user-select: none;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  flex: none;
  min-width: 100%;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide {
  to { transform: translateX(-100%); }
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.35rem);
  letter-spacing: 0.06em;
  color: var(--cream-3);
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--annatto);
  flex: none;
}

/* 09 · Story ============================================================== */

.story {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .story--flip .story__media { order: 2; }
}

.story__media { position: relative; }
.story__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.story__media--stack { padding: 0 3rem 3rem 0; }
.story__media--stack .story__img-2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-lg);
}

.badge-round {
  position: absolute;
  top: -1.5rem;
  right: 1.5rem;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--annatto);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
  font-weight: 600;
  box-shadow: var(--shadow);
  rotate: -8deg;
}
.badge-round b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0;
  font-weight: 400;
  text-transform: none;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1;
  color: var(--annatto);
  display: block;
}
.zone-cream .stat__num { color: var(--annatto-deep); }
.stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 0.6rem;
  display: block;
}

.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--text);
  margin-top: 2rem;
  opacity: 0.9;
}

/* 10 · Dish cards ========================================================= */

.dish-grid {
  display: grid;
  gap: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.dish {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-quint),
    border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.dish:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.dish__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-3);
}
.dish__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out-quint);
}
.dish:hover .dish__media img { transform: scale(1.06); }
.dish__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(18, 16, 14, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}
.dish__body { padding: 1.5rem; display: grid; gap: 0.6rem; align-content: start; }
.dish__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.dish__name { font-size: var(--step-1); }
.dish__price {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--annatto);
  letter-spacing: 0.02em;
  flex: none;
}
.zone-cream .dish__price { color: var(--annatto-deep); }
.dish__desc { font-size: var(--step--1); color: var(--text-muted); line-height: 1.6; }

/* 11 · Menu page ========================================================== */

.menu-nav {
  position: sticky;
  /* 63px, not --header-h: by the time this nav can stick, the header has
     already shrunk to its scrolled height (64px). Using the tall value leaves
     a gap that page content scrolls through. */
  top: 63px;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.menu-nav__scroll {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 0.7rem;
}
.menu-nav__scroll::-webkit-scrollbar { display: none; }
.menu-nav__link {
  flex: none;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}
.menu-nav__link:hover { color: var(--text); }
.menu-nav__link.is-active {
  color: var(--annatto);
  border-color: color-mix(in srgb, var(--annatto) 45%, transparent);
  background: color-mix(in srgb, var(--annatto) 10%, transparent);
}

.menu-section { scroll-margin-top: calc(var(--header-h) + 5rem); }
.menu-section + .menu-section { margin-top: clamp(3.5rem, 6vw, 6rem); }

.menu-section__head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.menu-section__head h2 { font-size: var(--step-3); }
.menu-section__head p { font-size: var(--step--1); color: var(--text-faint); }

.menu-list { display: grid; gap: 0.35rem; }
@media (min-width: 960px) {
  .menu-list--two { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 4vw, 4.5rem); }
}

.menu-item {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-bottom: 1px dashed var(--line);
  transition: padding-left 0.4s var(--ease-out-quint);
}
.menu-item:hover { padding-left: 0.6rem; }
.menu-item__top {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.menu-item__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.2;
  flex: none;
  max-width: 70%;
}
.menu-item__dots {
  flex: 1;
  height: 1px;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-4px);
  min-width: 1rem;
}
.menu-item__price {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--annatto);
  flex: none;
}
.zone-cream .menu-item__price { color: var(--annatto-deep); }
.menu-item__desc {
  font-size: var(--step--1);
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.6;
}

.chips { display: inline-flex; gap: 0.35rem; flex-wrap: wrap; vertical-align: middle; }
.chip {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  line-height: 1.4;
}
.chip--v { color: var(--calamansi); }
.chip--gf { color: var(--ube-soft); }
.chip--spicy { color: var(--chili); }
.chip--signature { color: var(--gold); }
.zone-cream .chip--v { color: #4f6612; }
.zone-cream .chip--gf { color: #59417f; }
.zone-cream .chip--signature { color: #7d5510; }
.zone-cream .chip--spicy { color: #a5261a; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  font-size: var(--step--1);
  color: var(--text-muted);
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-inset);
}
.legend__item { display: inline-flex; align-items: center; gap: 0.5rem; }

/* Featured "kamayan" call-out band */
.callout {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1rem + 4vw, 4rem);
  background: linear-gradient(120deg, var(--ube) 0%, #4a3370 55%, var(--ink-3) 100%);
  color: var(--cream);
  display: grid;
  gap: 2rem;
  align-items: center;
  isolation: isolate;
}
@media (min-width: 900px) {
  .callout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; }
}
.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image: repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 10px),
    repeating-linear-gradient(-45deg, #fff 0 1px, transparent 1px 10px);
}
.callout h2 { font-size: var(--step-3); }
.callout p { color: rgba(247, 241, 230, 0.92); margin-top: 1rem; }
.callout__price {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1;
}
.callout__price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, 0.82);
  margin-top: 0.6rem;
}

/* 12 · Chef & team ======================================================== */

.team-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.person { display: grid; gap: 1rem; }
.person__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-3);
  position: relative;
}
.person__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out-quint), filter 0.6s var(--ease);
  filter: saturate(0.9);
}
.person:hover .person__media img { transform: scale(1.05); filter: saturate(1.1); }
.person__name { font-size: var(--step-1); }
.person__role {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--annatto);
  margin-top: 0.3rem;
  display: block;
}
.zone-cream .person__role { color: var(--annatto-deep); }
.person__bio { font-size: var(--step--1); color: var(--text-muted); margin-top: 0.6rem; }

/* 13 · Gallery ============================================================ */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.55rem 1.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--line-strong); }
.filter-btn.is-active {
  background: var(--annatto);
  border-color: var(--annatto);
  color: var(--ink);
}

.gallery {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  grid-auto-flow: dense;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  background: var(--ink-3);
  cursor: zoom-in;
  border: 1px solid var(--line);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease-out-quint);
}
.gallery__item.is-tall { grid-row: span 2; aspect-ratio: 1 / 2.06; }
.gallery__item.is-wide { grid-column: span 2; aspect-ratio: 2.06 / 1; }
@media (max-width: 600px) {
  .gallery__item.is-tall,
  .gallery__item.is-wide { grid-row: auto; grid-column: auto; aspect-ratio: 1; }
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-quint);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item[hidden] { display: none; }
/* On the home page these tiles are links to the gallery, not lightbox triggers. */
a.gallery__item { cursor: pointer; }
.gallery__cap {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(0deg, rgba(9, 8, 7, 0.9), transparent);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.45s var(--ease-out-quint), opacity 0.35s var(--ease);
}
.gallery__item:hover .gallery__cap,
.gallery__item:focus-visible .gallery__cap { transform: none; opacity: 1; }

/* 14 · Lightbox =========================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(9, 8, 7, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  max-width: min(100%, 1000px);
  transform: scale(0.96);
  transition: transform 0.45s var(--ease-out-quint);
}
.lightbox.is-open .lightbox__figure { transform: scale(1); }
.lightbox__figure img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__cap {
  text-align: center;
  margin-top: 1rem;
  font-size: var(--step--1);
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  background: rgba(18, 16, 14, 0.7);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lightbox__btn:hover { background: var(--annatto); border-color: var(--annatto); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }

/* 15 · Testimonials ======================================================= */

.quotes { position: relative; }
.quotes__viewport { overflow: hidden; }
.quotes__track {
  display: flex;
  transition: transform 0.7s var(--ease-out-quint);
}
.quote {
  flex: 0 0 100%;
  padding-inline: clamp(0.5rem, 4vw, 4rem);
  text-align: center;
}
.quote__stars { color: var(--gold); letter-spacing: 0.35em; font-size: 0.85rem; margin-bottom: 1.5rem; }
.zone-cream .quote__stars { color: #8a6414; }
.quote__text {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.45;
  text-wrap: balance;
}
.quote__text::before { content: "\201C"; }
.quote__text::after { content: "\201D"; }
.quote__by {
  margin-top: 1.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.quote__by b { color: var(--annatto); font-weight: 600; }
.zone-cream .quote__by b { color: var(--annatto-deep); }

.quotes__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
.quotes__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: all 0.35s var(--ease);
}
.quotes__dot.is-active { background: var(--annatto); width: 26px; }

/* 16 · Forms ============================================================== */

.form { display: grid; gap: 1.35rem; }
.form__row { display: grid; gap: 1.35rem; }
@media (min-width: 700px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .form__row--3 { grid-template-columns: repeat(3, 1fr); }
}

.field { display: grid; gap: 0.5rem; }
.field > label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field .req { color: var(--annatto); }

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: var(--step-0);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--annatto);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--annatto) 22%, transparent);
}
.textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.75rem;
}
.field[data-invalid="true"] .input,
.field[data-invalid="true"] .select,
.field[data-invalid="true"] .textarea { border-color: var(--chili); }

.field__error {
  font-size: 0.72rem;
  color: #e57366;
  letter-spacing: 0.03em;
  min-height: 0;
}
.zone-cream .field__error { color: #a5261a; }

.form__note {
  font-size: 0.75rem;
  color: var(--text-faint);
  line-height: 1.6;
}

/* Party-size / time pills */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  position: relative;
  display: inline-flex;
}
.pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.pill span {
  display: grid;
  place-items: center;
  min-width: 46px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--step--1);
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}
.pill input:checked + span {
  background: var(--annatto);
  border-color: var(--annatto);
  color: var(--ink);
}
.pill input:focus-visible + span { outline: 2px solid var(--annatto-soft); outline-offset: 2px; }

.form-success {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid color-mix(in srgb, var(--calamansi) 45%, transparent);
  background: color-mix(in srgb, var(--calamansi) 8%, transparent);
  border-radius: var(--radius-lg);
}
.form-success__mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--calamansi);
  color: #16200a;
}

/* 17 · Hours & location =================================================== */

.info-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.info-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  display: grid;
  gap: 1rem;
  align-content: start;
}
.info-card__icon { color: var(--annatto); }
.zone-cream .info-card__icon { color: var(--annatto-deep); }
.info-card h3 { font-size: var(--step-1); }
.info-card p, .info-card li { font-size: var(--step--1); color: var(--text-muted); }
.info-card a:hover { color: var(--annatto-soft); }

.hours { display: grid; gap: 0.15rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
}
.hours li:last-child { border-bottom: 0; }
.hours dt, .hours .day { color: var(--text); }
.hours .is-closed { color: var(--text-faint); font-style: italic; }
.hours li.is-today {
  color: var(--calamansi);
  font-weight: 600;
}
.hours li.is-today .day { color: inherit; }

.map-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-3);
  min-height: 320px;
  display: grid;
}
.map-embed img { width: 100%; height: 100%; object-fit: cover; }
.map-embed__pin {
  position: absolute;
  inset: auto auto 1.25rem 1.25rem;
  background: rgba(18, 16, 14, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.4rem;
  max-width: 280px;
}
.map-embed__pin strong { font-size: var(--step--1); letter-spacing: 0.05em; color: var(--cream); }
.map-embed__pin span { font-size: 0.75rem; color: var(--text-muted); }

/* 18 · Newsletter / CTA band ============================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(224, 118, 45, 0.3), transparent 65%),
    linear-gradient(180deg, #0f0d0b, #17120f);
}
.cta-band h2 { font-size: var(--step-4); }
.cta-band .lede { margin: 1.25rem auto 2.25rem; }

.subscribe {
  display: flex;
  gap: 0.6rem;
  max-width: 480px;
  margin-inline: auto;
  flex-wrap: wrap;
}
.subscribe .input { flex: 1 1 240px; border-radius: 999px; padding-inline: 1.35rem; }
.subscribe .btn { flex: none; }

/* 19 · Footer ============================================================= */

.footer {
  background: #0c0a09;
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  color: var(--text-muted);
  font-size: var(--step--1);
}
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: span 1; max-width: 300px; } }
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.25rem;
}
.footer ul { display: grid; gap: 0.65rem; }
.footer a { transition: color 0.25s var(--ease); }
.footer a:hover { color: var(--annatto-soft); }
.footer p { line-height: 1.7; }

.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  background: var(--annatto);
  border-color: var(--annatto);
  color: var(--ink);
  transform: translateY(-2px);
}

.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-faint);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* Standing disclosure that the business is invented. Delete this rule and the
   .footer__demo span in each page's footer to remove it. */
.footer__demo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-faint);
}
.footer__demo::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--annatto);
  flex: none;
}

/* 20 · Motion & reveal ==================================================== */

/* Scoped to .js — set by an inline snippet in <head>. If the stylesheet loads
   but main.js doesn't, nothing ever adds .is-visible, and an unscoped rule
   would leave the entire page at opacity 0. This way no-JS just gets no
   animation. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease-out-quint);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal="scale"] { transform: scale(0.96); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* 21 · Utilities & print ================================================== */

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

/* Everything below replaces what would otherwise be inline style="" attributes.
   `style-src 'self'` in _headers blocks style attributes, so the site carries
   none — see README. */

.hero--short { min-height: min(86svh, 760px); }
.story--top { align-items: start; }
.mt-section { margin-top: clamp(3rem, 6vw, 5rem); }
.pt-0 { padding-top: 0; }
.ml-auto { margin-left: auto; }
.footer__bottom--bare { margin-top: 0; border-top: 0; }

.h-2 { font-size: var(--step-2); }
.h-3 { font-size: var(--step-3); }
.h-4 { font-size: var(--step-4); }
.text-sm { font-size: var(--step--1); }

.mw-60 { max-width: 60ch; }
.mw-70 { max-width: 70ch; }
.mw-480 { max-width: 480px; }

.stack { display: grid; gap: 1rem; }
.field--grow { flex: 1 1 240px; }
.img-portrait { aspect-ratio: 1 / 1.3; object-fit: cover; }
.gallery--preview { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

.link-accent { color: var(--accent); }
.link-accent:hover { color: var(--annatto-soft); }
.link-inline { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.zone-cream .link-inline { color: var(--annatto-deep); }

/* Lead-in term inside an info card ("Transit.", "Walk-ins.") */
.info-card strong { color: var(--text); font-weight: 600; }

/* The callout band sits on ube violet, so its kicker and ghost button need
   their own contrast rather than the section's. */
.callout .kicker { color: #e9d8ff; }
.callout .btn--ghost { border-color: rgba(247, 241, 230, 0.35); color: var(--cream); }
.callout .btn--ghost:hover { border-color: var(--cream); color: #fff; }

/* About page timeline — year on the left, what happened on the right. */
.timeline { display: grid; }
.timeline li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--line);
}
.timeline li:last-child { border-bottom: 0; }
.timeline__year {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1;
  color: var(--annatto);
  min-width: 5rem;
  flex: none;
}
.zone-cream .timeline__year { color: var(--annatto-deep); }
.timeline__what {
  text-align: right;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.6;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mt-4 { margin-top: 3rem; }
.mb-4 { margin-bottom: 3rem; }
.mx-auto { margin-inline: auto; }
.flex-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.justify-center { justify-content: center; }

@media print {
  .header, .drawer, .footer, .cta-band, .marquee, .scroll-cue, .menu-nav { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
  a[href]::after { content: ""; }
  .menu-item { break-inside: avoid; }
}
