/* Dogsled Leader / Arctic Passage. Derived from Adam's logo and book imagery. */
:root {
  --logo-charcoal: #202a2f;
  --logo-ice: #a6ddf7;
  --navy: #243b64;
  --deep: #162a50;
  --ivory: #f5f8fc;
  --paper: #e5edf8;
  --ink: #203759;
  --muted: #526788;
  --brass: #d2e0f6;
  --border: #c4d2e6;
  --rose: #e9b7b1;
  --violet: #8f9fc9;
  --accent: #466db1;
}
body { background: var(--ivory); }
.header, footer { background:var(--logo-charcoal); color:#f3f7fa; }
.header { height:82px; border-color:#475359; }
.header nav { font-size: 12px; }
.header nav > a:hover, footer a:hover { color:var(--logo-ice); }
.header :focus-visible, footer :focus-visible { outline-color:var(--logo-ice); }
.nav-cta { background: var(--logo-ice); color: var(--logo-charcoal); border: 0; border-radius: 40px; padding: 13px 20px; }
.header nav .nav-cta:hover { color:var(--logo-charcoal); background:#e2f4fd; }
.header .brand, .footer-top .brand {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; padding:0; background:transparent;
}
.header .brand img { width:184px; height:auto; }
.button { border-radius: 40px; font-size: 13px; }
.gold { background: #e8b8b2; color: #243654; }
.gold:hover { background: #f2cfcb; }
.navy { background: var(--ink); }
.text-link { font-size: 13px; }
.eyebrow { font-size: 11px; }
.journey { position: relative; background: #dce7f7; }
.journey-stage { position: relative; min-height: 700px; background: radial-gradient(ellipse at 82% 23%,#fae8e7 0%,transparent 38%),linear-gradient(160deg,#edf3fe,#c6d8ef 62%,#f6f7fc); isolation: isolate; }
.scene-fallback, #expedition-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-fallback { object-fit: cover; opacity: .9; }
#expedition-canvas { display: block; opacity: 0; transition: opacity 600ms ease; }
.scene-ready #expedition-canvas { opacity: 1; }
.scene-ready .scene-fallback { opacity: 0; }
.expedition-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transform: translateX(var(--film-pan,0px)) scale(1.025); transition: opacity 220ms ease; }
.film-ready .expedition-film { opacity: 1; }
.film-ready #expedition-canvas { opacity: 0; }
.still-mode .expedition-film { display: none; }
.scene-wash { position: absolute; inset: 0; background: linear-gradient(90deg,#eef4fcc7 0%,#edf3fc85 32%,#dbe5f300 61%),linear-gradient(0deg,#e8eff980,transparent 18%); pointer-events: none; }
.expedition-topline { position: absolute; top: 28px; left: 5%; right: 5%; display: flex; justify-content: space-between; align-items: center; gap: 20px; z-index: 5; }
.expedition-topline p { font-size: 9px; letter-spacing: .18em; font-weight: 600; }
.view-controls { display: flex; align-items: center; gap: 8px; }
.motion-toggle, .skip-journey, .journey-button { border: 1px solid #7c91b06b; background: #f8fbffad; color: #203759; border-radius: 30px; min-height: 40px; padding: 9px 15px; font-size: 10px; cursor: pointer; backdrop-filter: blur(10px); }
.motion-toggle:hover, .skip-journey:hover, .journey-button:hover { background: white; }
.depth-stack { position: relative; padding: 130px 5% 100px; }
.depth-chapter { max-width: 690px; position: relative; padding-bottom: 60px; }
.depth-chapter .chapter-kicker { font-size: 10px; font-weight: 600; letter-spacing: .18em; margin-bottom: 25px; color: #4a668f; }
.depth-chapter h1, .depth-chapter h2 { font: 500 clamp(58px,7.5vw,112px)/.98 var(--sans); letter-spacing: -.075em; margin: 0; color: #203759; }
.depth-chapter em { font-family: var(--serif); font-size: 1.08em; letter-spacing: -.045em; color: #5275aa; }
.depth-chapter p.chapter-description { max-width: 405px; font-size: 16px; line-height: 1.75; margin-top: 28px; color: #395578; }
.depth-chapter .actions { margin-top: 26px; gap: 18px; }
.depth-chapter .button { background: #243b64; color: white; min-height: 49px; padding: 14px 22px; }
.depth-chapter .text-link { border-color: #8199bb; font-size: 12px; }
.journey-bottom { position: absolute; z-index: 4; bottom: 25px; left: 5%; right: 5%; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 20px; border-top: 1px solid #8098b254; padding-top: 20px; }
.journey-signature { font-size: 10px; letter-spacing: .08em; }
.journey-signature span { display: block; color: #526788; font-size: 10px; letter-spacing: 0; margin-top: 3px; }
.journey-track { justify-self: center; width: min(260px,100%); }
.journey-track > div { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .1em; margin-bottom: 9px; }
.journey-progress { height: 2px; width: 100%; background: #7f99ba54; }
.journey-progress span { display: block; width: 25%; height: 100%; background: #416ca8; transform-origin: left; }
.scene-controls { justify-self: end; display: flex; gap: 6px; align-items: center; }
.scene-controls > span { font-size: 9px; margin-right: 8px; }
.journey-button { touch-action: manipulation; width: 44px; height: 44px; min-height: 44px; padding: 0; font-size: 16px; }
.chapter-navigation { display: none; }
.scene-gesture { position: absolute; z-index: 2; right: 0; top: 65px; bottom: 100px; width: 42%; touch-action: pan-y pinch-zoom; cursor: grab; }
.scene-gesture:active { cursor: grabbing; }
.motion-enabled .journey { height: 570vh; }
.motion-enabled .journey-stage { position: sticky; top: 82px; height: calc(100svh - 82px); min-height: 570px; overflow: hidden; }
.motion-enabled .depth-stack { position: absolute; inset: 0; padding: 0; perspective: 1100px; perspective-origin: 45% 45%; pointer-events: none; }
.motion-enabled .depth-chapter { position: absolute; top: 20%; left: 5%; width: 62%; max-width: 740px; padding: 0; will-change: transform,opacity; transform-origin: 50% 45%; backface-visibility: hidden; pointer-events: none; }
.motion-enabled .depth-chapter.is-active { pointer-events: auto; }
.motion-enabled .depth-chapter:not(:first-child) { opacity: 0; }
.motion-enabled .chapter-navigation { display: flex; flex-direction: column; position: absolute; z-index: 5; right: 28px; top: 43%; gap: 14px; }
.chapter-navigation button { border: none; color: #617b9f; font-size: 10px; background: #eff5fc8f; border-radius: 50%; width: 34px; height: 34px; transition: background 200ms ease,color 200ms ease; }
.chapter-navigation button[aria-current="step"] { background: #243b64; color: white; }
.still-mode .journey-stage { min-height: 0; }
.still-mode .depth-stack { padding-top: 125px; padding-bottom: 120px; }
.still-mode .depth-chapter { margin-bottom: 60px; }
.still-mode .depth-chapter h1, .still-mode .depth-chapter h2 { font-size: clamp(46px,6vw,82px); }
.still-mode .scene-fallback { position: absolute; height: 100%; opacity: .15; }
.still-mode #expedition-canvas, .still-mode .scene-gesture, .still-mode .scene-controls { display: none; }
.experience { background: #edf2fa; }
.experience strong { color: #3d5b89; }
.approach .alignment-explorer { border-radius: 12px; background: linear-gradient(120deg,#e4ecfa,#ebedf7); }
.alignment-visual { color: #5278b3; }
.trail { stroke: #6389c2; }
.ring { stroke: #8d9ec7; }
.engagements { background: #e1eafa; color: var(--ink); }
.engagements .eyebrow { color: #526e9b; }
.engagements h2 em { color: #5575ab; }
.engagements .section-heading > p, .engagement-panel > div > p:not(.eyebrow) { color: #50688e; }
.engagement-tabs { border-color: #9eafcc; }
.engagement-tabs button { color: #526888; }
.engagement-tabs button[aria-selected=true] { color: #253f70; border-color: #466db1; }
.engagement-tabs button:hover { color: #1e355a; }
.panel-number { color: #8198ba; }
.engagement-panel aside { border-color: #adbed6; }
.engagement-panel ul { color: #354e72; }
.engagement-panel li { border-color: #bdcce2; }
.panel-note { color: #52688c; }
.credentials span:before { color: #6185b9; }
.portrait { transform: perspective(1000px) rotateY(5deg); }
.portrait > img { border-radius: 4px; }
.portrait-caption { background: linear-gradient(transparent,#243b64d9); }
.statement { background: #d9e5f6; color: #243b64; }
.statement:before { background: linear-gradient(#d6e2f3b8,#eceef4cc),url('assets/snow-tracks.jpg') center/cover; }
.statement .eyebrow, .statement blockquote+p span { color: #526788; }
.statement em { color: #5475ad; }
.book-art { border-radius: 14px; background: radial-gradient(at 65% 22%,#f4dcdf,#dae5f6 55%,#bfcee9); }
.book-art img { box-shadow: 18px 26px 45px #304b7047; }
.book-object { width: 245px; position: relative; transform-style: preserve-3d; transform: rotateY(var(--book-angle,-18deg)) rotateZ(-3deg); box-shadow: 20px 26px 40px #304b7040; }
.book-object:after { content: ''; position: absolute; inset: 0; background: #334b76; transform: translateZ(-24px); }
.book-art .book-object img { width: 100%; max-width: none; transform: none; box-shadow: none; }
.book-pages { position: absolute; top: 3px; bottom: 3px; right: 0; width: 24px; transform: rotateY(-90deg); transform-origin: right center; background: repeating-linear-gradient(90deg,#f8f7f1 0 1px,#d4d9df 1px 2px); }
.book-spine { position: absolute; top: 0; left: 0; width: 24px; height: 100%; transform: rotateY(90deg); transform-origin: left center; background: #4d6894; color: white; writing-mode: vertical-rl; text-align: center; padding: 20px 5px; font: 10px Georgia,serif; letter-spacing: .12em; }
@media(max-width:800px) { .book-object { width: min(200px,80%); } }
@media(max-width:600px) { .book-object { width: 225px; } }
@media(prefers-reduced-motion:reduce) { .book-object { transform: none; } }
.conversation { background: linear-gradient(140deg,#273e68,#304d7d); }
.conversation .eyebrow, .conversation h2 em { color: #e8c5cb; }
.engagement-finder { background: #405b831f; border: 1px solid #8ea6c273; border-radius: 14px; }
.interest-grid label>span { border-color: #a0b1cc82; border-radius: 8px; }
.interest-grid input:checked+span { background: #e6d4e51a; border-color: #e8b8b2; color: #f6d8da; }
.interest-grid i,.finder-result>p+p,.finder-note { color: #d1dced; }
.faq { background: var(--ivory); }
.footer-top em { color:var(--logo-ice); }
.footer-bottom { color:#c9d5db; border-color:#475359; }
.footer-top .brand img { width:170px; height:auto; }
@media(min-width:1500px) {
  .motion-enabled .depth-chapter { top: 24%; left: 7%; }
  .expedition-topline,.journey-bottom { left: 7%; right: 7%; }
}
@media(max-width:1000px) {
  .depth-chapter h1,.depth-chapter h2 { font-size: 8.2vw; }
  .motion-enabled .depth-chapter { width: 70%; top: 23%; }
  .depth-chapter p.chapter-description { font-size: 14px; max-width: 360px; }
  .scene-controls > span { display: none; }
  .expedition-topline p { font-size: 8px; }
}
@media(max-width:800px) {
  .header { height: 78px; }
  .header nav { background:var(--logo-charcoal); border-color:#475359; }
  .header .menu-toggle { color:inherit; border-color:#778a92; }
  .header .nav-cta { padding: 14px 20px; border: 0; margin-top: 12px; }
  .motion-enabled .journey-stage { top: 78px; height: calc(100svh - 78px); min-height: 600px; }
  .motion-enabled .journey { height: 530vh; }
  .scene-wash { background: linear-gradient(90deg,#edf3fcc9,#edf3fc33),linear-gradient(180deg,#edf3fc44,transparent 80%); }
  .journey-bottom { grid-template-columns: 1fr 1fr auto; }
  .journey-track { justify-self: end; }
  .chapter-navigation { right: 12px!important; }
}
@media(max-width:600px) {
  .header .brand img { width:155px; }
  .expedition-topline { top: 19px; left: 20px; right: 20px; }
  .expedition-topline > p { display: none; }
  .view-controls { width: 100%; justify-content: space-between; }
  .motion-toggle,.skip-journey { font-size: 10px; padding: 8px 12px; min-height: 37px; }
  .motion-enabled .journey-stage { min-height: 590px; }
  .motion-enabled .journey { height: 510vh; }
  .motion-enabled .depth-chapter { top: 15%; left: 20px; width: calc(100% - 50px); max-width: 430px; }
  .depth-chapter h1,.depth-chapter h2 { font-size: clamp(46px,12.8vw,74px); letter-spacing: -.065em; line-height: 1.02; }
  .depth-chapter .chapter-kicker { font-size: 8px; margin-bottom: 15px; }
  .depth-chapter p.chapter-description { font-size: 13px; line-height: 1.65; max-width: 270px; margin-top: 20px; }
  .depth-chapter .actions { margin-top: 20px; gap: 10px; }
  .depth-chapter .button { font-size: 11px; min-height: 43px; padding: 11px 18px; }
  .depth-chapter .text-link { font-size: 10px; }
  .scene-wash { background: linear-gradient(180deg,#e9f1fcbb,#e9f1fc77 43%,#dbe5f300 70%); }
  .scene-gesture { top: 52%; bottom: 87px; width: 100%; }
  .motion-enabled .chapter-navigation { top: auto; bottom: 106px; flex-direction: row; right: 20px!important; gap: 7px; }
  .chapter-navigation button { width: 40px; height: 40px; font-size: 10px; }
  .journey-bottom { grid-template-columns:1fr 1fr; left: 20px; right: 20px; bottom: 20px; padding-top: 15px; gap: 18px; }
  .journey-signature { font-size: 8px; }
  .journey-signature span { font-size: 8px; }
  .journey-track > div { font-size: 8px; }
  .scene-controls { display: flex; position: absolute; left: 0; bottom: 75px; gap: 4px; }
  .still-mode .depth-stack { padding: 100px 20px 110px; }
  .still-mode .depth-chapter h1,.still-mode .depth-chapter h2 { font-size: 48px; }
  .still-mode .depth-chapter { margin: 0 0 40px; padding-bottom: 30px; }
  .engagement-panel aside { border-top-color: #adbed6; }
}
@media(prefers-reduced-motion:reduce) {
  .motion-enabled .journey { height: auto; }
  .motion-enabled .journey-stage { position: relative; height: auto; overflow: visible; }
  .motion-enabled .depth-stack { position: relative; perspective: none; padding: 100px 5% 120px; }
  .motion-enabled .depth-chapter { position: relative; top: auto; left: auto; width: 100%; transform: none!important; opacity: 1!important; margin-bottom: 70px; }
  .chapter-navigation,#expedition-canvas,.scene-gesture,.scene-controls { display: none!important; }
  .scene-fallback { opacity: .12!important; }
  .portrait { transform: none; }
}

/* V3: photographed expedition palette and restrained depth projection. */
.scene-fallback { opacity: 1; }
.scene-wash { background: linear-gradient(90deg,#f1f6fbe6 0%,#edf3fbc9 25%,#e9f1fb66 43%,transparent 61%),linear-gradient(0deg,#e8eff9a6,transparent 17%); }
.expedition-topline > p { background: #edf3fba6; padding: 8px 12px; border-radius: 20px; }
.journey-signature,.journey-track { text-shadow: 0 1px 8px #fff; }
@media(min-width:1800px) {
 .motion-enabled .depth-chapter { max-width: 1150px; }
 .depth-chapter h1,.depth-chapter h2 { font-size: clamp(112px,5vw,190px); max-width: none; }
 .depth-chapter p.chapter-description { font-size: 22px; max-width: 650px; }
}
@media(max-width:649px) {
 .scene-fallback { object-position: center; }
 .scene-wash { background: linear-gradient(180deg,#f1f6fbbf 0%,#eaf1fba6 39%,#eaf1fb14 62%,transparent 75%),linear-gradient(0deg,#e7effa80,transparent 18%); }
 .motion-enabled .depth-chapter { top: 13%; }
}

.alpine-weather { position:absolute; pointer-events:none; display:none; }
.motion-enabled .alpine-weather { display:block; inset:0; width:100%; height:100%; }
@media(prefers-reduced-motion:reduce) { .alpine-weather { display:none!important; } }

.footer-bottom { align-items:center; }
.design-credit { display:inline-flex; align-items:center; flex-wrap:wrap; gap:10px; }
.design-credit img { width:108px; height:auto; }
@media(max-width:600px) {
  .footer-bottom { align-items:flex-start; }
  .design-credit { margin-top:6px; }
}

/* One visible surface for the moving portrait scene, including the last decoded
   terrain during seeks. The matching poster covers the initial decode. */
.motion-enabled .portrait-composite #expedition-canvas,
.motion-enabled .portrait-composite .expedition-film { opacity:0; transition:none; }
.motion-enabled .portrait-composite .scene-fallback { opacity:1; }

@media(max-width:375px) {
  .motion-enabled .chapter-navigation { bottom:155px; }
}
