/* ============================================================
   FORKCAST DEMO · 02a · THE BAR · WINE
   "Like your bar at 9pm." A cinematic, film-noir wine room that
   looks better in the dark. The wine list IS the menu.

   Its own DNA (NOT a cousin of any other skin):
   - Palette: concrete-slate dark + oxblood + candlelight gold + bone
   - Type: Bodoni Moda (high-contrast italic display) + Mulish (body)
     + DM Mono (times, prices, labels). Distinct from every built skin.
   - Signature wow: "AFTER DARK" pinned scroll moment. The night
     advances 6pm -> 8pm -> 9pm; the room dims and warms as you scroll.
   - Pointer language: a warm candlelight halo follows the cursor and
     lights the room out of the dark. NOT a floating label, NOT tilt,
     NOT zoom-to-cursor. Its own thing.
   Guarded by prefers-reduced-motion and hover:none throughout.
   ============================================================ */

:root {
  --bg: #15161A;            /* concrete slate, the dark room */
  --bg-deep: #101115;       /* deeper panels */
  --bg-raise: #1C1E23;      /* raised cards */
  --bone: #ECE6DA;          /* primary text, warm bone */
  --bone-soft: #B7B1A6;     /* secondary text */
  --bone-faint: #7E7A72;    /* tertiary / captions */
  --oxblood: #8E2F3C;       /* the accent, deep wine red */
  --oxblood-bright: #B14150;
  --candle: #E7B477;        /* candlelight gold */
  --candle-soft: #F0CE9E;
  --line: rgba(236, 230, 218, 0.12);
  --line-strong: rgba(236, 230, 218, 0.24);

  --display: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --body: 'Mulish', system-ui, -apple-system, sans-serif;
  --mono: 'DM Mono', 'SF Mono', Menlo, monospace;

  --gutter: clamp(20px, 5vw, 96px);
  --content-max: 1240px;
  --section-pad: clamp(76px, 10vw, 156px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bg); color: var(--bone);
  line-height: 1.65; font-size: 17px; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--oxblood); color: var(--bone); }
.wrap { max-width: var(--content-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* page-wide candlelit vignette so the room edges fall into shadow */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(130% 100% at 50% 30%, transparent 52%, rgba(8,8,10,0.5) 100%);
}
body > * { position: relative; z-index: 2; }

/* ---------- TYPE ---------- */
.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--candle); display: inline-flex; align-items: center; gap: 12px;
}
.label::before { content: ''; width: 22px; height: 1px; background: var(--candle); opacity: 0.7; }
.label.plain::before { display: none; }
.display {
  font-family: var(--display); font-weight: 500; font-size: clamp(46px, 7.4vw, 116px);
  line-height: 0.98; letter-spacing: -0.015em;
}
.display em { font-style: italic; font-weight: 500; color: var(--candle-soft); }
.h2 {
  font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4.6vw, 66px);
  line-height: 1.02; letter-spacing: -0.01em;
}
.h2 em { font-style: italic; color: var(--candle-soft); }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; color: var(--bone-soft); max-width: 50ch; }

/* ---------- BUTTONS ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 2px; display: inline-flex; align-items: center; gap: 11px; cursor: pointer;
  border: 1px solid transparent; transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.25s var(--ease);
}
.btn-primary { background: var(--oxblood); color: var(--bone); }
.btn-primary:hover { background: var(--oxblood-bright); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--candle); color: var(--candle-soft); }
.btn-ghost .arrow { color: var(--candle); transition: transform 0.35s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(5px); }

/* ---------- DEMO BANNER (sales chrome) ---------- */
.demo-banner { background: var(--oxblood); color: var(--bone); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-align: center; padding: 9px 16px; position: relative; z-index: 60; }
.demo-banner strong { letter-spacing: 0.16em; }
.demo-banner a { color: var(--bone); border-bottom: 1px solid rgba(236,230,218,0.6); padding-bottom: 1px; }

/* ---------- NAV (transparent over hero, solidifies on scroll) ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease); border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(17, 18, 21, 0.82); backdrop-filter: saturate(130%) blur(14px); border-bottom-color: var(--line); }
.nav-inner { max-width: var(--content-max); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand-monogram { display: inline-flex; align-items: center; gap: 11px; }
.nav-brand-monogram svg { width: 26px; height: 30px; flex-shrink: 0; }
.nav-brand-monogram svg path, .nav-brand-monogram svg line, .nav-brand-monogram svg circle { stroke: var(--candle); fill: none; }
.nav-brand-monogram .flame { fill: var(--candle); stroke: none; }
.nav-brand-monogram span { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: 0.01em; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav-links a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone-soft); position: relative; padding: 4px 0; transition: color 0.35s var(--ease); }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--candle); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--bone); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); border: 1px solid var(--line-strong); padding: 11px 20px; border-radius: 2px; transition: border-color 0.35s var(--ease), background 0.35s var(--ease); }
.nav-cta:hover { border-color: var(--candle); background: rgba(231,180,119,0.08); }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ============================================================
   IMAGE SLOT (.shot) · candlelit photo-ready placeholder.
   A real <img> drops straight in and covers the fill.
   ============================================================ */
.shot {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 28% 18%, rgba(231,180,119,0.16) 0%, transparent 52%),
    linear-gradient(150deg, #1d1f24 0%, #16171b 55%, #101116 100%);
}
.shot::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.shot:has(img)::after { opacity: 0.2; mix-blend-mode: overlay; }
.shot .ph { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 13px; padding: 32px; }
.shot .ph .ph-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--candle); }
.shot .ph .ph-intent { font-size: 14px; line-height: 1.6; color: var(--bone-soft); max-width: 32ch; }
.shot .ph .ph-mark { width: 32px; height: 32px; border: 1px solid var(--candle); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--candle); font-family: var(--mono); font-size: 11px; }

/* ============================================================
   CANDLE HALO · the pointer signature. A warm glow that follows
   the cursor and lights the dark room. Lives on .candle-zone.
   ============================================================ */
.candle-zone { position: relative; }
.candle-zone .halo {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  transition: opacity 0.6s var(--ease);
  background: radial-gradient(360px circle at var(--hx, 50%) var(--hy, 40%), rgba(231,180,119,0.22), rgba(231,180,119,0.06) 38%, transparent 64%);
  mix-blend-mode: screen;
}
.candle-zone:hover .halo { opacity: 1; }

/* ============================================================
   HERO · the 3-5 second decision. Full-bleed dark room, one CTA.
   ============================================================ */
.hero { position: relative; min-height: 96svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg-deep); }
.hero .shot { position: absolute; inset: 0; z-index: 0; }
.hero .shot img { transform: scale(1.05); animation: heroDrift 26s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.05); } to { transform: scale(1.13); } }
.hero-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background:
  linear-gradient(0deg, rgba(12,12,15,0.92) 0%, rgba(12,12,15,0.42) 38%, rgba(12,12,15,0.12) 66%, rgba(12,12,15,0.3) 100%),
  linear-gradient(95deg, rgba(12,12,15,0.7) 0%, rgba(12,12,15,0.12) 46%, transparent 72%); }
.hero-inner { position: relative; z-index: 3; max-width: var(--content-max); margin: 0 auto; width: 100%; padding: 0 var(--gutter) clamp(54px, 8vw, 120px); }
.hero-copy { max-width: 740px; }
.hero-eyebrow { margin-bottom: 26px; }
.hero h1 { margin-bottom: 24px; color: var(--bone); }
.hero-sub { margin-bottom: 36px; max-width: 46ch; }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 38px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-faint); }
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--oxblood-bright); }
.scroll-cue { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(54px, 8vw, 120px); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-faint); display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; }
.scroll-cue .line { width: 1px; height: 46px; background: linear-gradient(var(--candle), transparent); }
@media (max-width: 880px) { .hero { min-height: 88svh; } .scroll-cue { display: none; } }

/* ---------- MARKS ROW (quiet early trust) ---------- */
.marks { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.marks-inner { max-width: var(--content-max); margin: 0 auto; padding: 26px var(--gutter); display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; justify-content: center; }
.marks .m { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-faint); }
.marks .m b { color: var(--bone); font-weight: 500; }

/* ============================================================
   SIGNATURE WOW · AFTER DARK. Pinned scroll-story.
   The track scrolls; the panel pins; the room dims and warms and
   the hour advances 6pm -> 8pm -> 9pm. One scroll-progress var.
   ============================================================ */
.afterdark { position: relative; height: 320vh; background: var(--bg-deep); }
.ad-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ad-figure { position: absolute; inset: 0; z-index: 0; }
.ad-figure .shot { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.ad-figure .shot.on { opacity: 1; }
/* the room darkens as the night gets later, driven by --ad (0..1) */
.ad-dim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(90% 70% at 50% 42%, transparent calc(38% - var(--ad, 0) * 22%), rgba(10,9,12,0.86) 100%),
    linear-gradient(180deg, rgba(10,9,12, calc(0.2 + var(--ad,0) * 0.5)) 0%, rgba(10,9,12, calc(0.3 + var(--ad,0) * 0.55)) 100%);
  transition: background 0.2s linear;
}
.ad-warm { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(60% 50% at 50% 56%, rgba(231,180,119, calc(0.05 + var(--ad,0) * 0.16)), transparent 70%); }
.ad-content { position: relative; z-index: 3; text-align: center; padding: 0 var(--gutter); max-width: 900px; }
.ad-clock { font-family: var(--mono); font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--candle); margin-bottom: 26px; }
.ad-line { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 5vw, 76px); line-height: 1.06; letter-spacing: -0.01em; color: var(--bone); }
.ad-line em { font-style: italic; color: var(--candle-soft); }
.ad-stage { display: none; }
.ad-stage.on { display: block; animation: adIn 0.9s var(--ease); }
@keyframes adIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ad-progress { position: absolute; left: 50%; transform: translateX(-50%); bottom: clamp(36px, 6vw, 72px); z-index: 3; display: flex; gap: 10px; }
.ad-progress span { width: 30px; height: 2px; background: var(--line-strong); transition: background 0.4s var(--ease); }
.ad-progress span.on { background: var(--candle); }

/* ============================================================
   THE LIST · the wine list as the menu. Elegant rows by the glass
   and by the bottle. Tasting-card register.
   ============================================================ */
.list { padding: var(--section-pad) 0; }
.list-head { max-width: var(--content-max); margin: 0 auto clamp(40px, 5vw, 72px); padding: 0 var(--gutter); display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.list-head .h2 { margin-top: 14px; max-width: 16ch; }
.list-grid { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.list-col h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--candle); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.list-row { display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list-row .nm { font-family: var(--display); font-size: clamp(19px, 2vw, 24px); font-weight: 500; letter-spacing: 0.005em; }
.list-row .nm em { display: block; font-family: var(--body); font-style: normal; font-size: 13.5px; letter-spacing: 0; color: var(--bone-faint); margin-top: 5px; line-height: 1.5; max-width: 42ch; }
.list-row .pr { font-family: var(--mono); font-size: 14px; color: var(--candle-soft); white-space: nowrap; }
.list-row .pr small { color: var(--bone-faint); }
.list-note { max-width: var(--content-max); margin: clamp(36px, 4vw, 56px) auto 0; padding: 0 var(--gutter); font-family: var(--mono); font-size: 12px; color: var(--bone-faint); }
@media (max-width: 820px) { .list-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ============================================================
   FEATURE · the room at candlelight. Full-bleed + floating caption.
   ============================================================ */
.feature { position: relative; }
.feature .shot { aspect-ratio: 21/9; width: 100%; }
.feature-caption { position: absolute; z-index: 3; left: var(--gutter); bottom: clamp(34px, 5vw, 70px); max-width: 460px; background: rgba(16,17,21,0.66); backdrop-filter: blur(8px); border: 1px solid var(--line); padding: clamp(24px, 2.6vw, 36px); border-radius: 3px; }
.feature-caption .label { margin-bottom: 14px; }
.feature-caption h2 { margin-bottom: 12px; }
.feature-caption p { color: var(--bone-soft); font-size: 15px; }
@media (max-width: 820px) { .feature .shot { aspect-ratio: 4/5; } .feature-caption { left: 16px; right: 16px; max-width: none; } }

/* ============================================================
   STORY TEASE
   ============================================================ */
.story-tease { padding: var(--section-pad) 0; }
.story-tease-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 0.92fr 1fr; gap: clamp(40px, 5vw, 88px); align-items: center; }
.story-tease .shot { aspect-ratio: 4/5; }
.story-tease h2 { margin: 16px 0; }
.story-tease p { color: var(--bone-soft); margin-bottom: 16px; max-width: 46ch; }
@media (max-width: 820px) { .story-tease-inner { grid-template-columns: 1fr; } }

/* ============================================================
   VISIT · find the room (Google hallmarks: address, hours, reach)
   ============================================================ */
.visit { padding: var(--section-pad) 0; background: var(--bg-deep); border-top: 1px solid var(--line); }
.visit-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
.visit-head { max-width: 640px; margin-bottom: clamp(38px, 4vw, 64px); }
.visit-head h2 { margin: 14px 0; }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.6vw, 40px); }
.visit-block { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.visit-block h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--candle); margin-bottom: 14px; }
.visit-block p { color: var(--bone-soft); font-size: 15.5px; margin-bottom: 8px; }
.visit-block p strong { color: var(--bone); font-weight: 600; }
.visit-block .small { font-size: 13px; color: var(--bone-faint); }
@media (max-width: 760px) { .visit-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- FINAL CTA ---------- */
.final-cta { position: relative; overflow: hidden; }
.final-cta .shot { position: absolute; inset: 0; z-index: 0; }
.final-cta-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(12,12,15,0.86), rgba(12,12,15,0.62)); }
.final-cta .inner { position: relative; z-index: 2; max-width: var(--content-max); margin: 0 auto; padding: clamp(96px, 14vw, 220px) var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; }
.final-cta .label { justify-content: center; margin-bottom: 24px; }
.final-cta h2 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.015em; margin-bottom: 22px; max-width: 16ch; }
.final-cta h2 em { font-style: italic; color: var(--candle-soft); }
.final-cta p { color: var(--bone-soft); margin-bottom: 34px; max-width: 42ch; }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg-deep); color: var(--bone-soft); padding: clamp(60px, 7vw, 108px) 0 44px; border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand .wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--bone); margin-bottom: 16px; }
.footer-brand .wordmark svg { width: 24px; height: 28px; }
.footer-brand .wordmark svg path, .footer-brand .wordmark svg line, .footer-brand .wordmark svg circle { stroke: var(--candle); fill: none; }
.footer-brand .wordmark .flame { fill: var(--candle); stroke: none; }
.footer-brand .wordmark span { font-family: var(--display); font-weight: 500; font-size: 20px; }
.footer-brand p { color: var(--bone-faint); max-width: 34ch; font-size: 14.5px; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--candle); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--bone-soft); font-size: 14.5px; margin-bottom: 10px; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--bone); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--bone-faint); }
.footer-bottom .built-by a { color: var(--candle); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.95s var(--ease), transform 0.95s var(--ease); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.09s; } .reveal-d2 { transition-delay: 0.18s; } .reveal-d3 { transition-delay: 0.27s; } .reveal-d4 { transition-delay: 0.36s; }

/* ============================================================
   GUIDED COMMENTARY DOCK (.cx) · Forkcast sales overlay (demo only)
   ============================================================ */
.cx { position: fixed; right: 20px; bottom: 20px; z-index: 120; width: min(356px, calc(100vw - 32px)); background: var(--bg-raise); border: 1px solid var(--line-strong); border-radius: 4px; box-shadow: 0 30px 80px -34px rgba(0,0,0,0.8); padding: 18px 20px 16px; transform: translateY(20px); opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.cx.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cx.cx-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
.cx-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cx-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--candle); display: inline-flex; align-items: center; gap: 8px; }
.cx-tag::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--candle); }
.cx-close { background: none; border: none; cursor: pointer; font-size: 19px; line-height: 1; color: var(--bone-faint); padding: 2px 5px; border-radius: 4px; }
.cx-close:hover { color: var(--bone); }
.cx-body { transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.cx.swapping .cx-body { opacity: 0; transform: translateY(6px); }
.cx-feel { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.18; color: var(--bone); margin-bottom: 8px; }
.cx-feel em { font-style: italic; color: var(--candle-soft); }
.cx-text { font-size: 13.5px; line-height: 1.6; color: var(--bone-soft); }
.cx-dots { display: flex; gap: 6px; margin-top: 16px; }
.cx-dots span { width: 13px; height: 3px; border-radius: 2px; background: var(--line-strong); transition: background 0.4s var(--ease); }
.cx-dots span.on { background: var(--candle); }
.cx-reopen { position: fixed; right: 20px; bottom: 20px; z-index: 120; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--oxblood); color: var(--bone); border: none; cursor: pointer; padding: 13px 19px; border-radius: 2px; box-shadow: 0 20px 50px -26px rgba(0,0,0,0.8); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), background 0.3s; display: inline-flex; align-items: center; gap: 9px; }
.cx-reopen::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--candle); }
.cx-reopen.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cx-reopen:hover { background: var(--oxblood-bright); }
@media (max-width: 600px) { .cx { right: 12px; left: 12px; bottom: 12px; width: auto; padding: 15px 16px; } .cx-reopen { right: 12px; bottom: 12px; } }

/* ============================================================
   MOTION + MOBILE GUARDS
   ============================================================ */
@media (hover: none) {
  .candle-zone .halo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero .shot img { animation: none; transform: none; }
  .candle-zone .halo { display: none; }
  .ad-figure .shot { transition: none; }
  .ad-stage.on { animation: none; }
  /* AFTER DARK degrades to a calm stacked sequence, no pin */
  .afterdark { height: auto; }
  .ad-pin { position: static; height: auto; min-height: 70svh; padding: clamp(60px,9vw,120px) 0; }
  .ad-dim { background: linear-gradient(180deg, rgba(10,9,12,0.45), rgba(10,9,12,0.6)); }
  .cx, .cx-body, .cx-reopen { transition: none; }
}

/* ============================================================
   FORKCAST BUY BAND · demo sales chrome (Cycle 9)
   Tasteful bottom CTA to buy this skin, with an attention sheen
   + pulse. Sits above the footer, never blocks content. Guarded.
   ============================================================ */
.fc-buy { background: var(--bg-deep); border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 76px) var(--gutter); text-align: center; position: relative; overflow: hidden; }
.fc-buy-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.fc-buy-text { font-family: var(--display); font-size: clamp(22px, 3vw, 34px); line-height: 1.2; color: var(--bone); }
.fc-buy-text strong { color: var(--candle); }
.fc-buy-actions { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; justify-content: center; }
.fc-buy-cta { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; background: var(--oxblood); color: var(--bone); font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; padding: 16px 30px; border-radius: 2px; box-shadow: 0 0 0 0 rgba(142, 47, 60, 0.5); animation: fcBuyPulse 2.6s ease-in-out infinite; }
.fc-buy-cta span { transition: transform 0.25s; }
.fc-buy-cta:hover span { transform: translateX(4px); }
.fc-buy-cta:hover { filter: brightness(1.06); }
.fc-buy-cta::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,0.45), transparent); transform: skewX(-18deg); animation: fcBuySheen 3.6s ease-in-out infinite; pointer-events: none; }
@keyframes fcBuyPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(142, 47, 60, 0.45); } 50% { box-shadow: 0 0 26px 4px rgba(142, 47, 60, 0.5); } }
@keyframes fcBuySheen { 0% { left: -60%; } 55%, 100% { left: 130%; } }
.fc-buy-back { font-family: var(--mono); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--bone-faint); border-bottom: 1px solid var(--candle); padding-bottom: 2px; }
.fc-buy-back:hover { color: var(--candle); }
@media (prefers-reduced-motion: reduce) { .fc-buy-cta { animation: none; } .fc-buy-cta::after { display: none; } }

/* ============================================================
   EXPERIENCE LAYER (Cycle 8) · bespoke cinematic upgrades.
   Intro "the room lights up", split-text hero, living flame,
   candle cursor, magnetic CTA, wine-list row hover, After Dark
   embers + figure drift. All guarded for reduced-motion + touch.
   ============================================================ */

/* A · cinematic intro · the room lights up (CSS-only auto-hide, no JS needed) */
.intro { position: fixed; inset: 0; z-index: 200; background: #0b0b0e; display: flex; align-items: center; justify-content: center; animation: introOut 1.9s var(--ease) 0.2s forwards; }
.intro::before { content: ''; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; background: radial-gradient(circle, rgba(231,180,119,0.5), rgba(231,180,119,0.08) 38%, transparent 66%); opacity: 0; animation: introBloom 2.1s var(--ease) forwards; }
.intro .intro-flame { position: relative; width: 13px; height: 26px; border-radius: 50% 50% 50% 50% / 62% 62% 40% 40%; background: linear-gradient(var(--candle-soft), var(--oxblood-bright)); filter: blur(0.6px); transform-origin: center bottom; box-shadow: 0 0 26px 7px rgba(231,180,119,0.55); animation: introFlame 1.1s ease-in-out infinite; }
@keyframes introBloom { 0% { opacity: 0; transform: scale(0.6); } 42% { opacity: 1; } 100% { opacity: 0; transform: scale(1.55); } }
@keyframes introFlame { 0%, 100% { transform: scaleY(1) translateY(0); } 50% { transform: scaleY(1.14) translateY(-1px); } }
@keyframes introOut { 0%, 52% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; pointer-events: none; } }

/* B · split-text hero headline (words rise into place) */
.hero h1 .hw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero h1 .hw-in { display: inline-block; transform: translateY(116%); opacity: 0; transition: transform 0.95s var(--ease), opacity 0.95s var(--ease); }
.hero h1.hw-go .hw-in { transform: none; opacity: 1; }
.hero h1 .hw-em .hw-in { font-style: italic; color: var(--candle-soft); }

/* C · living flame in the monogram */
.nav-brand-monogram .flame, .footer-brand .wordmark .flame { transform-origin: center bottom; animation: flameFlicker 3.4s ease-in-out infinite; }
@keyframes flameFlicker { 0%, 100% { opacity: 1; transform: scaleY(1); } 22% { opacity: 0.74; } 38% { opacity: 0.95; transform: scaleY(1.06); } 55% { opacity: 0.7; } 72% { opacity: 0.9; } 88% { opacity: 0.8; transform: scaleY(0.97); } }

/* D · global candle cursor · you carry the light through the dark room */
.cursor-candle { position: fixed; top: 0; left: 0; z-index: 115; width: 520px; height: 520px; margin: -260px 0 0 -260px; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(231,180,119,0.15), rgba(231,180,119,0.05) 40%, transparent 66%); mix-blend-mode: screen; opacity: 0; transition: opacity 0.7s var(--ease); will-change: transform; }
.cursor-candle.lit { opacity: 1; }

/* F · magnetic primary CTA */
.btn-primary { will-change: transform; }

/* G · wine-list row hover · a candle line lights beside the row */
.list-row { position: relative; transition: padding-left 0.45s var(--ease); }
.list-row::before { content: ''; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 2px; background: var(--candle); transform: scaleY(0); transform-origin: top; transition: transform 0.45s var(--ease); }
.list-row:hover::before { transform: scaleY(1); }
.list-row:hover { padding-left: 9px; }
.list-row .pr { transition: color 0.4s var(--ease); }
.list-row:hover .pr { color: var(--candle); }

/* H · After Dark embers + slow figure drift */
.ad-embers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ad-figure .shot.on img { animation: adDrift 18s ease-in-out infinite alternate; }
@keyframes adDrift { from { transform: scale(1.04); } to { transform: scale(1.12); } }

@media (hover: none) {
  .cursor-candle { display: none; }
  .list-row:hover { padding-left: 0; }
  .list-row:hover::before { transform: scaleY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .hero h1 .hw-in { transform: none; opacity: 1; transition: none; }
  .nav-brand-monogram .flame, .footer-brand .wordmark .flame { animation: none; }
  .cursor-candle { display: none; }
  .ad-figure .shot.on img { animation: none; }
}

/* ============================================================
   SUBPAGES LAYER (Cycle 8) · The List, The Cellar, Bookings,
   Find Us. Reuses shot, list, visit, reveal, candle-zone, cx-less.
   ============================================================ */

/* shared page section + heading */
.page-section { padding: var(--section-pad) 0; }
.page-section.tint { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 660px; margin: 0 auto clamp(38px, 4vw, 64px); padding: 0 var(--gutter); }
.section-head.center { text-align: center; }
.section-head.center .label { justify-content: center; }
.section-head h2 { margin: 14px 0; }
.section-head .lede { margin: 0; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- PAGE HERO (subpage banner over a candlelit photo) ---------- */
.page-hero { position: relative; min-height: 62svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg-deep); }
.page-hero .shot { position: absolute; inset: 0; z-index: 0; }
.page-hero .shot img { transform: scale(1.04); animation: heroDrift 26s ease-in-out infinite alternate; }
.page-hero-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background:
  linear-gradient(0deg, rgba(12,12,15,0.92) 0%, rgba(12,12,15,0.4) 42%, rgba(12,12,15,0.1) 70%, rgba(12,12,15,0.32) 100%),
  linear-gradient(95deg, rgba(12,12,15,0.66) 0%, rgba(12,12,15,0.1) 52%, transparent 76%); }
.page-hero-inner { position: relative; z-index: 3; max-width: var(--content-max); margin: 0 auto; width: 100%; padding: 0 var(--gutter) clamp(44px, 6vw, 88px); }
.page-hero .label { color: var(--candle); } .page-hero .label::before { background: var(--candle); }
.page-hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(42px, 6.6vw, 96px); line-height: 1.0; letter-spacing: -0.015em; color: var(--bone); margin: 18px 0 16px; max-width: 18ch; }
.page-hero h1 em { font-style: italic; color: var(--candle-soft); }
.page-hero .lede { color: var(--bone-soft); max-width: 52ch; }
@media (max-width: 880px) { .page-hero { min-height: 52svh; } }

/* ---------- BREADCRUMB ---------- */
.breadcrumb { max-width: var(--content-max); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--bone-faint); border-bottom: 1px solid var(--line); }
.breadcrumb a { color: var(--bone-soft); transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--candle); }
.breadcrumb .sep { color: var(--line-strong); }

/* ---------- WINE LIST PAGE · stacked categories ---------- */
.wine-cats { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
.wine-cat { margin-bottom: clamp(44px, 5vw, 80px); }
.wine-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line-strong); margin-bottom: 6px; }
.wine-cat-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -0.01em; }
.wine-cat-head h2 em { font-style: italic; color: var(--candle-soft); }
.wine-cat-head .note { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone-faint); }
.wine-cat .list-row { grid-template-columns: 1fr auto; }
.wine-note { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); font-family: var(--mono); font-size: 12px; color: var(--bone-faint); text-align: center; }

/* ---------- CELLAR (story) PAGE · narrative ---------- */
.cellar-statement { padding: var(--section-pad) 0; }
.cellar-statement .wrap { max-width: 900px; }
.cellar-statement .big { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.2; letter-spacing: -0.01em; color: var(--bone); }
.cellar-statement .big em { font-style: italic; color: var(--candle-soft); }
.cellar-split { }
.cellar-split.tint { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cellar-split-inner { max-width: var(--content-max); margin: 0 auto; padding: var(--section-pad) var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 88px); align-items: center; }
.cellar-split.flip .cellar-split-inner { direction: rtl; } .cellar-split.flip .cellar-split-inner > * { direction: ltr; }
.cellar-split .shot { aspect-ratio: 4/5; }
.cellar-split h2 { margin: 16px 0; }
.cellar-split p { color: var(--bone-soft); margin-bottom: 14px; max-width: 46ch; }
.cellar-quote { padding: var(--section-pad) 0; text-align: center; }
.cellar-quote blockquote { max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.8vw, 52px); line-height: 1.18; letter-spacing: -0.01em; color: var(--bone); }
.cellar-quote blockquote em { font-style: italic; color: var(--candle-soft); }
.cellar-quote .by { display: block; margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-faint); }
@media (max-width: 860px) { .cellar-split-inner { grid-template-columns: 1fr; } .cellar-split.flip .cellar-split-inner { direction: ltr; } }

/* ---------- BOOKINGS PAGE ---------- */
.book-grid { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.book-aside .label { margin-bottom: 16px; }
.book-aside h2 { margin-bottom: 18px; }
.book-aside p { color: var(--bone-soft); margin-bottom: 16px; max-width: 42ch; }
.book-detail { border-top: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.book-detail dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--candle); }
.book-detail dd { color: var(--bone-soft); font-size: 15px; }
.book-form { background: var(--bg-raise); border: 1px solid var(--line-strong); border-radius: 4px; padding: clamp(26px, 3vw, 44px); }
.book-form h3 { font-family: var(--display); font-weight: 500; font-size: 26px; margin-bottom: 6px; }
.book-form .sub { color: var(--bone-faint); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg-deep); border: 1px solid var(--line-strong); border-radius: 3px; padding: 13px 14px; color: var(--bone); font-family: var(--body); font-size: 15px; transition: border-color 0.3s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--candle); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.book-form .tiny { font-family: var(--mono); font-size: 11px; color: var(--bone-faint); margin-top: 14px; text-align: center; }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* ---------- FIND US PAGE ---------- */
.findus-grid { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: stretch; }
.findus-map { position: relative; border-radius: 4px; overflow: hidden; min-height: 340px; border: 1px solid var(--line); }
.findus-map .shot { position: absolute; inset: 0; }
.findus-map .map-note { position: absolute; z-index: 2; left: 18px; bottom: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--bone-soft); background: rgba(16,17,21,0.7); backdrop-filter: blur(6px); border: 1px solid var(--line); padding: 9px 13px; border-radius: 3px; }
.findus-detail { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.findus-block { border-top: 1px solid var(--line); padding: 20px 0; }
.findus-block h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--candle); margin-bottom: 10px; }
.findus-block p { color: var(--bone-soft); font-size: 15.5px; margin-bottom: 6px; }
.findus-block p strong { color: var(--bone); font-weight: 600; }
.findus-block a.inline { color: var(--candle-soft); border-bottom: 1px solid var(--line-strong); }
@media (max-width: 820px) { .findus-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .page-hero .shot img { animation: none; transform: none; }
}
