/* =================================================================
   OSTERIA QUARANTA
   Drenched dark wine palette, candlelight accents, editorial serif.
   One theme (dark) locked across the whole page. One accent family
   (terracotta to amber). One radius system. Zero em-dashes anywhere.
   ================================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Surfaces: deep wine, near-black warm. The page IS the colour. */
  --bg:            #160a0c;
  --bg-2:          #1d0d0f;
  --surface:       #25110f;
  --surface-2:     #2e1512;
  --burgundy:      #4a1820;
  --burgundy-deep: #320f15;

  /* Accent family: terracotta to candlelight amber. One family only. */
  --terracotta:      #c2613b;
  --terracotta-soft: #d98a5e;
  --amber:           #e7b269;
  --gold:            #cf9b54;

  /* Ink: warm parchment, carried as TEXT not as a background. */
  --cream:     #efe3cf;
  --cream-dim: #cdb99c;
  --muted:     #a8917a;

  /* Hairlines and washes */
  --line:        rgba(239, 227, 207, 0.14);
  --line-soft:   rgba(239, 227, 207, 0.08);
  --shadow:      0 30px 80px -30px rgba(0, 0, 0, 0.8);

  /* Type */
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body:    "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Radius system: pill for interactive, soft for surfaces/media */
  --r-pill: 999px;
  --r:      4px;
  --r-lg:   8px;

  /* Motion: strong ease-out curves (per Emil's framework) */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Rhythm */
  --pad-x:   clamp(1.25rem, 5vw, 6rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --maxw:    1280px;

  /* Z-index scale (semantic, never arbitrary) */
  --z-header: 100;
  --z-mobile: 200;
  --z-grain:  300;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

/* Subtle warm candlelight wash from the top, plus a fine grain overlay.
   Grain is fixed + pointer-events:none so it never repaints on scroll. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- TYPOGRAPHY PRIMITIVES ---------- */
.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.1rem, 1.4rem + 3.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
}

.section-lead {
  color: var(--cream-dim);
  max-width: 52ch;
  font-size: 1.05rem;
}

/* Kicker: used sparingly (per skill eyebrow restraint). A named,
   italic display label, not a tracked all-caps eyebrow on every section. */
.kicker {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--terracotta-soft);
  margin-bottom: 0.9rem;
  letter-spacing: 0.01em;
}

/* ---------- BUTTONS ---------- */
.btn {
  --btn-press: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), background-color 300ms var(--ease-out),
              color 300ms var(--ease-out), box-shadow 300ms var(--ease-out),
              border-color 300ms var(--ease-out);
  transform: translateY(var(--btn-press));
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--amber) 130%);
  color: #1c0c07;
  box-shadow: 0 14px 34px -14px rgba(199, 97, 59, 0.7);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}
.btn-block { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    box-shadow: 0 18px 44px -12px rgba(231, 178, 105, 0.55);
    filter: brightness(1.04);
  }
  .btn-ghost:hover { border-color: var(--terracotta-soft); color: var(--terracotta-soft); }
}
.btn:active { --btn-press: 1px; transform: scale(0.985) translateY(var(--btn-press)); }
.btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--amber);
  color: #1c0c07;
  padding: 0.7rem 1.2rem;
  border-radius: var(--r);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- HEADER (fades in on scroll) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  background: linear-gradient(to bottom, rgba(15, 7, 8, 0.92), rgba(15, 7, 8, 0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  pointer-events: none;
}
.site-header.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 72px;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: baseline; gap: 0.6rem; }
.brand-name { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--cream); letter-spacing: 0.01em; }
.brand-sub {
  font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--terracotta-soft);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.3rem); }
.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding: 0.3rem 0;
  transition: color 280ms var(--ease-out);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--terracotta-soft); transition: width 320ms var(--ease-out);
}
@media (hover: hover) { .nav a:hover { color: var(--cream); } .nav a:hover::after { width: 100%; } }
.nav-cta {
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.6rem 1.3rem !important;
  color: var(--cream) !important;
}
.nav-cta::after { display: none; }
@media (hover: hover) { .nav-cta:hover { background: var(--terracotta); border-color: var(--terracotta); color: #1c0c07 !important; } }

.nav-toggle { display: none; }

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-mobile);
  background: var(--burgundy-deep);
  padding: 6rem var(--pad-x) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  transform: translateX(100%);
  transition: transform 480ms var(--ease-in-out);
  visibility: hidden;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 1.4rem; }
.mobile-nav a {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--cream);
  font-weight: 500;
}
.mobile-cta { color: var(--terracotta-soft) !important; }
.mobile-foot { margin-top: 2rem; color: var(--muted); font-size: 0.9rem; line-height: 1.9; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--pad-x) clamp(3.5rem, 8vh, 7rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--burgundy-deep); }
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 22s var(--ease-in-out) forwards;
  filter: saturate(1.05) contrast(1.02);
}
@keyframes heroDrift { to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15, 6, 7, 0.96) 2%, rgba(20, 9, 10, 0.55) 38%, rgba(20, 9, 10, 0.2) 70%),
    radial-gradient(120% 90% at 20% 100%, rgba(74, 24, 32, 0.5), transparent 60%);
}

.hero-content { position: relative; z-index: 1; max-width: 880px; }
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1.4rem;
}
.hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.6rem, 1.8rem + 11vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}
.hero-title-accent { font-style: italic; color: var(--amber); }
.hero-tagline {
  font-family: var(--display);
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
  color: var(--terracotta-soft);
  margin-top: 1.1rem;
  letter-spacing: 0.02em;
}
.hero-line {
  margin-top: 1.3rem;
  max-width: 46ch;
  color: var(--cream-dim);
  font-size: 1.08rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.3rem; }

/* Scroll cue (kept subtle, honors reduced motion) */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 1.8rem;
  transform: translateX(-50%);
  z-index: 1;
  width: 1px; height: 64px;
  display: block;
}
.scroll-cue-line {
  display: block; width: 1px; height: 100%;
  background: linear-gradient(var(--amber), transparent);
  transform-origin: top;
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- SECTION SHELL ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section) var(--pad-x);
}

/* ---------- ORNAMENT DIVIDER ---------- */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.ornament span { height: 1px; width: min(28vw, 240px); background: var(--line); }
.ornament i {
  width: 7px; height: 7px; transform: rotate(45deg);
  background: var(--terracotta); flex: none;
  box-shadow: 0 0 14px rgba(199, 97, 59, 0.6);
}

/* ---------- STORY ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.story-text p { color: var(--cream-dim); margin-top: 1.1rem; max-width: 56ch; }
.story-text p em { color: var(--cream); font-style: italic; }
.story-text .section-title { margin-top: 0.4rem; max-width: 18ch; }

.arch-img {
  position: relative;
  border-radius: 50% 50% var(--r) var(--r) / 30% 30% var(--r) var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
  /* Wine wash behind the photo, so a slow or failed load still reads warm. */
  background: radial-gradient(120% 100% at 50% 20%, var(--burgundy), var(--burgundy-deep));
}
.arch-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-figure figcaption {
  margin-top: 1rem; text-align: center;
  font-family: var(--display); font-style: italic;
  color: var(--muted); font-size: 1.05rem;
}

.pullquote {
  margin: clamp(4rem, 9vw, 7rem) auto 0;
  max-width: 22ch;
  text-align: center;
}
.pullquote p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  line-height: 1.18;
  color: var(--cream);
}
.pullquote p em { color: var(--amber); }
.pullquote cite {
  display: block; margin-top: 1.6rem;
  font-family: var(--body); font-style: normal;
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- MENU ---------- */
.menu { position: relative; }
.menu-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.menu-head .section-lead { margin: 1rem auto 0; }

.menu-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 7rem);
}
.menu-cat {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.85rem;
  color: var(--amber);
  letter-spacing: 0.01em;
  padding-bottom: 0.9rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.menu-cat small {
  display: block;
  font-family: var(--body);
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-top: 0.3rem; font-style: normal;
}
.menu-list li { margin-bottom: 1.5rem; }
.menu-row { display: flex; align-items: baseline; gap: 0.5rem; }
.dish { font-family: var(--display); font-size: 1.4rem; font-weight: 500; color: var(--cream); }
.leader {
  flex: 1;
  border-bottom: 1px dotted rgba(239, 227, 207, 0.28);
  transform: translateY(-4px);
}
.price {
  font-family: var(--display); font-size: 1.4rem; color: var(--amber);
}
.price::before { content: "£"; font-size: 0.85em; opacity: 0.75; margin-right: 1px; }
.desc { color: var(--muted); font-size: 0.96rem; margin-top: 0.25rem; max-width: 46ch; line-height: 1.6; }

.menu-note {
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  max-width: 60ch; text-align: center;
  font-family: var(--display); font-style: italic; font-size: 1.2rem;
  color: var(--cream-dim);
}

/* ---------- GALLERY ---------- */
.gallery-head { text-align: center; max-width: 58ch; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.gallery-head .section-lead { margin: 1rem auto 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: clamp(0.6rem, 1.3vw, 1.1rem);
}
.g-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--surface);
  grid-row: span 1;
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 1.1s var(--ease-out);
  filter: saturate(1.02);
}
.g-item.g-tall { grid-row: span 2; }
.g-item.g-wide { grid-column: span 2; }
@media (hover: hover) and (pointer: fine) {
  .g-item:hover img { transform: scale(1.06); filter: saturate(1.12) brightness(1.04); }
}
/* Failed-image fallback: a warm wine wash so it never reads as broken */
.g-item.img-failed {
  background: radial-gradient(120% 120% at 30% 20%, var(--burgundy), var(--burgundy-deep));
}
.g-item.img-failed::after {
  content: "Osteria Quaranta";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-size: 1.3rem;
  color: rgba(231, 178, 105, 0.5);
}

/* ---------- PRIVATE DINING (full-bleed band) ---------- */
.private {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 9vw, 8rem) var(--pad-x);
  overflow: hidden;
}
.private-media {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--burgundy-deep);
  background-image: url("https://images.unsplash.com/photo-1559329007-40df8a9345d8?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
}
.private-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15, 6, 7, 0.95) 18%, rgba(15, 6, 7, 0.7) 48%, rgba(15, 6, 7, 0.25) 100%);
}
.private-panel { position: relative; z-index: 1; max-width: 540px; }
.private-panel p { color: var(--cream-dim); margin-top: 1.1rem; }
.private-panel .btn { margin-top: 2rem; }

/* ---------- REVIEWS ---------- */
.reviews-head { text-align: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 7vw, 6rem);
}
.review { border-top: 1px solid var(--line); padding-top: 1.8rem; }
.stars { color: var(--amber); letter-spacing: 0.3em; font-size: 0.85rem; margin-bottom: 1.1rem; }
.review blockquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 1.85rem);
  line-height: 1.4;
  color: var(--cream);
}
.review figcaption { margin-top: 1.4rem; display: flex; align-items: baseline; gap: 0.8rem; }
.r-name { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta-soft); }
.r-where { font-size: 0.78rem; color: var(--muted); }

/* ---------- RESERVE / CONTACT ---------- */
.reserve-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.reserve-form-wrap .section-lead { margin-top: 1rem; }
.booking { margin-top: 2.2rem; display: grid; gap: 1.3rem; }
.field { display: grid; gap: 0.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-dim);
}
.field .optional { color: var(--muted); letter-spacing: 0.08em; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.95rem 1.1rem;
  transition: border-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out), background-color 260ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--terracotta-soft);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(217, 138, 94, 0.16);
}
/* Tame native date/time pickers to the dark theme */
.field input[type="date"], .field input[type="time"] { color-scheme: dark; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%;
  width: 8px; height: 8px; border-right: 1.5px solid var(--terracotta-soft);
  border-bottom: 1.5px solid var(--terracotta-soft);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { background: var(--surface); color: var(--cream); }

.form-status { font-family: var(--display); font-style: italic; font-size: 1.15rem; min-height: 1.6rem; }
.form-status.ok { color: var(--amber); }
.form-status.err { color: var(--terracotta-soft); }

.reserve-info { display: grid; gap: 2.2rem; }
.info-block h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  color: var(--amber); margin-bottom: 0.7rem;
}
.info-block p { color: var(--cream-dim); }
.info-block a { color: var(--cream); border-bottom: 1px solid var(--line); transition: color 240ms var(--ease-out); }
@media (hover: hover) { .info-block a:hover { color: var(--terracotta-soft); } }
.hours-list li { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.5rem 0; color: var(--cream-dim); }
.hours-list .leader { flex: 1; border-bottom: 1px dotted rgba(239, 227, 207, 0.22); transform: translateY(-4px); }
.hours-list span:last-child { color: var(--cream); }

.map-frame {
  border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map-frame iframe { width: 100%; height: 240px; border: 0; filter: grayscale(0.4) contrast(1.05) brightness(0.85); }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--burgundy-deep); border-top: 1px solid var(--line-soft); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad-x) clamp(2.5rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}
.footer-mark { font-family: var(--display); font-size: 2.2rem; font-weight: 600; color: var(--cream); }
.footer-tag { color: var(--muted); margin-top: 0.8rem; max-width: 32ch; font-size: 0.96rem; }
.footer-tag em { color: var(--terracotta-soft); font-style: italic; }
.footer-col h4 {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terracotta-soft); margin-bottom: 1rem; font-weight: 500;
}
.footer-col li { color: var(--cream-dim); padding: 0.25rem 0; font-size: 0.95rem; }
.footer-col a { transition: color 240ms var(--ease-out); }
@media (hover: hover) { .footer-col a:hover { color: var(--amber); } }
.footer-base {
  border-top: 1px solid var(--line-soft);
  padding: 1.6rem var(--pad-x);
  text-align: center;
}
.footer-base p { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.04em; }

/* =================================================================
   SCROLL REVEAL
   Content is visible by default. Only when JS is present (html.js)
   do we set the hidden start state, so a no-JS render never blanks.
   ================================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 6px;
    width: 44px; height: 44px; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--cream); transition: transform 320ms var(--ease-out), opacity 200ms; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .story-grid { grid-template-columns: 1fr; }
  .story-figure { order: -1; max-width: 460px; margin: 0 auto; }
  .story-text .section-title { max-width: none; }

  .menu-cols { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reserve-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-item.g-wide { grid-column: span 2; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { gap: 0.7rem; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* =================================================================
   REDUCED MOTION  (gentle: keep fades, drop movement and loops)
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transition: opacity 500ms ease; transform: none; filter: none; }
  .hero-img { animation: none; transform: scale(1); }
  .scroll-cue-line { animation: none; opacity: 0.5; }
  .btn, .g-item img, .nav a::after { transition: opacity 200ms ease, color 200ms ease; }
  * { scroll-behavior: auto !important; }
}

/* =================================================================
   PARALLAX  (immersive fixed-image feel, desktop + motion only).
   No scroll listeners: pure CSS background-attachment.
   ================================================================= */
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .private-media { background-attachment: fixed; }
}
