:root {
  --bg: #0b0b0c;
  --ink: #f3efe4;
  --dim: rgba(243, 239, 228, .55);
  --lime: #c8ff2e;
  --cherry: #ff2d55;
  --grape: #8a4dff;
  --display: "Big Shoulders Display", Impact, sans-serif;
  --body: "Familjen Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(16px, 3vw, 40px);
}

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

html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
body.is-loading { overflow: hidden; }
@media (hover: none) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; cursor: none; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

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

/* Layers: behind (0) → canvas (1) → front (2) */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; display: block; }
.behind { position: relative; z-index: 0; }
.front { position: relative; z-index: 2; }
.sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.sticky.behind { z-index: 0; }
.sticky.front { z-index: 2; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--lime); color: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--pad);
  clip-path: inset(0 0 0 0);
}
.loader-top { display: flex; justify-content: space-between; font-weight: 700; }
.loader-num { font-family: var(--display); font-weight: 900; font-size: clamp(140px, 34vw, 520px); line-height: .78; letter-spacing: -.02em; }
.loader-num .pct { font-size: .3em; vertical-align: top; margin-left: .05em; }
.loader-bar { height: 4px; background: rgba(11, 11, 12, .15); }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--bg); }

/* ---------- Grain + cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -3%); }
  60% { transform: translate(-3%, -6%); } 80% { transform: translate(6%, 5%); } 100% { transform: translate(0, 0); }
}

.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: var(--lime); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .35s cubic-bezier(.2, .9, .3, 1.3), height .35s cubic-bezier(.2, .9, .3, 1.3), margin .35s cubic-bezier(.2, .9, .3, 1.3);
}
.cursor span { font: 700 11px var(--mono); text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.big { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor.big span { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  mix-blend-mode: difference; color: #fff;
}
.logo { font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: .02em; }
.logo sup { font-size: 11px; }
.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s cubic-bezier(.7, 0, .2, 1); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cart { border: 1.5px solid currentColor; border-radius: 99px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
@media (max-width: 767px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { height: 100vh; position: relative; overflow: hidden; }
.hero-eyebrow {
  position: absolute; top: 84px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; color: var(--dim);
}
.blink { color: var(--lime); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.hero-title {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--display); font-weight: 900; font-size: 37vw; line-height: .8;
  letter-spacing: -.01em; white-space: nowrap; display: flex;
}
.hero-title .ch { display: inline-block; will-change: transform; }
.hero-title .outline { color: transparent; -webkit-text-stroke: max(2px, .35vw) var(--lime); }

.hero-bottom {
  position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.hero-lede { max-width: 340px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.3; font-weight: 500; }
.hero-lede em { font-style: normal; color: var(--lime); }

.scroll-badge { position: relative; width: 120px; height: 120px; flex: none; }
.scroll-badge svg { width: 100%; height: 100%; animation: spin 12s linear infinite; }
.scroll-badge text { font: 700 15px var(--mono); letter-spacing: .18em; fill: var(--ink); }
.scroll-badge .arrow {
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 32px; color: var(--lime);
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(8px); } }

.sticker {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 128px; height: 128px; border-radius: 50%;
  font: 700 12px var(--mono); text-transform: uppercase; text-align: center; line-height: 1.1;
}
.sticker b { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: .9; }
.sticker.s1 { top: 24%; left: 9%; background: var(--lime); color: var(--bg); transform: rotate(-12deg); }
.sticker.s2 { top: 58%; right: 10%; background: var(--cherry); color: #1a0008; transform: rotate(10deg); }
.sticker.s3 {
  top: 20%; right: 20%; width: 112px; height: 112px; border-radius: 0; background: var(--grape); color: #fff;
  clip-path: polygon(50% 0, 61% 18%, 82% 11%, 80% 33%, 100% 42%, 85% 58%, 95% 79%, 73% 80%, 65% 100%, 50% 87%, 35% 100%, 27% 80%, 5% 79%, 15% 58%, 0 42%, 20% 33%, 18% 11%, 39% 18%);
  animation: spin 14s linear infinite;
}
@media (max-width: 767px) {
  .hero-eyebrow span:last-child { display: none; }
  .sticker { width: 92px; height: 92px; font-size: 11px; }
  .sticker b { font-size: 28px; }
  .sticker.s1 { top: 62%; left: 4%; }
  .sticker.s2 { top: 66%; right: 4%; }
  .sticker.s3 { top: 18%; right: 6%; width: 80px; height: 80px; }
  .scroll-badge { width: 92px; height: 92px; }
  .hero-lede { font-size: 16px; max-width: 220px; }
}

/* ---------- Manifesto ---------- */
.manifesto { height: 220vh; position: relative; }
.manifesto .sticky { display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); }
.kicker { color: var(--lime); margin-bottom: 28px; display: block; }
.manifesto-text {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(40px, 5.6vw, 96px); line-height: .95; max-width: 58vw; letter-spacing: .005em;
}
.manifesto-text .w { opacity: .12; display: inline-block; }
.manifesto-text .w.hot { color: var(--lime); }
@media (max-width: 767px) {
  .manifesto .sticky { justify-content: flex-start; padding-top: 110px; }
  .manifesto-text { max-width: none; font-size: 40px; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
}

/* ---------- Flavours ---------- */
.flavors { height: 450vh; position: relative; }
.track { display: flex; width: 300vw; height: 100%; will-change: transform; }
.panel { width: 100vw; height: 100%; flex: none; position: relative; overflow: hidden; background: var(--pbg); color: var(--pink); }
.giant {
  position: absolute; left: -1vw; bottom: -5vw; font-family: var(--display); font-weight: 900;
  font-size: 33vw; line-height: .8; color: var(--pshade); white-space: nowrap; will-change: transform;
}
.p-num { position: absolute; top: 90px; right: var(--pad); font-weight: 700; }
.info { position: absolute; left: var(--pad); top: 15vh; max-width: min(420px, 36vw); }
.tag-chip { display: inline-block; border: 1.5px solid currentColor; border-radius: 99px; padding: 6px 12px; font-weight: 700; }
.info h2 { font-family: var(--display); font-weight: 900; font-size: clamp(64px, 8vw, 140px); line-height: .82; text-transform: uppercase; margin: 22px 0 18px; }
.info p { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.35; font-weight: 500; max-width: 360px; }
.notes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; font-weight: 700; }
.notes li { background: var(--pink); color: var(--pbg); padding: 6px 10px; border-radius: 4px; }
.volt { margin-top: 22px; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.meter { display: flex; gap: 4px; }
.meter i { width: 22px; height: 10px; background: var(--pink); transform: skewX(-20deg); }
.meter i.off { opacity: .2; }
@media (max-width: 767px) {
  .info { top: 96px; max-width: none; right: var(--pad); }
  .info h2 { font-size: 64px; margin: 14px 0 10px; }
  .info p { font-size: 15px; max-width: 280px; }
  .p-num { top: auto; bottom: 24px; }
  .giant { font-size: 44vw; bottom: 0; }
}

/* ---------- Anatomy ---------- */
.anatomy { height: 320vh; position: relative; background: radial-gradient(60% 50% at 50% 50%, #1b1b20 0%, var(--bg) 70%); }
.anat-head { position: absolute; left: var(--pad); top: 110px; }
.anat-head h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 7vw, 120px); line-height: .82; }
.anat-head em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--lime); }
.tag { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; pointer-events: none; }
.tag-in { display: flex; align-items: center; transform: translateY(-50%); }
.tag[data-side="-1"] .tag-in { flex-direction: row-reverse; transform: translate(-100%, -50%); text-align: right; }
.tag .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(200, 255, 46, .2); flex: none; }
.tag .line { width: clamp(30px, 7vw, 110px); height: 1.5px; background: var(--lime); flex: none; }
.tag .txt { padding: 0 14px; display: flex; flex-direction: column; gap: 4px; width: 260px; }
.tag .txt span { color: var(--lime); font-size: 11px; }
.tag .txt b { font-family: var(--display); font-weight: 900; font-size: 32px; text-transform: uppercase; line-height: .9; }
.tag .txt small { font-size: 14px; color: var(--dim); line-height: 1.3; }
@media (max-width: 767px) {
  .anat-head { top: 90px; }
  .tag .txt { width: 100px; padding: 0 6px; }
  .tag .txt b { font-size: 17px; }
  .tag .txt small { display: none; }
  .tag .line { width: 12px; }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; padding: 18vh 0 14vh; overflow: hidden; }
.rows { display: flex; flex-direction: column; gap: 1vw; }
.row { white-space: nowrap; font-family: var(--display); font-weight: 900; font-size: 15vw; line-height: .86; will-change: transform; }
.row span { display: inline-block; }
.row.outline { color: transparent; -webkit-text-stroke: max(1.5px, .18vw) var(--ink); }
.row.lime { color: var(--lime); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: 14vh var(--pad) 0; border-top: 1.5px solid rgba(243, 239, 228, .2);
}
.stat { padding: 28px 20px 0 0; }
.stat b { font-family: var(--display); font-weight: 900; font-size: clamp(64px, 8vw, 140px); line-height: .85; }
.stat > span { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.6vw, 44px); color: var(--lime); margin-left: 4px; }
.stat p { color: var(--dim); margin-top: 10px; max-width: 200px; }
@media (max-width: 767px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 24px; } }

/* ---------- Finale ---------- */
.finale { height: 260vh; position: relative; }
.finale .sticky { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 96px var(--pad) 48px; }
.finale-title { font-family: var(--display); font-weight: 900; text-align: center; line-height: .78; display: flex; flex-direction: column; align-items: center; }
.finale-title .l1 { font-size: 9vw; color: var(--dim); }
.finale-title .l2 { font-size: 27vw; color: transparent; -webkit-text-stroke: max(2px, .3vw) var(--ink); }
.cta-wrap { position: relative; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-wrap p { color: var(--dim); }
.cta {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--lime); color: var(--bg); border-radius: 99px; padding: 20px 30px;
  font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2vw, 30px); text-transform: uppercase;
  box-shadow: 0 0 0 0 rgba(200, 255, 46, .5); animation: pulse 2s infinite;
  will-change: transform;
}
.cta-bolt { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); font-size: 20px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 255, 46, .55); } 80%, 100% { box-shadow: 0 0 0 28px rgba(200, 255, 46, 0); } }
@media (max-width: 767px) {
  .finale-title .l1 { font-size: 14vw; }
  .finale-title .l2 { font-size: 34vw; }
  .cta { padding: 16px 22px; }
}

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; background: var(--lime); color: var(--bg); padding: var(--pad); overflow: hidden; }
.f-big { font-family: var(--display); font-weight: 900; font-size: 30vw; line-height: .78; letter-spacing: -.01em; }
.f-big sup { font-size: .15em; vertical-align: top; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; font-weight: 700; }
.f-cols div { display: flex; flex-direction: column; gap: 8px; }
.f-cols span { opacity: .72; }
.f-cols a:hover { text-decoration: underline; }
.f-note { text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 14px; font-weight: 500; }
@media (max-width: 767px) { .f-cols { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .grain, .scroll-badge svg, .sticker.s3, .blink, .cta, .scroll-badge .arrow { animation: none; }
}
