/* ==========================================================================
   StoryRocket · home page (October 2026 redesign)
   Light, rounded, image-led. Hand-authored, no build step.
   The private pages (pricing, proposal, concepts) still use site.css.

   Structure:
     1. Tokens + fonts     6. System cards
     2. Base               7. Work marquee
     3. Buttons + nav      8. Results, compounds, packages
     4. Hero               9. FAQ, enquiry, footer, lightbox
     5. Argument           10. Motion + reduced motion
   ========================================================================== */

/* ── 1. TOKENS + FONTS ───────────────────────────────────────────────────── */

@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-latin.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-latin.woff2') format('woff2-variations');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f7f2ea;
  --paper: #fffdf9;
  --sand: #efe6d8;
  --line: #e2d6c4;
  --ink: #0e0905;
  --ink-2: #1c1208;
  --ink-3: #2a1f14;
  --body: #5a4a3a;
  --beige: #c8b89a;
  --orange: #c3502b;
  --orange-hi: #d96035;

  --display: 'Syne', system-ui, sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-card: 32px;
  --r-panel: 40px;
  --r-media: 22px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(88px, 11vw, 144px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ── 2. BASE ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.shell { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.shell-wide { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(12px, 1.7vw, 24px); }
.section { padding-top: var(--section); }

.h1, .h2, .h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
.h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.05; letter-spacing: -0.035em; }
.h2 { font-size: clamp(2rem, 4.1vw, 3.5rem); line-height: 1.1; letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2.125rem); line-height: 1.12; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; color: var(--body); text-wrap: pretty; }

.head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; }
.head-split .h2 { max-width: 760px; }
.head-split .lead { max-width: 420px; }
.head-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.head-center .lead { max-width: 600px; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  padding: 12px 18px; background: var(--ink); color: var(--cream); border-radius: 999px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
}

/* ── 3. BUTTONS + NAV ────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1.0625rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .3s;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--orange); color: var(--paper); }
.btn-primary:hover { background: var(--orange-hi); box-shadow: 0 12px 28px -12px rgba(195, 80, 43, .7); }
.btn-ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-sm { padding: 12px 22px; font-size: .9375rem; }
.btn-block { width: 100%; }

.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  padding-inline: var(--gutter); pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  max-width: 1312px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 28px;
  background: rgba(255, 253, 249, .86);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 999px;
  transition: box-shadow .4s, max-width .5s var(--ease), background-color .3s;
}
.nav.is-stuck .nav-inner { max-width: 1080px; box-shadow: 0 16px 40px -24px rgba(14, 9, 5, .35); }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 36px); }
.nav-link {
  position: relative; font-size: .9375rem; font-weight: 500; text-decoration: none; padding: 6px 0;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; align-items: center; gap: 8px; padding: 11px 16px;
  background: var(--sand); border: 0; border-radius: 999px; font-weight: 600; font-size: .9375rem;
}
.nav-panel {
  position: fixed; top: 84px; left: var(--gutter); right: var(--gutter); z-index: 99;
  display: flex; flex-direction: column; gap: 4px; padding: 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: 0 24px 60px -30px rgba(14, 9, 5, .45);
}
.nav-panel a:not(.btn) { padding: 14px 12px; font-weight: 600; font-size: 1.125rem; text-decoration: none; border-radius: 14px; }
.nav-panel a:not(.btn):hover { background: var(--sand); }
.nav-panel .btn { margin-top: 8px; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { padding-left: 20px; }
}
@media (max-width: 520px) { .nav-cta { display: none; } }

/* ── 4. HERO ─────────────────────────────────────────────────────────────── */

.hero { position: relative; padding-top: clamp(128px, 15vw, 196px); padding-bottom: clamp(56px, 10vw, 152px); }
.hero-copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
  max-width: 860px; margin-inline: auto;
}
.hero-copy .lead { max-width: 580px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 4px; }

.for-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  font-size: .9375rem; font-weight: 500;
}
.for-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.cycle {
  position: relative; display: inline-block; height: 1.5em; overflow: hidden; vertical-align: bottom;
  transition: width .4s var(--ease); font-weight: 700;
}
.cycle-word {
  position: absolute; left: 0; top: 0; white-space: nowrap; line-height: 1.5em;
  transform: translateY(110%); opacity: 0;
  transition: transform .45s var(--ease), opacity .3s;
}
.cycle-word.is-on { transform: translateY(0); opacity: 1; }
.cycle-word.is-off { transform: translateY(-110%); opacity: 0; }

.hero-reels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-reel { position: absolute; pointer-events: auto; will-change: transform; }
.hero-reel .reel-card { width: 100%; }
.hero-reel.r1 { left: var(--gutter); top: 150px; width: clamp(130px, 12.2vw, 176px); }
.hero-reel.r2 { left: calc(var(--gutter) + 9.2vw); top: 440px; width: clamp(112px, 10.3vw, 148px); }
.hero-reel.r3 { right: var(--gutter); top: 150px; width: clamp(130px, 12.2vw, 176px); }
.hero-reel.r4 { right: calc(var(--gutter) + 9.2vw); top: 440px; width: clamp(112px, 10.3vw, 148px); }

@media (max-width: 1180px) {
  .hero-reels {
    position: relative; inset: auto; display: flex; justify-content: center; align-items: flex-start;
    gap: 12px; margin-top: 48px; padding-inline: var(--gutter); pointer-events: auto;
  }
  .hero-reel, .hero-reel.r1, .hero-reel.r2, .hero-reel.r3, .hero-reel.r4 {
    position: relative; left: auto; right: auto; top: auto; width: 23%; max-width: 190px; transform: none !important;
  }
  .hero-reel.r2, .hero-reel.r4 { margin-top: 28px; }
}

/* Reel card: poster, optional preview video, play mark, caption. */
.reel-card {
  position: relative; display: block; padding: 0; border: 0; background: var(--sand);
  aspect-ratio: 9 / 16; border-radius: var(--r-media); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.reel-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 28px 50px -28px rgba(14, 9, 5, .55); }
.reel-poster, .reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-video { opacity: 0; transition: opacity .5s; }
.is-playing > .reel-video, .reel-card.is-playing .reel-video { opacity: 1; }
.reel-scrim {
  position: absolute; inset: auto 0 0 0; height: 46%; z-index: 1;
  background: linear-gradient(to top, rgba(14, 9, 5, .78), rgba(14, 9, 5, 0));
}
.reel-meta { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; text-align: left; color: var(--paper); }
.reel-name { display: block; font-weight: 700; font-size: 1rem; line-height: 1.25; }
.reel-cat { display: block; font-size: .8125rem; opacity: .85; }
.reel-play {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 253, 249, .92); color: var(--ink);
  transform: scale(.85); opacity: 0; transition: transform .35s var(--ease), opacity .3s;
}
.reel-card:hover .reel-play, .reel-card:focus-visible .reel-play { transform: scale(1); opacity: 1; }

/* ── 5. ARGUMENT ─────────────────────────────────────────────────────────── */

.panel-dark {
  background: var(--ink); color: var(--cream); border-radius: var(--r-panel);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px);
}
.argument-top { display: flex; gap: 32px 64px; align-items: flex-start; flex-wrap: wrap; }
.argument-top .h2 { flex: 1 1 420px; }
.argument-text { flex: 0 1 500px; display: flex; flex-direction: column; gap: 20px; padding-top: 10px; color: var(--beige); font-size: 1.125rem; }

.sysbar { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 176px repeat(5, minmax(0, 1fr)); gap: 12px; }
.sysbar-label { font-size: .9375rem; font-weight: 500; line-height: 1.45; color: var(--beige); align-self: center; }
.sysbar-label.is-us { color: var(--cream); font-weight: 600; align-self: start; padding-top: 24px; }
.sysbar-slot {
  height: 60px; border-radius: 18px; border: 1px dashed #6a5846;
  display: grid; place-items: center; font-weight: 600; font-size: 1rem;
}
.sysbar-slot.is-filled { border: 0; background: var(--ink-3); }
.sysbar-card { background: var(--cream); color: var(--ink); border-radius: 22px; padding: 24px 22px 28px; }
.sysbar-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; line-height: 1.3; }
.sysbar-card p { margin-top: 10px; font-size: .9375rem; line-height: 1.45; color: var(--body); }
.compare { display: none; width: 100%; margin-top: 40px; border-collapse: separate; border-spacing: 0; font-size: .9375rem; }
.compare th, .compare td { padding: 14px 8px; border-bottom: 1px solid var(--ink-3); text-align: center; vertical-align: middle; }
.compare thead th { font-size: .8125rem; font-weight: 600; line-height: 1.35; color: var(--beige); vertical-align: bottom; width: 30%; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--cream); padding-left: 0; }
.compare td svg { display: inline-block; color: var(--beige); }
.compare .cmp-us { background: var(--ink-3); }
.compare thead .cmp-us { color: var(--cream); border-radius: 14px 14px 0 0; }
.compare tbody tr:last-child .cmp-us { border-radius: 0 0 14px 14px; border-bottom: 0; }
.compare td.cmp-us svg { color: var(--orange-hi); }
.cmp-no { display: inline-block; width: 12px; height: 2px; border-radius: 2px; background: #6a5846; vertical-align: middle; }

@media (max-width: 1080px) {
  .sysbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sysbar-label, .sysbar-slot { display: none; }
  .compare { display: table; }
  .sysbar { margin-top: 32px; }
}
@media (max-width: 560px) { .sysbar { grid-template-columns: 1fr; } }

/* ── 6. SYSTEM CARDS ─────────────────────────────────────────────────────── */

.bento { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(14, 9, 5, .4); }
.card-wide { grid-column: span 7; }
.card-narrow { grid-column: span 5; }
.card-sand { background: var(--sand); border-color: transparent; }
.sys-card { display: flex; flex-direction: column; min-height: 560px; }
.sys-card-head { display: flex; gap: 20px 40px; align-items: flex-start; padding: 40px 40px 0; flex-wrap: wrap; }
.sys-card-head .h3 { flex: 1 1 200px; }
.sys-card-head p { flex: 1 1 320px; color: var(--body); }
.sys-card-stack { padding: 32px 40px 40px; display: flex; flex-direction: column; gap: 12px; }
.sys-card-stack p { color: var(--body); }
.sys-media { flex: 1; min-height: 300px; overflow: hidden; }
.sys-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .sys-media img { transform: scale(1.04); }

/* Plan component */
.plan {
  flex: 1; margin: 32px 40px 0; padding: 24px 24px 0; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0;
  display: flex; flex-direction: column; gap: 8px;
}
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px 10px; }
.plan-head strong { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; }
.chip { display: inline-flex; justify-content: center; padding: 6px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: var(--sand); white-space: nowrap; }
.chip-ink { background: var(--ink); color: var(--cream); }
.chip-orange { background: var(--orange); color: var(--paper); }
.plan-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 92px 150px; align-items: center; gap: 16px;
  padding: 16px 18px; background: var(--paper); border-radius: 16px; font-size: 1rem; font-weight: 600; line-height: 1.3;
}
.plan-row .chip { width: 92px; }
.plan-row span:last-child { font-size: .875rem; font-weight: 400; color: var(--body); }

/* Review component */
.review { flex: 1; margin: 32px 40px 0; display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 12px; }
.chart {
  background: var(--cream); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0;
  padding: 24px 28px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chart-head strong { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; }
.chart-head span { font-size: .8125rem; color: var(--body); }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 230px; }
.bar { flex: 1; height: calc(var(--h) * 1%); background: var(--line); border-radius: 10px 10px 0 0; transform-origin: bottom; }
.bar.is-top { background: var(--orange); }
.insight {
  background: var(--ink); color: var(--cream); border-radius: 22px 22px 0 0; padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.insight small { font-size: .8125rem; font-weight: 600; color: var(--beige); }
.insight strong { display: block; margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: 1.3125rem; line-height: 1.3; }
.insight p { font-size: .875rem; line-height: 1.5; color: var(--beige); padding-bottom: 24px; }

/* Edit card reels */
.edit-reels { display: flex; align-items: flex-end; gap: 12px; padding: 0 40px; margin-top: auto; }
.edit-reels .reel-card { flex: 1; border-radius: 16px 16px 0 0; aspect-ratio: 9 / 13; }
.edit-reels .reel-card:nth-child(2) { aspect-ratio: 9 / 15.5; }
.edit-reels .reel-card:hover { transform: translateY(-8px); box-shadow: none; }

@media (max-width: 1080px) {
  .card-wide, .card-narrow { grid-column: 1 / -1; }
  .sys-card { min-height: 0; }
}
@media (max-width: 640px) {
  .sys-card-head { padding: 28px 24px 0; }
  .sys-card-stack { padding: 24px; }
  .plan, .review { margin: 24px 16px 0; }
  .plan { padding: 16px 12px 0; }
  .plan-head .chip { display: none; }
  .plan-row { grid-template-columns: minmax(0, 1fr) auto; }
  .plan-row span:last-child { display: none; }
  .review { grid-template-columns: 1fr; }
  .insight { border-radius: 22px; margin-bottom: 16px; }
  .chart { border-bottom: 1px solid var(--line); border-radius: 22px; }
  .bars { height: 160px; gap: 8px; }
  .edit-reels { padding: 0 24px; }
}

/* ── 7. WORK MARQUEE ─────────────────────────────────────────────────────── */

.marquee { margin-top: clamp(40px, 5vw, 56px); overflow: hidden; padding-block: 16px; }
.marquee-track { display: flex; gap: 16px; width: max-content; align-items: center; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee .reel-card { width: clamp(180px, 16vw, 232px); flex: none; }
.marquee li:nth-child(even) .reel-card { width: clamp(200px, 18vw, 262px); }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* ── 8. RESULTS, COMPOUNDS, PACKAGES ─────────────────────────────────────── */

.results-grid { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.stat-card {
  grid-column: span 2; position: relative; isolation: isolate; overflow: hidden; min-height: 520px;
  border-radius: var(--r-card); background: var(--ink); color: var(--paper); padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.stat-card > img, .stat-card > video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.stat-card > video { opacity: 0; transition: opacity .8s; }
.stat-card.is-playing > video { opacity: 1; }
.stat-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1; transition: opacity .6s;
  background: linear-gradient(rgba(14, 9, 5, .82), rgba(14, 9, 5, .42) 46%, rgba(14, 9, 5, .9) 78%);
}
.stat-card:hover::after { opacity: .86; }
.stat-num { font-family: var(--display); font-weight: 600; font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.stat-label { margin-top: 6px; font-size: 1.125rem; font-weight: 500; }
.stat-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.625rem; }
.stat-card h3 + p { margin-top: 4px; font-size: .9375rem; line-height: 1.45; }
.quote-dark {
  grid-column: span 2; background: var(--ink); color: var(--cream); border-radius: var(--r-card); padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.quote-dark p { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.1vw, 1.875rem); line-height: 1.33; letter-spacing: -0.02em; }
.quote-dark footer, .quote-light footer { font-size: .9375rem; }
.quote-dark footer strong { display: block; font-size: 1.0625rem; }
.quote-dark footer span { color: var(--beige); }
.quote-light { grid-column: span 3; padding: 36px; display: flex; flex-direction: column; gap: 28px; justify-content: space-between; }
.quote-light p { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.52; }
.quote-light footer { font-weight: 600; color: var(--body); }

@media (max-width: 1080px) {
  .stat-card, .quote-dark { grid-column: span 3; min-height: 440px; }
  .quote-dark { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 680px) { .stat-card, .quote-light { grid-column: 1 / -1; } }

.compounds {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); overflow: hidden;
  background: var(--orange); color: var(--paper); border-radius: var(--r-panel);
}
.compounds-copy { padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.compounds-copy .h2 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.05; letter-spacing: -0.035em; }
.compounds-copy div { display: flex; flex-direction: column; gap: 20px; max-width: 600px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }
.compounds-media { overflow: hidden; min-height: 420px; }
.compounds-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2.4s var(--ease); }
.compounds.is-in .compounds-media img { transform: scale(1); }
@media (max-width: 900px) { .compounds { grid-template-columns: 1fr; } .compounds-media { min-height: 0; aspect-ratio: 4 / 3; } }

.includes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 8px; }
.includes li { padding: 10px 18px; background: var(--sand); border-radius: 999px; font-size: .9375rem; font-weight: 500; }
.packages { margin-top: clamp(36px, 4.5vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pkg { padding: 40px; display: flex; flex-direction: column; gap: 40px; justify-content: space-between; }
.pkg-top { display: flex; flex-direction: column; }
.pkg h3 { font-family: var(--display); font-weight: 600; font-size: 2.25rem; line-height: 1.1; letter-spacing: -0.02em; }
.pkg-line { margin-top: 12px; min-height: 3.2em; font-size: 1.125rem; line-height: 1.5; color: var(--body); }
.pkg-list { margin-top: 28px; }
.pkg-list li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.5; }
.pkg-count { padding: 20px 0 !important; }
.pkg-count b { font-family: var(--display); font-weight: 600; font-size: 3.5rem; line-height: 1; letter-spacing: -0.03em; margin-right: 10px; }
.pkg-count strong { font-weight: 600; }
.pkg-count small { display: block; margin-top: 6px; font-size: .9375rem; color: var(--body); }
.pkg-dark { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pkg-dark .pkg-line, .pkg-dark .pkg-count small { color: var(--beige); }
.pkg-dark .pkg-list li { border-color: #3a2c1e; }
@media (max-width: 1080px) { .packages { grid-template-columns: 1fr; } .pkg-line { min-height: 0; } }
@media (max-width: 560px) { .pkg { padding: 28px 24px; } }

/* ── 9. FAQ, ENQUIRY, FOOTER, LIGHTBOX ───────────────────────────────────── */

.faq-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.faq-grid .h2 { position: sticky; top: 120px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; transition: border-color .3s, box-shadow .4s; }
.faq-item:hover, .faq-item.is-open { border-color: var(--beige); }
.faq-item.is-open { box-shadow: 0 24px 50px -40px rgba(14, 9, 5, .45); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 24px 22px 32px; background: none; border: 0; text-align: left;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 600; line-height: 1.4;
}
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); transition: background-color .3s, transform .5s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 11px; right: 11px; top: 17px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), background-color .3s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--ink); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: var(--paper); }
.faq-item.is-open .faq-icon::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 32px; max-width: 720px; color: var(--body); }
.faq-a p + p { margin-top: 12px; }
.faq-a p:last-child { padding-bottom: 28px; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .h2 { position: static; } }

.enquire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px 72px; align-items: start; padding-top: clamp(48px, 6.5vw, 88px); }
.enquire-copy { display: flex; flex-direction: column; gap: 28px; }
.enquire-copy .h2 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.05; letter-spacing: -0.035em; }
.enquire-copy .lead { color: var(--beige); max-width: 500px; }
.enquire-who { display: flex; align-items: center; gap: 16px; padding-top: 20px; }
.enquire-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.enquire-who strong { display: block; font-size: 1rem; }
.enquire-who a { color: var(--beige); font-size: .9375rem; }
.form-card { background: var(--cream); color: var(--ink); border-radius: 28px; padding: clamp(20px, 3vw, 32px); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; }
.field .req { color: var(--orange); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(195, 80, 43, .18); }
.field [aria-invalid='true'] { border-color: var(--orange); }
.field-hint { font-size: .875rem; color: var(--body); }
.field-error { display: none; font-size: .875rem; color: #a33a1a; font-weight: 500; }
.field-error.is-shown { display: block; }
.form-foot { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.form-alert { display: none; padding: 12px 16px; border-radius: 14px; background: #f6ddd3; color: #7a2a12; font-size: .9375rem; }
.form-alert.is-shown { display: block; }
.btn[aria-busy='true'] { opacity: .8; pointer-events: none; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 253, 249, .4); border-top-color: var(--paper); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: flex; flex-direction: column; gap: 14px; padding: 16px 8px; }
.form-success:focus { outline: 0; }
.form-success-mark { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--paper); }
.form-success p { color: var(--body); }
@media (max-width: 980px) { .enquire { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-grid { grid-template-columns: 1fr; } }

.site-footer { padding: 36px 0 28px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px 48px; flex-wrap: wrap; font-size: .9375rem; color: var(--body); }
.footer-row img { height: 22px; width: auto; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px;
  background: rgba(14, 9, 5, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: fade .3s both;
}
.lightbox-stage { display: flex; flex-direction: column; gap: 14px; align-items: center; animation: pop .45s var(--ease) both; }
.lightbox video { max-height: min(78vh, 760px); width: auto; max-width: 92vw; border-radius: 24px; background: #000; }
.lightbox-caption { text-align: center; color: var(--beige); font-size: .9375rem; }
.lightbox-caption strong { display: block; color: var(--cream); font-family: var(--display); font-size: 1.125rem; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); border: 0; color: var(--ink);
  transition: transform .3s var(--ease), background-color .25s, color .25s;
}
.lightbox-close:hover { transform: rotate(90deg); background: var(--orange); color: var(--paper); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }

/* ── 10. MOTION ──────────────────────────────────────────────────────────── */

/* Scroll reveals. Content is only hidden once JS has confirmed it can show it. */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal='scale'] { transform: scale(.96); }
.js [data-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms + var(--d, 0s)); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js .bars .bar { transform: scaleY(0); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + .2s); }
.js .is-in .bars .bar, .js .bars.is-in .bar { transform: scaleY(1); }

/* Hero entrance on load. */
.js .hero-copy > * { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + .1s); }
.js .hero-reel { opacity: 0; animation: reel-in 1.1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 140ms + .45s); }
.js .nav-inner { animation: drop .8s var(--ease) both; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes reel-in { from { opacity: 0; scale: .86; translate: 0 40px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes drop { from { opacity: 0; transform: translateY(-24px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .js [data-reveal], .js [data-stagger] > *, .js .hero-copy > *, .js .hero-reel { opacity: 1; transform: none; }
  .js .bars .bar { transform: none; }
  .compounds-media img { transform: none; }
}
