:root {
  --bg: #07121f;
  --card: #111a28;
  --card-2: #182234;
  --text: #f5f5f7;
  --text-2: #a8b2c1;
  --text-3: #6b7686;
  --line: rgba(255, 255, 255, .1);
  --blue: #2997ff;
  --blue-2: #0071e3;
  --grad: linear-gradient(90deg, #ffb340 0%, #ff6a5f 45%, #ff375f 75%, #bf5af2 100%);
  --ease: cubic-bezier(.25, .1, .25, 1);
  --spring: cubic-bezier(.32, .72, 0, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 52px; }
body {
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--text-2); font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
h2 { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.04; font-weight: 700; letter-spacing: -.04em; }
.section-head { text-align: center; max-width: 980px; margin: 0 auto 56px; padding: 0 16px; }
.lead { color: var(--text-2); font-size: clamp(19px, 2vw, 24px); line-height: 1.38; letter-spacing: -.015em; margin-top: 16px; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; transform-origin: left; transform: scaleX(0); background: var(--grad); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10, 18, 30, .68); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-color: var(--line); }
.nav-inner { max-width: 1024px; margin: 0 auto; height: 52px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 7px; color: var(--text); font-weight: 700; font-size: 17px; letter-spacing: -.03em; }
.brand svg { width: 16px; height: 16px; fill: #ff375f; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { color: var(--text); opacity: .75; font-size: 13px; padding: 6px 12px; border-radius: 980px; transition: opacity .2s, background .3s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; background: rgba(255,255,255,.12); }
.pill { background: var(--blue-2); color: #fff; font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 980px; transition: background .2s, transform .25s var(--spring); }
.pill:hover { background: #0077ed; }
.pill:active { transform: scale(.95); }

.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 500; padding: 12px 24px; border-radius: 980px; transition: background .25s var(--ease), transform .3s var(--spring), box-shadow .3s; }
.btn:active { transform: scale(.96); }
.btn.primary { background: var(--blue-2); color: #fff; }
.btn.primary:hover { background: #0077ed; box-shadow: 0 8px 30px rgba(0, 113, 227, .4); }
.btn.ghost { color: #fff; background: rgba(255,255,255,.14); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.btn.ghost:hover { background: rgba(255,255,255,.24); }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(210,210,215,.18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: background .2s, transform .3s var(--spring); }
.round:hover { background: rgba(210,210,215,.3); }
.round:active { transform: scale(.9); }
.round svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: end center; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.2); animation: heroIn 3s var(--out) forwards; will-change: transform; }
@keyframes heroIn { to { transform: scale(1.03); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,18,31,.55) 0%, transparent 28%, transparent 40%, rgba(7,18,31,.8) 82%, var(--bg) 100%); }
.hero-copy { position: relative; text-align: center; padding: 0 16px 13vh; will-change: transform, opacity; }
.hero-eyebrow { font-size: 19px; font-weight: 600; color: rgba(255,255,255,.88); margin-bottom: 8px; }
.hero-title { font-size: clamp(60px, 13vw, 168px); line-height: .94; font-weight: 800; letter-spacing: -.055em; }
.hero-title .split { display: block; }
.hero-title .ch { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(4deg); filter: blur(12px); animation: chIn 1.2s var(--out) forwards; animation-delay: calc(300ms + var(--c) * 60ms); }
.hero-title .grad .ch { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title .grad { background: none; color: inherit; }
@keyframes chIn { to { opacity: 1; transform: none; filter: blur(0); } }
.hero-sub { font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; color: rgba(255,255,255,.9); margin-top: 18px; letter-spacing: -.02em; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.load { opacity: 0; transform: translateY(18px); animation: up 1s var(--out) forwards; animation-delay: calc(400ms + var(--i) * 90ms); }
@keyframes up { to { opacity: 1; transform: none; } }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; margin-left: -12px; width: 24px; height: 38px; border-radius: 12px; border: 2px solid rgba(255,255,255,.5); }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* Statement */
.statement { max-width: 1100px; margin: 0 auto; padding: 22vh 24px; }
.words { font-size: clamp(34px, 5.2vw, 68px); line-height: 1.12; font-weight: 700; letter-spacing: -.035em; }
.words .w { opacity: .16; }

/* Story */
.story { position: relative; height: calc(var(--steps) * 100svh); }
.story-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 72px 24px 24px; }
.story-media { position: relative; height: min(72svh, 680px); border-radius: 32px; overflow: hidden; background: var(--card); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1s var(--ease), transform 1.8s var(--out); }
.story-media img.on { opacity: 1; transform: scale(1); }
.story-progress { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; gap: 6px; z-index: 2; }
.story-progress span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.story-progress span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
.story-steps { list-style: none; position: relative; height: 340px; }
.story-steps li { position: absolute; inset: 0; opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .9s var(--out); pointer-events: none; }
.story-steps li.on { opacity: 1; transform: none; }
.story-steps li.past { transform: translateY(-40px); }
.story-steps .num { font-size: 15px; font-weight: 600; color: #ff6a5f; letter-spacing: .01em; }
.story-steps h3 { font-size: clamp(48px, 6vw, 80px); line-height: 1; letter-spacing: -.045em; font-weight: 800; margin: 10px 0 18px; }
.story-steps p { color: var(--text-2); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; max-width: 440px; }

/* Numbers */
.numbers { padding: 100px 24px 140px; }
.num-grid { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat b { display: block; font-size: clamp(60px, 8vw, 108px); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat b i { font-style: normal; }
.stat span { display: block; color: var(--text-2); font-size: 19px; margin-top: 10px; }

/* Series */
.series { position: relative; height: 780svh; }
.series-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; justify-content: center; max-width: 1100px; margin: 0 auto; padding: 68px 24px 24px; }
.series-stage { position: relative; height: min(78svh, 760px); aspect-ratio: 3 / 4; border-radius: 34px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 40px 100px rgba(0,0,0,.55); }
#flip { width: 100%; height: 100%; display: block; }
.flip-load { position: absolute; inset: 0; display: grid; place-items: center; background: var(--card); transition: opacity .6s var(--ease); }
.flip-load.done { opacity: 0; pointer-events: none; }
.flip-load span { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: #fff; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.flip-meta { position: absolute; top: 16px; right: 16px; padding: 5px 12px; border-radius: 980px; background: rgba(0,0,0,.4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.series-bar { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 5px; }
.series-bar span { flex: var(--f, 1); height: 3px; border-radius: 2px; background: rgba(255,255,255,.28); position: relative; overflow: hidden; }
.series-bar span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
.series-copy { min-width: 0; }
.caps { position: relative; height: 230px; }
.cap { position: absolute; inset: 0; opacity: 0; transform: translateY(36px); transition: opacity .6s var(--ease), transform .8s var(--out); }
.cap.on { opacity: 1; transform: none; }
.cap.past { transform: translateY(-36px); }
.cap h3 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1; letter-spacing: -.045em; font-weight: 800; margin-bottom: 14px; }
.cap p { color: var(--text-2); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.4; max-width: 420px; }
.hint { color: var(--text-3); font-size: 15px; margin-top: 18px; }

/* Bento */
.moments { padding: 140px 16px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.35) 20%, rgba(0,0,0,.35) 80%, transparent); }
.bento { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.tile { position: relative; border-radius: 28px; overflow: hidden; background: var(--card); transition: transform .6s var(--spring), box-shadow .6s, opacity 1.1s var(--out) var(--d, 0ms); cursor: zoom-in; }
.tile:hover { transform: scale(1.015); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--out); }
.tile:hover img { transform: scale(1.06); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); }
.t1 { grid-column: span 2; grid-row: span 2; }
.t2, .t3 { grid-row: span 2; }
.t4 { grid-column: span 2; }
.flipper { cursor: pointer; }
.flipper img { transition: transform .9s var(--spring); }
.flipper:hover img { transform: none; }
.flipper.flipped img { transform: rotate(180deg); }
.tile.reveal { transform: translateY(40px); }
.tile.reveal.in { transform: none; }
.tile.reveal.in:hover { transform: scale(1.015); }

/* Gallery */
.gallery { padding: 100px 16px 140px; }
.masonry { max-width: 1180px; margin: 0 auto; columns: 4 220px; column-gap: 14px; }
.masonry figure { break-inside: avoid; margin-bottom: 14px; border-radius: 20px; overflow: hidden; background: var(--card); cursor: zoom-in; opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .9s var(--out), transform 1s var(--out); }
.masonry figure.in { opacity: 1; transform: none; }
.masonry img { width: 100%; height: auto; transition: transform 1.2s var(--out), filter .4s; }
.masonry figure:hover img { transform: scale(1.05); }

/* Outro */
.outro { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 120px 16px; }
.outro-bg { position: absolute; inset: 0; }
.outro-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(1.1); }
.outro-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, transparent 30%, transparent 65%, #000 100%); }
.outro-copy { position: relative; }
.outro h2 { font-size: clamp(52px, 10vw, 128px); line-height: .98; margin-bottom: 36px; }
.footer { display: flex; justify-content: space-between; gap: 16px; max-width: 1024px; margin: 0 auto; padding: 28px 24px 44px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 12px; letter-spacing: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.9); backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px); opacity: 0; transition: opacity .4s var(--ease); touch-action: pan-y; }
.lightbox.open { opacity: 1; }
.lightbox > img { max-width: 100%; max-height: 88svh; border-radius: 18px; transform: scale(.94); transition: transform .6s var(--spring), opacity .3s; user-select: none; -webkit-user-drag: none; }
.lightbox.open > img { transform: none; }
.lightbox > img.swap { opacity: 0; transform: scale(.97); }
.lightbox .close { position: absolute; top: 18px; right: 18px; }
.lightbox .nav-btn { position: absolute; top: 50%; margin-top: -22px; }
.lightbox .prev { left: 18px; } .lightbox .next { right: 18px; }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; letter-spacing: 0; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--out) var(--d, 0ms), transform 1.3s var(--out) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .reveal, .load, .hero-title .ch, .masonry figure { opacity: 1 !important; transform: none !important; filter: none !important; }
  .words .w { opacity: 1 !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .story { height: auto; }
  .story-sticky { position: static; height: auto; display: block; padding: 40px 16px; }
  .story-media { display: none; }
  .story-steps { height: auto; display: grid; gap: 60px; }
  .story-steps li { position: static; opacity: 1; transform: none; }
  .story-steps li::before { content: ""; display: block; aspect-ratio: 4 / 3; border-radius: 24px; margin-bottom: 22px; background: var(--img) center/cover; }
  .num-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 16px; }
  .series { height: 700svh; }
  .series-sticky { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 18px; align-content: center; justify-items: center; padding: 64px 16px 16px; }
  .series-stage { height: min(58svh, calc((100vw - 32px) * 4 / 3)); }
  .series-copy { text-align: center; width: 100%; }
  .caps { height: 150px; }
  .cap p { margin: 0 auto; font-size: 17px; }
  .cap h3 { font-size: 38px; margin-bottom: 8px; }
  .series-copy .eyebrow { display: none; }
  .hint { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; gap: 12px; }
  .t1 { grid-column: span 2; grid-row: span 2; }
  .t4 { grid-column: span 2; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry figure { margin-bottom: 10px; border-radius: 14px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .statement { padding: 16vh 16px; }
  .moments { padding: 100px 12px; }
  .gallery { padding: 80px 10px 100px; }
  .tile { border-radius: 22px; }
  .lightbox .nav-btn { display: none; }
}
