:root {
  color-scheme: light;
  --ink: #0b0b0c;
  --paper: #f5f5f3;
  --line: rgba(11, 11, 12, 0.14);
  --soft: #686868;
  --side: clamp(1.25rem, 5.6vw, 6.75rem);
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --ambient-one-x: 0px;
  --ambient-one-y: 0px;
  --ambient-two-x: 0px;
  --ambient-two-y: 0px;
  --ambient-three-x: 0px;
  --ambient-three-y: 0px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--ink); }
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }
body.is-locked main { visibility: hidden; }

main { position: relative; z-index: 1; }

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

.grain {
  position: fixed;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.78'/%3E%3C/svg%3E");
}

.scroll-ambient { position: fixed; z-index: 2; inset: 0; overflow: hidden; pointer-events: none; opacity: .31; mix-blend-mode: multiply; transition: opacity .8s var(--easing); }
.ambient-shift { position: absolute; display: block; will-change: transform; }
.ambient-shift--one { top: -20rem; right: -22rem; transform: translate3d(var(--ambient-one-x), var(--ambient-one-y), 0); }
.ambient-shift--two { top: 42%; left: -26rem; transform: translate3d(var(--ambient-two-x), var(--ambient-two-y), 0); }
.ambient-shift--three { right: -17rem; bottom: -24rem; transform: translate3d(var(--ambient-three-x), var(--ambient-three-y), 0); }
.ambient-orb { display: block; width: min(47vw, 42rem); aspect-ratio: 1; border: 1px solid rgba(11,11,12,.13); border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(11,11,12,.13), transparent 63%); filter: blur(1px); }
.ambient-shift--two .ambient-orb { width: min(55vw, 48rem); animation: ambient-drift 16s ease-in-out infinite alternate; }
.ambient-shift--three .ambient-orb { width: min(50vw, 45rem); border-width: 2px; animation: ambient-drift 20s ease-in-out infinite alternate-reverse; }
body.is-locked .scroll-ambient { opacity: 0; }

.access-gate { position: fixed; z-index: 10; inset: 0; display: grid; align-content: center; padding: 2rem var(--side); overflow: hidden; color: #fff; background: #0b0b0c; transition: opacity .65s var(--easing), visibility .65s; }
.access-gate::before { position: absolute; width: min(70vw, 60rem); aspect-ratio: 1; right: -25vw; bottom: -38vw; border-radius: 50%; background: radial-gradient(circle, #353536 0%, #171718 36%, transparent 68%); content: ""; animation: breathe 9s ease-in-out infinite alternate; }
.access-gate::after { position: absolute; width: min(34vw, 27rem); aspect-ratio: 1; top: -14vw; left: -7vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.13), transparent 65%); content: ""; }
.gate-topline, .gate-bottom { position: absolute; z-index: 1; right: var(--side); left: var(--side); display: flex; justify-content: space-between; color: rgba(255,255,255,.54); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.gate-topline { top: 1.8rem; }
.gate-bottom { bottom: 2rem; align-items: center; justify-content: flex-start; gap: .75rem; }
.gate-bottom span { width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; animation: blink 1.8s ease-in-out infinite; }
.gate-panel { position: relative; z-index: 1; width: min(100%, 57rem); }
.gate-kicker { margin: 0 0 1.45rem; color: rgba(255,255,255,.53); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.access-gate h1 { max-width: 58rem; font-size: clamp(3.6rem, 8.8vw, 9rem); }
.access-form { width: min(100%, 30rem); margin-top: clamp(3rem, 6vw, 5.75rem); }
.access-form label { display: block; margin-bottom: .85rem; color: rgba(255,255,255,.62); font-size: .75rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.access-input-wrap { display: grid; grid-template-columns: 1fr 3.25rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,.36); transition: border-color .25s ease; }
.access-input-wrap:focus-within { border-color: #fff; }
.access-input-wrap input { width: 100%; min-width: 0; height: 3.7rem; padding: 0; border: 0; outline: 0; color: #fff; background: transparent; font: inherit; font-size: 1.25rem; letter-spacing: .03em; }
.access-input-wrap button { display: grid; width: 2.75rem; height: 2.75rem; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: #fff; background: transparent; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s var(--easing); }
.access-input-wrap button:hover { color: #0b0b0c; background: #fff; transform: translateX(.2rem); }
.access-input-wrap button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.access-input-wrap svg { width: 1.1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.access-error { min-height: 1.5rem; margin-top: .9rem; color: #fff; font-size: .82rem; font-weight: 600; }
body.is-unlocked .access-gate { visibility: hidden; opacity: 0; pointer-events: none; }
body.is-unlocked main { animation: story-in .8s var(--easing) both; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  padding: 1.8rem var(--side) 2.25rem;
  overflow: hidden;
  color: #fff;
  background: #0b0b0c;
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  filter: blur(2px);
}

.hero::before {
  width: min(64vw, 58rem);
  aspect-ratio: 1;
  right: -20vw;
  bottom: -44vw;
  background: radial-gradient(circle, #353536 0%, #19191a 36%, transparent 67%);
  animation: breathe 9s ease-in-out infinite alternate;
}

.hero::after {
  width: min(38vw, 32rem);
  aspect-ratio: 1;
  top: -18vw;
  left: -9vw;
  background: radial-gradient(circle, rgba(255,255,255,.13), transparent 63%);
}

.topline,
.scroll-note,
.chapter,
.eyebrow,
.clip figcaption,
.soon {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.topline {
  position: absolute;
  z-index: 1;
  top: 1.8rem;
  right: var(--side);
  left: var(--side);
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.55);
}

.hero-copy { position: relative; z-index: 1; max-width: 77rem; }

.eyebrow { margin: 0 0 1.4rem; color: rgba(255,255,255,.55); }

h1, h2, p, figure { margin: 0; }

h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.072em;
  line-height: 0.91;
}

h1 { font-size: clamp(4rem, 10.7vw, 11.5rem); }
h1 em,
h2 em { font-weight: 400; }

.scroll-note {
  position: absolute;
  z-index: 1;
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.5);
}

.scroll-note span,
.soon span {
  display: inline-grid;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.8s ease-in-out infinite;
}

.section-pad { padding-right: var(--side); padding-left: var(--side); }

.question { min-height: 85svh; display: grid; align-content: center; padding-top: 10rem; padding-bottom: 10rem; }

.chapter { margin-bottom: 2rem; color: var(--soft); }

.question h2,
.story h2,
.clips-heading h2 { max-width: 66rem; font-size: clamp(3.1rem, 8vw, 8.9rem); }

.memory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(10rem, .55fr) minmax(13rem, .72fr);
  align-items: end;
  gap: clamp(1rem, 3.5vw, 4rem);
  padding-bottom: clamp(8rem, 14vw, 14rem);
}

.photo-card { overflow: hidden; background: #ddd; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .8s var(--easing), transform 1.2s var(--easing); }
.photo-card:hover img { filter: grayscale(.12) contrast(1); transform: scale(1.035); }

.photo-card--wide { aspect-ratio: 1.28; }
.photo-card--portrait { aspect-ratio: .75; align-self: center; transform: translateY(18%); }

.photo-card figcaption { position: absolute; }
.photo-card { position: relative; }
.photo-card figcaption { right: 1rem; bottom: 1rem; left: 1rem; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

.memory-note { padding-bottom: 1.3rem; }
.note-number { display: block; margin-bottom: 1rem; color: var(--soft); font-size: .75rem; font-weight: 700; letter-spacing: .13em; }
.memory-note p { font-size: clamp(1.1rem, 1.55vw, 1.65rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.1; }

.story { padding-top: clamp(8rem, 15vw, 15rem); padding-bottom: clamp(8rem, 14vw, 15rem); background: var(--ink); color: #fff; }
.story .chapter { color: rgba(255,255,255,.46); }
.story h2 { max-width: 76rem; }
.story h2 span { color: #777; }

.clips { padding-top: clamp(8rem, 15vw, 15rem); padding-bottom: clamp(8rem, 15vw, 15rem); }
.clips-heading { display: grid; grid-template-columns: .62fr 1.38fr; align-items: start; margin-bottom: clamp(3.5rem, 8vw, 9rem); }
.clips-heading .chapter { padding-top: .8rem; }
.clips-heading h2 { max-width: 50rem; }

.clip-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: end; gap: clamp(1.4rem, 8vw, 10rem); max-width: 79rem; margin: 0 auto; }
.clip { position: relative; }
.clip--first { transform: translateY(10%); }
.clip-frame { position: relative; overflow: hidden; background: #1a1a1a; border-radius: .25rem; }
.clip--first .clip-frame { aspect-ratio: .63; }
.clip--second .clip-frame { aspect-ratio: .68; }
.clip video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--easing), transform 1.1s var(--easing); }
.clip:hover video { filter: grayscale(.14) contrast(1); transform: scale(1.025); }
.play-dot { position: absolute; top: 1rem; right: 1rem; width: .65rem; height: .65rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .35rem rgba(255,255,255,.16); animation: blink 1.8s ease-in-out infinite; }
.clip-toggle { position: absolute; right: .75rem; bottom: .75rem; display: grid; width: 2.75rem; height: 2.75rem; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; background: rgba(11,11,12,.52); backdrop-filter: blur(8px); cursor: pointer; touch-action: manipulation; transition: background .2s ease, transform .2s ease, opacity .2s ease; }
.clip-toggle:hover { background: rgba(255,255,255,.2); transform: scale(1.06); }
.clip-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.clip-toggle svg { width: 1.08rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.15; }
.clip-toggle .icon-play { display: none; fill: currentColor; stroke: none; }
.clip-toggle[data-playing="false"] .icon-pause { display: none; }
.clip-toggle[data-playing="false"] .icon-play { display: block; }
video[controls] ~ .clip-toggle { display: none; }
.clip figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; color: var(--soft); }

.outro { position: relative; display: grid; min-height: 100vh; min-height: 100svh; min-height: 100dvh; align-content: center; padding: 8rem var(--side) 3rem; overflow: hidden; color: #fff; background: #0b0b0c; }
.outro::after { position: absolute; width: 58vw; height: 58vw; right: -25vw; bottom: -35vw; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.outro-copy { position: relative; z-index: 1; }
.outro h2 { max-width: 76rem; font-size: clamp(4.4rem, 12vw, 13rem); }
.outro .chapter { color: rgba(255,255,255,.47); }
.outro-line { margin-top: 2.5rem; color: rgba(255,255,255,.62); font-size: clamp(1.25rem, 2.1vw, 2rem); font-weight: 500; letter-spacing: -0.05em; }
.soon { position: absolute; z-index: 1; right: var(--side); bottom: 2rem; display: flex; align-items: center; gap: .7rem; color: rgba(255,255,255,.58); }

.reveal { opacity: 1; transform: none; }
.reveal.will-reveal { opacity: 0; transform: translateY(1.75rem); transition: opacity .75s var(--easing), transform .75s var(--easing); }
.reveal.will-reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes breathe { to { transform: scale(1.12) translate(-2%, -3%); } }
@keyframes blink { 50% { opacity: .28; transform: scale(.75); } }
@keyframes ambient-drift { to { transform: rotate(18deg) scale(1.08); } }
@keyframes story-in { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 780px) {
  .gate-topline { top: 1.25rem; }
  .gate-bottom { bottom: 1.35rem; }
  .access-gate { padding-top: 4.4rem; }
  .access-gate h1 { font-size: clamp(3.4rem, 14vw, 5.4rem); }
  .access-form { margin-top: 3rem; }
  .ambient-shift--one { right: -31rem; }
  .ambient-shift--two { left: -30rem; }
  .topline { top: 1.25rem; }
  .hero { padding-top: 4.3rem; }
  .hero::before { width: 115vw; right: -48vw; bottom: -48vw; }
  .question { min-height: 76svh; padding-top: 7.5rem; padding-bottom: 7.5rem; }
  .memory-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .photo-card--wide { grid-column: 1 / -1; aspect-ratio: 1.06; }
  .memory-note { order: 3; align-self: start; padding: .7rem 0 0; }
  .photo-card--portrait { order: 2; transform: none; aspect-ratio: .85; }
  .memory-note p { font-size: 1.1rem; }
  .clips-heading { display: block; }
  .clip-grid { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .clip--first { transform: translateY(7%); }
  .clip figcaption { display: block; font-size: .75rem; line-height: 1.65; }
  .clip figcaption span { display: block; }
  .outro { min-height: 88svh; }
}

@media (max-width: 430px) {
  :root { --side: 1.15rem; }
  .question h2, .story h2, .clips-heading h2 { font-size: clamp(2.8rem, 13vw, 3.85rem); }
  .memory-note p { font-size: 1rem; }
  .outro h2 { font-size: clamp(4.2rem, 19vw, 5.4rem); }
}

@media (max-height: 500px) and (orientation: landscape) {
  .access-gate { align-content: start; overflow: hidden; padding-top: 3.25rem; padding-bottom: 1rem; }
  .access-gate h1 { font-size: clamp(2.4rem, 6.7vw, 3.8rem); }
  .gate-topline { top: .9rem; }
  .gate-bottom { display: none; }
  .gate-kicker { margin-bottom: .85rem; }
  .access-form { margin-top: 1rem; }
  .access-input-wrap input { height: 3.2rem; }
  .access-error { min-height: 1rem; margin-top: .45rem; }
  .hero { padding-top: 3.6rem; padding-bottom: 3.4rem; }
  h1 { font-size: clamp(3rem, 8.5vw, 4.5rem); }
  .topline { top: 1rem; }
  .scroll-note { bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal.will-reveal { opacity: 1; transform: none; }
  .scroll-ambient { display: none; }
}
