/* ══════════════════════════════════════════════════════════════
   MapleQuest — a cinematic scroll through real Canada, with a
   glowing digital layer laid over it. One fixed photographic stage
   cross-fades scene to scene; content drifts over it as chapters.
   ══════════════════════════════════════════════════════════════ */

:root {
  --midnight:    #0a1526;
  --teal:        #1c6e6b;
  --teal-lite:   #2f8f89;
  --aurora:      #5fe3c0;
  --amber:       #eca24e;
  --amber-glow:  #ffce86;
  --cream:       #f4ecdf;
  --cream-dim:   rgba(244, 236, 223, 0.72);
  --cream-faint: rgba(244, 236, 223, 0.46);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --glass:    rgba(9, 20, 34, 0.42);
  --hairline: rgba(244, 236, 223, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); color: var(--cream); background: #060d16;
  line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--amber); color: #23130a; padding: 0.6rem 1rem; border-radius: 0 0 10px 0; font-weight: 600; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--aurora); outline-offset: 3px; border-radius: 4px; }

/* ═══════════════════ THE STAGE (fixed real-photo world) ═══════════════════ */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #060d16; }
.scene {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.05); will-change: opacity, transform;
  transition: opacity 1.15s var(--ease);
}
.scene.is-active { opacity: 1; animation: kenburns 22s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.16); } }
.scene--leaf { background-position: center 42%; filter: saturate(1.08) contrast(1.04); }

/* color-grade: pull every photo into one midnight-teal-amber world */
.stage__grade {
  position: absolute; inset: -40px; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 15, 26, 0.55) 0%, rgba(7, 15, 26, 0) 20%),
    linear-gradient(0deg, rgba(5, 11, 20, 0.68) 0%, rgba(5, 11, 20, 0) 42%),
    radial-gradient(90% 70% at 24% 92%, rgba(5, 11, 20, 0.45), transparent 60%),
    radial-gradient(120% 80% at 50% 16%, rgba(236, 162, 78, 0.08), transparent 58%);
}
.stage__motes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.9; }
.stage__vignette {
  position: absolute; inset: -40px; pointer-events: none;
  background: radial-gradient(118% 92% at 50% 46%, transparent 56%, rgba(4, 9, 16, 0.5) 100%);
}

/* ═══════════════════ NAV ═══════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0.85rem clamp(1rem, 4vw, 2.4rem);
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: var(--glass); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid var(--hairline); }
.nav__inner { max-width: 1360px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; }
.wordmark { display: flex; align-items: center; gap: 0.55rem; margin-right: auto; }
.wordmark__mark { display: grid; place-items: center; filter: drop-shadow(0 0 10px rgba(236, 162, 78, 0.55)); }
.wordmark__leaf { fill: var(--amber-glow); }
.wordmark__type { font-family: var(--serif); font-weight: 500; font-size: 1.32rem; letter-spacing: 0.01em; color: var(--cream); font-optical-sizing: auto; text-shadow: 0 1px 14px rgba(6,12,22,0.6); }
.nav__menu { display: flex; align-items: center; gap: 0.35rem; }
.nav__item { position: relative; }
.pill { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: var(--cream-dim); background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 0.5rem 0.95rem; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.3s, background 0.3s, border-color 0.3s; }
.pill:hover, .pill[aria-expanded="true"] { color: var(--cream); background: rgba(20, 38, 54, 0.5); border-color: var(--hairline); }
.pill__caret { font-size: 1rem; transform: rotate(90deg); transition: transform 0.3s var(--ease); opacity: 0.7; }
.pill[aria-expanded="true"] .pill__caret { transform: rotate(-90deg); }
.pill__globe { color: var(--aurora); font-size: 0.85rem; }
.pill--lang { letter-spacing: 0.03em; }
.nav__signin { color: var(--cream); border-color: var(--hairline); background: rgba(6, 14, 24, 0.3); backdrop-filter: blur(6px); }
.nav__signin:hover { background: rgba(20, 38, 54, 0.55); }
.dropdown { position: absolute; top: calc(100% + 0.6rem); left: 0; min-width: 268px; background: rgba(8, 18, 30, 0.78); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); border: 1px solid var(--hairline); border-radius: 18px; padding: 0.5rem; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(244, 236, 223, 0.06); transform-origin: top left; animation: dropIn 0.28s var(--ease); }
.dropdown--lang { min-width: 190px; left: auto; right: 0; transform-origin: top right; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.dropdown__row { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.6rem 0.75rem; border-radius: 12px; transition: background 0.2s; }
.dropdown__row--tight { padding: 0.55rem 0.75rem; }
.dropdown__row span { font-size: 0.94rem; font-weight: 500; color: var(--cream); }
.dropdown__row em { font-family: var(--mono); font-style: normal; font-size: 0.7rem; letter-spacing: 0.02em; color: var(--cream-faint); text-transform: uppercase; }
.dropdown__row:hover { background: rgba(28, 110, 107, 0.28); }
.dropdown__row:hover em { color: var(--aurora); }
.dropdown__row[aria-current="true"] span { color: var(--amber-glow); }
.dropdown__row[aria-current="true"] span::after { content: " ✓"; color: var(--amber-glow); font-size: 0.85em; }

/* ═══════════════════ CHAPTERS ═══════════════════ */
main { position: relative; z-index: 2; }
.chapter { position: relative; min-height: 100svh; display: flex; padding: clamp(6rem, 12vh, 9rem) clamp(1.4rem, 6vw, 5rem) clamp(4rem, 9vh, 7rem); }
.chapter__inner { position: relative; z-index: 2; width: 100%; }
.chapter--open { align-items: flex-end; }
.chapter--center { align-items: center; justify-content: center; text-align: center; }
.chapter--card { align-items: center; }
.chapter--left  { justify-content: flex-start; }
.chapter--right { justify-content: flex-end; }

.glasscard {
  position: relative; width: 100%; max-width: 540px;
  background: linear-gradient(158deg, rgba(10, 26, 36, 0.72), rgba(7, 16, 26, 0.56));
  backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid var(--hairline); border-radius: 22px; padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: 0 36px 84px -34px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(244, 236, 223, 0.07);
}
.glasscard--wide { max-width: 1080px; }

.hero__content { max-width: 640px; }
.hero__eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-glow); margin-bottom: 1.3rem; text-shadow: 0 1px 12px rgba(6,12,22,0.7); }
.hero__title { font-family: var(--serif); font-optical-sizing: auto; font-weight: 300; font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -0.015em; color: var(--cream); text-shadow: 0 3px 40px rgba(4, 9, 16, 0.8); }
.hero__title-em { font-style: italic; font-weight: 400; }
.hero__title-em--warm { color: var(--amber-glow); }
.hero__lede { margin-top: 1.5rem; max-width: 34rem; font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--cream); font-weight: 300; text-shadow: 0 2px 18px rgba(4, 9, 16, 0.85); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.btn { font-family: var(--sans); font-weight: 600; font-size: 0.98rem; padding: 0.85rem 1.7rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s; cursor: pointer; border: 1px solid transparent; letter-spacing: 0.005em; }
.btn--fill { color: #23130a; background: linear-gradient(135deg, #ffdca0, #eca24e 55%, #e0842e); box-shadow: 0 0 0 1px rgba(255, 220, 160, 0.4), 0 12px 34px -8px rgba(236, 162, 78, 0.55), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn--fill:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 220, 160, 0.6), 0 18px 44px -8px rgba(236, 162, 78, 0.78), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn--ghost { color: var(--cream); border-color: rgba(244, 236, 223, 0.4); background: rgba(6, 14, 24, 0.28); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(244, 236, 223, 0.12); transform: translateY(-2px); }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.04rem; }

.scroll-prompt { position: absolute; right: clamp(1.4rem, 6vw, 5rem); bottom: clamp(4rem, 9vh, 7rem); z-index: 3; display: flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-dim); transition: color 0.3s; text-shadow: 0 1px 10px rgba(4,9,16,0.8); }
.scroll-prompt:hover { color: var(--cream); }
.scroll-prompt__arrow { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--hairline); border-radius: 50%; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(5px); opacity: 1; } }

/* the leaf that flies off the logo to the scroll prompt */
.fly-dust { position: fixed; inset: 0; z-index: 115; pointer-events: none; }
.fly-leaf { position: fixed; top: 0; left: 0; width: 46px; height: 46px; z-index: 120; pointer-events: none; opacity: 0; will-change: transform, opacity; filter: drop-shadow(0 0 10px rgba(255, 206, 134, 0.85)) drop-shadow(0 0 22px rgba(236, 162, 78, 0.5)); }
.fly-leaf svg { width: 100%; height: 100%; display: block; }
.fly-leaf svg path { fill: #ffce86; }
.scroll-prompt--hit { color: var(--amber-glow); }
.scroll-prompt--hit .scroll-prompt__arrow { border-color: var(--amber-glow); box-shadow: 0 0 24px rgba(255, 206, 134, 0.9); color: var(--amber-glow); }
@keyframes hitFlash {
  0% { box-shadow: 0 0 0 0 rgba(255, 206, 134, 0); }
  25% { box-shadow: 0 0 46px 2px rgba(255, 206, 134, 0.55); border-color: rgba(255, 206, 134, 0.6); }
  100% { box-shadow: 0 0 0 0 rgba(255, 206, 134, 0); }
}
.hit-flash { animation: hitFlash 0.7s var(--ease); }

.intro { max-width: 880px; margin: 0 auto; }
.band__kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-glow); margin-bottom: 1.6rem; display: inline-flex; align-items: center; gap: 0.7rem; }
.band__kicker::before, .band__kicker::after { content: ""; width: 28px; height: 1px; background: var(--teal-lite); }
.band__lede { font-family: var(--serif); font-weight: 300; font-optical-sizing: auto; font-size: clamp(1.8rem, 3.9vw, 3.1rem); line-height: 1.18; letter-spacing: -0.01em; color: var(--cream); max-width: 24ch; margin: 0 auto; text-shadow: 0 3px 40px rgba(4, 9, 16, 0.85); }
.band__note { margin: 1.6rem auto 0; max-width: 48ch; color: var(--cream); font-weight: 300; font-size: 1.06rem; text-shadow: 0 2px 16px rgba(4,9,16,0.8); }

.pillar__index { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.3rem; }
.pillar__num { font-family: var(--mono); font-size: 0.9rem; color: var(--amber); letter-spacing: 0.05em; }
.pillar__rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--teal), transparent); }
.pillar__tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aurora); margin-bottom: 0.85rem; }
.pillar__title { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.12; letter-spacing: -0.012em; color: var(--cream); margin-bottom: 0.9rem; }
.pillar__text { color: var(--cream-dim); font-weight: 300; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.pillar__stack { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.pillar__stack span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.03em; color: var(--cream-dim); padding: 0.3rem 0.7rem; border: 1px solid var(--hairline); border-radius: 999px; background: rgba(28, 110, 107, 0.12); }

/* reveal on scroll */
.js .pillar, .js .stat, .js .band__lede, .js .band__note, .js .finale__title, .js .finale__text, .js .finale__cta { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.is-in { opacity: 1 !important; transform: none !important; }

.stats { text-align: center; }
.stats__kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-glow); margin-bottom: 2.2rem; }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.stat { text-align: center; padding: 1.2rem 0.6rem; border-radius: 16px; border: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(28, 110, 107, 0.14), rgba(9, 20, 34, 0.22)); }
.stat__num { display: block; font-family: var(--serif); font-optical-sizing: auto; font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; color: var(--amber-glow); margin-bottom: 0.7rem; text-shadow: 0 0 24px rgba(236, 162, 78, 0.3); }
.stat__label { font-size: 0.82rem; color: var(--cream-dim); font-weight: 300; line-height: 1.4; }

.finale { max-width: 900px; margin: 0 auto; text-align: center; }
.finale__title { font-family: var(--serif); font-weight: 300; font-optical-sizing: auto; font-size: clamp(2rem, 5.4vw, 4rem); line-height: 1.08; letter-spacing: -0.015em; color: var(--cream); text-shadow: 0 3px 48px rgba(4, 9, 16, 0.9); }
.finale__text { margin: 1.6rem auto 0; max-width: 46ch; color: var(--cream); font-weight: 300; font-size: 1.1rem; text-shadow: 0 2px 18px rgba(4,9,16,0.85); }
.finale__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.4rem; }

/* ═══════════════════ AR DIGITAL LAYER ═══════════════════ */
.ar-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.wp { position: absolute; left: var(--x); top: var(--y); animation: bloom 1.1s var(--ease) both; }
.wp--card { animation-delay: 0.5s; }
.wp--card2 { animation-delay: 0.9s; }
.wp--dot { animation-delay: 1.2s; }
@keyframes bloom { from { opacity: 0; transform: translateY(10px) scale(0.9); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.wp__pin { display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 0 4px rgba(95, 227, 192, 0.18), 0 0 18px rgba(95, 227, 192, 0.95); position: relative; }
.wp__pin::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(95, 227, 192, 0.6); animation: ping 2.6s ease-out infinite; }
.wp__pin--amber { background: var(--amber-glow); box-shadow: 0 0 0 4px rgba(236, 162, 78, 0.2), 0 0 18px rgba(236, 162, 78, 0.95); }
.wp__pin--amber::after { border-color: rgba(236, 162, 78, 0.6); }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3); opacity: 0; } }
.wp__line { position: absolute; left: 5px; top: 8px; width: 1px; height: 34px; background: linear-gradient(180deg, rgba(95, 227, 192, 0.85), transparent); }
.wp__card { position: absolute; left: 18px; top: 30px; width: 224px; background: rgba(7, 18, 27, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(95, 227, 192, 0.32); border-radius: 14px; padding: 0.7rem 0.85rem; display: flex; flex-direction: column; gap: 0.18rem; box-shadow: 0 20px 44px -18px rgba(0,0,0,0.75); }
.wp__card--alt { border-color: rgba(236, 162, 78, 0.34); }
.wp__tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; color: var(--aurora); text-transform: uppercase; }
.wp__card--alt .wp__tag { color: var(--amber-glow); }
.wp__title { font-family: var(--serif); font-size: 0.98rem; font-weight: 400; color: var(--cream); line-height: 1.25; }
.wp__meta { font-family: var(--mono); font-size: 0.66rem; color: var(--cream-faint); letter-spacing: 0.04em; }

/* ═══════════════════ FOOTER ═══════════════════ */
.foot { position: relative; z-index: 2; border-top: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(5, 11, 20, 0.88), rgba(3, 8, 14, 0.97)); backdrop-filter: blur(10px); padding: clamp(3rem, 7vh, 5rem) clamp(1.4rem, 5vw, 3rem) 2rem; }
.foot__inner { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 3rem; justify-content: space-between; }
.foot__brand { max-width: 320px; }
.foot__tag { margin-top: 0.9rem; color: var(--cream-faint); font-size: 0.9rem; font-weight: 300; }
.foot__cols { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.foot__col { display: flex; flex-direction: column; gap: 0.6rem; }
.foot__col h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aurora); margin-bottom: 0.4rem; font-weight: 400; }
.foot__col a { color: var(--cream-dim); font-size: 0.92rem; transition: color 0.2s; }
.foot__col a:hover { color: var(--cream); }
.foot__col--company { flex: 1; }
.foot__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.4rem; max-width: 580px; }
.foot__links a { display: flex; flex-direction: column; gap: 0.18rem; }
.foot__links a span { color: var(--cream); font-size: 0.98rem; font-weight: 500; }
.foot__links a em { font-family: var(--mono); font-style: normal; font-size: 0.68rem; letter-spacing: 0.02em; color: var(--cream-faint); text-transform: uppercase; line-height: 1.4; }
.foot__links a:hover span { color: var(--amber-glow); }
.foot__links a:hover em { color: var(--aurora); }
@media (max-width: 560px) { .foot__links { grid-template-columns: 1fr; } }
.foot__base { max-width: 1240px; margin: 2.6rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.03em; color: var(--cream-faint); }

/* ═══════════════════ COMPANY SUBPAGES ═══════════════════ */
.subpage { background:
  radial-gradient(120% 80% at 50% -10%, rgba(28,110,107,0.14), transparent 55%),
  linear-gradient(180deg, #0a1526 0%, #0b2028 55%, #081319 100%);
  background-attachment: fixed; }
.page { position: relative; z-index: 1; }
/* simple text header (no photo banner) */
.page-head { padding: clamp(8rem, 17vh, 11rem) clamp(1.4rem, 6vw, 5rem) clamp(0.5rem, 2vh, 1.5rem); }
.page-head .page-hero__inner { max-width: 900px; margin: 0 auto; }
.page-head .page-hero__title { text-shadow: none; }
.page-head .page-hero__dek { text-shadow: none; color: var(--cream-dim); }
.page-hero {
  position: relative; min-height: 58vh; display: flex; align-items: flex-end;
  padding: clamp(7rem, 14vh, 10rem) clamp(1.4rem, 6vw, 5rem) clamp(2.5rem, 6vh, 4rem);
  background-size: cover; background-position: center; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,12,22,0.6) 0%, transparent 24%, rgba(6,12,22,0.35) 60%, rgba(8,19,25,0.95) 100%),
    radial-gradient(120% 90% at 50% 20%, rgba(236,162,78,0.12), transparent 62%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 900px; width: 100%; margin: 0 auto; }
.page-hero__eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-glow); margin-bottom: 1.1rem; display: inline-flex; align-items: center; gap: 0.6rem; }
.page-hero__eyebrow a { color: var(--cream-faint); }
.page-hero__eyebrow a:hover { color: var(--aurora); }
.page-hero__title { font-family: var(--serif); font-optical-sizing: auto; font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.03; letter-spacing: -0.015em; color: var(--cream); text-shadow: 0 3px 40px rgba(4,9,16,0.85); }
.page-hero__dek { margin-top: 1.3rem; max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--cream); font-weight: 300; text-shadow: 0 2px 18px rgba(4,9,16,0.8); }

.page-body { max-width: 860px; margin: 0 auto; padding: clamp(3rem, 7vh, 5rem) clamp(1.4rem, 6vw, 2rem) clamp(4rem, 10vh, 7rem); }
.prose > * + * { margin-top: 1.15rem; }
.prose .lede { font-family: var(--serif); font-optical-sizing: auto; font-weight: 300; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--cream); letter-spacing: -0.005em; }
.prose h2 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; color: var(--cream); margin-top: 2.8rem; letter-spacing: -0.01em; }
.prose h2 + p { margin-top: 0.8rem; }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: 1.06rem; color: var(--cream); margin-top: 1.8rem; }
.prose p, .prose li { color: var(--cream-dim); font-weight: 300; font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.75; }
.prose strong { color: var(--cream); font-weight: 600; }
.prose a { color: var(--amber-glow); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(236,162,78,0.4); }
.prose a:hover { text-decoration-color: var(--amber-glow); }
.prose ul { list-style: none; margin-top: 1.1rem; display: grid; gap: 0.7rem; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 10px rgba(95,227,192,0.7); }
.prose .eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aurora); }

.callout { margin-top: 1.6rem; padding: clamp(1.3rem, 2.6vw, 1.8rem); border-radius: 18px; border: 1px solid var(--hairline); background: linear-gradient(158deg, rgba(10,26,36,0.6), rgba(7,16,26,0.4)); }
.callout p:first-child { margin-top: 0; }
.callout .callout__k { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--amber-glow); line-height: 1; }
.callout .callout__l { color: var(--cream-dim); font-size: 0.95rem; margin-top: 0.5rem; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; }
.kpi { padding: 1.1rem; border-radius: 14px; border: 1px solid var(--hairline); background: rgba(28,110,107,0.1); text-align: center; }
.kpi b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--amber-glow); }
.kpi span { font-size: 0.78rem; color: var(--cream-dim); }

.role { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--hairline); }
.role:last-child { border-bottom: 1px solid var(--hairline); }
.role h3 { margin-top: 0; }
.role span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--cream-faint); white-space: nowrap; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 1.8rem; }
.contact-card { padding: 1.4rem; border-radius: 16px; border: 1px solid var(--hairline); background: linear-gradient(158deg, rgba(10,26,36,0.6), rgba(7,16,26,0.42)); }
.contact-card h3 { margin-top: 0; }
.contact-card p { margin-top: 0.4rem; font-size: 0.98rem; }
.page-back { margin-top: 2.8rem; }
.page-back a { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--cream-dim); }
.page-back a:hover { color: var(--amber-glow); }
@media (max-width: 620px) { .kpi-row, .contact-grid { grid-template-columns: 1fr; } .role { flex-direction: column; gap: 0.3rem; } }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 860px) {
  .chapter { padding-left: clamp(1.2rem, 5vw, 2rem); padding-right: clamp(1.2rem, 5vw, 2rem); }
  .chapter--left, .chapter--right { justify-content: center; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:last-child { grid-column: span 2; }
  .scroll-prompt__text { display: none; }
  .ar-layer { display: none; }
}
@media (max-width: 520px) {
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .stats__grid { grid-template-columns: 1fr; }
  .stat:last-child { grid-column: auto; }
  .foot__inner { flex-direction: column; gap: 2rem; }
  .ar-layer { display: none; }
}

/* ═══════════════════ REDUCED MOTION ═══════════════════ */
/* Motion runs on every device and in every setting — the owner wants the
   scene cross-fades, drifting motes, reveals, count-ups and the maple-leaf
   flourish visible on mobile even when "reduce motion" is enabled.
   (Deliberate: the usual prefers-reduced-motion suppression is not applied.) */
