/* ============================================================
   FORKCAST DEMO · 03b · THE CAFE · MINIMAL
   Scandi specialty-coffee skin. Pure off-white, one terracotta
   accent, Inter throughout, disciplined editorial composition,
   strategic white space. Built as a sales engine, not a brochure.

   Design system + cinematic scroll-story effects layer.
   All effects are single-file, GPU-cheap (transform/opacity),
   and fully guarded behind prefers-reduced-motion and hover:none.
   ============================================================ */

:root {
  --bg: #FAFAF7;          /* pure off-white */
  --bg-tint: #F2F0E9;     /* faint warm grey for alternating sections */
  --bg-ink: #16150F;      /* near-black sections (the pinned story) */
  --ink: #1A1A16;
  --ink-soft: #56544C;
  --ink-faint: #8C8A80;
  --accent: #C16E4A;      /* warm terracotta, used sparingly */
  --accent-deep: #A4542F;
  --accent-soft: #ECDACE;
  --line: rgba(26, 26, 22, 0.10);
  --line-strong: rgba(26, 26, 22, 0.22);
  --paper: #FFFFFF;

  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --gutter: clamp(22px, 5vw, 104px);
  --content-max: 1280px;
  --section-pad: clamp(96px, 13vw, 224px);   /* generous white space */
  --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(--sans);
  background: var(--bg);
  color: var(--ink);
  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(--accent); color: var(--paper); }

.wrap { max-width: var(--content-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- TYPE PRIMITIVES ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
h1, h2, h3 { font-weight: 500; letter-spacing: -0.022em; line-height: 1.02; color: var(--ink); }
.display {
  font-size: clamp(44px, 8vw, 124px);
  font-weight: 480;
  letter-spacing: -0.035em;
  line-height: 0.96;
}
.h2 { font-size: clamp(32px, 4.6vw, 64px); font-weight: 500; letter-spacing: -0.028em; line-height: 1.04; }
.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--ink-soft); font-weight: 400; max-width: 46ch; }
.accent-word { color: var(--accent); font-style: normal; }
em { font-style: italic; }

/* ---------- BUTTONS ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 16px 30px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  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);
  will-change: transform;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); padding-left: 4px; padding-right: 4px; border-radius: 0; }
.btn-ghost .u { position: relative; padding-bottom: 3px; }
.btn-ghost .u::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--ink); transform: scaleX(1); transform-origin: right; transition: transform 0.45s var(--ease);
}
.btn-ghost:hover .u::after { transform: scaleX(0); transform-origin: left; }
.btn-ghost .arrow { color: var(--accent); transition: transform 0.4s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(5px); }

/* ---------- DEMO BANNER ---------- */
.demo-banner {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 9px 16px;
}
.demo-banner strong { color: var(--accent); font-weight: 500; letter-spacing: 0.18em; }
.demo-banner a { color: var(--bg); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(250, 250, 247, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid 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: 26px; flex-shrink: 0; transition: transform 0.5s var(--ease); }
.nav-brand-monogram:hover svg { transform: rotate(-8deg); }
.nav-brand-monogram svg path, .nav-brand-monogram svg circle, .nav-brand-monogram svg line { stroke: var(--accent); fill: none; }
.nav-brand-monogram span {
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav-links a {
  font-size: 13px; font-weight: 450; letter-spacing: 0.01em; color: var(--ink-soft);
  position: relative; padding: 4px 0; transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  font-size: 13px; font-weight: 500; color: var(--ink);
  border: 1px solid var(--line-strong); padding: 10px 18px; border-radius: 2px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ============================================================
   IMAGE SLOT (.shot) · premium, photo-ready placeholder.
   When a real <img> drops in it covers the placeholder; until
   then the styled fill + mono caption reads as intentional.
   ============================================================ */
.shot {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 12% 8%, #ffffff 0%, transparent 55%),
    linear-gradient(135deg, #efece3 0%, #f4f2ec 48%, #e9e4da 100%);
  isolation: isolate;
}
.shot::after { /* fine film grain so the slot never looks flat */
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.5; mix-blend-mode: multiply;
  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.06'/%3E%3C/svg%3E");
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
/* gentle filmic grain over real photos (not the heavier placeholder grain) */
.shot:has(img)::after { opacity: 0.16; 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: 12px; padding: 32px;
}
.shot .ph .ph-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-deep);
}
.shot .ph .ph-intent {
  font-size: 14px; line-height: 1.55; color: var(--ink-soft); max-width: 34ch; opacity: 0.92;
}
.shot .ph .ph-mark {
  width: 30px; height: 30px; border: 1px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--accent);
  font-family: var(--mono); font-size: 11px;
}

/* ============================================================
   HERO · the 3-5 second decision. Asymmetric: copy left, a large
   framed photograph right, generous white space all around.
   ============================================================ */
.hero { padding: clamp(14px, 2.4vw, 34px) 0 clamp(56px, 8vw, 120px); position: relative; }
.hero-inner {
  max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.hero-copy { max-width: 600px; }
.hero-eyebrow { margin-bottom: 28px; }
.hero-title { margin-bottom: 26px; }
.hero-sub { margin-bottom: 38px; }
.hero-cta-row { margin-bottom: 40px; }
.hero-trust {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-faint);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.hero-trust .star { color: var(--accent); letter-spacing: 0.1em; }
.hero-trust .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

.hero-shot { aspect-ratio: 4/5; border-radius: 3px; }
.hero-figure { position: relative; }
.hero-figure .tag {
  position: absolute; z-index: 3; left: -14px; bottom: 26px;
  background: var(--bg); border: 1px solid var(--line);
  padding: 12px 16px; border-radius: 2px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
  box-shadow: 0 18px 40px -28px rgba(26,26,22,0.5);
}
.hero-figure .tag b { color: var(--accent-deep); font-weight: 500; }

/* split-text headline */
.split { display: inline; }
.split .word { display: inline-block; white-space: nowrap; }
.split .char {
  display: inline-block;
  transform: translateY(1.05em);
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
  will-change: transform;
}
.split.in .char { transform: translateY(0); opacity: 1; }

/* scroll cue */
.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 22px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint);
  display: flex; align-items: center; gap: 10px;
}
.scroll-cue .line { width: 1px; height: 34px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ''; position: absolute; top: -34px; left: 0; width: 100%; height: 34px; background: var(--accent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); } 60%,100% { transform: translateY(68px); } }

/* ---------- MARKS / quiet trust row ---------- */
.marks {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.marks-inner {
  max-width: var(--content-max); margin: 0 auto; padding: 30px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.marks-inner .m {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-faint); text-transform: uppercase;
}
.marks-inner .m b { color: var(--ink); font-weight: 500; }

/* ============================================================
   SCROLL-STORY (pinned) · "the morning pour."
   A tall track; the inner panel pins for the duration; the
   figure cross-fades through three stages and the heading word
   swaps as scroll progress advances. NYT-graphics grade, but
   built from sticky + a single scroll-driven CSS variable.
   ============================================================ */
.scrollstory { background: var(--bg-ink); color: var(--bg); position: relative; }
.scrollstory-track { height: 340vh; position: relative; }
.scrollstory-sticky {
  position: sticky; top: 0; height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter);
}
.scrollstory-figure { position: relative; aspect-ratio: 4/5; max-height: 76vh; border-radius: 3px; overflow: hidden; }
.scrollstory-figure .ss-img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease), transform 1.4s var(--ease); transform: scale(1.06); }
.scrollstory-figure .ss-img.shot { background: linear-gradient(135deg, #211f17, #2c281d); }
.scrollstory-figure .ss-img.shot .ph .ph-label { color: var(--accent-soft); }
.scrollstory-figure .ss-img.shot .ph .ph-intent { color: #b8b3a4; }
.scrollstory-figure .ss-img.shot .ph .ph-mark { border-color: var(--accent-soft); color: var(--accent-soft); }
.scrollstory-figure .ss-img.active { opacity: 1; transform: scale(1); }

.scrollstory-copy { position: relative; }
.scrollstory-copy .eyebrow { color: var(--accent-soft); }
.scrollstory-copy .eyebrow::before { background: var(--accent-soft); }
.ss-clock { font-size: clamp(60px, 10vw, 150px); font-weight: 480; letter-spacing: -0.04em; line-height: 0.9; margin: 22px 0 8px; position: relative; height: 1em; }
.ss-clock .t { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(0.3em); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.ss-clock .t.active { opacity: 1; transform: translateY(0); }
.scrollstory-copy .ss-line { font-size: clamp(22px, 2.4vw, 30px); font-weight: 450; letter-spacing: -0.02em; line-height: 1.2; max-width: 22ch; min-height: 2.6em; }
.scrollstory-copy .ss-line .accent-word { color: var(--accent); }
.ss-progress { margin-top: 40px; display: flex; gap: 8px; }
.ss-progress .seg { width: 46px; height: 2px; background: rgba(255,255,255,0.18); overflow: hidden; }
.ss-progress .seg i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.ss-progress .seg.on i { transform: scaleX(1); }

/* ============================================================
   SPECIALS · asymmetric magazine grid. Each card sits on a
   different axis so the rhythm never feels like a 3-up template.
   ============================================================ */
.specials { padding: var(--section-pad) 0; }
.specials-head {
  max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px);
}
.specials-head .lede { justify-self: end; }
.specials-grid {
  max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px) clamp(24px, 4vw, 64px);
}
.special { display: flex; flex-direction: column; }
.special .shot { border-radius: 3px; margin-bottom: 22px; }
.special-no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--accent-deep); margin-bottom: 10px; }
.special h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; margin-bottom: 8px; }
.special p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; max-width: 34ch; }
.special .price { margin-top: 14px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink); }
/* axis breaks */
.special.a { grid-column: 1 / 6; }
.special.a .shot { aspect-ratio: 4/5; }
.special.b { grid-column: 7 / 13; align-self: end; transform: translateY(clamp(0px, 4vw, 64px)); }
.special.b .shot { aspect-ratio: 5/6; }
.special.c { grid-column: 3 / 11; margin-top: clamp(24px, 4vw, 72px); }
.special.c .shot { aspect-ratio: 16/9; }
@media (max-width: 820px) {
  .specials-grid { grid-template-columns: 1fr; }
  .special.a, .special.b, .special.c { grid-column: 1 / -1; transform: none; margin-top: 0; }
  .specials-head { grid-template-columns: 1fr; }
  .specials-head .lede { justify-self: start; }
}

/* ============================================================
   FEATURE · full-bleed photograph with one floating caption.
   The deliberate density break: image does the talking.
   ============================================================ */
.feature { position: relative; }
.feature .shot { aspect-ratio: 21/9; width: 100%; border-radius: 0; }
@media (max-width: 820px) { .feature .shot { aspect-ratio: 4/5; } }
.feature-caption {
  position: absolute; z-index: 4; left: var(--gutter); bottom: clamp(28px, 5vw, 64px);
  background: var(--bg); padding: clamp(24px, 3vw, 40px); max-width: min(440px, 76vw); border-radius: 3px;
  box-shadow: 0 30px 70px -40px rgba(26,26,22,0.55);
}
.feature-caption .eyebrow { margin-bottom: 16px; }
.feature-caption h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 500; margin-bottom: 12px; }
.feature-caption p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }

/* ============================================================
   STORY TEASE · 60/40 offset, copy heavy.
   ============================================================ */
.story-tease { padding: var(--section-pad) 0; background: var(--bg-tint); }
.story-tease-inner {
  max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 110px); align-items: center;
}
.story-tease .shot { aspect-ratio: 4/5; border-radius: 3px; }
.story-tease h2 { margin-bottom: 24px; }
.story-tease p { color: var(--ink-soft); margin-bottom: 18px; max-width: 48ch; }
.story-tease .sig { display: inline-flex; margin-top: 12px; }
@media (max-width: 820px) { .story-tease-inner { grid-template-columns: 1fr; } }

/* ============================================================
   VISIT · clear, scannable, every line a next step.
   ============================================================ */
.visit { padding: var(--section-pad) 0; }
.visit-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
.visit-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 640px; }
.visit-head h2 { margin-bottom: 18px; }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 56px); }
.visit-block { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.visit-block h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); font-weight: 500; margin-bottom: 16px; }
.visit-block p { color: var(--ink); font-size: 16px; line-height: 1.6; }
.visit-block p strong { font-weight: 600; }
.visit-block .small { color: var(--ink-faint); font-size: 13.5px; margin-top: 8px; }
@media (max-width: 820px) { .visit-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { padding: var(--section-pad) 0; text-align: center; }
.final-cta .wrap { display: flex; flex-direction: column; align-items: center; }
.final-cta .eyebrow { justify-content: center; margin-bottom: 26px; }
.final-cta h2 { font-size: clamp(36px, 6vw, 88px); font-weight: 480; letter-spacing: -0.035em; margin-bottom: 26px; max-width: 16ch; }
.final-cta p { color: var(--ink-soft); margin-bottom: 38px; max-width: 44ch; }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg-ink); color: #cfccc1; padding: clamp(64px, 8vw, 120px) 0 40px; }
.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: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--bg); margin-bottom: 16px; }
.footer-brand .wordmark svg { width: 30px; height: 30px; }
.footer-brand .wordmark svg path, .footer-brand .wordmark svg circle { stroke: var(--accent); fill: none; }
.footer-brand .wordmark span { font-weight: 600; font-size: 18px; }
.footer-brand p { color: #97948a; 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(--accent-soft); margin-bottom: 18px; font-weight: 500; }
.footer-col a, .footer-col p { display: block; color: #b6b3a8; font-size: 14.5px; margin-bottom: 10px; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--bg); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; flex-wrap: wrap; font-size: 12.5px; color: #87847b; font-family: var(--mono); letter-spacing: 0.04em; }
.footer-bottom .built-by a { color: var(--accent-soft); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   REVEAL SYSTEM (scroll entrance)
   ============================================================ */
.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.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-image { opacity: 0; transform: scale(1.05); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); will-change: opacity, transform; }
.reveal-image.in-view { opacity: 1; transform: scale(1); }

/* ============================================================
   POINTER LANGUAGE (Cafe Minimal's signature, vs floating labels)
   - .tilt: image parallax-tilts toward the cursor (depth)
   - .magnetic: CTA drifts toward the cursor
   Driven by --mx / --my set in JS. Disabled on touch.
   ============================================================ */
.tilt { transition: transform 0.5s var(--ease); transform: perspective(1100px) translateY(calc(var(--py, 0) * 1px)) rotateX(calc(var(--my, 0) * -3deg)) rotateY(calc(var(--mx, 0) * 4deg)); }
.tilt > * { transition: transform 0.5s var(--ease); }
.tilt:hover > .tilt-deep { transform: scale(1.04); }
.magnetic { transform: translate(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 8px)); }

/* hero parallax (scroll-driven via --py) */
.parallax { transform: translateY(calc(var(--py, 0) * 1px)); will-change: transform; }

/* ============================================================
   SUBPAGES (menu, story, bookings, contact)
   ============================================================ */
.breadcrumb { max-width: var(--content-max); margin: 0 auto; padding: 18px var(--gutter) 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-faint); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb .sep { margin: 0 8px; color: var(--line-strong); }

.page-hero { padding: clamp(56px, 8vw, 128px) 0 clamp(40px, 5vw, 80px); }
.page-hero-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 88px); align-items: end; }
.page-hero-inner.solo { grid-template-columns: 1fr; max-width: 880px; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 92px); font-weight: 480; letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 24px; }
.page-hero .lede { margin-bottom: 32px; }
.page-hero-shot { aspect-ratio: 5/6; border-radius: 3px; }
@media (max-width: 820px) { .page-hero-inner { grid-template-columns: 1fr; } }

/* MENU */
.menu-section { padding: clamp(56px, 7vw, 120px) 0; }
.menu-section:nth-child(even) { background: var(--bg-tint); }
.menu-cols { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(32px, 5vw, 96px); }
.menu-cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); }
.menu-cat .ct { display: block; font-family: var(--sans); font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.02em; color: var(--ink); margin-top: 14px; text-transform: none; font-weight: 500; }
.menu-cat p { color: var(--ink-soft); font-size: 15px; margin-top: 14px; max-width: 30ch; }
.menu-list { display: flex; flex-direction: column; }
.menu-row { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.menu-row:first-child { border-top: 1px solid var(--line); }
.menu-row .nm { font-size: 18px; font-weight: 500; }
.menu-row .nm small { display: block; font-weight: 400; font-size: 14px; color: var(--ink-soft); margin-top: 4px; max-width: 52ch; }
.menu-row .dots { border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); }
.menu-row .pr { font-family: var(--mono); font-size: 14px; color: var(--ink); white-space: nowrap; }
@media (max-width: 820px) { .menu-cols { grid-template-columns: 1fr; } }

/* PROSE (story) */
.prose-wrap { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 96px) var(--gutter); }
.prose-wrap p { font-size: 19px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 26px; }
.prose-wrap p .drop { color: var(--ink); font-weight: 500; }
.pullquote { max-width: 920px; margin: clamp(40px, 6vw, 90px) auto; padding: 0 var(--gutter); text-align: center; }
.pullquote blockquote { font-size: clamp(26px, 3.6vw, 46px); font-weight: 480; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.pullquote blockquote .accent-word { color: var(--accent); }
.pullquote cite { display: block; margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); font-style: normal; }
.story-duo { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 6vw, 90px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.story-duo .shot { aspect-ratio: 4/5; border-radius: 3px; }
.story-duo .shot.wide { aspect-ratio: 4/5; transform: translateY(clamp(0px, 4vw, 56px)); }
@media (max-width: 820px) { .story-duo { grid-template-columns: 1fr; } .story-duo .shot.wide { transform: none; } }

/* BOOKINGS */
.booking-wrap { max-width: var(--content-max); margin: 0 auto; padding: clamp(40px, 5vw, 80px) var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 88px); align-items: center; }
.booking-widget { aspect-ratio: 4/3; border-radius: 3px; }
.booking-copy h2 { margin-bottom: 18px; }
.booking-copy p { color: var(--ink-soft); margin-bottom: 16px; max-width: 46ch; }
.how-grid { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 7vw, 120px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 56px); }
.how-block { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.how-block .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--accent-deep); margin-bottom: 14px; }
.how-block h3 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.how-block p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
@media (max-width: 820px) { .booking-wrap { grid-template-columns: 1fr; } .how-grid { grid-template-columns: 1fr; } }

/* CONTACT */
.contact-map { aspect-ratio: 21/9; width: 100%; }
@media (max-width: 820px) { .contact-map { aspect-ratio: 4/3; } }
.contact-grid { max-width: var(--content-max); margin: 0 auto; padding: clamp(48px, 6vw, 96px) var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 56px); }
.contact-block { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.contact-block h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); font-weight: 500; margin-bottom: 16px; }
.contact-block p, .contact-block a { display: block; color: var(--ink); font-size: 16px; line-height: 1.7; }
.contact-block a:hover { color: var(--accent-deep); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   RESPONSIVE · stack the two-column moments on mobile so nothing
   is cramped, and unpin the scroll-story into a stacked sequence.
   ============================================================ */
@media (max-width: 820px) {
  .hero { padding-top: 14px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: none; }
  .hero-figure .tag { left: 0; }
  .scroll-cue { display: none; }
  /* unpin the scroll-story: present it as a stacked photo sequence */
  .scrollstory-track { height: auto; }
  .scrollstory-sticky { position: relative; height: auto; grid-template-columns: 1fr; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
  .scrollstory-copy { order: 1; }
  .scrollstory-figure { order: 2; aspect-ratio: auto; max-height: none; display: flex; flex-direction: column; gap: 12px; }
  .scrollstory-figure .ss-img { position: relative; opacity: 1; transform: none; aspect-ratio: 4/5; }
  .ss-clock { display: none; }
  .ss-progress { display: none; }
}

/* ============================================================
   GUIDED COMMENTARY DOCK (.cx) - Forkcast sales overlay.
   Scroll-reactive "why this works" narration for the operator
   (the buyer). Dismissible. A demo device, not part of the template.
   ============================================================ */
.cx {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: min(360px, calc(100vw - 32px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(16px);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 30px 70px -34px rgba(26, 26, 22, 0.55);
  padding: 18px 20px 16px;
  transform: translateY(24px); opacity: 0; pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.cx.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cx.cx-hidden { opacity: 0; transform: translateY(24px); pointer-events: none; }
.cx-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.cx-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 9px; }
.cx-tag::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--accent); display: inline-block; }
.cx-close { background: none; border: none; cursor: pointer; font-size: 19px; line-height: 1; color: var(--ink-faint); padding: 2px 5px; border-radius: 4px; transition: color 0.3s var(--ease); }
.cx-close:hover { color: var(--ink); }
.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-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); margin-bottom: 10px; }
.cx-text { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.cx-dots { display: flex; gap: 6px; margin-top: 16px; }
.cx-dots span { width: 14px; height: 3px; border-radius: 2px; background: var(--line-strong); transition: background 0.4s var(--ease); }
.cx-dots span.on { background: var(--accent); }
.cx-reopen {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: var(--bg); border: none; cursor: pointer;
  padding: 12px 18px; border-radius: 100px; box-shadow: 0 20px 50px -28px rgba(26, 26, 22, 0.6);
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.3s var(--ease);
  display: inline-flex; align-items: center; gap: 9px;
}
.cx-reopen::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.cx-reopen.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cx-reopen:hover { background: var(--accent-deep); }
@media (max-width: 600px) {
  .cx { right: 12px; left: 12px; bottom: 12px; width: auto; padding: 15px 16px; }
  .cx-feel { font-size: 15.5px; } .cx-text { font-size: 12.5px; }
  .cx-reopen { right: 12px; bottom: 12px; }
}

/* ============================================================
   MOTION GUARDS
   ============================================================ */
@media (hover: none) {
  .tilt { transform: none; }
  .magnetic { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-image { opacity: 1 !important; transform: none !important; transition: none; }
  .split .char { opacity: 1 !important; transform: none !important; transition: none; }
  .tilt, .magnetic, .parallax { transform: none !important; }
  .scroll-cue .line::after { animation: none; }
  .scrollstory-track { height: auto; }
  .scrollstory-sticky { position: relative; height: auto; padding-top: 96px; padding-bottom: 96px; }
  .scrollstory-figure .ss-img { position: relative; opacity: 1; transform: none; aspect-ratio: 4/5; margin-bottom: 16px; }
  .scrollstory-figure { aspect-ratio: auto; max-height: none; }
  .ss-clock .t { position: relative; opacity: 1; transform: none; }
  .ss-clock { height: auto; }
  .ss-progress .seg i { transform: scaleX(1); }
  .cx, .cx-body, .cx-reopen { transition: none; }
}

/* ============================================================
   FORKCAST BUY BAND · demo sales chrome (Cycle 9)
   Tasteful bottom CTA, attention sheen + pulse. Above the footer,
   never blocks content. Guarded.
   ============================================================ */
.fc-buy { background: var(--bg-tint); 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(--sans); font-size: clamp(22px, 3vw, 34px); line-height: 1.2; color: var(--ink); }
.fc-buy-text strong { color: var(--accent); }
.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(--accent); color: var(--paper); font-family: var(--sans); 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(193, 110, 74, 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.35), 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(193, 110, 74, 0.35); } 50% { box-shadow: 0 0 20px 3px rgba(193, 110, 74, 0.38); } }
@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(--ink-faint); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.fc-buy-back:hover { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .fc-buy-cta { animation: none; } .fc-buy-cta::after { display: none; } }
