:root {
  --ink: #efe9df;
  --night: #0c0b0a;
  --accent: #ff4a1c;
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(16px, 3.4vw, 56px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  --paper: #0c0b0a;
  --fg: #efe9df;
  --mute: color-mix(in srgb, var(--fg) 60%, transparent);
  --line: color-mix(in srgb, var(--fg) 18%, transparent);
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }
ol, ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
::selection { background: var(--accent); color: #0c0b0a; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 4px; }
.card__art:focus-visible { outline: 3px solid #fff; outline-offset: -8px; }
[tabindex="-1"]:focus { outline: none; }
.nowrap { white-space: nowrap; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3dff8a; box-shadow: 0 0 10px #3dff8a; vertical-align: middle; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* split text helpers */
.line-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .2em .03em .32em; margin: -.2em -.03em -.32em; white-space: nowrap; }
.ch, .w { display: inline-block; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: #0c0b0a;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: var(--pad);
}
.loader { color: var(--ink); }
.loader__top { display: flex; justify-content: space-between; color: rgba(239, 233, 223, .56); gap: 16px; }
.loader__status::after { content: '...'; animation: dots 1.2s steps(4) infinite; display: inline-block; width: 3ch; overflow: hidden; vertical-align: bottom; }
@keyframes dots { from { width: 0; } to { width: 4ch; } }
.loader__reel { align-self: center; height: clamp(54px, 9vw, 140px); overflow: hidden; }
.loader__reel-inner { display: flex; flex-direction: column; }
.loader__reel-inner span {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(44px, 8vw, 128px); line-height: clamp(54px, 9vw, 140px); height: clamp(54px, 9vw, 140px);
  letter-spacing: -.03em; white-space: nowrap;
}
.loader__count { justify-self: end; font-family: var(--display); font-weight: 900; font-size: clamp(64px, 14vw, 220px); line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.loader__bar { height: 2px; background: rgba(239, 233, 223, .14); margin-top: 18px; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 250; pointer-events: none;
  background: var(--c, var(--accent)); color: var(--ci, #0c0b0a);
  clip-path: circle(0% at var(--x, 50%) var(--y, 50%));
  display: grid; place-items: center; text-align: center;
}
.curtain.is-on { pointer-events: auto; }
.curtain__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); }
.curtain::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, color-mix(in srgb, var(--c) 70%, transparent) 75%); pointer-events: none; }
.curtain__inner { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: center; padding: var(--pad); }
.curtain__name { text-shadow: 0 10px 60px rgba(0,0,0,.35); font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 12vw, 200px); line-height: .9; letter-spacing: -.04em; overflow: hidden; }
.curtain__hint { opacity: .7; max-width: 38ch; text-transform: none; letter-spacing: .02em; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; }
.cursor__dot { position: fixed; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.cursor__ring {
  position: fixed; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor__text { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #0c0b0a; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: #fff; }
.cursor.has-text .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); border-color: var(--accent); mix-blend-mode: normal; }
.cursor.has-text .cursor__text { opacity: 1; }
.cursor.has-text .cursor__dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }
@media (forced-colors: active) { .cursor { display: none; } body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: auto; } }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -12%; z-index: 350; pointer-events: none; opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' 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%, -7%); }
  60% { transform: translate(-3%, 9%); } 80% { transform: translate(8%, 2%); } 100% { transform: translate(0, 0); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px var(--pad); color: var(--fg); transition: color .3s;
}
.nav.on-hero { color: var(--ink); }
.nav { transition: transform .6s var(--ease-out), color .3s; }
.nav.is-hidden { transform: translateY(-120%); }
.nav::before { content: ''; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none; background: linear-gradient(var(--paper) 35%, transparent); opacity: .92; }
.nav.on-hero::before { opacity: 0; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.nav__logo svg { width: 26px; height: 26px; transition: transform .6s var(--ease-out); }
.nav__logo:hover svg { transform: rotate(-25deg) scale(1.12); }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 40px); font-size: 15px; font-weight: 500; }
.nav__links a { display: inline-block; padding: 6px 2px; }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__clock { display: flex; align-items: center; gap: 8px; }
.nav__xp { display: flex; align-items: center; gap: 8px; }
.nav__xp i { width: 70px; height: 6px; border: 1px solid currentColor; border-radius: 99px; overflow: hidden; }
.nav__xp i em { display: block; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; }
.nav__motion { display: flex; align-items: center; gap: 8px; }
.nav__motion i { width: 26px; height: 14px; border-radius: 99px; border: 1px solid currentColor; position: relative; }
.nav__motion i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transition: transform .4s var(--ease-out); }
.nav__motion[aria-pressed="true"] i::after { transform: translateX(12px); }
@media (max-width: 1200px) { .nav__right { gap: 16px; } }
@media (max-width: 1000px) { .nav__motion b { display: none; } }
@media (max-width: 760px) { .js-motion { display: none !important; } .nav__links { gap: 14px; font-size: 13px; } .nav__logo span { display: none; } }

/* rolling text */
[data-roll] { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; }
[data-roll] .roll { display: inline-block; transition: transform .55s var(--ease-out); }
[data-roll] .roll::after { content: attr(data-t); position: absolute; left: 0; top: 100%; }
a:hover > [data-roll] .roll, button:hover > [data-roll] .roll { transform: translateY(-100%); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--ink); --mute: rgba(239, 233, 223, .62); --line: rgba(239, 233, 223, .2); }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(transparent, var(--paper)); pointer-events: none; }
.lens-label {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; white-space: nowrap;
  padding: 7px 12px; border-radius: 99px; background: rgba(12, 11, 10, .82); color: #fff;
  display: flex; gap: 8px; align-items: center;
}
.lens-label span { opacity: .6; }
.lens-label b { font-weight: 600; }
.lens-label::after { content: '↗'; color: var(--accent); }
.hero__title { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero__fallback { font-family: var(--display); font-weight: 900; font-size: 15.5vw; letter-spacing: -.05em; line-height: 1; }
.has-gl .hero__fallback { visibility: hidden; }
.hero__meta {
  z-index: 2;
  position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad);
  display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 24px;
}
.hero__who { font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.6vw, 24px); line-height: 1.15; }
.hero__who em { font-family: var(--sans); font-weight: 400; color: var(--mute); }
.hero__who .mono { display: block; margin-bottom: 10px; color: var(--accent); }
.hero__line { font-size: clamp(15px, 1.25vw, 19px); color: var(--mute); max-width: 34ch; }
.hero__scroll { display: flex; align-items: center; gap: 12px; }
.hero__scroll i { width: 1px; height: 54px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: currentColor; animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__badge { position: absolute; right: var(--pad); top: 15%; width: clamp(96px, 9vw, 150px); aspect-ratio: 1; display: grid; place-items: center; }
.hero__badge svg { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.hero__badge text { font-family: var(--mono); font-size: 15px; fill: var(--ink); }
.hero__badge { z-index: 2; }
.hero__badge-core { width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #0c0b0a; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: clamp(18px, 1.8vw, 28px); position: relative; transition: transform .4s var(--ease-out); }
.hero__badge-core::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 2.2s var(--ease-out) infinite; }
.hero__badge-core:hover { transform: scale(1.12) rotate(-8deg); }
@keyframes ping { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .hero__meta { grid-template-columns: 1fr; gap: 14px; }
  .hero__scroll { display: none; }
  .hero__badge { top: 14%; width: 92px; }
}

/* ---------- marquee ---------- */
.marquee { position: relative; padding: 9vw 0; overflow: hidden; }
.marquee__row { white-space: nowrap; overflow: hidden; }
.marquee__row--a { background: var(--accent); color: #0c0b0a; transform: rotate(-3deg) scale(1.06); position: relative; z-index: 2; }
.marquee__row--b { transform: rotate(2.2deg) scale(1.06); margin-top: -2vw; background: #d7ff3a; color: #0c0b0a; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(34px, 6vw, 96px); line-height: 1.25; padding: 0 .35em; letter-spacing: -.02em;
  display: inline-flex; align-items: center; gap: .35em;
}
.marquee__track span svg { width: .62em; height: .62em; flex: none; }
.marquee__row--b .marquee__track span { -webkit-text-stroke: 3px #0c0b0a; color: #d7ff3a; paint-order: stroke fill; }
.marquee__row--b .marquee__track span svg { color: #0c0b0a; }

/* ---------- about ---------- */
.about { padding: 14vh var(--pad) 16vh; --mute: color-mix(in srgb, var(--fg) 75%, transparent); }
.about__label { color: var(--accent); margin-bottom: 4vh; }
.about__label { color: var(--fg) !important; }
.about__text { font-family: var(--sans); font-weight: 500; font-size: clamp(28px, 4.3vw, 72px); line-height: 1.12; letter-spacing: -.025em; max-width: 24ch; }
.about__text .w { opacity: .13; }
.about__text .w--img { opacity: 1; vertical-align: middle; margin: -.1em .04em 0; }
.about__text .w--img span { display: inline-block; width: 1.9em; height: .95em; border-radius: 99px; overflow: hidden; vertical-align: middle; background: var(--night); transform: scale(0) rotate(-12deg); box-shadow: 0 .12em .4em rgba(0,0,0,.25); }
.about__text .w--img img { width: 100%; height: 100%; object-fit: cover; }
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 12vh; border-top: 1px solid var(--line); padding-top: 28px; }
.about__stat { display: grid; gap: 10px; color: var(--mute); }
.about__num { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 9vw, 150px); line-height: .9; color: var(--fg); letter-spacing: -.04em; }
@media (max-width: 760px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- works ---------- */
.works { position: relative; }
.works__head { padding: 6vh var(--pad) 0; display: grid; gap: 12px; }
.works__head .mono:first-child { color: var(--fg); }
.works__head > * { min-width: 0; }
.works__title, .index__title, .scord__title, .foot__big {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .88;
}
.works__title { font-size: clamp(32px, 12vw, 190px); }
.works__sub { color: var(--mute); }
.works__pin { position: relative; height: 100vh; overflow: hidden; overflow: clip; }
.works__track { display: flex; height: 100%; align-items: center; padding: 0 var(--pad); gap: 6vw; width: max-content; will-change: transform; }
.works__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; height: 2px; background: var(--line); }
.works__progress i { display: block; height: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; }

.card {
  --c: var(--accent);
  flex: 0 0 auto; width: min(1180px, 76vw); height: min(78vh, 780px);
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 3vw, 54px); align-items: stretch;
}
.card__art {
  position: relative; overflow: hidden; border-radius: clamp(10px, 1.4vw, 22px); background: var(--cbg, #111);
  isolation: isolate; transform: translateZ(0);
}
.card__art img { position: absolute; inset: -6% -10%; width: 120%; max-width: none; height: 112%; object-fit: cover; }
.card__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%); pointer-events: none; }
.card__num {
  position: absolute; left: 22px; top: 18px; z-index: 2; font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  padding: 6px 10px; border-radius: 99px; background: rgba(0,0,0,.62); color: #fff;
}
.card__status { position: absolute; right: 22px; top: 18px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(0,0,0,.62); color: #fff; }
.card__status .dot { background: #ffb020; box-shadow: 0 0 10px #ffb020; }
.card__status.is-up .dot { background: #3dff8a; box-shadow: 0 0 10px #3dff8a; }
.card__name {
  position: absolute; left: 22px; right: 22px; bottom: 14px; z-index: 2;
  font-family: var(--display); font-weight: 900; text-transform: uppercase; color: #fff;
  font-size: clamp(38px, 6.2vw, 118px); line-height: .86; letter-spacing: -.045em;
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.card__name .ch { transition: transform .6s var(--ease-out), color .4s; }
.card:hover .card__name .ch { transform: translateY(-.08em); color: var(--c); }
.card:hover .card__name .ch:nth-child(odd) { transform: translateY(.06em) rotate(-3deg); color: #fff; }
.card__name .ch:nth-child(2) { transition-delay: .03s; } .card__name .ch:nth-child(3) { transition-delay: .06s; }
.card__name .ch:nth-child(4) { transition-delay: .09s; } .card__name .ch:nth-child(5) { transition-delay: .12s; }
.card__name .ch:nth-child(6) { transition-delay: .15s; } .card__name .ch:nth-child(n+7) { transition-delay: .18s; }
.card__art { box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
.card__info {
  --fg: #1b140e; --mute: rgba(27, 20, 14, .72); --line: rgba(27, 20, 14, .2); --ct: color-mix(in srgb, var(--c) 50%, #1b140e);
  position: relative; display: flex; flex-direction: column; gap: 0; min-width: 0; color: var(--fg);
  background: #efe4c8 linear-gradient(transparent 0 calc(100% - 1px), rgba(27, 20, 14, .05) 0) 0 0 / 100% 1.6em;
  padding: clamp(20px, 2.2vw, 36px); border-radius: 6px; rotate: -1.2deg; align-self: center;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 2px 0 rgba(0, 0, 0, .08);
}
.card:nth-child(even) .card__info { rotate: 1.1deg; }
.card__info::before { content: ''; position: absolute; top: -16px; left: 38px; width: 18px; height: 56px; border: 3px solid #8d949b; border-radius: 10px; }
.card__dev { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chipdev { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; background: #1b140e; color: #efe4c8; }
.chipdev--touch { background: var(--c); color: var(--ci); }
.card__quip { font-family: var(--mono); font-size: 12px; margin-top: 10px; color: #b3261e; }
.card__quip::before { content: '// '; opacity: .6; }
.card__case { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.card__crime { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; }
.card__crime b { color: #b3261e; }
.stat { display: grid; grid-template-columns: 8.5em 1fr; gap: 10px; align-items: center; font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .05em; position: relative; }
.stat i { height: 9px; background: repeating-linear-gradient(90deg, var(--c) 0 9%, transparent 9% 10%); transform: scaleX(var(--v)); transform-origin: left; box-shadow: inset 0 0 0 1px rgba(27, 20, 14, .15); }
.stat em { position: absolute; right: -6px; top: -16px; font: 700 18px 'Caveat', cursive; color: #b3261e; rotate: -6deg; text-transform: none; }
.card__cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn--ghost { border-style: dashed; font-size: 14px; padding: 12px 16px; }
.card.is-picked .card__art { box-shadow: 0 0 0 4px #fff, 0 0 0 12px var(--c), 0 30px 80px -20px rgba(0, 0, 0, .6); }
.card.is-picked .card__info { outline: 3px solid var(--c); outline-offset: 6px; }
@media (max-height: 860px) and (min-width: 901px) { .card__blurb { display: none; } }
@media (max-height: 720px) and (min-width: 901px) { .card__feats { display: none; } }
.card__genre { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border: 1px solid var(--line); border-radius: 99px; color: var(--mute); }
.tag--c { border-color: var(--c); color: var(--ci); background: var(--c); }
.card__line { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ct, var(--c)); margin-top: 22px; }
.card__tagline { font-family: var(--sans); font-weight: 700; font-size: clamp(22px, 2.1vw, 38px); line-height: 1.05; letter-spacing: -.02em; margin-top: 10px; }
.card__blurb { color: color-mix(in srgb, var(--fg) 80%, transparent); margin-top: 16px; max-width: 40ch; font-size: clamp(15px, 1.05vw, 17px); }
.card__feats { margin-top: 18px; display: grid; gap: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .03em; }
.card__feats li { display: flex; gap: 10px; align-items: baseline; }
.card__feats li::before { content: '+'; color: var(--ct, var(--c)); }

@media not all and (min-width: 901px) {
  .works__pin { height: auto; overflow: visible; }
  .works__track { flex-direction: column; width: auto; gap: 14vh; padding: 10vh var(--pad); }
  .works__progress { display: none; }
  .card { width: 100%; height: auto; grid-template-columns: 1fr; }
  .card__art { aspect-ratio: 4 / 3.3; }
  .works__track { will-change: auto; }
}

/* buttons */
.btn {
  --bc: var(--fg);
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 18px 16px 26px;
  border: 1px solid var(--bc); border-radius: 99px; font-weight: 600; font-size: 16px;
  transition: background-color .35s, color .35s; position: relative; will-change: transform;
}
.btn i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bc); color: var(--paper); transition: transform .5s var(--ease-out); }
.btn:hover { background: var(--bc); color: var(--paper); }
.btn:hover i { transform: rotate(45deg); background: var(--paper); color: var(--bc); }
.btn--solid { background: var(--fg); border-color: var(--fg); color: var(--paper); }
.btn--solid i { background: var(--paper); color: var(--fg); }
.btn--solid:hover { background: transparent; color: var(--fg); }
.btn--solid:hover i { background: var(--fg); color: var(--paper); }
.card .btn { --bc: var(--c); }
.card .btn i { color: var(--ci); }
.card .btn:hover { color: var(--ci); }
.card .btn:hover i { background: var(--ci); color: var(--c); }

/* ---------- index ---------- */
.index { padding: 16vh var(--pad) 12vh; }
.index__head { display: grid; gap: 12px; margin-bottom: 6vh; }
.index__head .mono { color: var(--fg); }
.index__title { font-size: clamp(40px, 7.2vw, 130px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 5vh; }
.chip {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .07em;
  padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); color: var(--mute);
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip sup { font-size: 9px; margin-left: 4px; opacity: .7; }
.chip:hover { border-color: var(--fg); color: var(--fg); }
.chip.is-active { background: var(--fg); color: var(--paper); border-color: var(--fg); }
.list { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); overflow: hidden; }
.row a {
  --c: var(--accent);
  display: grid; grid-template-columns: 70px 1.3fr 1fr 1fr 40px; gap: 20px; align-items: center;
  padding: clamp(18px, 2.4vw, 34px) 8px; position: relative; isolation: isolate;
}
.row a::before { content: ''; position: absolute; inset: 0; background: var(--c); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out); z-index: -1; }
.row a:hover::before, .row a:focus-visible::before { transform: scaleY(1); }
.row a:hover, .row a:focus-visible { color: var(--ci, #0c0b0a); }
.row__n { font-family: var(--mono); font-size: 12px; opacity: .6; }
.row__name { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 58px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; transition: transform .55s var(--ease-out); }
.row a:hover .row__name { transform: translateX(14px); }
.row__genre { font-size: 15px; opacity: .8; }
.row__tags { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.row__arrow { font-size: 22px; transition: transform .5s var(--ease-out); justify-self: end; }
.row a:hover .row__arrow { transform: rotate(45deg); }
@media (max-width: 760px) {
  .row a { grid-template-columns: 34px 1fr 30px; }
  .row__genre, .row__tags { display: none; }
}

.preview {
  position: fixed; left: 0; top: 0; z-index: 110; pointer-events: none;
  width: clamp(260px, 26vw, 420px); aspect-ratio: 16 / 10; margin: -110px 0 0 -130px;
  border-radius: 14px; overflow: hidden; opacity: 0; transform: scale(.6);
}
.preview__inner { position: absolute; inset: 0; }
.preview__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .preview { display: none; } }

/* ---------- scord ---------- */
.scord { position: relative; min-height: 110vh; display: grid; align-items: center; overflow: hidden; padding: 14vh var(--pad); }
.scord__net { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.scord__content { position: relative; max-width: none; display: grid; gap: 22px; justify-items: start; }
.scord__content > .mono { color: #22d3ee; }
.scord__title { font-size: clamp(72px, 13vw, 230px); }
.scord__title .ch { background: linear-gradient(180deg, #f2f5ff 15%, #a78bfa 62%, #22d3ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.scord__text { font-size: clamp(18px, 1.5vw, 23px); color: rgba(242, 245, 255, .75); max-width: 44ch; }
.scord__tags { display: flex; gap: 10px; flex-wrap: wrap; }
.scord__tags li { padding: 6px 12px; border: 1px solid rgba(167, 139, 250, .5); border-radius: 99px; color: #c9b8ff; }
.scord .btn { --bc: #a78bfa; }
.scord__art {
  position: absolute; right: var(--pad); top: 50%; width: min(46vw, 760px); aspect-ratio: 16 / 10; translate: 0 -50%;
  border-radius: 22px; overflow: hidden; z-index: 1;
  box-shadow: 0 40px 120px -30px rgba(167, 139, 250, .55), 0 0 0 1px rgba(167, 139, 250, .35);
}
.scord__art img { width: 100%; height: 100%; object-fit: cover; }
.scord__content { z-index: 2; }
@media not all and (min-width: 901px) {
  .scord__art { position: relative; right: auto; top: auto; translate: none; width: 100%; margin-bottom: 6vh; order: -1; }
  .scord { display: flex; flex-direction: column; justify-content: center; }
}

/* ---------- footer ---------- */
.foot { padding: 18vh var(--pad) 28px; position: relative; overflow: hidden; --mute: color-mix(in srgb, var(--fg) 80%, transparent); }
.foot__label { color: var(--fg); margin-bottom: 4vh; }
.foot__big { font-size: clamp(38px, 12.5vw, 200px); }
.foot__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 7vh; }
.slot { margin-top: 28px; min-height: 1.4em; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 4vw, 60px); text-transform: uppercase; letter-spacing: -.03em; color: var(--fg); }
.foot__word {
  font-family: var(--display); font-weight: 900; font-size: 13vw; line-height: .8; letter-spacing: -.02em; display: flex; justify-content: center;
  margin: 12vh calc(var(--pad) * -1) 0; white-space: nowrap; color: var(--paper); -webkit-text-stroke: 3px color-mix(in srgb, var(--fg) 55%, transparent); paint-order: stroke fill;
  user-select: none;
}
.foot__word .ch { transition: color .4s, -webkit-text-stroke-color .4s; }
.foot__word .ch:hover { color: var(--fg); -webkit-text-stroke-color: var(--fg); transition: none; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--mute); }

/* ---------- reduced motion ---------- */
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
.reduce-motion .about__text .w { opacity: 1; }

/* ---------- fx: imleç izi, başarımlar, parti ---------- */
.fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 340; pointer-events: none; }
.toasts { position: fixed; left: var(--pad); bottom: calc(var(--pad) + 46px); z-index: 360; display: grid; gap: 10px; pointer-events: none; }
.hud {
  position: fixed; left: var(--pad); bottom: var(--pad); z-index: 130; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 99px; background: #0c0b0a; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.hud i { width: 64px; height: 6px; border: 1px solid currentColor; border-radius: 99px; overflow: hidden; }
.hud i em { display: block; height: 100%; background: #ffd23f; transform: scaleX(0); transform-origin: left; }
.hud b { color: #ffd23f; }
.toast {
  display: flex; gap: 14px; align-items: center; min-width: 260px; max-width: 340px;
  padding: 12px 18px 12px 12px; border-radius: 16px; background: #0c0b0a; color: #fff;
  box-shadow: 0 18px 50px -12px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.toast::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-100%); animation: shine 1.4s .3s var(--ease-out) forwards; }
@keyframes shine { to { transform: translateX(100%); } }
.toast__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 22px; color: #0c0b0a; background: linear-gradient(135deg, #ffd23f, #ff4a1c); box-shadow: 0 0 24px rgba(255, 160, 40, .55); }
.toast div { display: grid; gap: 2px; }
.toast .mono { font-size: 10px; color: #ffd23f; }
.toast b { font-family: var(--display); font-size: 15px; letter-spacing: -.01em; }
.toast small { font-size: 13px; color: rgba(255,255,255,.65); }
html.party .hero__gl, html.party .fx, html.party .marquee__row, html.party .card__art img { animation: party 1.1s linear infinite; }
@keyframes party { to { filter: hue-rotate(360deg); } }
@media (max-width: 760px) { .toast { min-width: 0; max-width: calc(100vw - 2 * var(--pad)); } }
.noscript-list { display: grid; gap: 12px; padding: 10vh var(--pad); font-family: var(--display); font-size: clamp(28px, 4vw, 56px); text-transform: uppercase; }
.card .tag:not(.tag--c) { color: color-mix(in srgb, var(--fg) 80%, transparent); border-color: color-mix(in srgb, var(--fg) 35%, transparent); }

/* ---------- delil panosu ---------- */
.board { padding: 16vh var(--pad) 14vh; }
.board__head { display: grid; gap: 14px; margin-bottom: 6vh; max-width: 1100px; }
.board__head .mono { color: var(--fg); }
.board__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .88; font-size: clamp(48px, 10vw, 180px); }
.board__sub { font-size: clamp(17px, 1.4vw, 22px); max-width: 56ch; color: var(--mute); }
.board__cork {
  position: relative; height: clamp(640px, 88vh, 900px); border-radius: 10px; isolation: isolate;
  background-color: #c4935f;
  background-image:
    radial-gradient(rgba(70, 35, 10, .35) 1px, transparent 1.6px),
    radial-gradient(rgba(255, 235, 200, .25) 1px, transparent 1.6px),
    radial-gradient(ellipse at 30% 20%, rgba(255, 220, 170, .25), transparent 60%);
  background-size: 7px 7px, 11px 11px, 100% 100%;
  background-position: 0 0, 3px 5px, 0 0;
  border: 14px solid #4a2e1a;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .3), inset 0 0 90px rgba(60, 30, 10, .55), 0 40px 90px -30px rgba(0, 0, 0, .7);
}
.board__strings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.board__pins { z-index: 5; }
.str { fill: none; stroke: #d11f1f; stroke-width: 2; stroke-linecap: round; opacity: .7; transition: opacity .3s, stroke-width .3s; }
.str--shadow { stroke: rgba(40, 15, 0, .3); opacity: 1; }
.pinc { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45)); }
.is-tracing .str { opacity: .1; }
.is-tracing .str--shadow { opacity: .12; }
.is-tracing .str.is-on { opacity: 1; stroke-width: 3; }
.pol, .note {
  position: absolute; z-index: 2; transform: rotate(var(--a, 0deg)); user-select: none; -webkit-user-select: none;
  transition: transform .35s var(--ease-out), box-shadow .35s, filter .35s;
}
.pol { width: 14%; padding: 8px 8px 0; background: #fbf8f1; color: #1d1a16; box-shadow: 0 12px 24px rgba(0, 0, 0, .35), 0 2px 4px rgba(0, 0, 0, .2); }
.pol img { width: 100%; aspect-ratio: 1.6; object-fit: cover; display: block; pointer-events: none; }
.pol__cap { display: block; font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(18px, 1.7vw, 28px); text-align: center; padding: 4px 0 6px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note {
  width: 11%; min-width: 112px; padding: 16px 10px 10px; background: var(--n); color: #1a1a1a; text-align: center;
  display: grid; gap: 2px; box-shadow: 0 10px 18px rgba(0, 0, 0, .3); font: inherit;
}
.note b { font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(20px, 1.6vw, 27px); line-height: 1; }
.note small { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.is-tracing .pol:not(.is-lit), .is-tracing .note:not(.is-lit) { filter: saturate(.35) brightness(.72); }
.pol.is-lit, .note.is-lit { transform: rotate(var(--a, 0deg)) scale(1.06); z-index: 3; box-shadow: 0 22px 40px rgba(0, 0, 0, .45); }
@media (hover: hover) and (pointer: fine) { .pol, .note { cursor: grab; } }
.pol.is-drag, .note.is-drag { cursor: grabbing; transform: rotate(0deg) scale(1.12); z-index: 3; box-shadow: 0 34px 60px rgba(0, 0, 0, .5); transition: transform .2s, box-shadow .2s; }
@media (max-width: 699px) {
  .board__cork { height: 780px; border-width: 8px; }
  .pol { width: 36%; padding: 6px 6px 0; }
  .note { width: 26%; min-width: 0; padding: 12px 6px 8px; }
  .note b { font-size: 18px; }
  .note small { font-size: 8px; }
}

/* damga, şerit küçük resimleri, canlı sunucu sayacı */
.stamp {
  position: absolute; right: 22px; top: 62px; z-index: 3; opacity: 0; pointer-events: none;
  font-family: var(--display); font-weight: 900; font-size: clamp(14px, 1.3vw, 20px); line-height: .95; letter-spacing: .04em; text-align: center;
  color: #ff3b30; padding: 8px 12px; border: 3px solid currentColor; border-radius: 8px; outline: 2px solid currentColor; outline-offset: 3px;
  background: rgba(255, 59, 48, .1); transform: rotate(-14deg); text-shadow: 0 0 1px currentColor;
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 55%, rgba(0, 0, 0, .55) 56%, #000 70%); mask-image: radial-gradient(circle at 30% 40%, #000 55%, rgba(0, 0, 0, .55) 56%, #000 70%);
}
.mq-thumb { height: .78em; width: 1.35em; object-fit: cover; border-radius: 99px; border: 3px solid #0c0b0a; flex: none; }
.hero__live { position: absolute; left: var(--pad); top: 84px; display: flex; align-items: center; gap: 8px; color: var(--ink); opacity: .85; }
@media (max-width: 760px) { .hero__live { top: 70px; font-size: 10px; } .stamp { top: 56px; right: 14px; } }
@media (max-width: 760px) {
  .toasts { top: 64px; bottom: auto; left: 50%; transform: translateX(-50%); width: calc(100vw - 2 * var(--pad)); justify-items: center; }
  .toast small { display: none; }
  .hud { padding: 6px 10px; font-size: 10px; }
  .hud i { width: 40px; }
}
/* tema geçişi: yeni renk alttan (ya da yandan) süpürür */
.wipe { position: fixed; inset: 0; z-index: -1; pointer-events: none; clip-path: inset(100% 0 0 0); }
/* liste satırında küçük resim (telefonda tür satırı da görünür) */
.row__thumb { display: none; }
@media (max-width: 760px) {
  .row a { grid-template-columns: 56px 1fr 26px; }
  .row__n { display: none; }
  .row__thumb { display: block; width: 56px; height: 40px; object-fit: cover; border-radius: 6px; }
  .row__name { font-size: 24px; }
  .row__genre { display: block; grid-column: 2; font-size: 12px; margin-top: -8px; }
}
/* önizleme polaroid gibi */
.preview { background: #fbf8f1; padding: 10px 10px 40px; border-radius: 3px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.preview__inner { inset: 10px 10px 40px; overflow: hidden; }
.preview::after { content: attr(data-cap); position: absolute; inset: auto 0 6px; text-align: center; font: 700 24px 'Caveat', cursive; color: #1b140e; }
/* manifesto sansür bantları */
.about__text .w { position: relative; }
.redact { position: absolute; inset: .14em -.06em .1em; background: var(--fg); border-radius: .06em; transform-origin: 100% 50%; pointer-events: none; }
.reduce-motion .redact { display: none; }
/* kart büyüteci */
.loupe { position: absolute; left: 0; top: 0; width: 210px; height: 210px; margin: -105px 0 0 -105px; border-radius: 50%; overflow: hidden; z-index: 4; pointer-events: none; transform: scale(0); background: var(--cbg); box-shadow: 0 0 0 4px #c9a14a, 0 0 0 7px #0c0b0a, 0 24px 60px rgba(0, 0, 0, .55); }
.loupe img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; }
.cursor.is-loupe { opacity: 0 !important; }
/* perde: sunucu uyanırken bekleme */
.curtain__acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.curtain__acts[hidden] { display: none; }
.curtain__acts button { font: 600 15px var(--sans); padding: 12px 20px; border-radius: 99px; border: 2px solid currentColor; color: inherit; }
.curtain__acts button:first-child { background: var(--ci, #0c0b0a); color: var(--c); border-color: var(--ci, #0c0b0a); }
.curtain__timer { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 4vw, 54px); letter-spacing: -.02em; }
.curtain__timer:empty { display: none; }
.curtain__hint.is-waking::after { content: '...'; animation: dots 1.2s steps(4) infinite; display: inline-block; width: 3ch; overflow: hidden; vertical-align: bottom; text-align: left; }

/* kağıt üstünde: Oyna dolu renkli, paylaş kesik çizgili */
.card .btn { --bc: #1b140e; }
.card .btn:not(.btn--ghost) { background: var(--c); color: var(--ci); border-color: var(--c); }
.card .btn:not(.btn--ghost) i { background: var(--ci); color: var(--c); }
.card .btn:hover { background: #1b140e; color: #efe4c8; border-color: #1b140e; }
.card .btn:hover i { background: #efe4c8; color: #1b140e; }

/* Sherlock'un çıkarımı */
.deduce { margin-top: 9vh; max-width: 62ch; padding: 18px 22px; border: 2px dashed color-mix(in srgb, var(--fg) 45%, transparent); border-radius: 10px; position: relative; }
.deduce__head { color: var(--fg); margin-bottom: 8px; }
.deduce__text { font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.15; min-height: 2.3em; }
.deduce__note { margin-top: 10px; font-size: 10px; color: var(--mute); text-transform: none; letter-spacing: .02em; }
.board__quote { font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(22px, 2vw, 30px); color: #ff8a7a; rotate: -1deg; max-width: 50ch; }
/* yükleme ekranı büyüteç deliğinden açılır */
.loader { --r: 0px; -webkit-mask: radial-gradient(circle at 62% 50%, #0000 var(--r), #000 calc(var(--r) + .5px)); mask: radial-gradient(circle at 62% 50%, #0000 var(--r), #000 calc(var(--r) + .5px)); }
.lens-label::after { content: '↓'; }
.nav__logo svg { width: 34px; height: auto; }
.lens-label[data-clue]::before { content: attr(data-clue); color: #ffd23f; margin-right: 4px; }
.hud { transition: opacity .4s, transform .4s var(--ease-out); }
.hud.on-hero { opacity: 0; transform: translateY(20px); pointer-events: none; }
.foot__contact { margin-top: 5vh; font-size: clamp(18px, 1.6vw, 24px); max-width: 46ch; }
.foot__contact b { font-family: var(--mono); font-weight: 600; background: var(--fg); color: var(--paper); padding: 2px 8px; border-radius: 6px; }
/* telefonda nav: logo + sorgu + düğmeler; bölüm linkleri sığmıyor */
@media (max-width: 760px) { .nav__links { display: none; } .nav__right { gap: 12px; } }
.mystery__head { padding: 16vh var(--pad) 4vh; display: grid; gap: 14px; }
.mystery__head .mono { color: var(--fg); }
.mystery__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .88; font-size: clamp(44px, 10vw, 180px); }
.mystery__sub { font-size: clamp(17px, 1.4vw, 22px); color: var(--mute); max-width: 52ch; }
/* telefonda JackID'in taşan "bağımlılık" barı sayfayı genişletmesin: taşma oyun bölümünün kenarında kesilir */
@media not all and (min-width: 901px) { .works__track { overflow-x: clip; } }
