:root {
  --bg: #05080c;
  --ink: #f4f1ea;
  --mute: rgba(244, 241, 234, .64);
  --line: rgba(244, 241, 234, .14);
  --aqua: #6fe3f0;
  --display: "Schibsted Grotesk", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 99; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 10px; }

/* nav: a glass pill */
.nav { position: fixed; z-index: 50; inset: 14px 14px auto; display: flex; align-items: center; gap: 28px; padding: 9px 9px 9px 20px; border-radius: 999px;
  background: rgba(10, 14, 20, .28); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand .mark { width: 26px; height: 26px; color: #fff; animation: whirl 14s linear infinite; }
.brand .word { height: 18px; width: auto; }
.mark { display: block; }
@keyframes whirl { to { transform: rotate(360deg); } }
.nav nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 600; color: var(--mute); }
.nav nav a:hover { color: var(--ink); }
.pill { padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #05080c; font-weight: 700; font-size: 14px; white-space: nowrap; transition: transform .25s; }
.pill:hover { transform: translateY(-1px); }

.eyebrow { font: 700 12px/1.3 var(--body); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.eyebrow.dim { color: var(--mute); margin-bottom: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #05080c; font-weight: 700; font-size: 16px;
  transition: transform .3s var(--ease), background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: rgba(255, 255, 255, .1); color: var(--ink); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- the film ---------- */
.film { position: relative; height: 1350svh; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.water { touch-action: pan-y; cursor: crosshair; }
.frames, .night, .steam { pointer-events: none; }
.night, .steam { opacity: 0; }
.steam { mix-blend-mode: screen; }
.shade { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 52%, rgba(0,0,0,.6) 100%); }
.grain { position: absolute; inset: -50%; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

[data-cap] { opacity: 0; will-change: opacity, transform, filter; }
.hero { position: absolute; z-index: 3; left: clamp(20px, 6vw, 90px); right: 20px; bottom: clamp(40px, 10vh, 110px); max-width: 640px; pointer-events: none;
  text-shadow: 0 1px 24px rgba(3, 40, 54, .35); }
.hero .lede { font-size: clamp(17px, 1.5vw, 20px); margin: 14px 0 0; max-width: 520px; }
.hero .actions { margin-top: 26px; pointer-events: auto; }
.touch { position: absolute; z-index: 3; right: clamp(20px, 5vw, 64px); top: 48%; display: flex; gap: 12px; align-items: center; pointer-events: none;
  font: 700 12px var(--body); letter-spacing: .18em; text-transform: uppercase; }
.touch i { width: 12px; height: 12px; border-radius: 50%; background: #fff; position: relative; }
.touch i::before, .touch i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid #fff; animation: ring 2.4s var(--ease) infinite; }
.touch i::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }

.cap { position: absolute; z-index: 4; pointer-events: none; }
.cap.left { left: clamp(20px, 5vw, 72px); bottom: clamp(96px, 14vh, 150px); right: 20px; }
.cap.right { right: clamp(20px, 5vw, 72px); bottom: clamp(96px, 14vh, 150px); left: 20px; text-align: right; }
.cap.right p { margin-left: auto; }
.cap.center { inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; }
.cap h2 { font: 900 clamp(56px, 10.4vw, 176px)/1 var(--display); letter-spacing: -0.055em; margin: 0; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.cap h2.md { font-size: clamp(34px, 4.6vw, 76px); line-height: 1.04; letter-spacing: -0.04em; max-width: 17ch; }
.cap p { font-size: clamp(16px, 1.4vw, 20px); color: rgba(255, 255, 255, .86); margin: 20px 0 0; max-width: 32ch; text-shadow: 0 1px 18px rgba(0, 0, 0, .4); }
.num { display: block; font: 700 12px var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--aqua); margin-bottom: 18px; }

.thermo { position: absolute; z-index: 4; right: clamp(20px, 5vw, 72px); top: clamp(96px, 14vh, 140px); width: 240px; padding: 18px 20px; border-radius: 22px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 14px; }
.thermo .row { display: flex; justify-content: space-between; align-items: baseline; padding: 3px 0; color: var(--mute); }
.thermo .row b { font: 800 26px var(--display); color: var(--ink); letter-spacing: -0.03em; }
.thermo .hot b { font-size: 48px; color: var(--aqua); }
.thermo .bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); margin-top: 10px; overflow: hidden; }
.thermo .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #6fd3e6, #ffd08a, #ff9b6a); }

.hud { position: absolute; z-index: 5; left: clamp(20px, 5vw, 72px); right: clamp(20px, 5vw, 72px); bottom: 26px; display: flex; align-items: center; gap: 16px;
  font: 700 11px var(--body); letter-spacing: .2em; color: rgba(255, 255, 255, .7); pointer-events: none; }
.hud .track { flex: 1; height: 1px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.hud .track i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.hint { position: absolute; z-index: 5; left: 50%; bottom: 58px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 700 10px var(--body); letter-spacing: .3em; text-transform: uppercase; pointer-events: none; }
.hint span { width: 1px; height: 38px; background: linear-gradient(#fff, transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- after the film ---------- */
.block { padding: clamp(90px, 13vw, 170px) clamp(20px, 5vw, 72px); }
.h2 { font: 900 clamp(46px, 7.2vw, 112px)/1 var(--display); letter-spacing: -0.055em; margin: 0; }
.lead { color: var(--mute); font-size: clamp(16px, 1.4vw, 19px); max-width: 46ch; margin: 0; }
.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.models { margin-top: clamp(48px, 7vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 4; isolation: isolate; border: 1px solid var(--line); transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.card:hover img { transform: scale(1.05); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 35%, transparent 50%, rgba(0,0,0,.75)); }
.card-body { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.tag { font: 700 11px var(--body); letter-spacing: .18em; text-transform: uppercase; }
.card h3 { font: 900 clamp(40px, 4vw, 58px)/.9 var(--display); letter-spacing: -0.055em; margin: auto 0 10px; }
.card .row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.card .row i { font-style: normal; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); transition: background .3s, color .3s; }
.card:hover .row i { background: #fff; color: #000; }
.steps { margin-top: clamp(48px, 7vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.step .n { display: block; margin-top: 18px; font: 700 12px var(--body); letter-spacing: .2em; color: var(--aqua); }
.step h4 { font: 900 clamp(28px, 2.4vw, 36px)/1.05 var(--display); letter-spacing: -0.05em; margin: 10px 0 0; }
.step p { color: var(--mute); font-size: 15px; margin: 10px 0 0; max-width: 30ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(60px, 8vw, 100px); }
.fact { border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: linear-gradient(160deg, rgba(255,255,255,.04), transparent); }
.fact b { display: block; font: 900 clamp(40px, 4.4vw, 68px)/.9 var(--display); letter-spacing: -0.055em; }
.fact span { display: block; margin-top: 14px; color: var(--mute); font-size: 15px; }

.finale { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #021820; }
.finale .water { position: absolute; inset: 0; width: 100%; height: 100%; }
.finale-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(48px, 11vh, 120px); text-align: center; padding: 0 20px; pointer-events: none; }
.finale-copy h2 { font: 900 clamp(56px, 9vw, 150px)/1 var(--display); letter-spacing: -0.055em; margin: 16px 0 0; text-shadow: 0 4px 40px rgba(0,0,0,.4); }
.finale-copy h2 span { color: var(--aqua); }
.finale-copy p { max-width: 560px; margin: 22px auto 0; color: rgba(255,255,255,.82); font-size: 18px; }
.finale-copy .actions { justify-content: center; margin-top: 28px; pointer-events: auto; }

.foot { padding: 60px clamp(20px, 5vw, 72px) 40px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; line-height: 1.7; }
.lockup { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); margin-bottom: 48px; color: var(--ink); }
.lockup .mark { width: clamp(72px, 13vw, 190px); height: auto; aspect-ratio: 1; animation: whirl 22s linear infinite; }
.lockup:hover .mark { animation-duration: 4s; }
.lockup .word { height: clamp(40px, 7.5vw, 112px); width: auto; opacity: .95; }
.foot .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot a:hover { color: var(--ink); }
.made { display: inline-flex; gap: 6px; align-items: center; }
.made img { height: 14px; width: auto; }

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

@media (max-width: 900px) {
  .nav nav { display: none; }
  .pill { margin-left: auto; padding: 9px 14px; font-size: 13px; }
  .models, .steps { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand img { height: 20px; }
  .hero { bottom: 70px; }
  .hero .actions .btn { flex: 1 1 auto; justify-content: center; }
  .touch { top: 44%; right: 16px; font-size: 10px; }
  .hint { display: none; }
  .cap.left, .cap.right { bottom: 84px; }
  .thermo { width: 172px; padding: 12px 14px; top: 84px; right: 16px; }
  .thermo .hot b { font-size: 34px; }
  .models { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3.4; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .touch i::before, .touch i::after, .hint span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- movie ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; transition: opacity 1.2s var(--ease), visibility 0s 1.2s; }
.intro.out { opacity: 0; visibility: hidden; }
.intro-in { display: flex; flex-direction: column; align-items: center; gap: 18px; color: #fff; }
.intro .mark { width: 92px; height: 92px; animation: whirl 6s linear infinite, breathe 2.6s var(--ease) both; }
.intro-word { font: 800 14px var(--body); letter-spacing: .5em; text-transform: uppercase; padding-left: .5em; animation: rise 1.4s .25s var(--ease) both; }
.intro-sub { font: 500 12px var(--body); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55); animation: rise 1.4s .55s var(--ease) both; }
@keyframes breathe { from { opacity: 0; transform: scale(.7) rotate(-90deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.bars i { position: absolute; left: 0; right: 0; height: 0; background: #000; z-index: 6; pointer-events: none; }
.bars i:first-child { top: 0; }
.bars i:last-child { bottom: 0; }
.grade { position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.5) 100%), linear-gradient(180deg, rgba(10,40,60,.12), rgba(60,30,10,.08)); mix-blend-mode: multiply; }
.frames { filter: contrast(1.06) saturate(.9) brightness(.98); }

.cap h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .02em .02em; margin: -.1em -.02em -.02em; }
.cap h2 .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.05s cubic-bezier(.16,.84,.2,1); }
.cap.on h2 .w > span { transform: none; }
.cap p { transition: opacity .9s .35s var(--ease), transform .9s .35s var(--ease); opacity: 0; transform: translateY(12px); }
.cap.on p { opacity: 1; transform: none; }
.cap .num { transition: opacity .8s var(--ease); opacity: 0; }
.cap.on .num { opacity: 1; }

.hud { gap: 14px; z-index: 7; }
.hud button { pointer-events: auto; font: 700 11px var(--body); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.8); background: none; border: 0; cursor: pointer; padding: 6px 0; }
.hud .play { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; padding: 0; background: rgba(0,0,0,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hud .play span { display: block; }
.i-pause { width: 10px; height: 11px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.i-play { width: 0; height: 0; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.hud .tc, .hud .chapter { font-variant-numeric: tabular-nums; }
.hud .sound b { font-weight: 700; color: rgba(255,255,255,.5); }
.hud .sound[aria-pressed="true"] b { color: var(--aqua); }
.hud { pointer-events: none; }
@media (max-width: 560px) {
  .hud .chapter { display: none; }
  .lockup .word { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand .mark, .lockup .mark, .intro .mark { animation: none; }
  .cap h2 .w > span { transform: none; transition: none; }
}
.replay { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; font: 700 13px var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.75); border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 4px; pointer-events: auto; transition: color .2s, border-color .2s; }
.replay:hover { color: var(--aqua); border-color: var(--aqua); }
.finale-copy .replay { margin-top: 26px; }
.hud .skip-film { padding: 6px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
.hud .skip-film:hover { background: rgba(255,255,255,.12); }

/* the ending card */
.endcard { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; text-align: center; padding: 0 20px;
  background: radial-gradient(60% 55% at 50% 45%, rgba(20, 110, 130, .28), transparent 70%), #020608; }
.end-in { display: flex; flex-direction: column; align-items: center; }
.endcard .mark { width: clamp(84px, 10vw, 132px); height: auto; aspect-ratio: 1; color: #fff; animation: whirl 9s linear infinite; margin-bottom: clamp(22px, 4vh, 40px);
  filter: drop-shadow(0 0 30px rgba(111, 227, 240, .35)); }
.endcard h2 { font: 900 clamp(48px, 7.4vw, 124px)/1 var(--display); letter-spacing: -0.055em; margin: 0; }
.endcard h2 span { color: var(--aqua); }
.endcard p { color: rgba(255,255,255,.78); font-size: clamp(16px, 1.4vw, 20px); margin: 20px 0 0; max-width: 34ch; }
.endcard .actions { justify-content: center; margin-top: 30px; }
.endcard .replay { margin-top: 24px; }
