:root {
  --ink: #10252b;
  --deep: #083f43;
  --teal: #0f6869;
  --cream: #fff7ea;
  --sand: #f0d7b5;
  --gold: #f2b35f;
  --copper: #c65f36;
  --rose: #8f3f3c;
  --aqua: #48d6c8;
  --sun: #ffc857;
  --coral: #f06b42;
  --lime: #c7e66c;
  --violet: #6354b8;
  --paper: #fffdf8;
  --white: #ffffff;
  --max: 1180px;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 200, 87, .18), transparent 24rem),
    radial-gradient(circle at 92% 32%, rgba(72, 214, 200, .14), transparent 30rem),
    radial-gradient(circle at 30% 78%, rgba(240, 107, 66, .12), transparent 28rem),
    var(--paper);
  background-attachment: fixed;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--pointer-x, 50%) var(--pointer-y, 20%), rgba(255, 200, 87, .14), transparent 68%);
  transition: opacity .3s ease;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 18px;
  aspect-ratio: 1;
  border: 2px solid rgba(240, 107, 66, .55);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(calc(var(--cursor-x, -40px) - 50%), calc(var(--cursor-y, -40px) - 50%), 0);
  transition: width .25s cubic-bezier(.2, 1.5, .3, 1), opacity .25s ease, background .25s ease;
}
body.has-pointer .cursor-glow { opacity: 1; }
body.pointer-active .cursor-glow { width: 34px; background: rgba(255, 200, 87, .2); }
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--coral), var(--sun), var(--aqua), var(--violet));
  background-size: 250% 100%;
  box-shadow: 0 0 18px rgba(72, 214, 200, .45);
  animation: progressGlow 3s linear infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 74px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 76%, transparent);
  backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid rgba(16, 37, 43, .1);
  box-shadow: 0 8px 28px rgba(16, 37, 43, .04);
}
.monogram {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  text-decoration: none;
  background: var(--deep);
  color: var(--gold);
  border-radius: 50% 50% 50% 14%;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 7px 20px rgba(8, 63, 67, .2);
  transition: transform .45s cubic-bezier(.2, 1.7, .3, 1), border-radius .35s ease;
}
.monogram:hover { transform: rotate(-10deg) scale(1.12); border-radius: 30% 55% 35% 50%; }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a,
.nav-contact {
  text-decoration: none;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-header nav a { position: relative; }
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 2px;
  background: var(--copper);
  transition: right .25s ease;
}
.site-header nav a:hover::after { right: 0; }
.nav-contact { min-height: 44px; padding-inline: 4px; display: inline-flex; align-items: center; justify-self: end; color: var(--copper); }
.nav-contact:hover { animation: tinyBounce .55s cubic-bezier(.2, 1.7, .3, 1); }

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  padding: clamp(70px, 9vw, 130px) max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(48px, 7vw, 105px);
  align-items: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 200, 87, .38), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(72, 214, 200, .34), transparent 32%),
    radial-gradient(circle at 66% 92%, rgba(240, 107, 66, .25), transparent 30%),
    linear-gradient(128deg, #fff8e8 0%, #fffdf8 38%, #e8fff7 68%, #fff0e8 100%);
  background-size: 170% 170%, 165% 165%, 180% 180%, 160% 160%;
  animation: livingGradient 14s ease-in-out infinite alternate;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto auto 8% -6%;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(15,104,105,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(15,104,105,.04), 0 0 0 84px rgba(15,104,105,.025);
  z-index: -1;
  animation: rippleBreathe 6s ease-in-out infinite;
}
.hero-atmosphere { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.atmosphere-orb {
  position: absolute;
  display: block;
  border-radius: 42% 58% 66% 34% / 47% 38% 62% 53%;
  filter: blur(2px);
  mix-blend-mode: multiply;
  opacity: .54;
}
.orb-one { width: 22rem; height: 18rem; left: -8rem; top: 18%; background: rgba(255, 200, 87, .28); animation: driftOne 13s ease-in-out infinite alternate; }
.orb-two { width: 18rem; height: 25rem; right: -7rem; top: 6%; background: rgba(72, 214, 200, .25); animation: driftTwo 16s ease-in-out infinite alternate; }
.orb-three { width: 17rem; height: 17rem; left: 47%; bottom: -8rem; background: rgba(240, 107, 66, .19); animation: driftThree 11s ease-in-out infinite alternate; }
.flight-path {
  position: absolute;
  width: min(48vw, 650px);
  height: min(30vw, 380px);
  right: -4%;
  bottom: -5%;
  border: 2px dashed rgba(8, 63, 67, .14);
  border-color: rgba(8, 63, 67, .18) transparent transparent rgba(8, 63, 67, .18);
  border-radius: 50%;
  transform: rotate(-18deg);
  animation: pathWobble 8s ease-in-out infinite alternate;
}
.flight-path i { position: absolute; width: 9px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px rgba(240, 107, 66, .12); }
.flight-path i:nth-child(1) { left: 7%; top: 16%; animation: nodePulse 2s ease-in-out infinite; }
.flight-path i:nth-child(2) { left: 47%; top: -1%; animation: nodePulse 2s .5s ease-in-out infinite; }
.flight-path i:nth-child(3) { right: 3%; top: 28%; animation: nodePulse 2s 1s ease-in-out infinite; }
.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, blockquote {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
}
h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.5rem, 6.7vw, 6.8rem);
  line-height: .91;
}
h1 em { color: var(--teal); font-weight: 500; }
h1 em {
  background: linear-gradient(90deg, var(--teal), var(--violet), var(--coral), var(--teal));
  background-size: 260% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textCurrent 7s linear infinite;
}
.hero-intro {
  max-width: 650px;
  margin: 28px 0 0;
  color: #30494d;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.button {
  min-height: 50px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: transform .42s cubic-bezier(.2, 1.8, .3, 1), box-shadow .3s ease, background .3s ease;
}
.button::after { content: ""; position: absolute; inset: -100% 55% -100% -50%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.46), transparent); transition: translate .55s ease; }
.button:hover::after { translate: 260% 0; }
.button:hover { transform: translateY(-5px) scale(1.035); }
.button span { position: relative; z-index: 1; }
.button-primary { background: linear-gradient(120deg, var(--deep), var(--teal), var(--deep)); background-size: 220% 100%; color: var(--white); box-shadow: 0 14px 30px rgba(8,63,67,.22); animation: buttonCurrent 5s ease-in-out infinite; }
.button-ghost { border: 1px solid rgba(16,37,43,.25); }
.button-ghost:hover { background: var(--white); }
.hero-facts { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hero-facts div { padding: 13px 10px 9px 0; border-top: 1px solid rgba(16,37,43,.22); transition: transform .4s cubic-bezier(.2, 1.7, .3, 1), color .25s ease; }
.hero-facts div:hover { transform: translateY(-7px) rotate(-1deg); color: var(--coral); }
.hero-facts dt { color: #6a7777; font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: 1.28rem; }

.portrait-stage { position: relative; min-height: 590px; display: grid; place-items: center; perspective: 1100px; transform-style: preserve-3d; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.sun-disc {
  position: absolute;
  width: min(30vw, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun), #ff9d4d 58%, var(--coral));
  transform: translate(10%, -14%);
  box-shadow: 0 0 80px rgba(255, 200, 87, .35);
  animation: sunMorph 9s ease-in-out infinite alternate;
}
.portrait-frame {
  position: relative;
  width: min(31vw, 430px);
  aspect-ratio: .82;
  overflow: hidden;
  border-radius: 48% 48% 24px 24px;
  border: 10px solid var(--white);
  box-shadow: 0 28px 70px rgba(16,37,43,.24);
  transform: rotate(2.5deg);
  animation: portraitFloat 5.5s ease-in-out infinite;
  transition: border-radius .65s cubic-bezier(.2, 1.5, .3, 1), box-shadow .4s ease;
}
.portrait-stage:hover .portrait-frame { border-radius: 28px 52% 34px 48%; box-shadow: 0 42px 85px rgba(16,37,43,.3); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform: scale(1.04); }
.portrait-orbit { position: absolute; width: min(38vw, 510px); aspect-ratio: 1; border: 1px solid rgba(8, 63, 67, .2); border-radius: 50%; animation: orbitSpin 18s linear infinite; }
.portrait-orbit span { position: absolute; width: 16px; aspect-ratio: 1; left: 50%; top: -8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 8px rgba(72, 214, 200, .14); }
.orbit-b { width: min(35vw, 470px); animation-duration: 13s; animation-direction: reverse; border-style: dashed; }
.orbit-b span { width: 11px; top: auto; bottom: -6px; background: var(--coral); box-shadow: 0 0 0 7px rgba(240, 107, 66, .12); }
.portrait-label {
  position: absolute;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(8,63,67,.2);
  animation: labelBounce 3.6s ease-in-out infinite;
}
.label-top { top: 12%; right: -4%; }
.label-bottom { bottom: 14%; left: -9%; background: var(--copper); animation-delay: -1.8s; }
.portrait-caption {
  position: absolute;
  right: -2%;
  bottom: 2%;
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.35;
}
.manifest-card {
  position: absolute;
  left: -13%;
  top: 7%;
  width: 230px;
  padding: 17px 18px 15px;
  border: 1px solid rgba(16,37,43,.2);
  border-radius: 16px;
  background: rgba(255,253,248,.92);
  box-shadow: 0 18px 42px rgba(16,37,43,.16);
  transform: rotate(-6deg);
  backdrop-filter: blur(8px);
  animation: manifestWiggle 6s ease-in-out infinite;
}
.manifest-card > p { margin: 0 0 11px; color: var(--copper); font-size: .66rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.manifest-card div { padding: 6px 0; display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed rgba(16,37,43,.22); }
.manifest-card span { color: #6a7777; font-size: .69rem; text-transform: uppercase; }
.manifest-card strong { font-size: .72rem; text-align: right; }

.kinetic-band {
  position: relative;
  z-index: 5;
  margin: -18px -3vw 0;
  padding: 17px 0;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(90deg, var(--sun), #ffd87a, var(--aqua), #8ae4d8, var(--sun));
  background-size: 260% 100%;
  box-shadow: 0 16px 38px rgba(16, 37, 43, .16);
  transform: rotate(-1.35deg);
  animation: bandColour 8s linear infinite;
}
.kinetic-track { width: max-content; display: flex; align-items: center; gap: 28px; animation: bandRun 23s linear infinite; }
.kinetic-track span { display: inline-flex; align-items: center; gap: 28px; font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.kinetic-track span::after { content: "✦"; color: var(--coral); font-size: 1.2rem; animation: sparkleSpin 3s linear infinite; }

.calling {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 10vw, 150px) max(24px, calc((100vw - 950px) / 2));
  text-align: center;
  background:
    radial-gradient(circle at 15% 22%, rgba(72,214,200,.22), transparent 24%),
    radial-gradient(circle at 85% 72%, rgba(240,107,66,.2), transparent 28%),
    linear-gradient(135deg, #062e36, var(--deep) 42%, #173955 72%, #3a2d66);
  background-size: 170% 170%;
  color: var(--white);
  animation: livingGradient 15s ease-in-out infinite alternate-reverse;
}
.calling::before,
.calling::after { content: ""; position: absolute; z-index: -1; width: 260px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 68px rgba(255,255,255,.025); }
.calling::before { left: -90px; top: -40px; animation: rippleBreathe 6s ease-in-out infinite; }
.calling::after { right: -70px; bottom: -90px; animation: rippleBreathe 7s 1s ease-in-out infinite reverse; }
.calling .section-kicker { color: var(--gold); }
.calling blockquote { margin: 0 auto 26px; font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: 1.02; text-shadow: 0 12px 38px rgba(0,0,0,.16); }
.calling > p:last-child { max-width: 700px; margin: auto; color: #c9dedb; font-size: 1.1rem; }

.invisible-itinerary { padding-block: clamp(95px, 11vw, 155px) 40px; }
.view-switcher { overflow: hidden; border-radius: 30px; background: linear-gradient(135deg, #10252b, #153f48 55%, #263959); color: var(--white); box-shadow: 0 28px 70px rgba(16,37,43,.2); transform: translateZ(0); }
.tab-list { padding: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; border-bottom: 1px solid rgba(255,255,255,.14); }
.tab-list button { min-height: 52px; border: 0; border-radius: 999px; background: transparent; color: #b9cecc; font: 800 .85rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.tab-list button { transition: transform .38s cubic-bezier(.2, 1.7, .3, 1), background .25s ease, color .25s ease; }
.tab-list button:hover { transform: translateY(-2px) scale(1.01); }
.tab-list button[aria-selected="true"] { background: linear-gradient(90deg, var(--sun), #ffd98b); color: var(--ink); box-shadow: 0 8px 25px rgba(255, 200, 87, .22); }
.tab-panel { position: relative; min-height: 510px; padding: clamp(30px, 5vw, 62px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; background: radial-gradient(circle at 100% 0, rgba(242,179,95,.18), transparent 35%); }
.tab-panel[hidden] { display: none; }
.tab-panel.is-active { animation: panelSpring .65s cubic-bezier(.16, 1.2, .3, 1); }
.tab-panel::before { content: ""; position: absolute; left: 50%; top: 64px; bottom: 64px; width: 1px; background: rgba(255,255,255,.13); }
.view-label { grid-column: 1 / -1; margin-bottom: 20px; color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.tab-panel article { padding: 28px clamp(18px, 3.2vw, 44px) 32px 0; display: grid; grid-template-columns: 42px 1fr; gap: 8px 14px; border-bottom: 1px solid rgba(255,255,255,.13); }
.tab-panel article:nth-of-type(even) { padding-left: clamp(18px, 3.2vw, 44px); padding-right: 0; }
.tab-panel article:nth-last-of-type(-n + 2) { border-bottom: 0; }
.tab-panel article > span { color: var(--copper); font-family: var(--serif); font-size: 1.1rem; }
.tab-panel h3 { margin: 0 0 7px; font-family: var(--serif); font-size: clamp(1.55rem, 2.5vw, 2.25rem); font-weight: 500; line-height: 1.05; }
.tab-panel p { margin: 0; color: #bfd0cf; }
#ops-panel { background: radial-gradient(circle at 0 100%, rgba(240,107,66,.3), transparent 38%), radial-gradient(circle at 92% 10%, rgba(72,214,200,.18), transparent 32%), linear-gradient(135deg, var(--deep), #173e57); }

.section-wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.capabilities { padding-block: clamp(90px, 11vw, 155px); }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2,
.details-intro h2,
.toolkit h2,
.field-notes h2,
.about h2,
.credential h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.01;
}
.section-heading > p:last-child { max-width: 620px; margin: 20px 0 0; color: #52686a; font-size: 1.08rem; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.capability-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 390px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  color: var(--white);
  box-shadow: 0 18px 50px rgba(16,37,43,.09);
  transform-style: preserve-3d;
  transition: transform .38s cubic-bezier(.2, 1.4, .3, 1), box-shadow .35s ease;
}
.capability-card::before { content: ""; position: absolute; z-index: -1; width: 240px; aspect-ratio: 1; right: -95px; top: -105px; border-radius: 39% 61% 48% 52%; background: rgba(255,255,255,.14); animation: cardBlob 8s ease-in-out infinite alternate; }
.capability-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(260px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255,255,255,.25), transparent 65%); opacity: 0; transition: opacity .3s ease; }
.capability-card:hover { box-shadow: 0 38px 76px rgba(16,37,43,.22); }
.capability-card:hover::after { opacity: 1; }
.card-teal { background: linear-gradient(145deg, #08736f, #18a49b 58%, #176674); background-size: 160% 160%; animation: cardCurrent 10s ease-in-out infinite alternate; }
.card-copper { background: linear-gradient(145deg, #bc4a33, #ef7547 58%, #d54d63); background-size: 160% 160%; animation: cardCurrent 9s 1s ease-in-out infinite alternate; }
.card-gold { background: linear-gradient(145deg, #ffc857, #ffe08c 58%, #c7e66c); background-size: 160% 160%; color: var(--ink); animation: cardCurrent 11s 2s ease-in-out infinite alternate; }
.card-ink { background: linear-gradient(145deg, #10252b, #21485b 58%, #55428d); background-size: 160% 160%; animation: cardCurrent 12s 3s ease-in-out infinite alternate; }
.card-number { align-self: flex-end; font-family: var(--serif); font-size: 1.3rem; opacity: .72; }
.capability-card h3 { margin: auto 0 12px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3rem); font-weight: 500; line-height: 1; transform: translateZ(24px); }
.capability-card p { margin: 0 0 24px; max-width: 560px; font-size: 1.02rem; opacity: .91; }
.capability-card ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.capability-card li { padding: 6px 11px; border: 1px solid currentColor; border-radius: 999px; font-size: .78rem; font-weight: 750; opacity: .85; transition: transform .35s cubic-bezier(.2, 1.7, .3, 1), background .25s ease; }
.capability-card li:hover { transform: translateY(-4px) rotate(-2deg); background: rgba(255,255,255,.14); }

.details { padding-block: 30px 130px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; }
.details-intro { position: sticky; top: 120px; align-self: start; }
.detail-list { border-top: 1px solid rgba(16,37,43,.22); }
.detail-row { padding: 30px 0; display: grid; grid-template-columns: 52px 1fr; gap: 8px 18px; border-bottom: 1px solid rgba(16,37,43,.22); }
.detail-row { transition: transform .42s cubic-bezier(.2, 1.5, .3, 1), padding .35s ease, background .3s ease, border-radius .3s ease; }
.detail-row:hover { padding-inline: 22px; transform: translateX(10px); border-radius: 18px; background: linear-gradient(90deg, rgba(255,200,87,.18), rgba(72,214,200,.1), transparent); }
.detail-row span { grid-row: 1 / span 2; color: var(--copper); font-family: var(--serif); font-size: 1.2rem; }
.detail-row h3 { margin: 0; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1.15; }
.detail-row p { margin: 0; color: #536a6c; }

.journey { padding-block: 100px 140px; }
.route { position: relative; margin-left: 9%; }
.route::before { content: ""; position: absolute; top: 8px; bottom: 30px; left: 170px; width: 3px; background: repeating-linear-gradient(to bottom, var(--coral) 0 14px, var(--sun) 14px 28px, var(--aqua) 28px 42px, transparent 42px 54px); background-size: 100% 108px; animation: routeFlow 4s linear infinite; }
.route-stop { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 80px; padding: 0 0 56px; }
.route-stop::before { content: ""; position: absolute; left: 161px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 4px solid var(--teal); box-shadow: 0 0 0 8px var(--paper); transition: transform .4s cubic-bezier(.2, 1.8, .3, 1), background .3s ease; }
.route-stop:hover::before { transform: scale(1.55); background: var(--sun); }
.route-stop > div:last-child { transition: transform .38s cubic-bezier(.2, 1.4, .3, 1); }
.route-stop:hover > div:last-child { transform: translateX(10px); }
.route-stop.current::before { background: var(--copper); border-color: var(--copper); animation: currentPulse 2s ease-in-out infinite; }
.route-year { padding-top: 2px; color: var(--copper); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.route-company { margin: 0; color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.route-stop h3 { margin: 4px 0 10px; font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.1; }
.route-stop p:last-child { max-width: 680px; margin: 0; color: #52686a; }

.toolkit { position: relative; padding: 100px 0 88px; overflow: hidden; background: radial-gradient(circle at 10% 10%, rgba(255,255,255,.72), transparent 24%), radial-gradient(circle at 90% 85%, rgba(72,214,200,.28), transparent 28%), linear-gradient(120deg, #ffd58d, #ffb876 35%, #f7da8b 67%, #a8e7d7); background-size: 180% 180%; animation: livingGradient 13s ease-in-out infinite alternate; }
.toolkit::after { content: ""; position: absolute; width: 34rem; height: 10rem; right: -8rem; top: 1rem; border: 2px dashed rgba(16,37,43,.13); border-radius: 50%; transform: rotate(-11deg); animation: pathWobble 7s ease-in-out infinite alternate; }
.toolkit h2 { max-width: 780px; }
.marquee { margin-top: 58px; padding: 18px 0; overflow: hidden; border-top: 1px solid rgba(16,37,43,.25); border-bottom: 1px solid rgba(16,37,43,.25); }
.marquee-track { width: max-content; display: flex; gap: 42px; animation: marquee 29s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3.1rem); white-space: nowrap; }
.marquee-track span { transition: color .25s ease, transform .35s cubic-bezier(.2, 1.6, .3, 1); }
.marquee-track span:hover { color: var(--deep); transform: translateY(-5px) rotate(-1deg); }
.marquee-track span::after { content: "✦"; display: inline-block; margin-left: 42px; color: var(--copper); font-size: .55em; vertical-align: middle; animation: sparkleSpin 4s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

.field-notes {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(105px, 12vw, 170px);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 200, 87, .27), transparent 24rem),
    radial-gradient(circle at 92% 78%, rgba(72, 214, 200, .22), transparent 28rem),
    linear-gradient(145deg, #fff8e9 0%, #f7e1c2 40%, #d9eee5 100%);
}
.field-notes::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70vw;
  height: 16rem;
  left: -12vw;
  top: 40%;
  border: 2px dashed rgba(8, 63, 67, .15);
  border-radius: 50%;
  transform: rotate(-7deg);
  animation: fieldRoute 10s ease-in-out infinite alternate;
}
.field-notes-heading {
  margin-bottom: 58px;
  display: grid;
  grid-template-columns: 1fr .58fr;
  gap: clamp(34px, 7vw, 92px);
  align-items: end;
}
.field-notes-heading h2 { margin: 0; max-width: 760px; }
.field-notes-heading > p {
  margin: 0 0 8px;
  color: #3d5759;
  font-size: 1.08rem;
}
.postcard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, minmax(290px, 34vw));
  gap: 22px;
  perspective: 1200px;
}
.postcard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, .86);
  border-radius: 28px;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 25px 65px rgba(16, 37, 43, .18);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.16, 1.35, .3, 1), box-shadow .4s ease, border-radius .5s ease;
}
.postcard::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(8, 29, 32, .84) 100%);
  pointer-events: none;
}
.postcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1), filter .55s ease;
}
.postcard:hover {
  border-radius: 48px 20px 52px 24px;
  box-shadow: 0 42px 85px rgba(16, 37, 43, .28);
}
.postcard:hover img { transform: scale(1.075); filter: saturate(1.12) contrast(1.03); }
.postcard-shine {
  position: absolute;
  z-index: 2;
  inset: -30% 58% -30% -65%;
  transform: skewX(-13deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: translate .8s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}
.postcard:hover .postcard-shine { translate: 310% 0; }
.postcard-copy {
  position: absolute;
  z-index: 3;
  inset: auto clamp(22px, 4vw, 42px) clamp(22px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  transform: translateZ(42px);
}
.postcard-copy span {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.postcard-copy strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 4rem);
  font-weight: 500;
  line-height: .98;
  text-shadow: 0 6px 25px rgba(0,0,0,.25);
  transition: transform .5s cubic-bezier(.16, 1.4, .3, 1);
}
.postcard:hover .postcard-copy strong { transform: translateY(-7px); }
.postcard-copy small { margin-top: 10px; color: rgba(255,255,255,.78); font-size: .82rem; letter-spacing: .04em; }
.postcard-dune { grid-column: 1 / 6; grid-row: 1 / 3; }
.postcard-dune img { object-position: 50% 40%; }
.postcard-friends { grid-column: 6 / 13; grid-row: 1; }
.postcard-home { grid-column: 6 / 13; grid-row: 2; }
.postcard-home img { object-position: 50% 56%; }
.postcard-friends .postcard-copy strong,
.postcard-home .postcard-copy strong { font-size: clamp(2rem, 3vw, 3.5rem); }
.expedition-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: minmax(380px, 34vw) minmax(270px, 23vw);
  gap: 22px;
  perspective: 1400px;
}
.expedition-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, .88);
  border-radius: 28px;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 24px 64px rgba(16, 37, 43, .2);
  translate: 0 0;
  transform: translateZ(0);
  animation: expeditionBob 7s ease-in-out var(--float-delay, 0s) infinite;
  transition: transform .55s cubic-bezier(.16, 1.35, .3, 1), border-radius .5s ease, box-shadow .45s ease;
}
.expedition-card:nth-child(2) { --float-delay: -1.4s; --reveal-delay: 90ms; }
.expedition-card:nth-child(3) { --float-delay: -3s; --reveal-delay: 180ms; }
.expedition-card:nth-child(4) { --float-delay: -4.6s; --reveal-delay: 270ms; }
.expedition-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,29,32,.03) 30%, rgba(8,29,32,.88) 100%);
  pointer-events: none;
}
.expedition-card::after {
  content: "↗";
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--deep);
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(8,29,32,.18);
  transition: transform .45s cubic-bezier(.2, 1.6, .3, 1), background .25s ease;
}
.expedition-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s cubic-bezier(.16, 1, .3, 1), filter .55s ease;
}
.expedition-card:hover {
  transform: translateY(-7px) scale(1.012);
  border-radius: 48px 20px 52px 24px;
  box-shadow: 0 38px 82px rgba(16, 37, 43, .3);
}
.expedition-card:hover img { transform: scale(1.075); filter: saturate(1.14) contrast(1.04); }
.expedition-card:hover::after { transform: rotate(45deg) scale(1.1); background: var(--gold); }
.expedition-copy {
  position: absolute;
  z-index: 3;
  inset: auto clamp(20px, 3vw, 38px) clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}
.expedition-copy > span {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.expedition-copy strong {
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 4.2rem);
  font-weight: 500;
  line-height: .96;
  text-shadow: 0 6px 24px rgba(0,0,0,.28);
  transition: transform .5s cubic-bezier(.16, 1.4, .3, 1);
}
.expedition-card:hover .expedition-copy strong { transform: translateY(-7px); }
.expedition-copy small { margin-top: 10px; color: rgba(255,255,255,.8); font-size: .82rem; letter-spacing: .04em; }
.expedition-canyon { grid-column: 1 / 9; grid-row: 1; }
.expedition-canyon img { object-position: 50% 48%; }
.expedition-basecamp { grid-column: 9 / 13; grid-row: 1 / 3; }
.expedition-basecamp img { object-position: 50% 48%; }
.expedition-basecamp .expedition-copy strong,
.expedition-hike .expedition-copy strong,
.expedition-namib .expedition-copy strong { font-size: clamp(1.75rem, 2.6vw, 3.1rem); }
.expedition-hike { grid-column: 1 / 6; grid-row: 2; }
.expedition-hike img { object-position: 50% 48%; }
.expedition-namib { grid-column: 6 / 9; grid-row: 2; }
.expedition-namib img { object-position: 50% 42%; }
.expedition-route {
  position: absolute;
  z-index: 2;
  width: 190px;
  height: 92px;
  right: 64px;
  top: 48px;
  border: 2px dashed rgba(255,255,255,.72);
  border-left-color: transparent;
  border-radius: 50%;
  rotate: -12deg;
  animation: routeLoop 7s ease-in-out infinite alternate;
}
.expedition-route::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  right: 15px;
  bottom: 2px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 0 rgba(240,107,66,.5);
  animation: nodePulse 2.4s ease-out infinite;
}
.expedition-stamp {
  position: absolute;
  z-index: 3;
  top: 26px;
  left: 26px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
  background: rgba(8,29,32,.42);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  rotate: -2deg;
  animation: stampBounce 4.5s ease-in-out infinite;
}
.field-notes-link {
  width: fit-content;
  margin: 42px auto 0;
  padding: 12px 19px;
  display: block;
  border: 1px solid rgba(8, 63, 67, .35);
  border-radius: 999px;
  color: var(--deep);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .04em;
  transition: transform .4s cubic-bezier(.2, 1.7, .3, 1), background .25s ease, color .25s ease;
}
.field-notes-link:hover { transform: translateY(-5px) rotate(-1deg); background: var(--deep); color: var(--white); }

.about { padding-block: 130px; display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: start; }
.about-copy > p:not(.section-kicker) { max-width: 650px; color: #536a6c; font-size: 1.08rem; }
.about-notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-notes div { min-height: 170px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(255,200,87,.22), rgba(72,214,200,.18)); border: 1px solid rgba(16,37,43,.14); box-shadow: 0 14px 35px rgba(16,37,43,.06); transform-style: preserve-3d; transition: transform .38s cubic-bezier(.2, 1.5, .3, 1), box-shadow .3s ease; }
.about-notes div:nth-child(2) { background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(72,214,200,.24), rgba(99,84,184,.14)); }
.about-notes div:nth-child(3) { background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(240,107,66,.2), rgba(255,200,87,.2)); }
.about-notes div:nth-child(4) { background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(199,230,108,.24), rgba(72,214,200,.16)); }
.about-notes div:hover { box-shadow: 0 24px 48px rgba(16,37,43,.14); }
.about-notes span { color: var(--copper); font-family: var(--serif); }
.about-notes p { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }

.credential { position: relative; isolation: isolate; overflow: hidden; margin-bottom: 130px; padding: 42px 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; border-radius: 26px; background: linear-gradient(120deg, var(--sun), #ffe090, var(--lime), var(--aqua)); background-size: 230% 100%; box-shadow: 0 24px 55px rgba(16,37,43,.12); animation: credentialFlow 9s ease-in-out infinite alternate; }
.credential::after { content: "426"; position: absolute; z-index: -1; right: 2%; top: -45%; color: rgba(255,255,255,.27); font-family: var(--serif); font-size: 13rem; line-height: 1; transform: rotate(-7deg); animation: ghostNumber 7s ease-in-out infinite alternate; }
.credential h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.credential-meta { display: flex; flex-direction: column; text-align: right; font-size: .88rem; font-weight: 750; }

.contact { position: relative; isolation: isolate; overflow: hidden; padding: clamp(100px, 12vw, 170px) 24px; background: radial-gradient(circle at 15% 15%, rgba(255,200,87,.28), transparent 30%), radial-gradient(circle at 85% 80%, rgba(72,214,200,.18), transparent 32%), linear-gradient(135deg, #8f3f3c, #c75249 36%, #7b3d6c 72%, #304f71); background-size: 180% 180%; color: var(--white); animation: livingGradient 13s ease-in-out infinite alternate; }
.contact::before,
.contact::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; animation: contactOrbit 13s linear infinite; }
.contact::before { width: 29rem; aspect-ratio: 1; left: -12rem; top: -9rem; box-shadow: 0 0 0 38px rgba(255,255,255,.025), 0 0 0 76px rgba(255,255,255,.018); }
.contact::after { width: 22rem; aspect-ratio: 1; right: -8rem; bottom: -8rem; animation-direction: reverse; }
.contact-inner { width: min(980px, 100%); margin: auto; text-align: center; }
.contact .section-kicker { color: var(--gold); }
.contact h2 { max-width: 900px; margin-inline: auto; }
.contact-email { display: inline-block; margin: 40px 0 34px; color: var(--white); font-family: var(--serif); font-size: clamp(1.25rem, 2.5vw, 2rem); text-underline-offset: 8px; }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.social-links a { position: relative; min-height: 46px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; text-decoration: none; font-size: .82rem; font-weight: 800; transition: transform .4s cubic-bezier(.2, 1.7, .3, 1), background .25s ease, color .25s ease; }
.social-links a:hover { background: var(--white); color: var(--rose); transform: translateY(-6px) rotate(-2deg); }
.social-links a:nth-child(2):hover { transform: translateY(-6px) rotate(2deg); }

footer { padding: 24px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--ink); color: #d1dedd; }
footer p { margin: 0; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-signoff { display: grid; gap: 5px; }
.footer-signoff p:first-child { color: var(--white); font-weight: 900; }
.footer-signoff p:last-child { color: #8fa5a5; font-size: .75rem; }
.footer-place { color: #8fa5a5; white-space: nowrap; }
.footer-credit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: max-content;
  padding: 10px 14px 10px 16px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 12px;
  border: 1px solid rgba(72,214,200,.32);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(72,214,200,.08), rgba(255,200,87,.08));
  color: #bed1d0;
  text-decoration: none;
  transition: transform .4s cubic-bezier(.2, 1.6, .3, 1), border-color .3s ease, background .3s ease;
}
.footer-credit::before { content: ""; position: absolute; z-index: -1; inset: 0; translate: -110% 0; background: linear-gradient(100deg, transparent, rgba(255,255,255,.13), transparent); transition: translate .65s ease; }
.footer-credit span { grid-column: 1; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-credit strong { grid-column: 1; color: var(--white); font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; }
.footer-credit i { grid-column: 2; grid-row: 1 / 3; color: var(--gold); font-style: normal; font-size: 1.15rem; transition: transform .4s cubic-bezier(.2, 1.8, .3, 1); }
.footer-credit:hover { transform: translateY(-4px) rotate(-.5deg); border-color: rgba(255,200,87,.72); background: linear-gradient(120deg, rgba(72,214,200,.16), rgba(255,200,87,.16)); }
.footer-credit:hover::before { translate: 110% 0; }
.footer-credit:hover i { transform: translate(3px, -3px) rotate(6deg); }

.reveal { opacity: 0; transform: translateY(38px) scale(.965) rotate(.35deg); }
.reveal.is-visible { animation: springReveal .9s var(--reveal-delay, 0ms) cubic-bezier(.16, 1.22, .3, 1) both; }
.expedition-card.reveal.is-visible { animation: springReveal .9s var(--reveal-delay, 0ms) cubic-bezier(.16, 1.22, .3, 1) both, expeditionBob 7s ease-in-out var(--float-delay, 0s) infinite; }
.capability-card:nth-child(2), .about-notes div:nth-child(2) { --reveal-delay: 90ms; }
.capability-card:nth-child(3), .about-notes div:nth-child(3) { --reveal-delay: 180ms; }
.capability-card:nth-child(4), .about-notes div:nth-child(4) { --reveal-delay: 270ms; }
.postcard-friends { --reveal-delay: 100ms; }
.postcard-home { --reveal-delay: 200ms; }

@keyframes progressGlow { to { background-position: 250% 0; } }
@keyframes livingGradient {
  0% { background-position: 0% 20%, 100% 10%, 30% 100%, 0% 50%; }
  55% { background-position: 30% 0%, 70% 35%, 55% 70%, 55% 50%; }
  100% { background-position: 65% 35%, 25% 0%, 75% 40%, 100% 50%; }
}
@keyframes rippleBreathe { 50% { transform: scale(1.09) rotate(4deg); opacity: .7; } }
@keyframes driftOne { to { translate: 90px -35px; rotate: 21deg; border-radius: 64% 36% 39% 61% / 41% 55% 45% 59%; } }
@keyframes driftTwo { to { translate: -100px 70px; rotate: -28deg; border-radius: 56% 44% 31% 69% / 58% 33% 67% 42%; } }
@keyframes driftThree { to { translate: 40px -75px; rotate: 32deg; scale: 1.18; } }
@keyframes pathWobble { to { transform: rotate(-11deg) scale(1.05); } }
@keyframes fieldRoute { to { transform: translate(12vw, -38px) rotate(3deg) scale(1.06); } }
@keyframes expeditionBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes routeLoop { to { translate: -22px 12px; rotate: 18deg; scale: 1.08; } }
@keyframes stampBounce { 0%, 100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -8px; rotate: 2deg; } }
@keyframes nodePulse { 50% { transform: scale(1.8); box-shadow: 0 0 0 14px rgba(240, 107, 66, 0); } }
@keyframes textCurrent { to { background-position: 260% center; } }
@keyframes buttonCurrent { 50% { background-position: 100% 0; } }
@keyframes tinyBounce { 35% { transform: translateY(-5px) rotate(-2deg); } 70% { transform: translateY(1px) rotate(1deg); } }
@keyframes sunMorph { to { transform: translate(6%, -9%) rotate(16deg) scale(1.06); border-radius: 44% 56% 59% 41% / 55% 43% 57% 45%; } }
@keyframes portraitFloat { 0%, 100% { transform: rotate(2.5deg) translateY(0); } 50% { transform: rotate(.6deg) translateY(-13px); } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes labelBounce { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes manifestWiggle { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
@keyframes bandColour { to { background-position: 260% 0; } }
@keyframes bandRun { to { transform: translateX(-50%); } }
@keyframes sparkleSpin { to { transform: rotate(360deg); } }
@keyframes panelSpring { 0% { opacity: 0; transform: translateY(20px) scale(.985); } 65% { opacity: 1; transform: translateY(-3px) scale(1.004); } 100% { transform: none; } }
@keyframes cardBlob { to { transform: translate(-34px, 48px) rotate(38deg) scale(1.24); border-radius: 63% 37% 59% 41%; } }
@keyframes cardCurrent { to { background-position: 100% 100%; } }
@keyframes routeFlow { to { background-position: 0 108px; } }
@keyframes currentPulse { 50% { transform: scale(1.35); box-shadow: 0 0 0 14px rgba(240,107,66,0); } }
@keyframes credentialFlow { to { background-position: 100% 0; } }
@keyframes ghostNumber { to { transform: translate(-24px, 18px) rotate(4deg); } }
@keyframes contactOrbit { to { transform: rotate(360deg) scale(1.08); } }
@keyframes springReveal {
  0% { opacity: 0; transform: translateY(42px) scale(.96) rotate(.4deg); }
  62% { opacity: 1; transform: translateY(-7px) scale(1.008) rotate(-.15deg); }
  82% { transform: translateY(3px) scale(.997); }
  100% { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { order: 1; }
  .portrait-stage { order: 0; min-height: 470px; }
  .portrait-frame { width: min(78vw, 390px); }
  .sun-disc { width: min(72vw, 350px); }
  .portrait-orbit { width: min(88vw, 470px); }
  .orbit-b { width: min(82vw, 430px); }
  .label-top { right: 2%; }
  .label-bottom { left: 2%; }
  .manifest-card { left: 0; top: 3%; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .capability-grid, .details, .about, .field-notes-heading { grid-template-columns: 1fr; }
  .postcard-grid { grid-template-rows: minmax(620px, 92vw) repeat(2, minmax(330px, 48vw)); }
  .postcard-dune { grid-column: 1 / 13; grid-row: 1; }
  .postcard-friends { grid-column: 1 / 13; grid-row: 2; }
  .postcard-home { grid-column: 1 / 13; grid-row: 3; }
  .expedition-grid { grid-template-rows: minmax(420px, 62vw) minmax(520px, 74vw) minmax(320px, 46vw); }
  .expedition-canyon { grid-column: 1 / 13; grid-row: 1; }
  .expedition-basecamp { grid-column: 1 / 7; grid-row: 2; }
  .expedition-namib { grid-column: 7 / 13; grid-row: 2; }
  .expedition-hike { grid-column: 1 / 13; grid-row: 3; }
  .tab-panel { grid-template-columns: 1fr; }
  .tab-panel::before { display: none; }
  .tab-panel article, .tab-panel article:nth-of-type(even) { padding-inline: 0; }
  .tab-panel article:nth-last-of-type(2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .details-intro { position: static; }
  .route { margin-left: 0; }
  .credential { align-items: flex-start; flex-direction: column; }
  .credential-meta { text-align: left; }
}

@media (max-width: 620px) {
  body { background-attachment: scroll; }
  .site-header { min-height: 66px; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.7rem); }
  .hero { min-height: auto; padding-bottom: 90px; }
  .portrait-stage { min-height: 400px; }
  .portrait-frame { width: min(78vw, 330px); border-width: 7px; }
  .portrait-orbit { width: min(94vw, 390px); opacity: .7; }
  .portrait-caption { display: none; }
  .manifest-card { display: none; }
  .tab-list { grid-template-columns: 1fr; }
  .calling, .capabilities, .journey, .about { padding-block: 90px; }
  .field-notes { padding-block: 90px; }
  .field-notes-heading { margin-bottom: 38px; }
  .postcard-grid { width: calc(100% - 32px); grid-template-rows: minmax(500px, 132vw) repeat(2, minmax(310px, 82vw)); gap: 14px; }
  .postcard { border-width: 6px; border-radius: 22px; }
  .postcard-copy { inset: auto 22px 24px; }
  .postcard-copy strong, .postcard-friends .postcard-copy strong, .postcard-home .postcard-copy strong { font-size: clamp(2rem, 11vw, 3.1rem); }
  .expedition-grid { width: calc(100% - 32px); grid-template-rows: 330px 500px 310px 500px; gap: 14px; }
  .expedition-canyon, .expedition-basecamp, .expedition-hike, .expedition-namib { grid-column: 1 / 13; }
  .expedition-canyon { grid-row: 1; }
  .expedition-basecamp { grid-row: 2; }
  .expedition-hike { grid-row: 3; }
  .expedition-namib { grid-row: 4; }
  .expedition-card { border-width: 6px; border-radius: 22px; }
  .expedition-copy { inset: auto 22px 24px; }
  .expedition-copy strong, .expedition-basecamp .expedition-copy strong, .expedition-hike .expedition-copy strong, .expedition-namib .expedition-copy strong { font-size: clamp(1.9rem, 10.2vw, 3rem); }
  .expedition-route { width: 135px; height: 68px; right: 40px; top: 60px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 340px; }
  .details { gap: 44px; padding-bottom: 90px; }
  .detail-row { grid-template-columns: 38px 1fr; }
  .route::before { left: 8px; }
  .route-stop { grid-template-columns: 1fr; gap: 8px; padding-left: 42px; }
  .route-stop::before { left: 0; }
  .route-year { padding: 0; }
  .about-notes { grid-template-columns: 1fr 1fr; }
  .about-notes div { min-height: 145px; padding: 18px; }
  .credential { width: calc(100% - 32px); padding: 30px 24px; }
  footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer-credit { width: 100%; min-width: 0; }
  .kinetic-band { width: 100%; margin: -8px 0 0; padding-block: 13px; transform: none; }
  .kinetic-track { animation-duration: 18s; }
  .cursor-glow { display: none; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
  [data-tilt] { transform: none !important; }
}

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