/* ==========================================================================
   Verdant Digital — design system v2 "classier"
   Fonts: Caprasimo (display) / Lora (body) / Instrument Sans (UI, labels)
   Palette: deep forest · warm cream · antique gold
   ========================================================================== */

:root {
  --forest: #2a4237;
  --forest-deep: #1d2f26;
  --forest-shadow: #15231c;
  --cream: #f6f1e6;
  --ivory: #fdfbf5;
  --gold: #a98b4f;
  --gold-soft: #c9ab6b;
  --ink: #2b2f2a;
  --muted: #6f7268;
  --line: rgba(42, 66, 55, 0.14);
  --line-gold: rgba(169, 139, 79, 0.35);

  /* legacy aliases — page-level styles reference these */
  --olive: #5c7a4e;
  --paper: var(--cream);
  --white: var(--ivory);

  --font-display: 'Caprasimo', serif;
  --font-body: 'Lora', serif;
  --font-sub: 'Instrument Sans', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 14px 40px rgba(21, 35, 28, 0.08);
  --shadow-card-hover: 0 26px 60px rgba(21, 35, 28, 0.14);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.8s;

  --section-pad: clamp(5rem, 11vw, 9.5rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1180px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

/* programmatic smoothing lives in Lenis (main.js); CSS smooth would double-animate */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

::selection { background: var(--gold-soft); color: var(--forest-deep); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: var(--ivory);
  font-family: var(--font-sub);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--forest);
}

h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.15; }

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark p { color: var(--cream); }

.kicker {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.kicker::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.on-dark .kicker { color: var(--gold-soft); }

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  max-width: 52ch;
}

.accent { color: var(--gold); }
.on-dark .accent { color: var(--gold-soft); }

/* --------------------------------------------------------------------------
   Page loader — quiet, cinematic
   -------------------------------------------------------------------------- */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--forest-deep);
  display: grid;
  place-items: center;
  transition: opacity 0.7s ease, visibility 0s 0.7s;
}
.page-loader .loader-mark {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--cream);
  opacity: 0;
  animation: loader-in 0.7s var(--ease-out) 0.1s forwards;
}
.page-loader .loader-mark::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--gold-soft);
  margin-top: 0.6rem;
  transform: scaleX(0);
  animation: loader-rule 0.8s var(--ease-out) 0.5s forwards;
}
@keyframes loader-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loader-rule {
  to { transform: scaleX(1); }
}
body.loaded .page-loader {
  opacity: 0;
  visibility: hidden;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  transition: background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
  color: var(--cream);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}
.site-nav.scrolled {
  background: rgba(246, 241, 230, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--forest);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.nav-logo img { width: 40px; height: 40px; border-radius: 50%; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.4rem);
  list-style: none;
}
.nav-links a:not(.btn) {
  font-family: var(--font-sub);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-decoration: none;
  position: relative;
  padding-block: 0.35rem;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 95;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 8px;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -8px; }
.nav-toggle span::after { left: 0; top: 8px; }
.nav-open .nav-toggle span { transform: rotate(45deg); }
.nav-open .nav-toggle span::before { transform: rotate(-90deg) translateX(-8px); }
.nav-open .nav-toggle span::after { opacity: 0; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 92;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: var(--forest-deep);
    color: var(--cream);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.35s ease, visibility 0s 0.35s;
  }
  .nav-open .nav-links {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.35s ease;
  }
  .nav-open .site-nav { color: var(--cream); }
  .nav-links a:not(.btn) { font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   Buttons — pill, quiet confidence
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  padding: 1.05rem 2.2rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease-out);
  border-radius: inherit;
}
.btn .btn-label { position: relative; z-index: 1; transition: color 0.25s ease; }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover .btn-label, .btn:focus-visible .btn-label { color: var(--ivory); }
.btn:hover { box-shadow: 0 14px 30px rgba(21, 35, 28, 0.22); }

.btn-gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--ivory);
}
.btn-gold::before { background: var(--cream); }
.btn-gold:hover .btn-label, .btn-gold:focus-visible .btn-label { color: var(--forest); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  box-shadow: inset 0 0 0 1px currentColor;
}
.btn-ghost::before { background: var(--cream); }
.btn-ghost:hover .btn-label, .btn-ghost:focus-visible .btn-label { color: var(--forest); }
/* in the hero the wheel's cream cards rotate behind this button — a fully
   transparent ghost disappears against them */
.hero-cine .btn-ghost {
  --btn-bg: rgba(21, 35, 28, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* --------------------------------------------------------------------------
   Sections & reveal system
   -------------------------------------------------------------------------- */

section { padding-block: var(--section-pad); position: relative; }

.section-head {
  display: grid;
  gap: 1.2rem;
  max-width: 64ch;
  margin-bottom: clamp(2.75rem, 6vw, 5rem);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].in-view {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(55vw 55vw at 88% -12%, rgba(169, 139, 79, 0.16), transparent 62%),
    radial-gradient(48vw 48vw at -8% 112%, rgba(21, 35, 28, 0.85), transparent 60%),
    var(--forest);
  color: var(--cream);
  overflow: hidden;
  padding-block: 7.5rem 4.5rem;
}
.hero::after {
  /* film grain */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  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'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  position: relative;
  z-index: 1;
}

.hero-copy .hi-sticker {
  display: inline-block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  border: 1px solid var(--line-gold);
  background: rgba(21, 35, 28, 0.35);
  padding: 0.3rem 1.3rem;
  border-radius: 999px;
  transform: rotate(-2deg);
  margin-bottom: 1.6rem;
}

.hero-copy h1 { color: var(--cream); }
.hero-copy h1 .accent { color: var(--gold-soft); }

.hero-tagline {
  margin-top: 1.6rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  max-width: 40ch;
  color: rgba(246, 241, 230, 0.85);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-art { position: relative; padding: 1.1rem 1.1rem 0 0; }
.hero-art .blob {
  /* offset gold hairline arch behind the portrait */
  position: absolute;
  inset: 0 0 1.1rem 1.1rem;
  background: transparent;
  border: 1px solid var(--line-gold);
  border-radius: 999px 999px var(--radius) var(--radius);
  opacity: 1;
  filter: none;
}
.hero-art img {
  position: relative;
  border-radius: 999px 999px var(--radius) var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.38);
}
.hero-art .float-chip {
  position: absolute;
  z-index: 2;
  background: var(--cream);
  color: var(--forest);
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-card);
}
.hero-art .chip-1 { top: 8%; left: -8%; transform: rotate(-4deg); }
.hero-art .chip-2 { bottom: 9%; right: -5%; transform: rotate(3deg); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 56px;
  background: rgba(246, 241, 230, 0.2);
  overflow: hidden;
  transition: opacity 0.4s ease;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--gold-soft);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0% { top: -50%; }
  100% { top: 110%; }
}
body.scrolled-once .scroll-cue { opacity: 0; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 400px; }
  .hero-art .chip-1 { left: 0; }
  .hero-art .chip-2 { right: 0; }
}

/* --------------------------------------------------------------------------
   Hero wheel — Arkkhe-style rotating package carousel
   -------------------------------------------------------------------------- */

.hero-wheel {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(70vw 45vh at 50% 78%, rgba(201, 171, 107, 0.22), transparent 65%),
    radial-gradient(55vw 55vw at 88% -12%, rgba(169, 139, 79, 0.14), transparent 62%),
    linear-gradient(to bottom, var(--forest-deep) 0%, var(--forest) 55%, #33503f 100%);
  color: var(--cream);
  overflow: hidden;
  position: relative;
  padding-top: clamp(5.5rem, 10vh, 7.5rem);
}
.hero-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  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'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* mist band above the wheel horizon */
.hero-wheel::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6vh;
  transform: translateX(-50%);
  width: 130vw;
  height: 34vh;
  background: radial-gradient(closest-side, rgba(246, 241, 230, 0.14), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-wheel .hw-copy { position: relative; z-index: 3; max-width: 900px; padding-inline: var(--gutter); }
.hero-wheel .hi-sticker {
  display: inline-block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-soft);
  border: 1px solid var(--line-gold);
  background: rgba(21, 35, 28, 0.35);
  padding: 0.28rem 1.2rem;
  border-radius: 999px;
  transform: rotate(-2deg);
  margin-bottom: 1.4rem;
}
.hero-wheel h1 {
  color: var(--cream);
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  line-height: 1.03;
  max-width: 20ch;
  margin-inline: auto;
}
.hero-wheel h1 .accent { color: var(--gold-soft); }
.hero-wheel .hw-sub {
  margin: 1.2rem auto 0;
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 52ch;
  color: rgba(246, 241, 230, 0.85);
}
.hero-wheel .hero-ctas { justify-content: center; margin-top: 1.9rem; }

.wheel-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(300px, 40vh, 430px);
  margin-top: clamp(1.25rem, 3.5vh, 2.75rem);
}
.wheel {
  position: absolute;
  left: 50%;
  top: 26px;
  width: calc(2 * var(--wheel-r));
  height: calc(2 * var(--wheel-r));
  margin-left: calc(-1 * var(--wheel-r));
  transform: rotate(var(--wheel-rot, 0deg));
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  --wheel-r: 820px;
}
.wheel-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 232px;
  /* the card's absolute ring angle, normalised to [-180,180) by main.js
     (falls back to the raw slot angle before JS runs) */
  --th: var(--thn, var(--a));
  /* fallback for browsers without cos(): tangent layout, no depth */
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(-1 * (var(--wheel-r) - 140px)));
  /* ride the rim but stay near-upright (12.5% residual lean = 6 degrees at the shoulder),
     receding and fading toward the edges. Wheel and card transitions share one curve
     so the counter-rotation stays in sync mid-spin. */
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(-1 * (var(--wheel-r) - 140px))) rotate(calc(-0.875 * var(--th))) scale(calc(0.72 + 0.28 * cos(var(--th))));
  opacity: clamp(0, calc((cos(var(--th)) - 0.45) / 0.48), 1);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.1s ease;
}
.wheel-card .wc-inner {
  display: block;
  text-decoration: none;
  background: var(--ivory);
  border: 1px solid var(--line-gold);
  /* arched top, echoing the portrait frames */
  border-radius: 116px 116px 20px 20px;
  padding: 2.1rem 1.35rem 1.5rem;
  box-shadow: 0 18px 44px rgba(15, 25, 20, 0.3);
  transition: transform 0.6s var(--ease-out), box-shadow 0.4s ease, border-color 0.4s ease;
  text-align: left;
}
.wheel-card .wc-mark { display: block; width: 48px; height: 48px; color: var(--gold); margin: 0 auto 1.1rem; }
.wheel-card .wc-mark svg { width: 100%; height: 100%; }
.wheel-card .wc-num {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
}
.wheel-card h3 { font-size: 1.45rem; margin: 0.25rem 0 0.35rem; color: var(--forest); }
.wheel-card .wc-line { font-size: 0.9rem; line-height: 1.45; color: var(--muted); text-align: left; }
.wheel-card.is-centre .wc-inner {
  border-color: var(--gold);
  transform: scale(1.05);
  box-shadow: 0 28px 60px rgba(15, 25, 20, 0.4);
}

.wheel-nav {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  display: flex;
  gap: 0.6rem;
}
.wheel-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(21, 35, 28, 0.45);
  color: var(--gold-soft);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.wheel-nav button:hover { background: var(--gold); color: var(--ivory); border-color: var(--gold); }

.wheel-hint { display: none; }
@media (max-width: 900px) {
  .wheel-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: -1.5rem 0 1.5rem;
    font-family: var(--font-sub);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-soft);
    opacity: 0.85;
    transition: opacity 0.6s ease;
  }
  .wheel-hint .wh-arrow { animation: wh-nudge 1.6s ease-in-out infinite; }
  .wheel-hint.hint-done { opacity: 0; }
}
@keyframes wh-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .wheel-hint .wh-arrow { animation: none; }
}

@media (max-width: 900px) {
  .wheel-stage { height: auto; margin-top: 2rem; padding-bottom: 3rem; }
  .wheel {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    transform: none !important;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem var(--gutter) 1.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .wheel-card {
    position: static;
    margin: 0;
    transform: none !important;
    opacity: 1 !important;
    flex: 0 0 240px;
    scroll-snap-align: center;
  }
  /* the ring repeats each package three times; on mobile show each once */
  .wheel-card:nth-child(n+7) { display: none; }
  .wheel-card .wc-inner { opacity: 1; }
  .wheel-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wheel { transition: none; }
}

/* --------------------------------------------------------------------------
   Cinematic fly-through — portal scene over the sky scene.
   Desktop: the hero pins inside .hero-runway and scroll position scrubs the
   zoom (reversible). Mobile/reduced-motion: no runway, act 2 is the hero.
   -------------------------------------------------------------------------- */

/* forest backdrop so a paint-lag frame during fast scroll shows dark, not cream */
.hero-runway { position: relative; height: 270svh; background: var(--forest-deep); }
.hero-runway .hero-cine {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
  /* own compositor layer: without it the pinned hero visually lags a fast
     (Lenis-glided) scroll and unpainted page shows at the viewport edges */
  will-change: transform;
}
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .hero-runway { height: auto; }
  .hero-runway .hero-cine { position: relative; height: auto; min-height: 100svh; }
}

/* scrub mode drives these inline every frame — transitions would lag a frame behind */
.hero-cine.scrub .sky-bg,
.hero-cine.scrub .scene-portal,
.hero-cine.scrub .hw-copy,
.hero-cine.scrub .wheel-stage,
.hero-cine.scrub .wheel-nav { transition: none; }
.hero-cine.scrub .scene-portal { will-change: transform, opacity; }

.hero-cine .sky-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  transition: transform 2s var(--ease-out);
}
.hero-cine.entered .sky-bg { transform: scale(1); }

.hero-cine .sky-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(17, 29, 24, 0.6), rgba(17, 29, 24, 0.22) 40%, rgba(17, 29, 24, 0) 58%),
    linear-gradient(to top, rgba(17, 29, 24, 0.35), transparent 30%);
}

/* act 2 content stays hidden until the fly-through lands */
.hero-cine .hw-copy,
.hero-cine .wheel-stage,
.hero-cine .wheel-nav {
  opacity: 0;
  transition: opacity 1s ease 0.9s;
}
.hero-cine.entered .hw-copy,
.hero-cine.entered .wheel-stage,
.hero-cine.entered .wheel-nav { opacity: 1; }

.scene-portal {
  position: absolute;
  inset: 0;
  z-index: 10;
  transform-origin: 59.6% 49.7%;
  transition: transform 1.9s cubic-bezier(0.55, 0.06, 0.35, 1), opacity 0.8s ease 1.1s;
}
.hero-cine.entered .scene-portal {
  transform: scale(9);
  opacity: 0;
  pointer-events: none;
}
.scene-portal .portal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.portal-copy {
  position: absolute;
  z-index: 11;
  left: clamp(1.5rem, 7vw, 6.5rem);
  top: 24%;
  max-width: 500px;
  text-align: left;
}
.portal-copy .hi-sticker {
  display: inline-block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-soft);
  border: 1px solid var(--line-gold);
  background: rgba(21, 35, 28, 0.45);
  padding: 0.28rem 1.2rem;
  border-radius: 999px;
  transform: rotate(-2deg);
  margin-bottom: 1.3rem;
}
.portal-copy h1 {
  color: var(--cream);
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  line-height: 1.04;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
.portal-copy h1 .accent { color: var(--gold-soft); }
.portal-copy p {
  margin-top: 1.1rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 38ch;
  color: rgba(246, 241, 230, 0.92);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

.enter-badge {
  position: absolute;
  z-index: 11;
  left: 50%;
  bottom: 6vh;
  transform: translateX(-50%);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(21, 35, 28, 0.4);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
}
.enter-badge:hover { background: rgba(21, 35, 28, 0.65); transform: translateX(-50%) scale(1.06); }
.enter-badge .ring {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  animation: badge-spin 16s linear infinite;
}
.enter-badge .ring text {
  font-family: var(--font-sub);
  font-size: 11.5px;
  letter-spacing: 0.32em;
  fill: var(--gold-soft);
  text-transform: uppercase;
}
.enter-badge .chev {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  stroke: var(--cream);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: chev-pulse 2.2s ease-in-out infinite;
}
@keyframes badge-spin { to { transform: rotate(360deg); } }
@keyframes chev-pulse {
  0%, 100% { transform: translate(-50%, -55%); opacity: 0.8; }
  50% { transform: translate(-50%, -45%); opacity: 1; }
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .scene-portal { display: none; }
  .hero-cine .hw-copy,
  .hero-cine .wheel-stage,
  .hero-cine .wheel-nav { opacity: 1; transition: none; }
  .hero-cine .sky-bg { transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Packages — staggered cards, subtle lift
   -------------------------------------------------------------------------- */

.packages { background: var(--cream); }

.package-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}
.package-card {
  grid-column: span 2;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-gold);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.35s ease;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}
.package-card:hover { box-shadow: var(--shadow-card-hover); }

/* broken grid: 3 on top row, 2 offset below */
.package-card:nth-child(1) { margin-top: 3.5rem; }
.package-card:nth-child(3) { margin-top: 1.75rem; }
.package-card:nth-child(4) { grid-column: 2 / span 2; margin-top: 0; }
.package-card:nth-child(5) { grid-column: 4 / span 2; margin-top: 2.5rem; }

.package-num {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.package-card h3 {
  margin: 0.6rem 0 1.1rem;
}
.package-card ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  font-size: 0.98rem;
  line-height: 1.55;
}
.package-card ul li {
  padding-left: 1.4rem;
  position: relative;
}
.package-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.45rem;
  height: 0.45rem;
  transform: rotate(45deg);
  background: var(--gold-soft);
}
.package-card .card-cta {
  margin-top: 1.6rem;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.package-card .card-cta::after { content: "→"; transition: transform 0.25s var(--ease-out); }
.package-card .card-cta:hover::after { transform: translateX(5px); }

@media (max-width: 1020px) {
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .package-card,
  .package-card:nth-child(4),
  .package-card:nth-child(5) { grid-column: auto; margin-top: 0; }
  .package-card:nth-child(odd) { margin-top: 1.5rem; }
}
@media (max-width: 640px) {
  .package-grid { grid-template-columns: 1fr; }
  .package-card:nth-child(odd) { margin-top: 0; }
}

/* --------------------------------------------------------------------------
   About strip
   -------------------------------------------------------------------------- */

.about-strip {
  background: var(--ivory);
  border-block: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-photo { padding: 1rem 1rem 0 0; position: relative; }
.about-photo::before {
  content: "";
  position: absolute;
  inset: 0 0 1rem 1rem;
  border: 1px solid var(--line-gold);
  border-radius: 999px 999px var(--radius) var(--radius);
}
.about-photo img {
  position: relative;
  border-radius: 999px 999px var(--radius) var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  color: var(--gold);
  line-height: 1;
}
.stat .stat-label {
  display: block;
  font-family: var(--font-sub);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 0.5rem;
}
.about-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2.25rem;
  font-family: var(--font-sub);
  font-size: 0.92rem;
}
.about-contact a {
  color: var(--forest);
  text-decoration-color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }
}

/* --------------------------------------------------------------------------
   Process — scroll-driven progress line
   -------------------------------------------------------------------------- */

.process { background: var(--cream); }

.process-steps {
  position: relative;
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
  padding-left: clamp(2.5rem, 6vw, 4rem);
}
.process-steps::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--line);
}
.process-steps::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.5rem;
  width: 1px;
  height: calc((100% - 1rem) * var(--process-progress, 0));
  background: var(--gold);
  transition: height 0.15s linear;
}
.process-step { position: relative; max-width: 62ch; }
.process-step::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(2.5rem, 6vw, 4rem) + 0.6rem - 5px);
  top: 0.5rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--gold);
  z-index: 1;
}
.process-step .step-num {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}
.process-step h3 { margin: 0.4rem 0 0.7rem; }

/* --------------------------------------------------------------------------
   Testimonials — masonry
   -------------------------------------------------------------------------- */

.testimonials { background: var(--ivory); border-block: 1px solid var(--line); }

.testimonial-wall {
  columns: 2;
  column-gap: 1.75rem;
}
.t-card {
  break-inside: avoid;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.75rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.t-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.t-card .stars {
  color: var(--gold);
  letter-spacing: 0.28em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.t-card blockquote {
  font-size: 1.02rem;
  line-height: 1.65;
  font-style: italic;
}
.t-card .t-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.4rem;
}
.t-card .t-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-gold);
}
.t-card .t-person strong {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  display: block;
  color: var(--forest);
}
.t-card .t-person span {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.t-card.t-dark {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
.t-card.t-dark .stars { color: var(--gold-soft); }
.t-card.t-dark .t-person strong { color: var(--gold-soft); }
.t-card.t-dark .t-person span { color: rgba(246, 241, 230, 0.65); }

.t-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2.75rem;
}
.t-stat {
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-gold);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
}
.t-stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--gold);
}
.t-stat p { font-size: 0.98rem; color: var(--muted); margin-top: 0.5rem; }

@media (max-width: 760px) {
  .testimonial-wall { columns: 1; }
  .t-stats { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Blog cards
   -------------------------------------------------------------------------- */

.blog-teaser { background: var(--cream); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.blog-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.blog-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--forest);
}
.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  filter: saturate(0.9);
}
.blog-card:hover .thumb img { transform: scale(1.04); }
.blog-card .blog-body { padding: 1.6rem 1.6rem 1.85rem; display: grid; gap: 0.65rem; }
.blog-card .blog-meta {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.blog-card h3 { font-size: 1.25rem; }
.blog-card p { font-size: 0.95rem; color: var(--muted); }

@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* --------------------------------------------------------------------------
   Contact / CTA
   -------------------------------------------------------------------------- */

.contact {
  background:
    radial-gradient(50vw 50vw at 108% 0%, rgba(169, 139, 79, 0.18), transparent 60%),
    var(--forest);
  color: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-copy h2 { color: var(--cream); }
.contact-copy .hi-sticker {
  display: inline-block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  border: 1px solid var(--line-gold);
  background: rgba(21, 35, 28, 0.35);
  padding: 0.28rem 1.2rem;
  border-radius: 999px;
  transform: rotate(-2deg);
  margin-bottom: 1.2rem;
}
.contact-copy p { margin-top: 1.25rem; max-width: 42ch; color: rgba(246, 241, 230, 0.85); }
.contact-alt { margin-top: 1.75rem; font-size: 1rem; font-style: italic; }
.contact-alt a { color: var(--gold-soft); text-underline-offset: 4px; }

.contact-form {
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.6rem);
  display: grid;
  gap: 1.25rem;
  border-top: 2px solid var(--gold);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.35);
}
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--forest);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.25s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Package showcase — full-screen slides in the Daily Hero idiom.
   Hold the badge (or arrows / swipe) to transition through the services.
   -------------------------------------------------------------------------- */
.showcase-runway { position: relative; height: calc(100svh + 5 * 65svh); }
.showcase-runway .showcase { position: sticky; top: 0; }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .showcase-runway { height: auto; }
  .showcase-runway .showcase { position: relative; }
}
.showcase {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: var(--forest-deep);
}
.sc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.sc-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease;
  z-index: 1;
}
.sc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.09);
  transition: transform 1.6s var(--ease-out);
}
.sc-slide.is-active .sc-bg { transform: scale(1); }
.sc-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58vw 46vh at 50% 40%, rgba(17, 29, 24, 0.42), transparent 72%),
    linear-gradient(to top, rgba(17, 29, 24, 0.66), rgba(17, 29, 24, 0.16) 42%, rgba(17, 29, 24, 0.3));
}
.sc-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 0 var(--gutter) 8rem;
}
.sc-kicker {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-shadow: 0 1px 14px rgba(17, 29, 24, 0.75);
}
.sc-name {
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  line-height: 0.95;
  margin: 0;
}
.sc-name a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s ease;
  text-shadow: 0 3px 34px rgba(17, 29, 24, 0.45);
}
.sc-name a:hover, .sc-name a:focus-visible { color: var(--gold-soft); }
.sc-line {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(246, 241, 230, 0.92);
  max-width: 46ch;
  text-shadow: 0 1px 16px rgba(17, 29, 24, 0.6);
}
/* staggered entrance for the active slide's copy */
.sc-slide .sc-kicker, .sc-slide .sc-name, .sc-slide .sc-line {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}
.sc-slide.is-active .sc-kicker { opacity: 1; transform: none; transition-delay: 0.2s; }
.sc-slide.is-active .sc-name { opacity: 1; transform: none; transition-delay: 0.32s; }
.sc-slide.is-active .sc-line { opacity: 1; transform: none; transition-delay: 0.46s; }

.sc-title {
  position: absolute;
  top: clamp(5rem, 10vh, 7rem);
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.7);
  margin: 0;
  padding-inline: var(--gutter);
}
.sc-count {
  position: absolute;
  right: clamp(1.5rem, 5vw, 4.5rem);
  bottom: clamp(1.75rem, 6vh, 3.5rem);
  z-index: 3;
  font-family: var(--font-display);
  color: var(--cream);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.sc-idx { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; }
.sc-total { font-size: 1rem; color: rgba(246, 241, 230, 0.6); }

.sc-controls {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 5.5vh, 3rem);
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.sc-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(21, 35, 28, 0.45);
  color: var(--gold-soft);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.sc-arrow:hover { background: var(--gold); color: var(--ivory); border-color: var(--gold); }
.sc-hold {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(21, 35, 28, 0.45);
  color: var(--cream);
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
}
.sc-hold:hover { background: rgba(21, 35, 28, 0.65); }
.sc-hold.is-holding { transform: scale(0.96); }
.sc-ring {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  transform: rotate(-90deg);
  pointer-events: none;
}
.sc-ring circle { fill: none; stroke-width: 2; }
.sc-ring-track { stroke: rgba(169, 139, 79, 0.25); }
.sc-ring-fill {
  stroke: var(--gold-soft);
  stroke-linecap: round;
  stroke-dasharray: 276.46;
  stroke-dashoffset: 276.46;
}
.sc-hold-label {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .sc-inner { padding-bottom: 10rem; }
  .sc-count { right: 1.25rem; bottom: 8.5rem; }
}

/* --------------------------------------------------------------------------
   The grove — second fly-through on the homepage, deeper in.
   Same physics as the hero: pinned scene, scroll scrubs the pass-through.
   The portal image is mirrored, so the hole centre sits at 40.4%/49.7%.
   -------------------------------------------------------------------------- */
.grove-runway { position: relative; height: 220svh; background: var(--forest-deep); }
.grove-scene {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  will-change: transform;
}
.grove-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
}
.grove-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50vw 34vh at 50% 48%, rgba(17, 29, 24, 0.38), transparent 70%),
    linear-gradient(to bottom, rgba(17, 29, 24, 0.55), rgba(17, 29, 24, 0.18) 45%, rgba(17, 29, 24, 0.05) 60%),
    linear-gradient(to top, rgba(17, 29, 24, 0.4), transparent 35%);
}
.grove-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding-inline: var(--gutter);
  opacity: 0;
  pointer-events: none;
}
.grove-copy h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 18ch;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.35);
}
.grove-portal {
  position: absolute;
  inset: 0;
  z-index: 5;
  transform-origin: 40.4% 49.7%;
}
.grove-portal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .grove-runway { height: auto; }
  .grove-scene { position: relative; height: auto; min-height: 50svh; display: flex; }
  .grove-portal { display: none; }
  .grove-copy { position: relative; opacity: 1; padding-block: 4.5rem; }
}

/* --------------------------------------------------------------------------
   Ivy — quiet gold tendrils so the verdant survives past the hero
   -------------------------------------------------------------------------- */
.has-ivy { position: relative; }
.ivy {
  position: absolute;
  pointer-events: none;
  color: var(--gold);
  opacity: 0.35;
  z-index: 0;
}
.on-dark .ivy { color: var(--gold-soft); opacity: 0.45; }
.ivy-problem { top: 3rem; right: clamp(1rem, 5vw, 5rem); width: clamp(120px, 13vw, 180px); }
.ivy-packages { top: 5.5rem; left: 18px; width: 96px; display: none; }
.ivy-proof { top: 7rem; right: 18px; width: 96px; display: none; }
.ivy-contact { top: -6px; left: clamp(1.5rem, 7vw, 7rem); width: clamp(56px, 6vw, 84px); }
.ivy-side-left { top: 4.5rem; left: 18px; width: 90px; display: none; }
.ivy-side-right { top: 4.5rem; right: 18px; width: 90px; display: none; }
@media (min-width: 1400px) {
  .ivy-packages, .ivy-proof, .ivy-side-left, .ivy-side-right { display: block; }
}
@media (max-width: 900px) {
  .ivy { display: none; }
}

.site-footer {
  background: var(--forest-deep);
  color: rgba(246, 241, 230, 0.82);
  padding-block: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
/* trailing ivy along the footer's top edge, every page */
.site-footer::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 5%;
  width: min(440px, 46vw);
  height: 46px;
  pointer-events: none;
  opacity: 0.5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 46' fill='none' stroke='%23c9ab6b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 26C56 10 118 36 178 22 238 8 296 34 356 20 414 8 468 30 520 18'/%3E%3Cpath d='M62 19c-3-9-11-14-20-12 2 9 10 14 20 12Z'/%3E%3Cpath d='M136 29c3 9 11 14 20 12-2-9-10-14-20-12Z'/%3E%3Cpath d='M212 16c-3-9-11-14-20-12 2 9 10 14 20 12Z'/%3E%3Cpath d='M288 27c3 9 11 14 20 12-2-9-10-14-20-12Z'/%3E%3Cpath d='M368 15c-3-9-11-14-20-12 2 9 10 14 20 12Z'/%3E%3Cpath d='M442 25c3 9 11 14 20 12-2-9-10-14-20-12Z'/%3E%3Cpath d='M520 18c7-3 13 1 13 7 0 5-5 8-9 5-3-2-3-6 0-8'/%3E%3C/svg%3E") no-repeat top right / contain;
}
@media (max-width: 900px) {
  .site-footer::after { width: 70vw; opacity: 0.4; }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.footer-brand { display: grid; gap: 1rem; justify-items: start; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }
.footer-brand p { font-family: var(--font-body); font-style: italic; font-size: 1rem; max-width: 30ch; }
.footer-col h4 {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-col a {
  text-decoration: none;
  font-size: 0.98rem;
}
.footer-col a:hover { color: var(--gold-soft); }

.social-row { display: flex; gap: 0.9rem; margin-top: 0.5rem; }
.social-row a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 230, 0.25);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  color: var(--cream);
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--ivory); }
.social-row svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(246, 241, 230, 0.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 230, 0.55);
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--gold-soft); }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Inner pages — compact hero
   -------------------------------------------------------------------------- */

.page-hero {
  background:
    radial-gradient(48vw 48vw at 92% -22%, rgba(169, 139, 79, 0.16), transparent 62%),
    var(--forest);
  color: var(--cream);
  padding-block: clamp(9rem, 16vw, 13rem) clamp(3.5rem, 7vw, 5.5rem);
}
.page-hero h1 { color: var(--cream); font-size: clamp(2.5rem, 6vw, 4.8rem); }
.page-hero h1 .accent { color: var(--gold-soft); }
.page-hero .lead { color: rgba(246, 241, 230, 0.85); margin-top: 1.4rem; }

/* --------------------------------------------------------------------------
   Long-form prose
   -------------------------------------------------------------------------- */

.prose {
  max-width: 66ch;
  display: grid;
  gap: 1.15rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-top: 1.9rem; }
.prose h3 { margin-top: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: 0.6rem; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.4rem;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--forest);
}
.prose img { border-radius: var(--radius); }
.prose a {
  color: var(--forest);
  text-decoration-color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.prose a:hover { color: var(--gold); }

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.split-section .sticky-side { position: sticky; top: 6.5rem; }
.split-section .sticky-side img {
  border-radius: 999px 999px var(--radius) var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
@media (max-width: 860px) {
  .split-section { grid-template-columns: 1fr; }
  .split-section .sticky-side { position: static; max-width: 360px; }
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.faq-list { max-width: 760px; display: grid; gap: 0.9rem; }
.faq-list details {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-list details[open] { border-color: var(--line-gold); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--forest);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > div {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Blog article
   -------------------------------------------------------------------------- */

.article-hero {
  background: var(--forest);
  color: var(--cream);
  padding-block: clamp(9rem, 15vw, 12rem) clamp(3rem, 6vw, 4.5rem);
}
.article-hero .blog-meta {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.article-hero h1 {
  color: var(--cream);
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  max-width: 24ch;
  margin-top: 1rem;
}
.article-body { padding-block: clamp(3rem, 7vw, 5rem); }
.article-body .prose { margin-inline: auto; }
.article-footer-cta { text-align: center; padding-bottom: var(--section-pad); }

/* --------------------------------------------------------------------------
   Package ledger — editorial rows with botanical marks
   -------------------------------------------------------------------------- */

.ledger { border-top: 1px solid var(--line); }
.ledger-row {
  display: grid;
  grid-template-columns: 4.5rem 0.85fr 1.15fr auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.3s ease, padding-left 0.3s var(--ease-out);
}
.ledger-row:hover { background: var(--ivory); padding-left: 0.75rem; }
.ledger-row .mark {
  color: var(--gold);
  width: 3.4rem;
  height: 3.4rem;
}
.ledger-row .mark svg { width: 100%; height: 100%; }
.ledger-row .tier .tier-num {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}
.ledger-row .tier h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.ledger-row .tier .tier-for {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.ledger-row .tier-what { font-size: 0.98rem; line-height: 1.6; color: var(--ink); }
.ledger-row .row-cta {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.ledger-row .row-cta::after { content: "→"; transition: transform 0.25s var(--ease-out); }
.ledger-row:hover .row-cta::after { transform: translateX(5px); }

@media (max-width: 860px) {
  .ledger-row { grid-template-columns: 3rem 1fr; }
  .ledger-row .tier-what { grid-column: 2; }
  .ledger-row .row-cta { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   Pull stats — big editorial numbers
   -------------------------------------------------------------------------- */

.pull-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-block: 1px solid var(--line);
  padding-block: clamp(2rem, 4vw, 3rem);
  margin-block: clamp(2.5rem, 5vw, 4rem);
}
.pull-stat { text-align: center; }
.pull-stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  color: var(--forest);
  line-height: 1;
}
.pull-stat .stat-num em { font-style: normal; color: var(--gold); }
.pull-stat .stat-label {
  display: block;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-top: 0.7rem;
}
.on-dark .pull-stats { border-color: rgba(246, 241, 230, 0.15); }
.on-dark .pull-stat .stat-num { color: var(--cream); }

@media (max-width: 700px) { .pull-stats { grid-template-columns: 1fr; gap: 2.5rem; } }

/* --------------------------------------------------------------------------
   Tool cards
   -------------------------------------------------------------------------- */

.tool-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.tool-card {
  display: block;
  text-decoration: none;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-gold);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.tool-card .tool-kicker {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.tool-card h3 { margin: 0.7rem 0 0.6rem; }
.tool-card p { font-size: 0.98rem; color: var(--muted); line-height: 1.6; }
.tool-card .row-cta {
  margin-top: 1.4rem;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.tool-card .row-cta::after { content: "→"; transition: transform 0.25s var(--ease-out); }
.tool-card:hover .row-cta::after { transform: translateX(5px); }

@media (max-width: 760px) { .tool-cards { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Audit band — mid-page lead magnet moment
   -------------------------------------------------------------------------- */

.audit-band {
  background:
    radial-gradient(40vw 40vw at 100% 0%, rgba(169, 139, 79, 0.14), transparent 60%),
    var(--forest);
  color: var(--cream);
  border-block: 1px solid var(--line-gold);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.audit-band .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.audit-band h2 { color: var(--cream); font-size: clamp(1.9rem, 3.8vw, 3rem); }
.audit-band h2 .accent { color: var(--gold-soft); }
.audit-band .band-sub {
  margin-top: 0.9rem;
  font-style: italic;
  color: rgba(246, 241, 230, 0.85);
  max-width: 44ch;
}
.audit-band form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.audit-band input {
  flex: 1 1 240px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(246, 241, 230, 0.35);
  border-radius: 999px;
  background: rgba(253, 251, 245, 0.97);
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease;
}
.audit-band input:focus { border-color: var(--gold-soft); }
.audit-band .band-note {
  margin-top: 0.9rem;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.6);
}
@media (max-width: 860px) {
  .audit-band .container { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Leaf divider
   -------------------------------------------------------------------------- */

.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: var(--gold-soft);
  padding-block: 0.5rem;
}
.leaf-divider::before,
.leaf-divider::after {
  content: "";
  height: 1px;
  width: min(120px, 20vw);
  background: var(--line-gold);
}
.leaf-divider svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .page-loader { display: none; }
}
