/* ============================================================
   ANNUM — design system
   Ink / bone / champagne. Cormorant Garamond + Italiana + Inter.
   ============================================================ */

:root {
  --ink: #0c0b09;
  --ink-2: #14120e;
  --bone: #ede6da;
  --bone-dim: rgba(237, 230, 218, 0.6);
  --bone-faint: rgba(237, 230, 218, 0.35);
  --gold: #c2a36b;
  --gold-dim: #8f7a52;
  --line: rgba(237, 230, 218, 0.14);
  --line-dark: rgba(12, 11, 9, 0.16);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-numeral: "Italiana", Georgia, serif;
  --font-label: "Inter", -apple-system, sans-serif;

  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --pad-section: clamp(5rem, 14vh, 10rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--ink); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 900;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.2rem;
}
.preloader__word {
  font-family: var(--font-numeral);
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: 0.55em;
  margin-right: -0.55em;
  color: var(--bone);
  display: flex;
}
.preloader__word span { display: inline-block; opacity: 0; transform: translateY(0.6em); }
.preloader__year {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  margin-right: -0.4em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0;
}
.preloader.is-done { pointer-events: none; }

/* ---------- page transition veil ---------- */
.veil {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 850;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 700;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--pad-x);
  mix-blend-mode: difference;
  transition: transform 0.5s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand {
  font-family: var(--font-numeral);
  font-size: 1.05rem;
  letter-spacing: 0.45em;
  margin-right: -0.45em;
  color: #ede6da;
}
.nav__links { display: flex; gap: 2.4rem; align-items: center; }
.nav__link {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ede6da;
  position: relative;
  padding: 0.3rem 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: #ede6da;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__burger {
  display: none;
  flex-direction: column; gap: 6px;
  padding: 0.5rem 0;
}
.nav__burger span { width: 28px; height: 1px; background: #ede6da; transition: transform 0.4s var(--ease), opacity 0.3s; }

/* full-screen menu (mobile) */
.menu {
  position: fixed; inset: 0;
  background: var(--ink-2);
  z-index: 650;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0% 0); }
.menu__link {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  line-height: 1.25;
  color: var(--bone);
  display: flex; align-items: baseline; gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
}
.menu__link em { font-style: normal; font-family: var(--font-numeral); font-size: 0.85rem; letter-spacing: 0.2em; color: var(--gold); }
.menu__meta { margin-top: 2.5rem; font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bone-faint); }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- labels, buttons ---------- */
.label {
  font-size: 0.65rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.9rem;
}
.label::before { content: ""; width: 2.4rem; height: 1px; background: var(--gold-dim); }
.label--bare::before { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1.05rem 2.2rem;
  position: relative;
  overflow: hidden;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  border-radius: inherit;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); border-color: var(--gold); }
.btn span, .btn svg { position: relative; z-index: 1; }
.btn svg { width: 14px; height: 14px; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--dark { color: var(--ink); border-color: var(--line-dark); }
.btn--dark:hover { color: var(--bone); }
.btn--dark::before { background: var(--ink); }

.link-line {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  padding-bottom: 0.4rem; position: relative;
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor; opacity: 0.5;
  transform-origin: left; transition: transform 0.45s var(--ease);
}
.link-line:hover::after { transform: scaleX(0.35); }

/* ---------- typography ---------- */
.display-1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.display-2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  line-height: 1.08;
}
.display-3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}
.display-1 i, .display-2 i, .display-3 i, .menu__link i {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}
.body-l { font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.75; color: var(--bone-dim); max-width: 34em; }
.body-m { font-size: 0.95rem; line-height: 1.75; color: var(--bone-dim); max-width: 32em; }

/* ---------- layout helpers ---------- */
.section { padding: var(--pad-section) var(--pad-x); position: relative; }
.section--bone { background: var(--bone); color: var(--ink); }
.section--bone .body-l, .section--bone .body-m { color: rgba(12, 11, 9, 0.68); }
.section--bone .label { color: var(--gold-dim); }
.container { max-width: 1500px; margin: 0 auto; width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.stack-s > * + * { margin-top: 1.2rem; }
.stack-m > * + * { margin-top: 2rem; }
.stack-l > * + * { margin-top: 3.2rem; }

.rule { border: none; border-top: 1px solid var(--line); }
.section--bone .rule { border-color: var(--line-dark); }

/* ---------- media / reveals ---------- */
.media {
  position: relative; overflow: hidden;
  clip-path: inset(0 0 0 0);
}
.media img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.media--frame { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 16 / 9; }
.media__caption {
  position: absolute; left: 1.2rem; bottom: 1rem;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(237, 230, 218, 0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  z-index: 2;
}

[data-reveal] { visibility: hidden; }
html.no-js [data-reveal], html.reveal-fallback [data-reveal] { visibility: visible; }

/* line-reveal wrappers: pad the clip box so descenders survive the animation,
   pull the padding back with a negative margin so line spacing is unchanged */
.split-wrap { overflow: hidden; padding: 0 0.12em 0.16em 0; margin: 0 -0.12em -0.16em 0; }

/* ---------- hero (shared shape) ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad-x) clamp(3rem, 8vh, 5.5rem);
  position: relative;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,11,9,0.92) 0%, rgba(12,11,9,0.25) 45%, rgba(12,11,9,0.45) 100%);
}
.hero__content { position: relative; z-index: 2; }
.hero__foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bone-faint);
}

/* ---------- home hero ---------- */
.hero--home { justify-content: center; text-align: center; }
#ring-canvas { position: absolute; inset: 0; z-index: 0; }
.hero--home .hero__content { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }
.hero__wordmark {
  font-family: var(--font-numeral);
  font-weight: 400;
  font-size: clamp(4rem, 17vw, 15rem);
  letter-spacing: 0.28em;
  margin-right: -0.28em;
  line-height: 1;
  color: var(--bone);
}
.hero__tag { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--bone-dim); }
.hero--home .hero__foot { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: clamp(1.6rem, 4vh, 3rem); margin-top: 0; }

/* ---------- doors (index list) ---------- */
.doors { border-top: 1px solid var(--line); }
.door {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.8rem, 4vh, 3rem) var(--pad-x);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.5s var(--ease);
}
.door:hover { background: var(--ink-2); }
.door__num { font-family: var(--font-numeral); font-size: 0.85rem; letter-spacing: 0.25em; color: var(--gold); }
.door__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  transition: transform 0.5s var(--ease);
}
.door:hover .door__name { transform: translateX(0.6rem); }
.door__hint { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bone-faint); text-align: right; }
.door-preview {
  position: fixed; z-index: 600;
  width: min(22vw, 320px); aspect-ratio: 3/4;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
}
.door-preview img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s; }
.door-preview img.is-active { opacity: 1; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__item {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--bone-faint);
  padding: 0 1.6rem;
  display: inline-flex; align-items: center; gap: 3.2rem;
}
.marquee__item::after { content: "·"; color: var(--gold); font-style: normal; }

/* ---------- experience list (membership) ---------- */
.exp-list { border-top: 1px solid var(--line-dark); counter-reset: exp; }
.section--bone .exp-list { border-color: var(--line-dark); }
.exp {
  display: grid; grid-template-columns: 4rem 1fr; gap: 2rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
}
.exp__num { font-family: var(--font-numeral); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--gold-dim); }
.exp__text { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 2.4vw, 1.9rem); line-height: 1.35; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.step { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.section--bone .step { border-color: var(--line-dark); }
.step__num { font-family: var(--font-numeral); font-size: 0.8rem; letter-spacing: 0.25em; color: var(--gold); }
.step h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin: 0.9rem 0 0.6rem; }

/* ---------- accordion (partnerships) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__head {
  width: 100%;
  display: grid; grid-template-columns: 4.5rem 1fr auto;
  align-items: center; gap: 2rem;
  padding: 1.9rem 0;
  text-align: left;
  color: inherit;
}
.acc__num { font-family: var(--font-numeral); font-size: 0.8rem; letter-spacing: 0.25em; color: var(--gold); }
.acc__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.15; transition: color .4s; }
.acc__item:hover .acc__title { color: var(--gold); }
.acc__icon { width: 14px; height: 14px; position: relative; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; background: var(--bone-dim); transition: transform 0.45s var(--ease); }
.acc__icon::before { left: 0; top: 50%; width: 100%; height: 1px; }
.acc__icon::after { left: 50%; top: 0; width: 1px; height: 100%; }
.acc__item.is-open .acc__icon::after { transform: scaleY(0); }
.acc__body { height: 0; overflow: hidden; }
.acc__inner { padding: 0.4rem 0 2.4rem calc(4.5rem + 2rem); max-width: 46em; }
.acc__inner .body-m { max-width: 40em; }

/* ---------- year page ---------- */
.year-intro { min-height: 88svh; display: flex; flex-direction: column; justify-content: center; }
.year-scroll { position: relative; overflow: hidden; }
.year-track {
  display: flex;
  align-items: stretch;
  will-change: transform;
}
.chapter {
  flex: 0 0 auto;
  width: clamp(20rem, 62vw, 46rem);
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem clamp(2rem, 5vw, 5rem);
  border-right: 1px solid var(--line);
  position: relative;
}
.chapter__media { aspect-ratio: 3/4; max-height: 52svh; overflow: hidden; position: relative; }
.chapter__media img { width: 100%; height: 100%; object-fit: cover; }
.chapter__numeral {
  position: absolute;
  top: clamp(4.5rem, 10vh, 7rem); right: clamp(1.5rem, 4vw, 4rem);
  font-family: var(--font-numeral);
  font-size: clamp(3.5rem, 9vw, 7rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-dim);
  line-height: 1;
}
.chapter__meta { display: flex; gap: 1.4rem; margin: 1.8rem 0 0.7rem; font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.chapter h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.12; }
.chapter p { margin-top: 0.8rem; color: var(--bone-dim); font-size: 0.92rem; max-width: 30em; }
.chapter--end { justify-content: center; align-items: flex-start; width: clamp(20rem, 70vw, 52rem); }
.year-progress {
  position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 2.2rem;
  height: 1px; background: var(--line);
  z-index: 5;
}
.year-progress__bar { height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* short desktop viewports: keep whole chapters inside the pinned frame */
@media (min-width: 901px) and (max-height: 860px) {
  .chapter { padding-top: 5rem; padding-bottom: 3.5rem; }
  .chapter__media { max-height: 42svh; }
  .chapter h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
  .chapter p { font-size: 0.85rem; margin-top: 0.6rem; }
  .chapter__meta { margin-top: 1.2rem; }
  .chapter__numeral { font-size: clamp(2.6rem, 6vw, 4.5rem); top: 4.2rem; }
}

/* ---------- inline text link ---------- */
.inline-link {
  color: var(--bone);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 0.08em;
  transition: color 0.35s, border-color 0.35s;
}
.inline-link:hover { color: var(--gold); border-color: var(--gold); }
.section--bone .inline-link { color: var(--ink); }
.section--bone .inline-link:hover { color: var(--gold-dim); }

/* ---------- faces directory ---------- */
.dir-hero {
  min-height: 72svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(8rem, 18vh, 12rem) var(--pad-x) clamp(3rem, 7vh, 5rem);
}
.faces-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vh, 3.5rem) clamp(1.5rem, 2.2vw, 2.25rem);
}
.face-card { display: block; min-width: 0; }
.face-card .media { aspect-ratio: 3 / 4; }
.face-card__row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: 1.1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
  gap: 1rem;
}
.face-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  transition: color 0.35s;
}
.face-card:hover .face-card__name { color: var(--gold); }
.face-card__base { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--bone-faint); white-space: nowrap; }
.face-card__tags { margin-top: 0.7rem; font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-dim); }
.face-card .media img { transition: transform 0.8s var(--ease); }
.face-card:hover .media img { transform: scale(1.04); }
.face-card--cta {
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.face-card--cta h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.25;
}
@media (max-width: 900px) {
  .faces-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir-hero { min-height: 0; }
}
@media (max-width: 540px) {
  .faces-grid { grid-template-columns: 1fr; }
  .face-card--cta { padding: 2.2rem 1.8rem; min-height: 16rem; }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: var(--pad-section) var(--pad-x) 2rem; }
.footer__cta { margin-bottom: clamp(4rem, 10vh, 7rem); }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-top: 3rem; border-top: 1px solid var(--line);
}
.footer__brand { font-family: var(--font-numeral); font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: 0.35em; }
.footer h4 { font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 1.2rem; }
.footer li { margin-bottom: 0.7rem; }
.footer li a { font-size: 0.85rem; color: var(--bone-dim); transition: color 0.3s; }
.footer li a:hover { color: var(--bone); }
.footer__legal {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 4rem;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bone-faint);
}

/* ---------- cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 950;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: difference;
}
body.cursor-grow .cursor { width: 46px; height: 46px; opacity: 0.55; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__foot { font-size: 0.55rem; }
  .hero__foot span:nth-child(2) { display: none; }
  .nav__burger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .door { grid-template-columns: 3rem 1fr; }
  .door__hint { display: none; }
  .door-preview { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .acc__head { grid-template-columns: 2.6rem 1fr auto; gap: 1rem; }
  .acc__inner { padding-left: 0; }
  .exp { grid-template-columns: 2.6rem 1fr; gap: 1rem; }
  /* year page falls back to vertical stack */
  .year-track { flex-direction: column; }
  .chapter { width: 100%; min-height: 0; border-right: none; border-bottom: 1px solid var(--line); padding: 4rem var(--pad-x); }
  .chapter__numeral { top: 2.5rem; }
  .chapter__media { max-height: none; }
  .year-progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
