:root {
  --ink: #0b0d10;
  --paper: #f3efe6;
  --mute: #b9b4aa;
  --gold: #e8b23a;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
em { font-style: italic; color: var(--gold); }
img { display: block; max-width: 100%; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center;
  justify-content: space-between; padding: 18px var(--pad);
  background: linear-gradient(rgba(11,13,16,.55), transparent);
}
.brand { font: 400 26px/1 var(--serif); text-decoration: none; }
.brand em { color: var(--paper); opacity: .7; }
.nav nav { display: flex; gap: clamp(10px, 2.4vw, 32px); align-items: center; }
.nav nav a {
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
  text-decoration: none; font-size: 14px; letter-spacing: .04em;
  opacity: .85; padding: 12px 2px;
}
.nav nav a:hover { opacity: 1; }
.nav .pill { border: 1px solid rgba(243,239,230,.45); border-radius: 999px; padding: 10px 18px; }
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 30; }
.progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }

/* scenes */
.scene { position: relative; height: var(--h, 100vh); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11,13,16,.15), rgba(11,13,16,.6)); }
.shade.left { background: linear-gradient(90deg, rgba(11,13,16,.75), rgba(11,13,16,0) 65%); }
.shade.bottom { background: linear-gradient(0deg, rgba(11,13,16,.9) 10%, rgba(11,13,16,.1) 70%); }

.copy {
  position: absolute; z-index: 2; opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.copy.on { opacity: 1; transform: none; pointer-events: auto; }
.copy.center { inset: 0; display: grid; place-content: center; text-align: center; padding: var(--pad); }
.copy.left { left: var(--pad); bottom: 14vh; max-width: 620px; }
.copy.wide { left: var(--pad); right: var(--pad); bottom: 8vh; max-width: 980px; }
.copy.center .lede { text-shadow: 0 2px 24px rgba(0,0,0,.55); }

.kicker { margin: 0 0 14px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.display { margin: 0; font: 400 clamp(64px, 14vw, 220px)/.88 var(--serif); letter-spacing: -.02em; }
.display em { color: var(--paper); }
.display.sm { font-size: clamp(48px, 9vw, 140px); }
.display.sm em { color: var(--gold); }
.title { margin: 0 0 18px; font: 400 clamp(36px, 5vw, 68px)/1.02 var(--serif); }
.lede { margin: 18px 0 0; font: 400 clamp(22px, 2.6vw, 34px)/1.25 var(--serif); }
.body { margin: 0; font-size: clamp(16px, 1.3vw, 19px); max-width: 52ch; }
.press { margin: 22px 0 0; font-size: 13px; color: var(--mute); }
.press span { margin-left: 12px; color: var(--paper); }
.cue {
  position: absolute; bottom: 5vh; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: 0; transition: opacity .6s;
}
.cue.on { opacity: .8; }
.cue::after { content: ""; display: block; width: 1px; height: 40px; margin: 12px auto 0; background: var(--paper); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* climb */
.climb { padding: 18vh var(--pad) 12vh; background: var(--ink); }
.climb-head { max-width: 1240px; margin: 0 auto 10vh; }
.climb-head .title { max-width: 760px; }
.chapter {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 110px); align-items: center;
  text-decoration: none; margin: 0 auto 12vh; max-width: 1240px;
}
.chapter.flip figure { order: 2; }
.chapter figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; width: min(100%, 68vh); border-radius: 2px; }
.chapter.flip figure { justify-self: end; }
.chapter img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--py, 0)); transition: scale .8s ease; }
.chapter:hover img { scale: 1.04; }
.num { font: 400 22px var(--serif); color: var(--gold); }
.chapter h3 { margin: 6px 0 12px; font: 400 clamp(44px, 6vw, 88px)/1 var(--serif); }
.chapter p { margin: 0 0 22px; color: var(--mute); max-width: 38ch; }
.more { font-size: 14px; letter-spacing: .08em; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }

/* stories */
.posts { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.posts a {
  display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid rgba(243,239,230,.2); text-decoration: none;
  font: 400 clamp(22px, 2.6vw, 36px)/1.15 var(--serif);
}
.posts a:hover span { color: var(--gold); }
.posts time { font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* camp */
.services { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 28px; padding: 0; }
.services li { border: 1px solid rgba(243,239,230,.35); border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.cta { display: inline-block; font: 400 clamp(28px, 4vw, 54px)/1.1 var(--serif); color: var(--gold); text-decoration: none; border-bottom: 1px solid; }
.social { display: flex; gap: 24px; margin: 22px 0 0; font-size: 14px; }
.social a { padding: 10px 0; text-decoration: none; opacity: .85; }

.foot { display: flex; justify-content: space-between; gap: 16px; padding: 28px var(--pad); font-size: 13px; color: var(--mute); }

@media (max-width: 760px) {
  .nav nav a:not(.pill) { display: none; }
  .chapter { grid-template-columns: 1fr; }
  .chapter.flip figure { order: 0; }
  .copy.left { right: var(--pad); bottom: 10vh; }
  .posts a { grid-template-columns: 1fr; gap: 4px; }
  .foot { flex-direction: column; }
}

/* reduced motion: no scrubbing, scenes become single screens with posters */
@media (prefers-reduced-motion: reduce) {
  .scene { height: auto; }
  .stage { position: relative; min-height: 100svh; }
  .copy { opacity: 1; transform: none; transition: none; pointer-events: auto; }
  .copy + .copy { display: none; }
  .cue::after { animation: none; }
  .chapter img { transform: none; }
}
