/* ==========================================================================
   henkvanderklok.com · "Layered Wilderness"
   Dark cinematic, illustrated parallax landscapes, warm ember accent.
   ========================================================================== */

:root {
  --night: #07110f;
  --pine: #0d1f1b;
  --pine-2: #122924;
  --moss: #1c3a32;
  --sage: #6f9a86;
  --mist: #cfe0d6;
  --ivory: #f4efe4;
  --ivory-70: rgba(244, 239, 228, .7);
  --ivory-45: rgba(244, 239, 228, .45);
  --ivory-20: rgba(244, 239, 228, .2);
  --ivory-10: rgba(244, 239, 228, .1);
  --ember: #f0a04b;
  --ember-soft: rgba(240, 160, 75, .18);
  --sun: #ffd383;
  --rose: #d9695a;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.04; }
h3 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.1; }
em { font-style: italic; font-weight: 500; color: var(--sun); }
p { margin: 0; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
::selection { background: var(--ember); color: var(--night); }

/* ---------- Overlays ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .04; mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-4%); }
  60% { transform: translate(-1%,3%); } 80% { transform: translate(3%,1%); } 100% { transform: translate(0,0); }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ember), var(--sun)); box-shadow: 0 0 12px var(--ember); }

/* HUD */

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0; transition: background .5s, padding .5s, backdrop-filter .5s;
}
.nav.is-scrolled { padding: 10px 0; background: rgba(7, 17, 15, .55); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--ivory-10); }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.nav__brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 23px; font-weight: 600; letter-spacing: .01em; }
.nav__mark { width: 28px; height: 28px; color: var(--ivory); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--ivory-70); transition: color .3s; position: relative; }
.nav__links a span::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%; background: var(--ember); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav__links a:hover { color: var(--ivory); }
.nav__links a:hover span::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 9px 18px; border: 1px solid var(--ivory-20); border-radius: 999px; color: var(--ivory) !important; transition: background .3s, border-color .3s !important; }
.nav__cta:hover { background: var(--ember); border-color: var(--ember); color: var(--night) !important; }
/* light variant while the dawn section is under the bar */
.nav__brand, .nav__links a, .nav__toggle span { transition: color .4s, background .4s; }
.is-light .nav.is-scrolled { background: rgba(244,239,228,.62); border-color: rgba(13,31,27,.08); }
.is-light .nav__brand { color: var(--pine); }
.is-light .nav__links a { color: rgba(13,31,27,.72); }
.is-light .nav__links a:hover { color: var(--pine); }
.is-light .nav__cta { border-color: rgba(13,31,27,.25); color: var(--pine) !important; }
.is-light .nav__cta:hover { color: var(--night) !important; }
.is-light .nav__toggle span { background: var(--pine); }
.is-light .nav.is-open .nav__links a { color: var(--ivory); }
.is-light .nav.is-open .nav__toggle span { background: var(--ivory); }
.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__toggle span { display: block; width: 24px; height: 1.5px; background: var(--ivory); transition: transform .4s var(--ease-out); }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Scenes (layered SVG worlds) ---------- */
.scene { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.scene .layer {
  position: absolute; left: -6%; right: -6%; top: -8%; bottom: -8%;
  width: 112%; height: 116%;
  will-change: transform;
}
.scene .layer svg { width: 100%; height: 100%; display: block; }
.scene .sky { position: absolute; inset: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease-out), box-shadow .4s, color .3s, border-color .3s;
}
.btn > span { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease-out); z-index: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--ember); color: var(--night); box-shadow: 0 10px 30px -10px rgba(240,160,75,.6); }
.btn--primary::before { background: var(--sun); }
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(240,160,75,.8); }
.btn--ghost { border: 1px solid var(--ivory-20); color: var(--ivory); backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover { color: var(--night); border-color: var(--ivory); }
.btn--dark { background: var(--pine); color: var(--ivory); }
.btn--dark::before { background: var(--ember); }
.btn--dark:hover { color: var(--night); }
.btn__play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; position: relative; z-index: 1; }

/* ---------- Typography helpers ---------- */
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); margin-bottom: 20px; }
.label { color: var(--ivory-45); text-align: center; margin-bottom: 26px; }
.prose p + p { margin-top: 1.2em; }
.prose { color: var(--ivory-70); font-size: 16.5px; }
.dropcap::first-letter { font-family: var(--font-display); font-weight: 500; font-size: 4em; float: left; line-height: .8; padding: .08em .12em 0 0; color: var(--sun); }
.pullquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(27px, 3vw, 38px); line-height: 1.18; margin: 0 0 34px; color: var(--ivory); }
.pullquote::before { content: "\201C"; color: var(--ember); }
.pullquote::after { content: "\201D"; color: var(--ember); }
.caption { color: var(--ivory-45); margin-top: 14px; }
.section-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(50px, 7vw, 90px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head__note { color: var(--ivory-70); max-width: 560px; margin: 18px auto 0; font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Frames ---------- */
.frame { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px var(--ivory-10); }
.frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(244,239,228,.12); pointer-events: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease-out); filter: saturate(1.06) contrast(1.05); }
.frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(255,200,120,.05), rgba(7,17,15,.22)); mix-blend-mode: multiply; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--square { aspect-ratio: 1; }
.frame--portrait { aspect-ratio: 4 / 4.2; }
.reveal.is-in .frame img { transform: scale(1); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 140px var(--gutter) 110px; overflow: hidden; isolation: isolate;
}
.hero__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero__eyebrow { color: var(--ivory-70); margin-bottom: 28px; opacity: 0; animation: fadeUp 1.2s var(--ease-out) .5s forwards; }
.hero__title { font-size: clamp(52px, 8.6vw, 122px); line-height: .96; letter-spacing: -.012em; font-weight: 500; text-shadow: 0 10px 40px rgba(0,0,0,.4); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: block; transform: translateY(110%); animation: lineUp 1.4s var(--ease-out) forwards; }
.hero__title .line:nth-child(1) > span { animation-delay: .6s; }
.hero__title .line:nth-child(2) > span { animation-delay: .75s; }
.hero__title .line:nth-child(3) > span { animation-delay: .9s; }
.hero__lede { max-width: 520px; margin-top: 30px; font-size: clamp(16px, 1.25vw, 18px); color: var(--ivory); opacity: 0; animation: fadeUp 1.2s var(--ease-out) 1.3s forwards; text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 4px 24px rgba(0,0,0,.6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; opacity: 0; animation: fadeUp 1.2s var(--ease-out) 1.55s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { to { transform: translateY(0); } }

/* Hero scene specific */
.scene--hero .sky { background: linear-gradient(180deg, #050d10 0%, #0a1f24 32%, #26343a 55%, #7a4a3a 74%, #e0803f 88%, #ffc36b 100%); }
.scene--hero .sun { left: 58%; top: 56%; width: clamp(120px, 15vw, 220px); animation: sunRise 3.5s var(--ease-out) forwards; }
.scene--hero .sunglow { position: absolute; left: 58%; top: 60%; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,190,100,.35) 0%, rgba(255,150,70,.12) 35%, rgba(255,150,70,0) 65%); mix-blend-mode: screen; }
@keyframes sunRise { from { transform: translate(-50%, 0); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
/* Sun: disc + slowly turning corona */
.sun { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.sun__disc { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #fff8e4 0%, #ffe6a8 30%, #ffd383 46%, rgba(255,190,100,.55) 60%, rgba(255,160,60,0) 72%); }
.sun__corona { position: absolute; inset: -55%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,222,170,.16) 0deg 4deg, rgba(255,222,170,0) 4deg 15deg);
  -webkit-mask: radial-gradient(circle, rgba(0,0,0,.9) 22%, rgba(0,0,0,.35) 42%, transparent 66%); mask: radial-gradient(circle, rgba(0,0,0,.9) 22%, rgba(0,0,0,.35) 42%, transparent 66%);
  animation: spin 160s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sun--low { left: 30%; top: 66%; width: clamp(110px, 13vw, 200px); }
.sun--pale { left: 70%; top: 40%; width: clamp(80px, 9vw, 140px); opacity: .85; }
.sun--pale .sun__disc { background: radial-gradient(circle, #fff9ee 0%, #f6e4c8 50%, rgba(246,228,200,0) 72%); }
.sun--pale .sun__corona { opacity: .4; }
.sun--dawn { left: 72%; top: 62%; width: clamp(150px, 18vw, 280px); }
.sun--dawn .sun__disc { background: radial-gradient(circle, #fffaf0 0%, #ffe9bb 38%, rgba(255,214,150,.5) 60%, rgba(255,214,150,0) 72%); }
.sun--dawn .sun__corona { background: repeating-conic-gradient(from 0deg, rgba(255,235,200,.35) 0deg 4deg, rgba(255,235,200,0) 4deg 15deg); }

/* Noise fog */
.fog { position: absolute; left: -12%; width: 124%; will-change: transform; animation: drift linear infinite;
  -webkit-mask: linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent); mask: linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent); }
.fog svg { width: 100%; height: 100%; display: block; }

/* Shooting stars */
.shooting { position: absolute; width: 140px; height: 1.5px; border-radius: 1px; transform-origin: 100% 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95)); opacity: 0; animation: shoot linear infinite; }
@keyframes shoot { 0% { opacity: 0; transform: translate(0,0) rotate(-28deg) scaleX(0); } 2% { opacity: 1; transform: translate(-20px, 11px) rotate(-28deg) scaleX(1); }
  9% { opacity: 0; transform: translate(-280px, 150px) rotate(-28deg) scaleX(.15); } 100% { opacity: 0; transform: translate(-280px, 150px) rotate(-28deg) scaleX(0); } }

/* Water glints */
.glint { animation: glint ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes glint { 0%, 100% { opacity: 0; transform: scaleX(.4); } 50% { opacity: .9; transform: scaleX(1); } }
.scene--hero .vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(7,17,15,.75) 100%), linear-gradient(180deg, rgba(7,17,15,.35) 0%, transparent 30%, transparent 70%, var(--night) 100%); }

/* Mist bands */
.mistband { position: absolute; left: -20%; width: 140%; height: 18%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(244,239,228,.22) 30%, rgba(244,239,228,.35) 50%, rgba(244,239,228,.2) 70%, transparent);
  filter: blur(18px); mix-blend-mode: screen; animation: drift linear infinite; }
@keyframes drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }

/* Clouds */
.cloud { position: absolute; filter: blur(9px); animation: cloudDrift linear infinite; mix-blend-mode: screen; will-change: transform; }
@keyframes cloudDrift { from { transform: translateX(-12%); } to { transform: translateX(12%); } }

/* Stars */
.star { animation: twinkle 3.2s ease-in-out infinite; transform-origin: center; }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* Birds */
.flock { position: absolute; top: 18%; left: 0; width: 100%; height: 20%; pointer-events: none; }
.bird { position: absolute; width: 22px; height: 12px; animation: fly linear infinite; opacity: 0; }
.bird svg { width: 100%; height: 100%; overflow: visible; }
.bird svg g { transform-origin: 50% 60%; animation: flap .9s ease-in-out infinite alternate; }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(-.55); } }
@keyframes fly { 0% { transform: translate(-6vw, 0) rotate(-2deg); opacity: 0; } 4% { opacity: 1; } 20% { transform: translate(18vw, -2.5vh) rotate(-3deg); } 40% { transform: translate(40vw, -1vh) rotate(1deg); } 60% { transform: translate(62vw, -4vh) rotate(-2deg); } 80% { transform: translate(86vw, -2vh) rotate(2deg); } 96% { opacity: 1; } 100% { transform: translate(112vw, -3vh) rotate(0); opacity: 0; } }

/* Petals (Japan) */
.petal { position: absolute; top: -5%; animation: fall linear infinite; opacity: .85; }
.petal svg { width: 100%; height: 100%; display: block; animation: flutter ease-in-out infinite alternate; }
@keyframes flutter { from { transform: rotate(-30deg) rotateY(0); } to { transform: rotate(40deg) rotateY(160deg); } }
@keyframes fall { 0% { transform: translate(0, 0); } 25% { transform: translate(-34px, 28vh); } 50% { transform: translate(22px, 56vh); } 75% { transform: translate(-28px, 84vh); } 100% { transform: translate(12px, 115vh); } }

/* Water */
.wave { position: absolute; left: 0; width: 200%; animation: wave linear infinite; }
.wave svg { width: 100%; height: 100%; display: block; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   FEATURED
   ========================================================================== */
.featured { padding: 40px var(--gutter) 30px; position: relative; z-index: 1; }
.featured__inner { max-width: var(--max); margin: 0 auto; }
.logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(30px, 5vw, 70px); }
.logos img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .5; transition: opacity .4s, transform .5s var(--ease-out); }
.logos a { text-decoration: none; }
.logos a:hover img { opacity: 1; transform: translateY(-2px); }
.logos__square { height: 44px !important; border-radius: 8px; filter: grayscale(1) !important; }
.logos__word { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--ivory-45); transition: color .4s; letter-spacing: .01em; }
.logos__word:hover { color: var(--ivory); }
.logos--clients img { height: 40px; opacity: .45; }
.logos--clients img:hover { opacity: .9; }

/* ==========================================================================
   STORY (trail)
   ========================================================================== */
.story { position: relative; padding: clamp(100px, 13vw, 170px) var(--gutter); overflow: hidden; isolation: isolate; }
.scene--heath .sky { background: linear-gradient(180deg, var(--night) 0%, #0c1c22 40%, #1d3038 62%, #3a3f3d 74%, #171f1e 86%, var(--night) 100%); }
.scene--heath .vignette { position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(7,17,15,.5) 30%, rgba(7,17,15,.35) 70%, var(--night) 100%); }
.story__inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.story__media { position: sticky; top: 110px; }
.story__copy { max-width: 600px; }
.story__title { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; margin-bottom: 44px; }
.trail { list-style: none; margin: 0; padding: 0 0 0 40px; position: relative; }
.trail__line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--ivory-10); }
.trail__line span { display: block; width: 100%; height: 0; background: linear-gradient(180deg, var(--sun), var(--ember)); box-shadow: 0 0 10px rgba(240,160,75,.7); transition: height .25s linear; }
.trail__stop { position: relative; padding: 0 0 40px; }
.trail__stop:last-child { padding-bottom: 0; }
.trail__marker { position: absolute; left: -40px; top: 6px; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--ivory-20); background: var(--night); transition: border-color .4s, box-shadow .4s, background .4s; }
.trail__marker::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ember); transform: scale(0); transition: transform .4s var(--ease-out); }
.trail__stop.is-active .trail__marker { border-color: var(--ember); box-shadow: 0 0 0 5px var(--ember-soft); }
.trail__stop.is-active .trail__marker::after { transform: scale(1); }
.trail__label { color: var(--ember); margin-bottom: 8px; transition: color .4s; }
.trail__stop p:not(.trail__label) { color: var(--ivory-70); font-size: 16.5px; transition: color .4s; }
.trail__stop.is-active p:not(.trail__label) { color: var(--ivory); }
.trail__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--sun); border-bottom: 1px solid rgba(255,211,131,.35); padding-bottom: 2px; transition: border-color .3s; }
.trail__link:hover { border-color: var(--sun); }

/* ==========================================================================
   EXPEDITIONS
   ========================================================================== */
.expeditions { padding-top: clamp(90px, 12vw, 160px); }
.exp { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: clamp(90px, 10vw, 140px) var(--gutter); }
.exp__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.exp__inner--flip .exp__copy { order: 2; }
.exp__inner--flip .exp__media { order: 1; }
.exp__copy { max-width: 520px; }
.exp__meta { color: var(--ivory-45); margin-bottom: 18px; }
.exp__copy h3 { margin-bottom: 22px; text-shadow: 0 10px 40px rgba(0,0,0,.4); }
.exp__copy > p { color: var(--ivory-70); text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.exp__lesson { margin: 24px 0 32px; padding: 18px 22px; border-left: 2px solid var(--ember); background: rgba(7,17,15,.35); backdrop-filter: blur(10px); border-radius: 0 12px 12px 0; }
.exp__lesson p { color: var(--ivory); text-shadow: none; }
.exp__ways { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { display: inline-block; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(240,160,75,.45); color: var(--sun); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }

.poster { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 0 1px var(--ivory-10); padding: 0; }
.poster img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.06) contrast(1.05); }
.poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,17,15,.6)); pointer-events: none; }
.poster__play { position: absolute; left: 50%; top: 50%; width: 82px; height: 82px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(244,239,228,.14); backdrop-filter: blur(10px); border: 1px solid var(--ivory-20); z-index: 2; transition: background .3s, border-color .3s; }
.poster__play::before { content: ""; position: absolute; left: 53%; top: 50%; transform: translate(-50%, -50%); border-left: 20px solid var(--ivory); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.poster:hover .poster__play { background: var(--ember); border-color: var(--ember); }
.poster:hover .poster__play::before { border-left-color: var(--night); }
.poster__badge { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 8px 12px; border-radius: 999px; background: rgba(7,17,15,.6); backdrop-filter: blur(8px); border: 1px solid var(--ivory-20); color: var(--sun); }

/* River scene */
.scene--river .sky { background: linear-gradient(180deg, #0b1b22 0%, #15343c 40%, #4d7b74 62%, #9fb98f 78%, #6a8f6d 100%); }
.scene--river .vignette { position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, transparent 16%, transparent 80%, var(--night) 100%); }
/* Road scene */
.scene--road .sky { background: linear-gradient(180deg, #0b1213 0%, #2c2a33 30%, #7a4239 55%, #d97a44 75%, #f2b56b 90%, #ffd9a0 100%); }
.scene--road .vignette { position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, transparent 16%, transparent 80%, var(--night) 100%); }
/* Japan scene */
.scene--japan .sky { background: linear-gradient(180deg, #0a1114 0%, #1a2b33 35%, #55707a 60%, #a9bcbf 85%, #c9d5d3 100%); }
.scene--japan .vignette { position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, transparent 16%, transparent 80%, var(--night) 100%); }

/* ==========================================================================
   SEVEN WAYS (night)
   ========================================================================== */
.ways { position: relative; padding: clamp(100px, 14vw, 180px) var(--gutter) clamp(90px, 10vw, 140px); overflow: hidden; isolation: isolate; }
.scene--night .sky { background: radial-gradient(120% 80% at 50% 100%, #2a1a10 0%, #0f1a1c 35%, #050c10 70%); }
.scene--night .milkyway { position: absolute; left: -10%; top: -10%; width: 120%; height: 80%; background: linear-gradient(110deg, transparent 20%, rgba(180,200,220,.07) 40%, rgba(220,230,255,.12) 50%, rgba(180,200,220,.07) 60%, transparent 80%); filter: blur(30px); transform: rotate(-12deg); }
.scene--night .fireglow { position: absolute; left: 50%; bottom: -10%; width: 90vw; max-width: 1100px; aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,140,50,.35) 0%, rgba(240,120,40,.14) 35%, rgba(240,120,40,0) 70%); animation: flicker 3s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: .85; transform: translateX(-50%) scale(1); } 40% { opacity: 1; transform: translateX(-50%) scale(1.03); } 70% { opacity: .9; transform: translateX(-50%) scale(.98); } }
.embers { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: min(100%, 120vh); z-index: 1; pointer-events: none; }
.ways__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.ways__sticky { position: sticky; top: 120px; }
.ways__note { color: var(--ivory-70); margin-top: 24px; max-width: 420px; }
.ways__counter { margin-top: 40px; display: flex; align-items: baseline; gap: 14px; }
.ways__big { font-family: var(--font-display); font-weight: 500; font-size: clamp(90px, 11vw, 160px); line-height: .8; color: var(--ivory); transition: color .4s; font-variant-numeric: tabular-nums; }
.ways__of { color: var(--ivory-45); }
.ways__list { list-style: none; margin: 0; padding: 0; }
.way { display: grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 38px 0; border-top: 1px solid var(--ivory-10); transition: opacity .5s; }
.way:last-child { border-bottom: 1px solid var(--ivory-10); }
.way__num { color: var(--ivory-45); padding-top: 10px; transition: color .4s, text-shadow .4s; }
.way h3 { font-size: clamp(26px, 2.5vw, 34px); margin-bottom: 12px; transition: color .4s; }
.way p { color: var(--ivory-70); max-width: 560px; }
.way.is-active .way__num { color: var(--ember); text-shadow: 0 0 20px rgba(240,160,75,.7); }
.way.is-active h3 { color: var(--sun); }
.ways__close { position: relative; z-index: 2; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.7vw, 36px); line-height: 1.25; max-width: 760px; margin: clamp(80px, 10vw, 140px) auto 0; }

/* ==========================================================================
   SPEAKING
   ========================================================================== */
.speaking { position: relative; padding: clamp(90px, 12vw, 160px) var(--gutter); background: linear-gradient(180deg, var(--night), #0a0b0c 40%, var(--night)); overflow: hidden; }
.speaking::before { content: ""; position: absolute; left: 30%; top: -10%; width: 60vw; height: 120%; background: conic-gradient(from 160deg at 50% 0%, transparent 0deg, rgba(244,239,228,.07) 16deg, rgba(244,239,228,.1) 24deg, rgba(244,239,228,.07) 32deg, transparent 48deg); transform: translateX(-50%); pointer-events: none; filter: blur(4px); }
.speaking__inner { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.speaking__copy { max-width: 540px; }
.speaking__copy > p { color: var(--ivory-70); font-size: 17px; margin-top: 26px; }
.clients { position: relative; max-width: var(--max); margin: clamp(80px, 9vw, 130px) auto 0; padding-top: 50px; border-top: 1px solid var(--ivory-10); }

/* ==========================================================================
   COACHING (dawn, light section)
   ========================================================================== */
.coaching { position: relative; padding: clamp(110px, 14vw, 180px) var(--gutter) clamp(140px, 18vw, 240px); overflow: hidden; isolation: isolate; color: var(--pine); }
.scene--dawn .sky { background: linear-gradient(180deg, #f4efe4 0%, #f8e9d2 35%, #f7d8b3 60%, #e9c9a8 80%, #cfd9cc 100%); }
.coaching .eyebrow { color: #c7782a; }
.coaching em { color: #b8661f; }
.coaching__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.coaching__copy > p { color: rgba(13,31,27,.75); font-size: 17px; margin-top: 24px; max-width: 560px; }
.checklist { list-style: none; padding: 0; margin: 30px 0 38px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.checklist li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--pine); margin-top: 2px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.coaching__aside blockquote { margin: 0; padding: 40px; border-radius: var(--radius); background: rgba(255,255,255,.45); backdrop-filter: blur(20px); border: 1px solid rgba(13,31,27,.08); box-shadow: 0 40px 80px -40px rgba(13,31,27,.35);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.3vw, 31px); line-height: 1.22; }
.coaching__aside em { display: block; margin-top: 14px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { position: relative; padding: clamp(90px, 12vw, 160px) var(--gutter); background: var(--night); }
.about__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__copy h2 { margin-bottom: 26px; }
.about__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.about__links a { padding: 10px 16px; border: 1px solid var(--ivory-20); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; transition: background .3s, border-color .3s, color .3s; }
.about__links a::after { content: " ↗"; color: var(--ember); }
.about__links a:hover { border-color: var(--ember); background: var(--ember-soft); }

/* ==========================================================================
   SUBSCRIBE (night forest)
   ========================================================================== */
.subscribe { position: relative; padding: clamp(140px, 18vw, 240px) var(--gutter) clamp(120px, 14vw, 200px); overflow: hidden; isolation: isolate; text-align: center; }
.scene--forest .sky { background: linear-gradient(180deg, var(--night) 0%, #0b1c1e 50%, #0b2320 100%); }
.fireflies { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.subscribe__inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }
.subscribe .eyebrow { justify-content: center; }
.subscribe__inner > p { color: var(--ivory-70); margin-top: 20px; font-size: 17px; }
.subscribe__form { display: flex; gap: 10px; margin-top: 34px; padding: 8px; border-radius: 999px; background: rgba(244,239,228,.06); border: 1px solid var(--ivory-10); backdrop-filter: blur(12px); }
.subscribe__form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ivory); padding: 0 20px; font: inherit; font-size: 16px; }
.subscribe__form input::placeholder { color: var(--ivory-45); }
.subscribe__fine { margin-top: 18px; color: var(--ivory-45); font-size: 14px; }
.subscribe__fine a { color: var(--ivory-70); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; padding: 0 var(--gutter) 36px; background: var(--night); overflow: hidden; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 30px; border-top: 1px solid var(--ivory-10); font-size: 14px; color: var(--ivory-45); }
.footer__tagline { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--ivory); margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__nav a { text-decoration: none; color: var(--ivory-70); }
.footer__nav a:hover { color: var(--ivory); }

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 10, 9, .9); backdrop-filter: blur(10px); }
.modal__dialog { position: relative; width: min(1100px, 100%); transform: scale(.96) translateY(10px); transition: transform .5s var(--ease-out); }
.modal.is-open .modal__dialog { transform: none; }
.modal__frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 60px 120px -30px rgba(0,0,0,.9); }
.modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__close { position: absolute; right: 0; top: -52px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ivory-20); color: var(--ivory); font-size: 26px; line-height: 1; transition: background .3s; }
.modal__close:hover { background: var(--ivory-10); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .story__inner, .speaking__inner, .coaching__inner, .about__inner, .exp__inner { grid-template-columns: 1fr; }
  .story__media { position: static; }
  .exp__inner--flip .exp__copy { order: 1; }
  .exp__inner--flip .exp__media { order: 2; }
  .exp__media { max-width: 640px; }
  .story__media, .speaking__media, .about__media { max-width: 520px; }
  .ways__inner { grid-template-columns: 1fr; }
  .ways__sticky { position: static; }
  .ways__counter { display: none; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links { position: fixed; inset: 0; background: rgba(7,17,15,.96); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; gap: 28px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav__links a { font-family: var(--font-display); font-size: 34px; font-weight: 500; color: var(--ivory); }
  .nav__links a span::after { display: none; }
  .nav__cta { font-family: var(--font-body) !important; font-size: 15px !important; margin-top: 10px; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav__toggle { display: flex; position: relative; z-index: 2; }
  .hero { padding-top: 120px; padding-bottom: 130px; }
  .scene--hero .sun { left: 80%; top: 66%; }
  .scene--hero .sunglow { left: 80%; top: 70%; }
  .way { grid-template-columns: 44px 1fr; gap: 14px; padding: 28px 0; }
  .subscribe__form { flex-direction: column; border-radius: 22px; }
  .subscribe__form input { padding: 14px 16px; }
  .subscribe__form .btn { justify-content: center; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .coaching__aside blockquote { padding: 28px; }
  .exp { min-height: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__eyebrow, .hero__lede, .hero__actions { opacity: 1; }
  .scene--hero .sun { transform: translate(-50%, -50%); opacity: 1; }
  .grain { animation: none; }
}

/* ---------- Press logos: raw (already monochrome) ---------- */
.logos img.logos__raw { filter: none; height: 22px; opacity: .55; }
.logos img.logos__raw--tall { height: 52px; }
.logos__ap img { height: 44px; }
.logos--clients img.logos__raw--kmf { height: 92px; opacity: .55; }
.logos a:hover img.logos__raw { opacity: 1; }
