/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-italic-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #05080f;
  --bg-2: #0a1220;
  --ink: #eef4fb;
  --muted: #93a6bf;
  --ice: #b4dcff;
  --ice-strong: #7cc0f5;
  --tiger: #f59a45;
  --tiger-deep: #e0701c;
  --line: rgba(180, 220, 255, 0.14);
  --line-strong: rgba(180, 220, 255, 0.32);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --intro: 1.55s; /* how long the intro curtain stays before the hero comes in */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  font-variant-numeric: lining-nums; /* the serif defaults to old-style figures, which read badly in "3A", years and counters */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ol {
  margin: 0;
}

ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--tiger);
  color: var(--bg);
}

:focus-visible {
  outline: 1px solid var(--ice);
  outline-offset: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--pad);
  top: 12px;
  z-index: 300;
  padding: 8px 14px;
  background: var(--ice);
  color: var(--bg);
}

/* ---------- Film grain + cursor trail ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.trail {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
}

/* ---------- Intro curtain ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: var(--bg);
}
.js .intro {
  display: grid;
  animation: intro-out 0.9s cubic-bezier(0.75, 0, 0.2, 1) var(--intro) forwards;
}
.logo {
  overflow: visible;
  color: var(--ink);
}
.logo circle {
  filter: drop-shadow(0 0 3px var(--tiger));
}
.intro__logo {
  width: clamp(120px, 16vw, 168px);
  height: auto;
  animation: intro-pop 0.8s var(--ease) both;
}
@keyframes intro-pop {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
}
@keyframes intro-out {
  to {
    transform: translateY(-100%);
    visibility: hidden;
  }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header.is-scrolled {
  padding-block: 12px;
  background: rgba(5, 8, 15, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  width: 50px;
  height: 50px;
  margin-block: -6px;
  transition: transform 0.7s var(--ease);
}
.brand:hover .brand__logo {
  transform: rotate(-8deg) scale(1.08);
}
.brand__name {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.brand__name em {
  font-style: italic;
  color: var(--tiger);
}

.nav {
  display: flex;
  gap: clamp(16px, 2.6vw, 38px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  padding-block: 6px;
  color: var(--muted);
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--tiger);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}
.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 120px clamp(56px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: -6% 0 -6% 0;
  z-index: -3;
  will-change: transform;
}
.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
  animation: drift 24s ease-in-out infinite alternate;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}
@keyframes drift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -1%, 0);
  }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(5, 8, 15, 0) 36%),
    linear-gradient(to right, rgba(5, 8, 15, 0.88) 0%, rgba(5, 8, 15, 0.42) 44%, rgba(5, 8, 15, 0) 72%);
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 74%) var(--my, 46%), rgba(180, 220, 255, 0.16), transparent 62%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero__dust {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__content {
  will-change: transform, opacity;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--tiger);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.hero__title {
  margin-top: clamp(18px, 3vh, 30px);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(76px, 15vw, 232px);
  line-height: 0.82;
  letter-spacing: -0.03em;
}
.hero__title span,
.hero__title em {
  display: block;
}
.hero__title em {
  padding-left: 0.52em;
  font-style: italic;
  font-weight: 300;
  color: var(--tiger);
  text-shadow: 0 0 80px rgba(245, 154, 69, 0.35);
}
.char {
  display: inline-block;
}
.js .char {
  opacity: 0;
  transform: translateY(0.36em) rotate(5deg);
  filter: blur(10px);
  animation: char-in 1.15s var(--ease) forwards;
  animation-delay: calc(var(--intro) + 0.15s + var(--i) * 60ms);
}
@keyframes char-in {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.hero__tagline {
  margin-top: clamp(26px, 4.5vh, 46px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  color: var(--ink);
}
.js [data-hero] {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: calc(var(--intro) + 0.1s + var(--d, 0s));
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: clamp(56px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, var(--ice), transparent);
  animation: fall 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes fall {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  40% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1) translateY(24px);
    opacity: 0;
  }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding-block: clamp(14px, 2.6vh, 30px);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 0.42em;
  width: max-content;
  font-family: var(--serif);
  font-size: clamp(56px, 9.5vw, 150px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.15;
  white-space: nowrap;
  will-change: transform;
}
.marquee__track span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(180, 220, 255, 0.6);
}
.marquee__track .is-fill {
  color: var(--ink);
  -webkit-text-stroke: 0;
}
.marquee__track .is-tiger {
  color: var(--tiger);
  -webkit-text-stroke: 0;
}
.marquee__track i {
  flex: none;
  width: 0.13em;
  height: 0.13em;
  background: var(--tiger);
  transform: rotate(45deg);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: clamp(96px, 15vh, 190px);
  isolation: isolate;
}
.section__head {
  max-width: 860px;
  margin-bottom: clamp(44px, 7vh, 84px);
}
.section__index {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.section__index b {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--tiger);
}
.section__title {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.section__title em {
  font-style: italic;
  color: var(--ice);
}
.tigers .section__title em {
  color: var(--tiger);
}
.lead {
  margin-top: clamp(22px, 3vh, 34px);
  max-width: 660px;
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--muted);
}
.lead strong {
  font-weight: 500;
  color: var(--ink);
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 192, 245, 0.13), transparent);
  animation: float 22s ease-in-out infinite alternate;
}
.aurora::before {
  top: -22%;
  left: -18%;
}
.aurora::after {
  right: -24%;
  bottom: -30%;
  animation-duration: 28s;
  animation-direction: alternate-reverse;
}
.aurora--warm::after {
  background: radial-gradient(closest-side, rgba(245, 154, 69, 0.12), transparent);
}
@keyframes float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(9%, 7%, 0) scale(1.18);
  }
}

/* ---------- 01 Axel ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}
.about__media {
  position: relative;
}
.about__media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--line-strong);
  pointer-events: none;
}
.about__figure {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__text p + p {
  margin-top: 1.25em;
}
.about__text p {
  max-width: 560px;
  color: var(--muted);
}
.about__text .section__title + p {
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.34;
  color: var(--ink);
}
.about__text .section__title {
  margin-bottom: clamp(26px, 4vh, 44px);
}

.timeline {
  margin-top: clamp(36px, 6vh, 60px);
  border-top: 1px solid var(--line);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 4.6em minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  transition: padding 0.5s var(--ease);
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--tiger);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.timeline li:hover {
  padding-left: 12px;
}
.timeline li:hover::after {
  transform: scaleX(1);
}
.timeline b {
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  color: var(--tiger);
  font-variant-numeric: lining-nums;
}
.timeline strong {
  font-weight: 500;
  color: var(--ink);
}

/* ---------- 02 Anatomy (pinned scene) ---------- */
.scene {
  position: relative;
  height: 420vh;
  background: var(--bg);
}
.scene__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.scene__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(42vmin circle at 50% 54%, rgba(124, 192, 245, 0.22), transparent 70%),
    radial-gradient(80vmin circle at 50% 54%, rgba(245, 154, 69, 0.08), transparent 70%);
  opacity: var(--glow, 0.3);
}
.scene__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(64vh, 580px)) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "head svg phases"
    "count svg phases";
  column-gap: clamp(24px, 4vw, 72px);
  align-items: center;
  height: 100%;
  padding-block: 92px 48px;
}
.scene__head {
  grid-area: head;
  align-self: end;
  padding-bottom: 12px;
}
.scene__title {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 300;
  line-height: 1;
}
.scene__title em {
  font-style: italic;
  color: var(--ice);
}
.scene__count {
  grid-area: count;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.scene__num {
  font-family: var(--serif);
  font-size: clamp(110px, 14vw, 220px);
  font-style: italic;
  font-weight: 300;
  line-height: 0.86;
  color: var(--tiger);
  font-variant-numeric: lining-nums;
  text-shadow: 0 0 90px rgba(245, 154, 69, 0.4);
}
.scene__unit {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.scene__svg {
  grid-area: svg;
  width: 100%;
  height: auto;
  overflow: visible;
}
.s-ghost {
  fill: none;
  stroke: var(--ice);
  stroke-width: 1;
  opacity: 0.12;
}
.s-line {
  fill: none;
  stroke: var(--ice);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 7px rgba(180, 220, 255, 0.6));
}
.s-exit {
  stroke: var(--tiger);
  filter: drop-shadow(0 0 8px rgba(245, 154, 69, 0.7));
}
.s-pulse {
  fill: none;
  stroke: var(--tiger);
  stroke-width: 1.5;
  opacity: 0;
}
.s-ticks circle {
  fill: var(--bg);
  stroke: var(--line-strong);
  stroke-width: 1.2;
  transition: fill 0.3s, stroke 0.3s;
}
.s-ticks text {
  fill: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  opacity: 0.45;
  transition: opacity 0.3s, fill 0.3s;
}
.s-ticks .is-on circle {
  fill: var(--tiger);
  stroke: var(--tiger);
}
.s-ticks .is-on text {
  fill: var(--ink);
  opacity: 1;
}
.s-head {
  fill: #fff;
  filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 22px var(--ice-strong));
}

.scene__phases {
  grid-area: phases;
  display: grid;
  gap: 4px;
}
.scene__phases li {
  position: relative;
  padding: 14px 0 14px 26px;
  opacity: 0.28;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.scene__phases li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--tiger);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease);
}
.scene__phases li.is-on {
  opacity: 1;
  transform: translateX(8px);
}
.scene__phases li.is-on::before {
  transform: scaleY(1);
}
.scene__phases b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 38px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}
.scene__phases span {
  display: block;
  margin-top: 6px;
  max-width: 300px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.scene__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--line);
}
.scene__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(to right, var(--ice-strong), var(--tiger));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* ---------- 03 Jumps ---------- */
.jumps {
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-2) 22%, var(--bg-2) 78%, var(--bg) 100%);
}
.jumps__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.jumps__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.jump-tab {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.35s, padding 0.5s var(--ease);
}
.jump-tab__name {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
}
.jump-tab__code {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
}
.jump-tab::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--tiger);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.jump-tab:hover {
  padding-left: 10px;
  color: var(--ink);
}
.jump-tab[aria-selected="true"] {
  padding-left: 18px;
  color: var(--ink);
}
.jump-tab[aria-selected="true"] .jump-tab__name {
  font-style: italic;
  color: var(--tiger);
}
.jump-tab[aria-selected="true"]::before {
  transform: scaleX(1);
}

.jump-panel {
  position: relative;
  padding: clamp(24px, 3.4vw, 48px);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(180, 220, 255, 0.08), rgba(180, 220, 255, 0) 60%);
  overflow: hidden;
}
.jump-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--gx, 80%) var(--gy, 0%), rgba(245, 154, 69, 0.1), transparent 70%);
  pointer-events: none;
}
.jump-panel__ghost {
  position: absolute;
  top: -0.2em;
  right: 0.08em;
  font-family: var(--serif);
  font-size: clamp(120px, 17vw, 240px);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: var(--ice);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}
.jump-panel__body {
  position: relative;
}
.jump-panel.is-swap .jump-panel__body,
.jump-panel.is-swap .jump-panel__ghost {
  animation: swap 0.7s var(--ease) both;
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(6px);
  }
}
.jump-panel__turns {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tiger);
}
.jump-panel__name {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 300;
  line-height: 1.05;
}
.jump-diagram {
  width: 100%;
  height: auto;
  margin-block: clamp(14px, 2.4vh, 26px);
  overflow: visible;
}
.jump-diagram .d-ice {
  fill: none;
  stroke: var(--ice);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(180, 220, 255, 0.5));
}
.jump-diagram .d-air {
  fill: none;
  stroke: var(--tiger);
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0.85;
}
.jump-diagram .d-pick {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
}
.jump-diagram .d-dot {
  fill: var(--ink);
}
.jump-diagram text {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.jump-diagram .d-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.1s var(--ease) forwards;
}
.jump-diagram .d-draw.d2 {
  animation-delay: 0.5s;
  animation-duration: 1.9s;
}
.jump-diagram .d-draw.d3 {
  animation-delay: 1.9s;
  animation-duration: 0.9s;
}
.jump-diagram .d-fade {
  opacity: 0;
  animation: fade 0.6s 0.5s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}

.jump-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px clamp(18px, 2.4vw, 36px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.jump-facts dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.jump-facts dd {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.5;
}
.jump-panel__note {
  margin-top: 26px;
  max-width: 600px;
  min-height: 4.2em;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 25px);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  opacity: 0.92;
}

/* ---------- 04 Tigers ---------- */
.tigers {
  padding-top: clamp(150px, 22vh, 260px);
}
.stripes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(80px, 12vw, 170px);
}
.stripes path {
  fill: url(#stripe-fade);
  transform-box: fill-box;
  transform-origin: 50% 0;
  transform: scaleY(0);
  transition: transform 1.3s var(--ease);
  transition-delay: calc(var(--i) * 30ms);
}
.stripes.is-in path {
  transform: none;
}
.tigers__banner {
  position: relative;
  margin-bottom: clamp(40px, 7vh, 76px);
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.tigers__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
}
.fact {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.fact::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--tiger);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.fact:hover::before {
  transform: scaleX(1);
}
.fact b {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--tiger);
}
.fact h3 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(30px, 2.8vw, 40px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  transition: transform 0.5s var(--ease);
}
.fact:hover h3 {
  transform: translateX(8px);
}
.fact p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.tigers__coda {
  max-width: 880px;
  margin-top: clamp(48px, 9vh, 96px);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.25;
}

/* ---------- 05 Traces ---------- */
.figures {
  overflow: hidden;
}
.figures__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.26;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 0%, transparent 75%);
}
.figures__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-spin 90s linear infinite alternate;
}
@keyframes slow-spin {
  from {
    transform: scale(1.25) rotate(-4deg);
  }
  to {
    transform: scale(1.4) rotate(5deg);
  }
}
.figures__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
}
.figure-card {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.figure-card svg {
  width: min(100%, 190px);
  height: auto;
  margin-inline: auto;
  overflow: visible;
  transition: transform 1.2s var(--ease);
}
.figure-card:hover svg {
  transform: rotate(8deg) scale(1.04);
}
.figure-card path {
  fill: none;
  stroke: var(--ice);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(180, 220, 255, 0.5));
}
.js .figure-card path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .figure-card.is-in path {
  animation: draw 3.6s var(--ease) forwards;
  animation-delay: calc(0.2s + var(--d, 0s) * 2);
}
.figure-card h3 {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}
.figure-card p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- 06 Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}
.shot {
  position: relative;
  perspective: 1100px;
}
.shot__tilt {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--bg-2);
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.shot__tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.2), transparent 46%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.shot:hover .shot__tilt::after {
  opacity: 1;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 1.5s var(--ease), filter 0.8s;
}
.shot:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}
.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 44px 20px 16px;
  background: linear-gradient(to top, rgba(5, 8, 15, 0.84), transparent);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
}
.shot figcaption span {
  font-family: var(--sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--tiger);
}
.shot--a {
  grid-column: 1 / span 7;
  aspect-ratio: 4 / 3;
}
.shot--b {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
}
.shot--c {
  grid-column: 1 / span 3;
  aspect-ratio: 1 / 1;
}
.shot--d {
  grid-column: 4 / span 4;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding-bottom: 44px;
  overflow: hidden;
}
.footer__word {
  padding-inline: var(--pad);
  font-family: var(--serif);
  font-size: clamp(64px, 17.4vw, 300px);
  font-style: italic;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(180, 220, 255, 0.4);
  background: linear-gradient(to top, rgba(180, 220, 255, 0.22), transparent 70%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}
.footer__ice {
  height: 1px;
  margin-top: -0.02em;
  background: linear-gradient(to right, transparent, var(--ice) 18%, var(--ice) 82%, transparent);
  box-shadow: 0 0 26px 3px rgba(180, 220, 255, 0.4);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 32px;
  padding-top: clamp(40px, 6vw, 84px);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__inner b {
  font-weight: 500;
  color: var(--ink);
}
.footer__note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
}

/* ---------- Rotation dial (scroll progress = 3½ turns) ---------- */
.dial {
  position: fixed;
  left: 12px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s;
}
.dial.is-on {
  opacity: 1;
}
.dial__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(5, 8, 15, 0.6);
}
.dial__orbit {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  transform: rotate(calc(var(--p, 0) * 1260deg));
}
.dial__orbit::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--tiger);
  box-shadow: 0 0 12px 2px rgba(245, 154, 69, 0.7);
}
.dial__num {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1;
}
.dial__label {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
/* image wipe */
.js [data-reveal="mask"] {
  opacity: 1;
  transform: none;
}
.js [data-reveal="mask"] > * {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.4s cubic-bezier(0.7, 0, 0.2, 1);
}
.js [data-reveal="mask"].is-in > * {
  clip-path: inset(0);
}
/* heading slides up from behind its own baseline */
.js [data-reveal="title"] {
  opacity: 1;
  transform: none;
  padding: 0 0.12em 0.16em 0;
  margin-bottom: -0.16em;
  overflow: hidden;
}
.js [data-reveal="title"] > span {
  display: block;
  transform: translateY(112%);
  transition: transform 1.25s var(--ease) 0.05s;
}
.js [data-reveal="title"].is-in > span {
  transform: none;
}
.js .about__text [data-reveal="title"] {
  margin-bottom: calc(clamp(26px, 4vh, 44px) - 0.16em);
}
.js [data-reveal="stripes"] {
  opacity: 1;
  transform: none;
}

/* ---------- 404 ---------- */
.lost {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--pad);
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 38%, rgba(124, 192, 245, 0.16), transparent 70%), var(--bg);
}
.lost__code {
  font-family: var(--serif);
  font-size: clamp(120px, 26vw, 320px);
  font-style: italic;
  font-weight: 300;
  line-height: 0.9;
  color: var(--tiger);
  text-shadow: 0 0 90px rgba(245, 154, 69, 0.35);
  animation: wobble 5s ease-in-out infinite;
}
@keyframes wobble {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}
.lost__title {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 300;
}
.lost__text {
  margin-top: 14px;
  color: var(--muted);
}
.lost__link {
  display: inline-block;
  margin-top: 34px;
  padding: 14px 30px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.lost__link:hover {
  background: var(--tiger);
  border-color: var(--tiger);
  color: var(--bg);
}

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .dial {
    display: none;
  }
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }
  .hero__scroll {
    display: none;
  }
  /* on narrow screens the tiger sits in the lower half of the picture, so the title goes to the top */
  .hero {
    align-items: start;
    padding-block: 116px 56px;
  }
  .hero::before {
    background:
      linear-gradient(to top, var(--bg) 0%, rgba(5, 8, 15, 0) 22%),
      linear-gradient(to bottom, rgba(5, 8, 15, 0.85) 0%, rgba(5, 8, 15, 0.45) 38%, rgba(5, 8, 15, 0) 60%);
  }
  .hero__media img {
    object-position: 50% 50%;
  }
  .about,
  .jumps__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about__media {
    max-width: 440px;
    margin-right: 22px;
  }
  .scene__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    grid-template-areas:
      "head"
      "svg"
      "count"
      "phases";
    row-gap: 10px;
    padding-block: 84px 28px;
  }
  .scene__head {
    padding-bottom: 0;
  }
  .scene__title {
    font-size: 34px;
  }
  .scene__svg {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 46vh;
    margin-inline: auto;
  }
  .scene__count {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }
  .scene__num {
    font-size: 76px;
  }
  .scene__phases li {
    display: none;
    padding-block: 4px;
  }
  .scene__phases li.is-on {
    display: block;
    transform: none;
  }
  .scene__phases li::before {
    top: 8px;
    bottom: 8px;
  }
  .scene__phases span {
    max-width: none;
    min-height: 3em;
  }
  .jumps__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
  }
  .jump-tab:hover,
  .jump-tab[aria-selected="true"] {
    padding-left: 0;
  }
  .jump-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .tigers__banner {
    aspect-ratio: 4 / 3;
  }
  .facts,
  .figures__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }
  .shot--a {
    grid-column: 1 / -1;
  }
  .shot--b {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 3 / 4;
  }
  .shot--c {
    grid-column: 1 / span 5;
  }
  .shot--d {
    grid-column: 6 / -1;
  }
}

@media (max-width: 560px) {
  .nav {
    display: none;
  }
  .jump-tab__code {
    display: none;
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .timeline li {
    grid-template-columns: 3.9em minmax(0, 1fr);
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .intro {
    display: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal],
  .js [data-reveal="title"] > span,
  .js [data-reveal="mask"] > * {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}
