/* ============================================================
   Elliott Cooks - design system v2 "quiet luxury"
   Palette: deep charcoal ink, warm ivory, muted sage/olive,
   deep bronze accent (primary CTA ONLY - isolation effect),
   soft brass hairlines on dark.
   Type: Fraunces (display serif) + Inter (body), editorial
   letter-spaced eyebrows/labels.
   Motion: one easing curve, consistent durations, all gated
   by prefers-reduced-motion. Content never hidden without JS.
   ============================================================ */

:root {
  --ink: #1e1c19;
  --ink-deep: #141311;
  --ivory: #f6f1e7;
  --ivory-soft: #efe9db;
  --ivory-alt: #fbf7ee;
  --card: #fffdf7;
  --text: #23211d;
  --text-muted: #59544b;
  --sage: #75806b;
  --sage-deep: #4c5245;
  --sage-tint: #eaece4;
  --accent: #7e5d30;       /* deep bronze: primary CTA only */
  --accent-dark: #6b4e26;
  --bronze: #a67c44;       /* hairline details on light */
  --bronze-deep: #8a6636;  /* bronze small text on light (AA contrast) */
  --brass: #c8b98f;        /* hairline details on dark */
  --error: #a03018;
  --radius: 6px;
  --shadow-sm: 0 4px 16px rgba(30, 28, 25, 0.06);
  --shadow: 0 12px 34px rgba(30, 28, 25, 0.12);
  --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.42);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;
  --dur-fast: 0.3s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

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

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

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 2.4rem; height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-left: 0.9rem;
  opacity: 0.6;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 62ch;
}

.em-serif { font-style: italic; font-weight: 400; }

/* ---------- Layout ---------- */
.wrap { width: min(1160px, 92vw); margin-inline: auto; }
section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  padding: 0.9rem 0;
}
.site-header.scrolled,
.site-header.nav-open {
  background: rgba(246, 241, 231, 0.94);
  box-shadow: 0 1px 0 rgba(30, 28, 25, 0.12);
  backdrop-filter: blur(8px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.26rem; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink); text-decoration: none;
}
.brand svg { width: 13px; height: 36px; color: var(--accent); flex: none; }

.primary-nav ul { display: flex; gap: 1.7rem; list-style: none; align-items: center; }
.primary-nav a {
  color: var(--text); text-decoration: none;
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.35rem 0.05rem;
  position: relative;
}
.primary-nav a:not(.btn-primary)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-fast) var(--ease);
}
.primary-nav a:not(.btn-primary):hover::after,
.primary-nav a:not(.btn-primary):focus-visible::after { transform: scaleX(1); }

/* CTA button: the ONLY bronze-filled element (isolation effect).
   Magnetic hover offset arrives via --mx / --my set in JS. */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 3.3rem;
  padding: 0.4rem 1.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff !important;
  border: none;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  box-shadow: 0 8px 22px rgba(126, 93, 48, 0.28);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 10px 26px rgba(126, 93, 48, 0.36); }
.btn-primary:active { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(0.98); }
.btn-primary:disabled { opacity: 0.65; cursor: default; transform: none; box-shadow: none; }

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(30, 28, 25, 0.45);
  background: transparent;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn-ghost:hover { background-color: rgba(30, 28, 25, 0.06); border-color: var(--ink); }
.btn-ghost:active { transform: scale(0.98); }

.nav-cta { white-space: nowrap; min-height: 2.7rem; padding: 0.3rem 1.3rem; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin: 5px auto;
  background: var(--ink); transition: all 0.3s var(--ease);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory);
    box-shadow: var(--shadow);
    display: none;
    padding: 1rem 4vw 1.5rem;
  }
  .nav-open .primary-nav { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .primary-nav a { font-size: 0.85rem; padding: 0.6rem 0; display: block; }
  .nav-cta-item { margin-top: 0.6rem; }
}

/* ---------- Hero: logo-led, negative space ---------- */
.hero {
  position: relative;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  padding: clamp(6rem, 12vh, 8rem) 0 clamp(3.5rem, 8vh, 5.5rem);
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 82% 20%, rgba(117, 128, 107, 0.1), transparent 62%),
    radial-gradient(50% 40% at 12% 88%, rgba(166, 124, 68, 0.07), transparent 60%),
    var(--ivory);
}
.hero-motif {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.55;
}
/* The motif-a/motif-b divs are the parallax carriers (JS translates them),
   so THEY get positioned; the svg simply fills its carrier. */
.hero-motif .motif-a,
.hero-motif .motif-b {
  position: absolute;
  aspect-ratio: 30 / 88;
  will-change: transform;
}
.hero-motif .motif-a { right: -3vw; top: 6%; height: 92%; opacity: 0.05; }
.hero-motif .motif-b { left: -6vw; bottom: -14%; height: 64%; opacity: 0.04; }
.hero-motif svg {
  width: 100%; height: 100%;
  display: block;
  color: var(--ink);
}
.hero-motif .motif-b svg { transform: scaleX(-1); }
@media (max-width: 720px) {
  .hero-motif .motif-a { right: -16vw; top: 12%; height: 72%; }
  .hero-motif .motif-b { display: none; }
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 52rem;
  display: flex; flex-direction: column; align-items: center;
}
.hero-mark { margin-bottom: 1.6rem; }
.hero-mark svg { width: 34px; height: 100px; color: var(--accent); display: block; }
.hero-mark .mark-line { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.hero-mark .mark-dot { fill: currentColor; }
.hero-title { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; margin-bottom: 1.4rem; }
.hero-wordmark {
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 480;
  letter-spacing: 0.015em;
  line-height: 1.02;
  color: var(--ink);
}
.hero-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: 0.04em;
  color: var(--accent);
}
.hero-kicker {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  white-space: nowrap;
}
.hero-kicker::before, .hero-kicker::after {
  content: "";
  flex: 0 1 clamp(1rem, 6vw, 4.5rem);
  min-width: 0.75rem; height: 1px;
  background: rgba(30, 28, 25, 0.25);
}
@media (max-width: 420px) {
  .hero-kicker { letter-spacing: 0.24em; font-size: 0.66rem; gap: 0.7rem; }
}
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 2.1rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: center; }

/* Hero entrance: logo line draws itself, content rises. JS + motion-ok only. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-mark .mark-line {
    stroke-dasharray: 130;
    stroke-dashoffset: 130;
    animation: markDraw 1.3s var(--ease) 0.15s forwards;
  }
  .js .hero-mark .mark-dot {
    opacity: 0;
    animation: markDot 0.5s var(--ease) 1.25s forwards;
  }
  .js .hero-rise {
    opacity: 0;
    transform: translateY(22px);
    animation: heroRise 0.7s var(--ease) forwards;
  }
  /* The wordmark is the page's LCP element: it rises without a fade so the
     browser paints it immediately (keeps Lighthouse LCP at first paint). */
  .js .hero-rise-1 {
    opacity: 1;
    animation-name: heroRiseMove;
    animation-delay: 0.1s;
  }
  .js .hero-rise-2 { animation-delay: 0.28s; }
  .js .hero-rise-3 { animation-delay: 0.44s; }
  .js .hero-rise-4 { animation-delay: 0.6s; }
  @keyframes markDraw { to { stroke-dashoffset: 0; } }
  @keyframes markDot { to { opacity: 1; } }
  @keyframes heroRise { to { opacity: 1; transform: none; } }
  @keyframes heroRiseMove { to { transform: none; } }
}

/* ---------- Ribbon (local identity) ---------- */
.ribbon {
  background: var(--ink);
  color: rgba(246, 241, 231, 0.82);
  padding: 0.9rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-align: center;
}
.ribbon strong { color: var(--brass); font-weight: 500; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-copy p { margin-bottom: 1.1rem; max-width: 62ch; }
.portrait-slot {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(200, 185, 143, 0.12), transparent 55%),
    linear-gradient(160deg, #2a2723 0%, var(--ink-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.portrait-slot svg { width: 58%; height: auto; opacity: 0.5; }
.portrait-slot .slot-label {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(246, 241, 231, 0.75);
  background: rgba(20, 19, 17, 0.55);
  padding: 0.35rem 0.9rem; border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait-slot { max-width: 420px; margin-inline: auto; }
}

/* Trust badge slot: HIDDEN until insurance + food-handler cert are real.
   To activate: remove the "hidden" attribute in the HTML. */
.trust-badge[hidden] { display: none; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid var(--sage-deep);
  color: var(--sage-deep);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  margin-top: 1.2rem;
}

/* ---------- Menu cards ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}
.dish-card {
  background: var(--card);
  border: 1px solid rgba(30, 28, 25, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex; flex-direction: column;
}
.dish-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.dish-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage-tint); }
.dish-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.dish-card:hover .dish-media img { transform: scale(1.04); }
.dish-media.placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(76, 82, 69, 0.05) 0 10px, transparent 10px 20px),
    linear-gradient(150deg, var(--sage-tint), #e0e3d8);
}
.dish-media.placeholder svg { width: 34%; opacity: 0.45; }
.dish-body { padding: 1.3rem 1.4rem 1.55rem; }
.dish-body h3 { margin-bottom: 0.45rem; }
.dish-body p { font-size: 0.95rem; color: var(--text-muted); }
.dish-note {
  display: inline-block; margin-top: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); font-weight: 600;
  text-decoration: none;
  background: linear-gradient(var(--bronze), var(--bronze)) no-repeat 0 100% / 0 1px;
  transition: background-size var(--dur-fast) var(--ease);
  padding-bottom: 2px;
}
.dish-note:hover, .dish-note:focus-visible { background-size: 100% 1px; }
.dish-card.finale { border-color: rgba(166, 124, 68, 0.55); }

/* ---------- Packages ---------- */
.packages {
  background:
    radial-gradient(80% 60% at 85% 8%, rgba(200, 185, 143, 0.08), transparent 60%),
    linear-gradient(175deg, #24211d 0%, var(--ink-deep) 90%);
  color: var(--ivory);
}
.packages h2, .packages h3 { color: var(--ivory); }
.packages .eyebrow { color: var(--brass); }
.packages .section-head p { color: rgba(246, 241, 231, 0.8); }
.reciprocity {
  border: 1px solid rgba(200, 185, 143, 0.45);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  margin-bottom: 2.6rem;
  max-width: 46rem;
  color: rgba(246, 241, 231, 0.9);
  background: rgba(20, 19, 17, 0.4);
}
.reciprocity strong { color: var(--brass); font-weight: 600; }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.tier {
  background: rgba(246, 241, 231, 0.05);
  border: 1px solid rgba(246, 241, 231, 0.16);
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.tier:hover { transform: translateY(-4px); border-color: rgba(200, 185, 143, 0.4); }
.tier .guests {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 0.5rem; font-weight: 600;
}
.tier p { color: rgba(246, 241, 231, 0.82); font-size: 0.97rem; margin: 0.8rem 0 1.4rem; flex: 1; }
.tier .btn-primary { align-self: flex-start; }
/* Middle tier emphasized: good-better-best nudge */
.tier.featured {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--text);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.tier.featured h3 { color: var(--ink); }
.tier.featured p { color: var(--text-muted); }
.tier.featured .guests { color: var(--accent); }
.tier.featured:hover { transform: scale(1.04) translateY(-4px); }
.badge-most {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  background: var(--brass); color: var(--ink-deep);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.32rem 1rem; border-radius: 999px;
  white-space: nowrap;
}
.scarcity {
  margin-top: 2.4rem;
  font-size: 0.95rem;
  color: rgba(246, 241, 231, 0.75);
  max-width: 52rem;
}
@media (max-width: 960px) {
  .tier-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tier.featured { transform: none; order: -1; }
  .tier.featured:hover { transform: translateY(-4px); }
}

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.quote-card {
  background: var(--card);
  border: 1px solid rgba(30, 28, 25, 0.08);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.quote-card blockquote { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); }
.quote-card figcaption { margin-top: 1rem; font-size: 0.9rem; color: var(--text-muted); }
.testimonial-empty {
  border: 1px dashed rgba(30, 28, 25, 0.3);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
  max-width: 40rem; margin-inline: auto;
}
.testimonial-empty p { color: var(--text-muted); margin: 0.6rem 0 1.4rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
  background: var(--sage-tint);
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-tile-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(160deg, #2a2723 0%, var(--ink-deep) 100%);
  color: rgba(246, 241, 231, 0.85);
  text-align: center; padding: 1rem;
  font-size: 0.88rem;
  height: 100%;
}
.gallery-tile-placeholder svg { width: 42px; opacity: 0.8; color: var(--brass); }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Seasonal Table ---------- */
.seasonal {
  background: linear-gradient(180deg, var(--sage-tint), #e4e7dd);
  border-block: 1px solid rgba(76, 82, 69, 0.18);
}
.seasonal-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.signup-form { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.signup-form input[type="email"] {
  flex: 1 1 240px;
  padding: 0.9rem 1.1rem;
  border-radius: 2px;
  border: 1px solid rgba(30, 28, 25, 0.35);
  background: var(--card);
  font: inherit;
  transition: border-color var(--dur-fast) var(--ease);
}
.signup-form input[type="email"]:focus { border-color: var(--ink); }
.signup-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.7rem; }
.signup-note a { color: var(--sage-deep); }
@media (max-width: 860px) { .seasonal-inner { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 50rem; }
.faq-list details {
  border-bottom: 1px solid rgba(30, 28, 25, 0.14);
  padding: 0.4rem 0;
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ink);
  padding: 0.9rem 2.2rem 0.9rem 0;
  list-style: none;
  position: relative;
  font-weight: 480;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute; right: 0.2rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; color: var(--bronze);
  transition: transform var(--dur-fast) var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 0 1.1rem; color: var(--text-muted); max-width: 60ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq-list details[open] > p { animation: faqIn 0.4s var(--ease); }
  @keyframes faqIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
}
.faq-list a { color: var(--sage-deep); }
.allergen-note {
  margin-top: 2rem;
  background: var(--sage-tint);
  border-left: 3px solid var(--bronze);
  border-radius: 0;
  padding: 1rem 1.3rem;
  font-size: 0.93rem;
  max-width: 50rem;
}

/* ---------- Cello Experience (the peak) ---------- */
.cello {
  background:
    radial-gradient(90% 70% at 82% 12%, rgba(200, 185, 143, 0.1), transparent 60%),
    linear-gradient(170deg, #24211d 0%, var(--ink-deep) 85%);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.cello h2 { color: var(--ivory); }
.cello .hook {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  letter-spacing: 0.02em;
  color: var(--brass);
  margin-bottom: 1.2rem;
}
.cello p { color: rgba(246, 241, 231, 0.88); max-width: 58ch; margin-bottom: 1rem; }
.cello-inner { position: relative; z-index: 2; max-width: 46rem; }
/* Signature moment: a single thin line draws itself into a cello
   silhouette as the visitor scrolls through the section (JS-driven).
   Without JS or with reduced motion the drawing is simply complete. */
.cello-draw {
  position: absolute;
  right: clamp(-4rem, 2vw, 6rem);
  top: 50%;
  transform: translateY(-50%);
  height: min(86%, 560px);
  width: auto;
  z-index: 1;
  pointer-events: none;
  color: var(--brass);
  opacity: 0.85;
}
.cello-draw path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.cello-draw .fdot { fill: currentColor; stroke: none; }
@media (max-width: 900px) {
  .cello-draw { right: -22%; opacity: 0.22; }
}
.cello-cta-row { margin-top: 1.8rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* ---------- Booking ---------- */
.booking-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.booking-form { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.35rem; }
.field .hint { font-weight: 400; color: var(--text-muted); font-size: 0.82rem; margin-left: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 2px;
  border: 1px solid rgba(30, 28, 25, 0.3);
  background: var(--card);
  font: inherit;
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field .error-msg { color: var(--error); font-size: 0.84rem; margin-top: 0.3rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid .error-msg { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
/* honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-success {
  background: var(--sage-tint);
  border: 1px solid var(--sage-deep);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: none;
}
.form-success.show { display: block; }
.form-success h3 { color: var(--sage-deep); margin-bottom: 0.5rem; }
.form-success a { color: var(--sage-deep); }

.contact-aside { background: var(--sage-tint); border-radius: var(--radius); padding: 2rem; }
.contact-aside h3 { margin-bottom: 0.8rem; }
.contact-aside a { color: var(--sage-deep); font-weight: 600; text-decoration-color: var(--bronze); }
.contact-list { list-style: none; display: grid; gap: 0.7rem; margin: 1rem 0 1.8rem; }
.service-map { margin-top: 1rem; }
.service-map svg { width: 100%; height: auto; }
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: rgba(246, 241, 231, 0.82);
  padding: 3.5rem 0 2rem;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a {
  color: rgba(246, 241, 231, 0.82); text-decoration: none;
  background: linear-gradient(var(--brass), var(--brass)) no-repeat 0 100% / 0 1px;
  transition: background-size var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  padding-bottom: 1px;
}
.site-footer a:hover, .site-footer a:focus-visible { color: var(--brass); background-size: 100% 1px; }
.footer-brand { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1rem; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.02em; color: var(--ivory); }
.footer-brand svg { width: 12px; height: 34px; color: var(--brass); flex: none; }
.social-row { display: flex; gap: 0.9rem; margin-top: 1.1rem; }
.social-row a {
  display: inline-flex; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(246, 241, 231, 0.3);
  border-radius: 50%;
  background: none;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.social-row a:hover { border-color: var(--brass); background-color: rgba(200, 185, 143, 0.1); }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }
.footer-legal {
  border-top: 1px solid rgba(246, 241, 231, 0.16);
  padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.83rem; color: rgba(246, 241, 231, 0.55);
}
.footer-allergen { font-size: 0.83rem; color: rgba(246, 241, 231, 0.55); margin-top: 1rem; max-width: 60ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none;
  gap: 0.6rem;
  padding: 0.7rem 4vw calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(246, 241, 231, 0.97);
  box-shadow: 0 -4px 16px rgba(30, 28, 25, 0.15);
}
.mobile-cta-bar .btn-primary { flex: 1; min-height: 48px; padding: 0.3rem 1rem; }
.mobile-cta-bar .call-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; min-height: 48px; border-radius: 2px;
  border: 1px solid var(--ink);
  color: var(--ink); text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease);
}
.mobile-cta-bar .call-btn:hover { background-color: rgba(30, 28, 25, 0.06); }
.mobile-cta-bar .call-btn svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------- Scroll reveal + stagger ----------
   JS assigns per-item transition delays inside grids so cards and
   gallery tiles cascade. Visible by default without JS. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Policy pages ---------- */
.policy-page { padding-top: 7rem; }
.policy-page .wrap { max-width: 760px; }
.policy-page h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.6rem; }
.policy-page h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.policy-page p, .policy-page li { color: var(--text-muted); margin-bottom: 0.9rem; }
.policy-page ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.policy-page a { color: var(--sage-deep); }
.template-note {
  background: #f7efdd;
  border: 1px solid var(--bronze);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  font-size: 0.92rem;
  margin: 1.4rem 0 2rem;
}
/* Solid-nav pages: header always has the scrolled treatment */
.solid-nav .site-header { background: rgba(246, 241, 231, 0.94); box-shadow: 0 1px 0 rgba(30, 28, 25, 0.12); }

/* ---------- 404 ---------- */
.page-404 {
  min-height: 100dvh;
  display: flex; align-items: center;
  background: linear-gradient(170deg, #24211d 0%, var(--ink-deep) 90%);
  color: var(--ivory);
  text-align: center;
}
.page-404 h1 { color: var(--ivory); font-size: clamp(2.4rem, 6vw, 4rem); margin: 1rem 0; }
.page-404 p { color: rgba(246, 241, 231, 0.85); max-width: 34rem; margin: 0 auto 2rem; }
.page-404 .big-note { font-size: 5rem; color: var(--brass); font-family: var(--font-display); }

/* ============================================================
   v3 additions: motif system, Curate Your Evening, cello strings,
   cursor ring, unified photo grade, scroll-scrubbed hairlines.
   ============================================================ */

/* ---------- Unified editorial photo grade ---------- */
.dish-media img, .gallery-grid figure img {
  filter: sepia(0.08) saturate(0.94) contrast(1.03) brightness(0.99);
}

/* ---------- Motif dividers (line-art identity) ---------- */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  color: var(--bronze);
}
.divider-top { margin: 0 auto clamp(2rem, 4vw, 3rem); }
.divider::before, .divider::after {
  content: "";
  width: clamp(3rem, 10vw, 7rem); height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.motif-svg { width: 40px; height: 30px; overflow: visible; }
.motif-svg path {
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
/* Scroll-scrubbed: divider motifs draw themselves as they enter the
   viewport (CSS scroll-driven animation; graceful no-op elsewhere). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .motif-svg path {
      stroke-dasharray: 220;
      stroke-dashoffset: 220;
      animation: motifDraw both linear;
      animation-timeline: view();
      animation-range: entry 10% cover 45%;
    }
    .eyebrow::after {
      transform-origin: left center;
      animation: ruleGrow both linear;
      animation-timeline: view();
      animation-range: entry 20% entry 90%;
    }
  }
}
@keyframes motifDraw { to { stroke-dashoffset: 0; } }
@keyframes ruleGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.lede-link { color: var(--sage-deep); text-underline-offset: 3px; text-decoration-color: var(--bronze); }

/* ---------- JS-gated blocks ---------- */
.needs-js { display: none; }
.js .needs-js { display: block; }
.curate-fallback {
  max-width: 46rem;
  color: var(--text-muted);
  border: 1px dashed rgba(30, 28, 25, 0.3);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.js .curate-fallback { display: none; }
.curate-fallback a { color: var(--sage-deep); }

/* ---------- Curate Your Evening ---------- */
.curate { background: var(--ivory-alt); }
.curate-tool {
  background: var(--card);
  border: 1px solid rgba(30, 28, 25, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.4rem, 3.5vw, 2.6rem);
  max-width: 56rem;
}
.curate-progress {
  display: flex; align-items: center; gap: 0.6rem;
  list-style: none;
  margin-bottom: 1.8rem;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(35, 33, 29, 0.4);
  flex-wrap: wrap;
}
.curate-progress li { display: flex; align-items: center; gap: 0.6rem; }
.curate-progress li:not(:last-child)::after {
  content: "";
  width: clamp(0.8rem, 3vw, 2.4rem); height: 1px;
  background: rgba(30, 28, 25, 0.2);
}
.curate-progress li.on { color: var(--bronze-deep); }
.curate-progress li.done { color: var(--sage-deep); }

.curate-step { border: none; }
.curate-step legend {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: var(--ink);
  margin-bottom: 1.3rem;
}
.curate-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem;
}
.curate-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem;
  background: var(--ivory-alt);
  border: 1px solid rgba(30, 28, 25, 0.16);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
  font: inherit; text-align: left;
  cursor: pointer;
  color: var(--text);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.curate-opt:hover { border-color: var(--bronze); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.curate-opt strong { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; color: var(--ink); }
.curate-opt span { font-size: 0.84rem; color: var(--text-muted); }
.curate-opt svg {
  width: 26px; height: 26px; margin-bottom: 0.45rem;
  color: var(--bronze-deep);
}
.curate-opt svg path, .curate-opt svg circle {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.curate-nav { margin-top: 1.4rem; }
.curate-back {
  background: none; border: none; cursor: pointer;
  font: inherit; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0;
  transition: color var(--dur-fast) var(--ease);
}
.curate-back:hover { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .js .curate-step:not([hidden]), .js .curate-result:not([hidden]) {
    animation: stepIn 0.5s var(--ease);
  }
  @keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Result: a composed menu card */
.menu-card { max-width: 44rem; }
.menu-card .menu-card-head {
  display: flex; align-items: center; gap: 1rem;
  color: var(--bronze);
  margin-bottom: 1.2rem;
}
.menu-card .menu-card-head::before, .menu-card .menu-card-head::after {
  content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.4;
}
.menu-card .menu-card-head svg { width: 12px; height: 34px; flex: none; }
.menu-card h3 {
  text-align: center;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  margin-bottom: 0.4rem;
}
.menu-card .menu-sub {
  text-align: center;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
  margin-bottom: 1.6rem;
}
.menu-card dl { display: grid; gap: 1.05rem; margin-bottom: 1.6rem; }
.menu-card dt {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--bronze-deep);
}
.menu-card dd { font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); }
.menu-card .menu-cello-line {
  border-top: 1px solid rgba(30, 28, 25, 0.14);
  padding-top: 1.1rem;
  font-style: italic;
  font-family: var(--font-display);
  color: var(--sage-deep);
}
.menu-card .menu-fit {
  background: var(--sage-tint);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  font-size: 0.92rem;
  color: var(--text);
  margin: 1.2rem 0 1.6rem;
}
.menu-card .menu-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.menu-card .menu-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 1rem; }

/* ---------- Cello strings (interactive canvas) ---------- */
.strings-block { margin: 2.2rem 0 0.4rem; position: relative; z-index: 2; max-width: 46rem; }
#celloStrings {
  width: 100%; height: auto; display: block;
  touch-action: pan-y;
  cursor: crosshair;
}
.strings-row { display: flex; align-items: flex-start; gap: 1rem; margin-top: 0.7rem; }
.sound-toggle {
  flex: none;
  background: none;
  border: 1px solid rgba(200, 185, 143, 0.55);
  color: var(--brass);
  border-radius: 2px;
  font: inherit; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.sound-toggle:hover { background-color: rgba(200, 185, 143, 0.12); }
.sound-toggle[aria-pressed="true"] { background-color: var(--brass); color: var(--ink-deep); }
.strings-note { font-size: 0.8rem; color: rgba(246, 241, 231, 0.6); max-width: 46ch; margin: 0; }

/* ---------- Cursor ring (fine pointers, motion-ok only) ---------- */
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  margin: -15px 0 0 -15px;
  border: 1.5px solid var(--bronze);
  border-radius: 50%;
  pointer-events: none;
  z-index: 300;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease), width var(--dur-fast) var(--ease), height var(--dur-fast) var(--ease), margin var(--dur-fast) var(--ease);
  will-change: transform;
}
.cursor-ring.show { opacity: 0.55; }
.cursor-ring.hot { width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 0.85; }
