:root {
  --ink: #0b0b0c;
  --ink-2: #141416;
  --paper: #f2f1ec;
  --mute: #8b8a86;
  --line: rgba(242, 241, 236, .14);
  --red: #ff2a1a;
  --yellow: #ffe100;
  --blue: #1f33d6;
  --pink: #ff3fa4;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --display: "Archivo", "Murecho", system-ui, sans-serif;
  --jp: "Murecho", "Hiragino Sans", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--jp);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.mono { font-family: "JetBrains Mono", var(--jp), ui-monospace, monospace; letter-spacing: .04em; }
/* Japanese display: heavy grotesk, proportional kana, slanted to sit with Archivo Black Italic */
.jp { display: inline-block; font-family: var(--jp); font-weight: 900; font-style: normal; font-feature-settings: "palt"; letter-spacing: -.04em; transform: skewX(-9deg); }
.jp-s { font-family: var(--jp); font-weight: 700; font-feature-settings: "palt"; letter-spacing: .06em; }
.label { margin: 0; font-size: 12px; color: var(--mute); }
::selection { background: var(--yellow); color: var(--ink); }

/* ---------- chrome: grain, cursor, nav ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; mix-blend-mode: difference; opacity: 0; }
.cursor.on { opacity: 1; }
.cursor i {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; transform: scale(var(--s, 1));
}
@media (hover: none) { .cursor { display: none; } }
@media (hover: hover) { body, a, button { cursor: none; } }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--gutter);
  mix-blend-mode: difference;
}
.nav-logo { font-size: 20px; text-decoration: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 12px; }
.nav-links a { text-decoration: none; opacity: .7; }
.nav-links a:hover { opacity: 1; }
.nav-cta { font-size: 12px; text-decoration: none; padding: 9px 14px; border: 1px solid currentColor; border-radius: 999px; }
@media (max-width: 680px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ---------- scenes ---------- */
.scene { position: relative; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene-label {
  position: absolute; left: var(--gutter); bottom: 22px; z-index: 5; margin: 0;
  font-size: 11px; color: var(--mute);
}

/* 01 stage */
.stage { height: 300vh; }
.gl, .stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-fallback { display: none; background: url("assets/collage.webp") 40% 62% / 140%; filter: grayscale(1) contrast(1.2) brightness(.6); }
.no-gl .stage-fallback { display: block; }
.stage-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,11,12,.85) 0%, rgba(11,11,12,.35) 55%, transparent 80%),
              linear-gradient(0deg, rgba(11,11,12,.7), transparent 40%);
}
.hero-copy {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(64px, 9vh, 110px);
  pointer-events: none;
}
.kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0 0 18px; font-size: 12px; color: #cfcec9; }
.kicker .sep { color: var(--red); }
.hero-h1 {
  margin: 0;
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(60px, 12vw, 220px); line-height: .84; letter-spacing: -.035em;
  text-transform: uppercase;
}
.hero-h1 .line { display: block; overflow: hidden; padding: 0 .06em .04em 0; }
.hero-h1 .w { display: inline-block; margin-right: .18em; will-change: transform; }
.hero-h1 em { color: var(--red); font-style: inherit; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: clamp(18px, 3vh, 32px); }
/* catch copy: thin, airy, quiet — lets the headline do the shouting */
.hero-catch {
  margin: 0; font-family: var(--jp); font-feature-settings: "palt";
  font-size: clamp(17px, 1.9vw, 28px); line-height: 1.85; letter-spacing: .16em; color: #f2f1ec;
  font-weight: 300; text-shadow: 0 1px 14px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6);
}
.hero-catch .dash { letter-spacing: -.08em; margin-right: .3em; }
.hero-catch .indent { padding-left: 2.15em; }
.scroll-hint { margin: 0; font-size: 11px; display: flex; align-items: center; gap: 12px; color: var(--mute); }
.scroll-hint i { width: 1px; height: 36px; background: linear-gradient(var(--paper), transparent); display: inline-block; }

.develop {
  position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px; color: var(--paper); opacity: 0; pointer-events: none;
  text-shadow: 0 1px 12px rgba(0,0,0,.8);
}
.develop b { font-family: var(--display); font-style: italic; font-size: clamp(56px, 9vw, 130px); line-height: 1; letter-spacing: -.03em; }

.watermark {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(14px, 2.2vw, 26px) var(--gutter);
  background: var(--paper); color: var(--ink);
  font-size: clamp(16px, 2.3vw, 32px);
  transform: translateY(100%);
}
.exif { display: grid; justify-items: end; font-size: .5em; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.exif b { font-weight: 600; font-variant-numeric: tabular-nums; }
.exif small { font-size: .75em; font-weight: 400; opacity: .6; }
@media (max-width: 640px) {
  .watermark { flex-direction: column; align-items: flex-start; }
  .exif { justify-items: start; font-size: .62em; }
}

/* 02 call — a pressed disc, crossed by tape */
.call { height: 240vh; background: var(--ink); }
.call .pin { display: grid; place-items: center; }
.stickers { position: relative; width: min(70vh, 84vw); aspect-ratio: 1; }
.stk { position: absolute; will-change: transform; }
.stk-mascot {
  left: 6%; top: 4%; width: 62%; height: auto;
  filter: drop-shadow(5px 0 0 #fff) drop-shadow(-5px 0 0 #fff) drop-shadow(0 5px 0 #fff) drop-shadow(0 -5px 0 #fff) drop-shadow(0 26px 30px rgba(0,0,0,.55));
}
.stk-zeiss {
  right: 2%; bottom: 6%; width: 46%; height: auto;
  border: 7px solid #fff; border-radius: 6px;
  box-shadow: 0 24px 40px -12px rgba(0,0,0,.6);
}
.tape {
  position: absolute; left: -10vw; right: -10vw; z-index: 3;
  padding: .12em 0; overflow: hidden;
  font-size: clamp(42px, 7vw, 120px); line-height: 1;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.7);
}
.tape-a { top: 26%; background: #ff5a1f; color: var(--ink); transform: rotate(-14deg); }
.tape-b { top: 64%; background: var(--paper); color: var(--ink); transform: rotate(9deg); }
.tape-track { display: flex; align-items: center; gap: .45em; width: max-content; white-space: nowrap; will-change: transform; padding: 0 .3em; }
.tape .jp { letter-spacing: -.05em; }
.tape .en { font-family: var(--display); font-weight: 900; font-style: italic; letter-spacing: -.03em; font-size: .46em; }
.tape-a .en { color: rgba(11,11,12,.75); }
.tape-b .en { color: var(--red); }
@media (max-width: 640px) {
  .tape { font-size: 40px; }
  .tape-a { top: 22%; } .tape-b { top: 70%; }
}

/* 03 rule */
.rule { height: 260vh; }
.rule .pin { display: grid; place-items: center; align-content: center; gap: clamp(14px, 3vh, 30px); background: radial-gradient(ellipse at 50% 55%, #1d0b08 0%, var(--ink) 65%); }
.rule-pre { margin: 0; display: grid; justify-items: center; gap: 10px; text-align: center; }
.rule-pre .jp { font-size: clamp(26px, 3.6vw, 56px); }
.rule-pre .mono { font-size: 11px; color: var(--mute); }
.rule-word {
  margin: 0; display: flex; justify-content: center; gap: .02em;
  font-family: var(--jp); font-weight: 900; font-feature-settings: "palt";
  font-size: clamp(84px, 21vw, 360px); line-height: 1;
}
.rule-word span { display: inline-block; opacity: 0; will-change: transform, opacity, filter; }
.rule-word { transform-origin: center; }
.rule-word span { --skew: -9deg; }
.rule-en {
  margin: 0; font-family: var(--display); font-weight: 900; font-style: italic; letter-spacing: -.02em;
  font-size: clamp(22px, 3vw, 44px); opacity: 0;
}
.rule-en em { font-style: inherit; color: var(--red); }
.rule-receipts { list-style: none; margin: clamp(8px, 2vh, 20px) auto 0; padding: 0 var(--gutter); max-width: 1100px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; opacity: 0; }
.rule-receipts li { display: flex; align-items: baseline; gap: 10px; font-family: var(--jp); font-weight: 700; font-feature-settings: "palt"; font-size: clamp(15px, 1.5vw, 20px); color: #e6e5df; }
.rule-receipts .mono { font-size: 10px; color: var(--red); letter-spacing: .1em; }
.rule-receipts small { font-weight: 500; font-size: .72em; color: var(--mute); margin-left: .2em; }

/* 07 join */
.join { height: 170vh; }
.join .pin { background: var(--blue); color: #fff; display: grid; align-items: center; }
.join-halftone {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255,63,164,.6) 1.6px, transparent 2px) 0 0 / 10px 10px;
  -webkit-mask: radial-gradient(circle at var(--mx, 70%) var(--my, 40%), #000, transparent 55%);
          mask: radial-gradient(circle at var(--mx, 70%) var(--my, 40%), #000, transparent 55%);
}
.join .scene-label { color: rgba(255,255,255,.65); }
.join-body { position: relative; z-index: 2; padding: 0 var(--gutter); }
.join-kicker { margin: 0 0 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.join-kicker .jp { white-space: nowrap; }
.join-kicker .jp { font-size: clamp(24px, 2.8vw, 40px); color: var(--pink); }
.join-kicker .mono { font-size: 11px; color: rgba(255,255,255,.7); }
.join-title {
  margin: 0; font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(54px, 11vw, 190px); line-height: .86; letter-spacing: -.035em;
}
.join-title .line { display: block; overflow: hidden; padding-right: .08em; }
.join-title .w { display: inline-block; will-change: transform; }
.join-title em { font-style: inherit; color: var(--yellow); }
.join-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: clamp(28px, 5vh, 48px); opacity: 0; }
.btn-xl {
  display: inline-flex; align-items: center; gap: .7em;
  padding: 22px 34px; border-radius: 999px;
  background: #fff; color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 900; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: .01em;
  will-change: transform;
}
.btn-xl:hover { background: var(--yellow); }
.copy { display: inline-flex; gap: 12px; align-items: center; padding: 18px 20px; border-radius: 999px; background: transparent; border: 1px solid rgba(255,255,255,.4); font-size: 13px; }
.copy b { color: var(--yellow); font-weight: 600; }
.stamp {
  position: absolute; right: clamp(16px, 7vw, 120px); bottom: 14vh; z-index: 1;
  display: grid; justify-items: center; gap: 6px; padding: 16px 22px;
  border: 3px solid var(--pink); border-radius: 8px; color: var(--pink);
  font-size: 11px; letter-spacing: .2em; opacity: 0;
}
.stamp b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(30px, 4.4vw, 64px); letter-spacing: -.02em; line-height: 1; }
@media (max-width: 640px) { .stamp { bottom: auto; top: 10vh; right: 16px; padding: 10px 14px; } }

/* footer */
.footer { overflow: hidden; }
.footer-word {
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: 18vw; line-height: .8; letter-spacing: -.045em; white-space: nowrap;
  color: transparent; padding: 40px 0 10px;
  background: radial-gradient(circle, rgba(242,241,236,.3) 1.2px, transparent 1.6px) 0 0 / 7px 7px;
  -webkit-background-clip: text; background-clip: text;
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 18px var(--gutter) 26px; font-size: 11px; color: var(--mute); border-top: 1px solid var(--line); }
