/* =========================================================
   CYBERDOLL — home
   y2k / cyber alt / grunge-futuristic
   ========================================================= */

:root {
  --paper: #e8e6e2;
  --paper-2: #d9d6d1;
  --ink: #0a0a0b;
  --ink-2: #16161a;
  --white: #f6f3ef;
  --red: #ff2a2a;
  --pink: #ffa9cf;
  --hotpink: #ff5ea8;
  --ice: #9fc4e8;
  --ice-2: #6f9ccb;
  --chrome: #c7ccd4;

  --f-display: "Anton", "Impact", sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
  --f-pixel: "Silkscreen", "Space Mono", monospace;
  --f-script: "Pinyon Script", cursive;

  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 92px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: var(--red); color: var(--white); }

:focus-visible { outline: 2px dashed var(--red); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- type helpers ---------- */
.kicker {
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kicker--light { color: var(--white); }

.script {
  font-family: var(--f-script);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1;
  font-weight: 400;
}
.script--red { color: var(--red); }

.h-display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 180px);
  line-height: .86;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.h-display--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.h-display--light { color: var(--white); }

.link-arrow {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  display: inline-block;
  transition: color .3s, letter-spacing .4s var(--ease);
}
.link-arrow:hover { color: var(--red); letter-spacing: .22em; }
.link-arrow--light { color: var(--white); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  border-radius: 999px;
  border: 1.5px solid var(--bg);
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s;
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--red);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--red); color: var(--white); }
.btn i { font-style: normal; transition: transform .35s var(--ease); }
.btn:hover i { transform: translateX(5px); }
.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(246,243,239,.7); }
.btn--dark { --bg: var(--ink); --fg: var(--white); }

/* =========================================================
   GLOBAL FX
   ========================================================= */
.grain {
  position: fixed; inset: -40%;
  z-index: 9000;
  pointer-events: none;
  opacity: .12;
  will-change: transform;
  contain: strict;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 5%); }
  80% { transform: translate(5%, 2%); }
  100% { transform: translate(0, 0); }
}

.trail {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 9500;
}

.cursor {
  position: fixed; left: 0; top: 0;
  z-index: 9600;
  pointer-events: none;
  display: none;
}
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input { cursor: text; }
.cursor__heart {
  width: 18px; height: 16px;
  fill: var(--hotpink);
  transform: translate(-50%, -50%);
  filter: drop-shadow(1px 1px 0 var(--ink)) drop-shadow(-1px -1px 0 var(--white));
  transition: width .25s var(--ease), height .25s var(--ease), fill .25s;
}
.cursor.is-hover .cursor__heart { width: 34px; height: 30px; fill: var(--red); }
.cursor.is-down .cursor__heart { width: 12px; height: 10px; }
.cursor__label {
  position: absolute; left: 16px; top: 10px;
  font-family: var(--f-pixel);
  font-size: 10px;
  white-space: nowrap;
  background: var(--ink);
  color: var(--white);
  padding: 3px 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.cursor.has-label .cursor__label { opacity: 1; transform: none; }

.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 9700;
  transform: translate(-50%, 140%);
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-pixel);
  font-size: 12px;
  padding: 12px 18px;
  border: 1.5px solid var(--pink);
  box-shadow: 4px 4px 0 var(--red);
  transition: transform .5s var(--ease), opacity .3s;
  white-space: nowrap;
  opacity: 0;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0;
  z-index: 10000;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
}
.loader.is-dissolving { background: transparent; }
.loader__inner {
  width: min(520px, 86vw);
  font-family: var(--f-mono);
  font-size: 13px;
  position: relative;
  z-index: 2;
  transition: opacity .3s;
}
.loader.is-dissolving .loader__inner { opacity: 0; }
.loader__term { min-height: 150px; }
.loader__term p { margin: 0 0 6px; white-space: pre; overflow: hidden; }
.loader__term p b { color: var(--pink); font-weight: 400; }
.loader__term p .ok { color: var(--ice); }
.loader__bar {
  height: 18px;
  border: 1.5px solid var(--white);
  padding: 2px;
  margin-top: 14px;
}
.loader__bar span {
  display: block; height: 100%; width: 0;
  background: repeating-linear-gradient(90deg, var(--pink) 0 10px, transparent 10px 13px);
}
.loader__foot {
  display: flex; justify-content: space-between;
  font-family: var(--f-pixel);
  font-size: 11px;
  margin-top: 8px;
}
.loader__skip {
  margin-top: 28px;
  font-size: 11px;
  opacity: .45;
  text-align: center;
}
.loader__pix {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  color: var(--white);
  transition: transform .5s var(--ease), color .3s;
}
.header.is-hidden { transform: translateY(-100%); }

.ticker {
  background: var(--red);
  color: var(--white);
  font-family: var(--f-pixel);
  font-size: 11px;
  height: 26px;
  display: flex; align-items: center;
  overflow: hidden;
}
.ticker .marquee__track span { padding-right: 48px; }

.nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 66px;
  padding: 0 var(--gutter);
  transition: background .4s;
}
.header.is-solid .nav { background: rgba(10, 10, 11, .94); }
.nav__links {
  display: flex; gap: clamp(14px, 2vw, 30px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.nav__links--right { justify-content: flex-end; align-items: center; }
.nav__links a { position: relative; padding: 4px 0; display: inline-block; }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__logo { display: block; }
.navlogo { display: block; width: clamp(150px, 16vw, 210px); height: 44px; }
.nav__wish { display: inline-flex !important; align-items: center; gap: 6px; }
.nav__wish svg { width: 14px; height: 12px; fill: var(--pink); }
.nav__bag {
  border: 1.5px solid currentColor;
  padding: 6px 12px !important;
  border-radius: 999px;
}
.nav__bag::after { display: none; }
.nav__bag.bump { animation: bump .5s var(--ease); }
@keyframes bump {
  30% { transform: scale(1.25) rotate(-6deg); background: var(--red); border-color: var(--red); }
  100% { transform: none; }
}
.nav__burger {
  display: none;
  width: 36px; height: 36px;
  position: relative;
}
.nav__burger span {
  position: absolute; left: 6px; right: 6px; height: 2px;
  background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav__burger span:first-child { top: 13px; }
.nav__burger span:last-child { top: 22px; }
.menu-open .nav__burger span:first-child { top: 17px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 17px; transform: rotate(-45deg); }

/* overlay menu */
.menu {
  position: fixed; inset: 0;
  z-index: 790;
  background: var(--ink);
  color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-io);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__list a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-display);
  font-size: clamp(44px, 12vw, 110px);
  line-height: 1;
  padding: 4px 0;
  transform: translateY(40px);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .6s, color .3s;
}
.menu__list a small { font-family: var(--f-pixel); font-size: 12px; color: var(--pink); }
.menu__list a:hover { color: var(--red); }
.menu-open .menu__list a { transform: none; opacity: 1; }
.menu-open .menu__list li:nth-child(1) a { transition-delay: .15s; }
.menu-open .menu__list li:nth-child(2) a { transition-delay: .2s; }
.menu-open .menu__list li:nth-child(3) a { transition-delay: .25s; }
.menu-open .menu__list li:nth-child(4) a { transition-delay: .3s; }
.menu-open .menu__list li:nth-child(5) a { transition-delay: .35s; }
.menu-open .menu__list li:nth-child(6) a { transition-delay: .4s; }
.menu__foot {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 40px;
  font-size: 12px; letter-spacing: .12em; font-weight: 700;
}

/* =========================================================
   MEDIA PLACEHOLDERS (your photos go here)
   ========================================================= */
.media {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(10,10,11,.05) 0 1px, transparent 1px 4px),
    linear-gradient(160deg, #cfccc7, #a9a6a2);
}
.media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 1.2s var(--ease), filter .6s;
}
.media.is-empty img { display: none; }
.ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  text-align: center;
  color: rgba(10,10,11,.6);
  font-family: var(--f-pixel);
  font-size: 11px;
  padding: 12px;
}
.ph::before, .ph::after {
  content: ""; position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid var(--red);
}
.ph::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.ph::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.ph__icon {
  width: 34px; height: 28px;
  border: 1.5px solid currentColor;
  position: relative;
}
.ph__icon::before {
  content: ""; position: absolute; left: 5px; bottom: 5px;
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-bottom: 10px solid currentColor;
}
.ph__icon::after {
  content: ""; position: absolute; right: 5px; top: 5px;
  width: 6px; height: 6px; background: var(--red);
}
.ph__file { font-family: var(--f-mono); font-size: 10px; opacity: .7; }
.media--bg .ph {
  inset: auto var(--gutter) 24px auto;
  align-items: flex-end;
  color: rgba(246,243,239,.45);
  padding: 0;
}
.media--bg .ph::before, .media--bg .ph::after, .media--bg .ph__icon { display: none; }

/* glitch layers on hover */
.glitchable { position: relative; }
.glitchable::before,
.glitchable::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
}
.glitchable:hover::before, .glitchable:hover::after { mix-blend-mode: screen; }
.glitchable::before { background: rgba(255, 42, 42, .55); }
.glitchable::after { background: rgba(120, 200, 255, .5); }
.glitchable:hover::before { animation: glitchA .5s steps(2) 2; }
.glitchable:hover::after { animation: glitchB .5s steps(2) 2; }
@keyframes glitchA {
  0% { opacity: .9; clip-path: inset(10% 0 70% 0); transform: translateX(-8px); }
  25% { opacity: .9; clip-path: inset(55% 0 20% 0); transform: translateX(10px); }
  50% { opacity: .9; clip-path: inset(30% 0 50% 0); transform: translateX(-4px); }
  75% { opacity: .9; clip-path: inset(80% 0 5% 0); transform: translateX(6px); }
  100% { opacity: 0; }
}
@keyframes glitchB {
  0% { opacity: .9; clip-path: inset(65% 0 15% 0); transform: translateX(8px); }
  25% { opacity: .9; clip-path: inset(5% 0 80% 0); transform: translateX(-10px); }
  50% { opacity: .9; clip-path: inset(40% 0 40% 0); transform: translateX(5px); }
  75% { opacity: .9; clip-path: inset(20% 0 65% 0); transform: translateX(-6px); }
  100% { opacity: 0; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: calc(var(--header-h) + 20px) var(--gutter) 36px;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }

.hero__media {
  position: absolute; inset: 0;
  background: transparent;
}
.hero__media img {
  filter: grayscale(.25) contrast(1.1) brightness(.75);
  transform: scale(1.08);
}
.hero__blobs { position: absolute; inset: 0; opacity: .85; }
.hero__blobs i { will-change: transform; }
.hero__media:not(.is-empty) ~ .hero__blobs { opacity: .3; }
.hero__blobs i {
  position: absolute;
  border-radius: 50%;
  display: block;
}
.hero__blobs i:nth-child(1) {
  width: 55vw; height: 55vw; left: -10vw; top: -15vw;
  background: radial-gradient(circle, rgba(111,127,150,.9), rgba(111,127,150,.35) 35%, transparent 70%);
  animation: blob1 16s ease-in-out infinite alternate;
}
.hero__blobs i:nth-child(2) {
  width: 45vw; height: 45vw; right: -10vw; top: 10vh;
  background: radial-gradient(circle, rgba(255,94,168,.5), rgba(255,94,168,.18) 38%, transparent 70%);
  animation: blob2 19s ease-in-out infinite alternate;
}
.hero__blobs i:nth-child(3) {
  width: 50vw; height: 40vw; left: 25vw; bottom: -20vw;
  background: radial-gradient(circle, rgba(200,205,214,.45), rgba(200,205,214,.15) 38%, transparent 70%);
  animation: blob3 13s ease-in-out infinite alternate;
}
@keyframes blob1 { to { transform: translate(18vw, 12vh) scale(1.2); } }
@keyframes blob2 { to { transform: translate(-22vw, 20vh) scale(.8); } }
@keyframes blob3 { to { transform: translate(-12vw, -18vh) scale(1.3); } }

.hero__veil {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.65) 100%);
  animation: flicker 5s infinite;
}
@keyframes flicker {
  0%, 96%, 100% { opacity: 1; }
  97% { opacity: .75; }
  98% { opacity: 1; }
  99% { opacity: .85; }
}

.hero__logo {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-self: center;
}
.dotlogo {
  display: block;
  width: min(1180px, 94vw);
  aspect-ratio: 2 / 1;
  touch-action: pan-y;
}
.hero .dotlogo { width: min(1180px, 94vw, calc((100vh - 290px) * 2)); min-width: min(94vw, 420px); }

.anno {
  position: absolute;
  z-index: 3;
  border: 1.5px solid var(--red);
  pointer-events: none;
  clip-path: inset(0 100% 100% 0);
  transition: clip-path 1.1s var(--ease-io);
}
.anno img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.anno span {
  position: absolute;
  z-index: 1;
  right: -1.5px; top: -18px;
  background: var(--red);
  color: var(--white);
  font-family: var(--f-pixel);
  font-size: 10px;
  padding: 1px 6px;
  white-space: nowrap;
}
.is-ready .anno { clip-path: inset(-30px -30px -30px -30px); }
.anno--1 { left: 9%; top: 24%; width: 17vw; height: 22vh; transition-delay: .9s; }
.anno--2 { right: 7%; top: 18%; width: 12vw; height: 14vh; transition-delay: 1.1s; }
.anno--3 { right: 20%; top: 55%; width: 20vw; height: 18vh; transition-delay: 1.3s; animation: annoFloat 7s ease-in-out infinite alternate; }
@keyframes annoFloat { to { transform: translate(-14px, 10px); } }

.hero__intro {
  position: relative;
  z-index: 4;
  max-width: 360px;
  align-self: end;
  grid-row: 2;
}
.hero__intro .script { color: var(--pink); margin-bottom: 10px; }
.hero__text { font-size: 13px; line-height: 1.6; margin-bottom: 22px; color: rgba(246,243,239,.85); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__meta {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: 36px;
  text-align: right;
  font-family: var(--f-pixel);
  font-size: 11px;
  line-height: 1.8;
}
.hero__meta b { color: var(--red); font-weight: 400; }
.hero__meta-big {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1;
  letter-spacing: .02em;
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-pixel);
  font-size: 10px;
}
.hero__scroll i {
  width: 1.5px; height: 42px;
  background: linear-gradient(var(--white), transparent);
  animation: scrollLine 1.8s var(--ease-io) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* hero intro choreography */
.hero__intro, .hero__meta, .hero__scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.hero__scroll { transform: translate(-50%, 30px); }
.is-ready .hero__intro { opacity: 1; transform: none; transition-delay: 1.2s; }
.is-ready .hero__meta { opacity: 1; transform: none; transition-delay: 1.4s; }
.is-ready .hero__scroll { opacity: 1; transform: translate(-50%, 0); transition-delay: 1.8s; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { overflow: hidden; width: 100%; }
.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
.bands {
  position: relative;
  height: clamp(200px, 26vw, 330px);
  background: var(--paper);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.band {
  position: absolute;
  left: -5%; right: -5%;
  padding: 14px 0;
}
.band--red {
  background: var(--red);
  color: var(--ink);
  transform: rotate(-4deg);
  z-index: 2;
  box-shadow: 0 10px 0 var(--ink);
}
.band--red span {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  padding: 0 28px;
}
.band--red em {
  font-style: normal;
  font-size: clamp(28px, 4vw, 56px);
  align-self: center;
  color: var(--white);
}
.band--black {
  background: var(--ink);
  color: var(--white);
  transform: rotate(3deg);
  z-index: 1;
}
.band--black span {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: .08em;
  padding-right: 28px;
}
.band--black span:nth-child(odd) { color: var(--pink); }

/* =========================================================
   REVEAL / SPLIT
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

.split-line { display: block; overflow: hidden; padding-bottom: .04em; }
.split-word { display: inline-block; white-space: nowrap; }
.split-char {
  display: inline-block;
  transform: translateY(110%) skewY(12deg);
  transition: transform .9s var(--ease);
  transition-delay: calc(var(--i) * 32ms);
}
[data-split].in .split-char { transform: none; }

/* =========================================================
   DROP
   ========================================================= */
.drop {
  padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(80px, 10vw, 140px);
  position: relative;
}
.drop__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(50px, 7vw, 100px);
}
.drop__head .kicker { margin-bottom: 18px; }
.drop__side { max-width: 380px; justify-self: end; }
.drop__side .script { margin-bottom: 14px; }
.drop__copy { margin-bottom: 20px; font-size: 13px; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.2vw, 34px) clamp(12px, 1.6vw, 24px);
  align-items: start;
}
.card { position: relative; }
.card--offset { margin-top: clamp(40px, 8vw, 120px); }
.card__link { display: block; position: relative; }
.card .media { aspect-ratio: 4 / 5; }
.card--tall .media { aspect-ratio: 3 / 4.4; }
.card__link:hover .media img { transform: scale(1.06); }
.card__tag {
  position: absolute; top: 10px; left: 10px; z-index: 4;
  font-family: var(--f-pixel); font-size: 10px;
  background: var(--white); color: var(--ink);
  padding: 2px 7px;
  border: 1px solid var(--ink);
}
.card__tag--red { background: var(--red); color: var(--white); border-color: var(--red); }
.card__code {
  position: absolute; bottom: 10px; left: 10px; z-index: 4;
  font-family: var(--f-pixel); font-size: 10px;
  color: var(--white);
  text-shadow: 0 0 3px rgba(0,0,0,.8), 0 0 1px #000;
}
.card__heart {
  position: absolute; top: 8px; right: 8px; z-index: 5;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: rgba(246,243,239,.85);
  border: 1px solid var(--ink);
  transition: transform .3s var(--ease), background .3s;
}
.card__heart svg { width: 16px; height: 14px; fill: transparent; stroke: var(--ink); stroke-width: .6; transition: fill .2s; }
.card__heart:hover { transform: scale(1.12) rotate(-8deg); }
.card__heart[aria-pressed="true"] { background: var(--ink); }
.card__heart[aria-pressed="true"] svg { fill: var(--hotpink); stroke: var(--hotpink); animation: heartPop .5s var(--ease); }
@keyframes heartPop { 40% { transform: scale(1.6); } 100% { transform: none; } }

.card__info {
  display: flex; justify-content: space-between; gap: 10px;
  padding-top: 12px;
  font-size: 12px;
  text-transform: uppercase;
}
.card__info h3 { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.card__info h3 a:hover { color: var(--red); }
.card__price { font-weight: 700; white-space: nowrap; }
.card__add {
  margin-top: 8px;
  width: 100%;
  font-family: var(--f-pixel);
  font-size: 11px;
  border: 1.5px solid var(--ink);
  padding: 9px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s;
}
.card__add::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card__add:hover { color: var(--white); }
.card__add:hover::before { transform: scaleX(1); }
.card__add.added { color: var(--white); }
.card__add.added::before { background: var(--red); transform: scaleX(1); }

.drop__cta { display: flex; justify-content: center; margin-top: clamp(50px, 7vw, 90px); }

/* =========================================================
   ANATOMY
   ========================================================= */
.anatomy {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 80px);
  padding: clamp(60px, 9vw, 130px) var(--gutter);
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.anatomy::before {
  content: "HAZARDOUS";
  position: absolute;
  right: -2vw; bottom: -4vw;
  font-family: var(--f-display);
  font-size: 22vw;
  line-height: 1;
  color: rgba(10,10,11,.05);
  pointer-events: none;
}
.anatomy__text {
  align-self: center;
  position: relative;
  z-index: 2;
}
.anatomy__text .kicker { margin-bottom: 18px; }
.anatomy__text .h-display { font-size: clamp(52px, 8vw, 130px); }
.anatomy__text .script { margin: 10px 0 30px; }
.anatomy__list { counter-reset: none; margin-bottom: 34px; border-top: 1.5px solid var(--ink); }
.anatomy__list li { border-bottom: 1.5px solid var(--ink); }
.anatomy__list a {
  display: grid;
  grid-template-columns: 44px 48px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background .3s, color .3s, padding .4s var(--ease);
}
.anatomy__list a span { font-family: var(--f-pixel); font-weight: 400; color: var(--red); font-size: 11px; }
.anatomy__list li.is-active a,
.anatomy__list a:hover { background: var(--ink); color: var(--white); padding-left: 16px; }

.anatomy__stage {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 620px;
  justify-self: center;
}
.anatomy__img { aspect-ratio: 735 / 1105; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.anatomy__stage.has-active .anatomy__img { filter: grayscale(1) contrast(1.05) brightness(.72); }

/* list thumbnails: b/w, colour when active */
.athumb {
  display: block;
  width: 40px; height: 50px;
  overflow: hidden;
  border: 1.5px solid currentColor;
  background: var(--paper);
}
.athumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition: filter .4s, transform .5s var(--ease);
}
.anatomy__list li.is-active .athumb img,
.anatomy__list a:hover .athumb img { filter: none; transform: scale(1.12); }

/* colour spotlight over the b/w look */
.anatomy__color {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  clip-path: inset(50% 50% 50% 50%);
  transition: clip-path .6s var(--ease-io);
}
.anatomy__color img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.05);
}

/* product pop-up window */
.apop {
  position: absolute;
  left: 0; top: 0;
  z-index: 6;
  width: clamp(150px, 34%, 210px);
  display: block;
  background: #eceae6;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--red);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.8) rotate(-3deg);
  transition: opacity .2s, transform .45s cubic-bezier(.3, 1.6, .5, 1), visibility 0s .2s, left .45s var(--ease), top .45s var(--ease);
}
.apop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: rotate(1.5deg);
  transition: opacity .2s, transform .45s cubic-bezier(.3, 1.6, .5, 1), visibility 0s, left .45s var(--ease), top .45s var(--ease);
}
.apop__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 6px;
  padding: 4px 5px 4px 8px;
  background: linear-gradient(90deg, var(--hotpink), var(--pink) 55%, var(--ice));
  border-bottom: 2px solid var(--ink);
  font-family: var(--f-pixel);
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
}
.apop__code { overflow: hidden; text-overflow: ellipsis; }
.apop__btns { display: flex; gap: 3px; }
.apop__btns i {
  font-style: normal;
  width: 14px; height: 13px;
  display: grid; place-items: center;
  background: #eceae6;
  border: 1.5px solid var(--ink);
  font-size: 9px; line-height: 1;
}
.apop__img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  margin: 6px 6px 0;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  background: #d9d6d1;
}
.apop__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.1);
}
/* shared scanline + tint so every product shot feels like the same shoot */
.apop__img::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(10,10,11,.07) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(255,94,168,.08), transparent 40%, rgba(159,196,232,.1));
  pointer-events: none;
}
.apop.show .apop__img img { animation: apopIn .6s steps(6) both; }
@keyframes apopIn {
  0% { filter: grayscale(1) contrast(2); clip-path: inset(0 0 85% 0); transform: translateX(-6px); }
  30% { filter: grayscale(1) contrast(1.5) hue-rotate(40deg); clip-path: inset(0 0 45% 0); transform: translateX(5px); }
  60% { filter: grayscale(.4) contrast(1.2); clip-path: inset(0 0 15% 0); transform: translateX(-2px); }
  100% { filter: contrast(1.06) saturate(1.1); clip-path: inset(0); transform: none; }
}
.apop__info {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 8px 8px 6px;
  font-size: 11px;
  text-transform: uppercase;
  line-height: 1.25;
}
.apop__info b { font-weight: 700; }
.apop__price { font-weight: 700; color: var(--red); white-space: nowrap; }
.apop__cta {
  display: block;
  margin: 0 6px 6px;
  padding: 7px 8px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-pixel);
  font-size: 10px;
  text-align: center;
  transition: background .25s;
}
.apop:hover .apop__cta { background: var(--red); }
.anatomy__img img { filter: grayscale(1) contrast(1.05); }
.frame {
  position: absolute;
  left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  z-index: 3;
  border: 1.5px solid var(--red);
  clip-path: inset(0 100% 100% 0);
  transition: clip-path 1s var(--ease-io), background .3s, transform .4s var(--ease);
}
.frame img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame span {
  position: absolute;
  right: -1.5px; top: -19px;
  z-index: 1;
  background: var(--red);
  color: var(--white);
  font-family: var(--f-pixel);
  font-size: 10px;
  padding: 2px 6px;
  white-space: nowrap;
}
.anatomy.in .frame { clip-path: inset(-30px -30px -30px -30px); }
.anatomy.in .frame[data-frame="0"] { transition-delay: .1s; }
.anatomy.in .frame[data-frame="1"] { transition-delay: .35s; }
.anatomy.in .frame[data-frame="2"] { transition-delay: .6s; }
.anatomy.in .frame[data-frame="3"] { transition-delay: .85s; }
.anatomy.in .frame[data-frame="4"] { transition-delay: 1.1s; }
a.frame:hover, .frame.is-active {
  background: transparent;
  transform: scale(1.03);
  box-shadow: 0 0 0 4px rgba(255,42,42,.2);
}
.frame--deco { pointer-events: none; }
.frame--l span { right: auto; left: -1.5px; }

/* =========================================================
   CATEGORIES
   ========================================================= */
.cats {
  position: relative;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--paper);
}
.cats__head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 30px;
}
.cats__list { border-top: 1.5px solid var(--ink); }
.cats__list li { border-bottom: 1.5px solid var(--ink); position: relative; overflow: hidden; }
.cats__list a {
  position: relative;
  display: flex; align-items: center; gap: clamp(12px, 3vw, 40px);
  padding: clamp(6px, 1vw, 12px) 0;
  z-index: 1;
}
.cats__list li::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.cats__list li:hover::before { transform: scaleY(1); }
.cats__list small { font-family: var(--f-pixel); font-size: 12px; width: 30px; transition: color .3s; }
.cats__list em {
  font-style: normal; font-family: var(--f-pixel); font-size: 12px;
  margin-left: auto;
  transition: color .3s;
}
.cats__name {
  position: relative;
  font-family: var(--f-display);
  font-size: clamp(46px, 9vw, 150px);
  line-height: .95;
  transition: color .3s, transform .5s var(--ease), letter-spacing .5s var(--ease);
}
.cats__name::before,
.cats__name::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  opacity: 0;
  pointer-events: none;
}
.cats__name::before { color: var(--red); }
.cats__name::after { color: var(--ice); }
.cats__list li:hover .cats__name { color: var(--white); transform: translateX(clamp(10px, 3vw, 50px)) skewX(-8deg); }
.cats__list li:hover .cats__name::before { opacity: .8; animation: rgbA .35s steps(2) infinite; mix-blend-mode: screen; }
.cats__list li:hover .cats__name::after { opacity: .8; animation: rgbB .35s steps(2) infinite; mix-blend-mode: screen; }
.cats__list li:hover small, .cats__list li:hover em { color: var(--pink); }
@keyframes rgbA { 0% { transform: translate(-4px, 1px); clip-path: inset(0 0 60% 0); } 50% { transform: translate(3px, -2px); clip-path: inset(40% 0 10% 0); } 100% { transform: translate(-2px, 0); clip-path: inset(10% 0 50% 0); } }
@keyframes rgbB { 0% { transform: translate(4px, -1px); clip-path: inset(50% 0 0 0); } 50% { transform: translate(-3px, 2px); clip-path: inset(0 0 70% 0); } 100% { transform: translate(2px, 1px); clip-path: inset(30% 0 30% 0); } }

.cats__preview {
  position: fixed; left: 0; top: 0;
  width: clamp(200px, 20vw, 300px);
  aspect-ratio: 4 / 5;
  z-index: 700;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.6);
  transition: opacity .3s;
  border: 1.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--red);
}
.cats__preview.is-on { opacity: 1; }
.cats__preview .media {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .25s;
}
.cats__preview .media.is-active { opacity: 1; }

/* =========================================================
   LOOKBOOK
   ========================================================= */
.lookbook {
  position: relative;
  background: var(--ink);
  color: var(--white);
  height: 420vh;
}
.lookbook__sticky {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
}
.lookbook__bg {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.lookbook__script {
  font-size: clamp(90px, 18vw, 300px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,169,207,.35);
  white-space: nowrap;
  transform: rotate(-6deg);
}
.lookbook__top {
  position: absolute;
  top: calc(var(--header-h) + 14px); left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between;
  z-index: 2;
}
.lookbook__count { font-family: var(--f-pixel); font-size: 12px; }
.lookbook__count span { color: var(--pink); }
.lookbook__track {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  display: flex; align-items: center;
  gap: clamp(30px, 5vw, 90px);
  padding: 0 var(--gutter);
  will-change: transform;
}
.lb-intro { width: min(420px, 80vw); flex-shrink: 0; }
.lb-intro .h-display { margin-bottom: 20px; }
.lb-intro__text { color: rgba(246,243,239,.7); margin-bottom: 20px; max-width: 300px; }
.lb-item {
  flex-shrink: 0;
  position: relative;
  display: block;
}
.lb-item .media { background: linear-gradient(160deg, #2a2a30, #18181c); }
.lb-item .ph { color: rgba(246,243,239,.5); }
.lb-item--a { width: clamp(220px, min(26vw, 50vh), 380px); margin-top: 8vh; }
.lb-item--a .media { aspect-ratio: 3 / 4; }
.lb-item--b { width: clamp(240px, min(30vw, 48vh), 440px); margin-top: -6vh; }
.lb-item--b .media { aspect-ratio: 4 / 5; }
.lb-item--c { width: clamp(190px, min(20vw, 36vh), 300px); margin-top: 14vh; }
.lb-item--c .media { aspect-ratio: 2 / 3; }
.lb-item--d { width: clamp(180px, min(19vw, 30vh), 290px); margin-top: -4vh; }
.lb-item--d .media { aspect-ratio: 9 / 16; }
.lb-item > span {
  display: block;
  margin-top: 10px;
  font-family: var(--f-pixel);
  font-size: 11px;
}
.lb-item .media img { transform: scale(1.15); }
.lb-item:hover .media img { transform: scale(1.02); }
.lb-item::after {
  content: "";
  position: absolute; left: -10px; top: -10px; right: -10px; bottom: 16px;
  border: 1.5px solid var(--red);
  opacity: 0;
  transform: scale(.94);
  transition: opacity .3s, transform .5s var(--ease);
  pointer-events: none;
}
.lb-item:hover::after { opacity: 1; transform: none; }
.lb-end { flex-shrink: 0; padding-right: 10vw; }
.lb-end__link {
  display: flex; align-items: center; gap: 20px;
  font-family: var(--f-display);
  font-size: clamp(50px, 7vw, 110px);
  line-height: .9;
}
.lb-end__link i {
  font-style: normal;
  width: clamp(80px, 9vw, 140px); aspect-ratio: 1;
  border: 1.5px solid var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-size: 30px;
  transition: background .3s, color .3s, transform .6s var(--ease);
}
.lb-end__link:hover i { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.lookbook__progress {
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: 30px;
  height: 10px;
  border: 1px solid rgba(246,243,239,.6);
  padding: 2px;
}
.lookbook__progress span {
  display: block; height: 100%; width: 0;
  background: repeating-linear-gradient(90deg, var(--pink) 0 6px, transparent 6px 8px);
}

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
  position: relative;
  height: 220vh;
  background: var(--paper);
}
.manifesto__sticky {
  position: sticky; top: 0;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  gap: 30px;
  padding: calc(var(--header-h) + 10px) var(--gutter) 40px;
  overflow: hidden;
}
.manifesto__text {
  font-family: var(--f-display);
  font-size: clamp(38px, 6.4vw, 104px);
  line-height: .98;
  text-transform: uppercase;
  max-width: 1400px;
}
.manifesto__text .w {
  display: inline-block;
  opacity: .12;
  transition: opacity .25s, color .3s;
  margin-right: .18em;
}
.manifesto__text .w.on { opacity: 1; }
.manifesto__text em {
  font-family: var(--f-script);
  font-style: normal;
  text-transform: none;
  color: var(--red);
  font-size: 1.15em;
  line-height: .7;
}
.manifesto__text mark {
  background: none;
  color: inherit;
}
.manifesto__text mark .w.on {
  background: var(--ink);
  color: var(--pink);
  padding: 0 .08em;
  margin-right: .1em;
}
.manifesto .link-arrow { align-self: flex-start; }
.sticker {
  position: absolute;
  fill: var(--hotpink);
  pointer-events: none;
  will-change: transform;
}
.sticker--1 { width: 70px; right: 8%; top: 22%; }
.sticker--2 { width: 44px; left: 55%; top: 14%; fill: var(--red); }
.sticker--3 { width: 30px; right: 22%; bottom: 16%; fill: var(--ice-2); }
.sticker--4 { width: 40px; left: 6%; bottom: 10%; fill: var(--red); }

/* =========================================================
   DOLL CLUB DESKTOP
   ========================================================= */
.desk {
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  background: var(--ink);
}
.desk__screen {
  position: relative;
  height: clamp(640px, 82vh, 860px);
  background-color: #7fa9d4;
  background-image:
    radial-gradient(rgba(255,255,255,.35) 1.2px, transparent 1.6px),
    linear-gradient(180deg, #8db6de, #6d98c6);
  background-size: 14px 14px, 100% 100%;
  border: 1.5px solid var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 120px rgba(0,0,0,.25);
}
.desk__icons {
  position: absolute; left: 20px; top: 24px;
  display: flex; flex-direction: column; gap: 18px;
  z-index: 1;
}
.dicon {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 80px;
  font-family: var(--f-pixel);
  font-size: 10px;
  color: var(--white);
  text-shadow: 1px 1px 0 var(--ink);
  text-align: center;
}
.dicon:hover { color: var(--pink); }
.dicon__img {
  width: 42px; height: 38px;
  display: block;
  image-rendering: pixelated;
  transition: transform .3s var(--ease);
}
.dicon:hover .dicon__img { transform: translateY(-4px) rotate(-6deg); }
.dicon__img--folder {
  background:
    linear-gradient(var(--pink), var(--pink)) 0 6px / 100% 32px no-repeat,
    linear-gradient(#ff8fbf, #ff8fbf) 0 0 / 50% 10px no-repeat;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.dicon__img--heart {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 6' shape-rendering='crispEdges'><path fill='%23ff5ea8' stroke='%230a0a0b' stroke-width='.35' d='M1 0h2v1h1V0h2v1h1v2H6v1H5v1H4v1H3V5H2V4H1V3H0V1h1z'/></svg>") center / contain no-repeat;
}
.dicon__img--cam {
  background:
    radial-gradient(circle, var(--ink) 5px, var(--white) 6px, var(--white) 9px, var(--ink) 10px, transparent 11px) center 60% / 100% 100% no-repeat,
    linear-gradient(var(--chrome), var(--chrome)) 0 8px / 100% 30px no-repeat,
    linear-gradient(var(--chrome), var(--chrome)) 8px 2px / 14px 8px no-repeat;
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.dicon__img--mail {
  background:
    linear-gradient(135deg, transparent 48%, var(--ink) 49%, var(--ink) 52%, transparent 53%) 0 0 / 50% 60% no-repeat,
    linear-gradient(225deg, transparent 48%, var(--ink) 49%, var(--ink) 52%, transparent 53%) 100% 0 / 50% 60% no-repeat,
    var(--white);
  box-shadow: inset 0 0 0 2px var(--ink);
  height: 30px;
}

.desk__title {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  pointer-events: none;
  z-index: 0;
  line-height: .9;
}
.desk__title .script { display: block; font-size: clamp(40px, 5vw, 80px); color: var(--ink); }
.desk__pixel {
  font-family: var(--f-pixel);
  display: block;
  font-size: clamp(56px, 8vw, 140px);
  line-height: .95;
  letter-spacing: .02em;
  text-shadow: 4px 4px 0 var(--hotpink), 8px 8px 0 var(--ink);
  white-space: nowrap;
}

.win {
  position: absolute;
  left: var(--wx); top: var(--wy);
  z-index: 2;
  background: #eceae6;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 12px;
  color: var(--ink);
  min-width: 220px;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1);
}
.desk.in .win { opacity: 1; transform: none; }
.desk.in .win--pic { transition-delay: .15s; }
.desk.in .win--club { transition-delay: .35s; }
.desk.in .win--music { transition-delay: .55s; }
.desk.in .win--error { transition-delay: 1.1s; }
.win.is-dragging { box-shadow: 12px 12px 0 var(--ink); transition: none; }
.win__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 6px 5px 10px;
  background: linear-gradient(90deg, var(--hotpink), var(--pink) 50%, var(--ice));
  border-bottom: 2px solid var(--ink);
  font-family: var(--f-pixel);
  font-size: 11px;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.win__bar--red { background: linear-gradient(90deg, var(--red), #ff7a7a); color: var(--white); }
.win__btns { display: flex; gap: 3px; }
.win__btns i {
  font-style: normal;
  width: 17px; height: 15px;
  display: grid; place-items: center;
  background: #eceae6;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-size: 10px; line-height: 1;
}
.win__body { padding: 16px; }
.win__body--flush { padding: 0; }
.win--club { width: min(340px, 84%); }
.win__big { font-family: var(--f-display); font-size: 30px; line-height: 1; margin-bottom: 8px; }
.win--club p { margin-bottom: 12px; }
.club-form { display: flex; gap: 6px; }
.club-form input {
  flex: 1; min-width: 0;
  font: inherit;
  padding: 9px 10px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  box-shadow: inset 2px 2px 0 rgba(0,0,0,.15);
  outline: none;
}
.club-form input:focus { border-color: var(--hotpink); }
.club-form__msg { min-height: 18px; margin: 10px 0 0 !important; font-family: var(--f-pixel); font-size: 11px; color: var(--hotpink); }
.winbtn {
  font-family: var(--f-pixel);
  font-size: 11px;
  padding: 8px 14px;
  background: #eceae6;
  border: 2px solid var(--ink);
  box-shadow: inset -2px -2px 0 #a9a6a2, inset 2px 2px 0 var(--white);
}
.winbtn:hover { background: var(--pink); }
.winbtn:active { box-shadow: inset 2px 2px 0 #a9a6a2; transform: translate(1px, 1px); }
.win__progress {
  height: 12px; margin-top: 12px;
  border: 1.5px solid var(--ink);
  padding: 1px;
}
.win__progress span {
  display: block; height: 100%;
  background: repeating-linear-gradient(90deg, var(--hotpink) 0 7px, transparent 7px 9px);
  animation: winprog 3.5s steps(20) infinite;
}
@keyframes winprog { from { width: 0; } to { width: 100%; } }

.win--pic { width: clamp(180px, 20vw, 260px); }
.win--pic .media { aspect-ratio: 1; }
.win--music { width: 280px; }
.player { display: flex; gap: 10px; align-items: center; background: var(--ink); color: #9dffb0; padding: 8px; font-family: var(--f-pixel); font-size: 11px; }
.player__eq { display: flex; gap: 2px; align-items: flex-end; height: 22px; }
.player__eq i { width: 3px; background: var(--hotpink); animation: eq .8s ease-in-out infinite alternate; }
.player__eq i:nth-child(2n) { animation-duration: .55s; }
.player__eq i:nth-child(3n) { animation-duration: 1.1s; background: var(--ice); }
@keyframes eq { from { height: 3px; } to { height: 22px; } }
.player__title { flex: 1; overflow: hidden; }
.player__title span { padding-right: 40px; }
.player__ctrl { display: flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 11px; font-family: var(--f-pixel); }
.player__btn {
  font-family: var(--f-pixel);
  font-size: 10px;
  min-width: 34px;
  padding: 5px 7px;
  background: #eceae6;
  border: 2px solid var(--ink);
  box-shadow: inset -2px -2px 0 #a9a6a2, inset 2px 2px 0 var(--white);
}
.player__btn:hover { background: var(--pink); }
.player__btn:active, .player__btn.is-on { box-shadow: inset 2px 2px 0 #a9a6a2; transform: translate(1px, 1px); }
.player__btn.is-on { background: var(--hotpink); color: var(--white); }
.player__eq i { animation-play-state: paused; height: 4px; }
.player.is-playing .player__eq i { animation-play-state: running; }
.player__time { margin-left: auto; }

.win--error { width: 290px; }
.win__err { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.win__icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--red);
  color: var(--white);
  font-family: var(--f-display);
  font-size: 22px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.win__actions { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; }
.win--spawned { opacity: 1; transform: none; animation: winIn .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes winIn { from { transform: scale(.5); opacity: 0; } }
.win.is-closing { animation: winOut .25s forwards; }
@keyframes winOut { to { transform: scale(.4); opacity: 0; } }

.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 40px;
  z-index: 5;
  display: flex; align-items: center; gap: 10px;
  padding: 0 8px;
  background: #eceae6;
  border-top: 2px solid var(--ink);
  font-family: var(--f-pixel);
  font-size: 11px;
}
.taskbar__start {
  padding: 5px 12px;
  border: 2px solid var(--ink);
  background: var(--pink);
  box-shadow: inset -2px -2px 0 var(--hotpink);
}
.taskbar__start:hover { background: var(--hotpink); color: var(--white); }
.taskbar__items { display: flex; gap: 6px; overflow: hidden; }
.taskbar__items i {
  font-style: normal;
  padding: 5px 10px;
  border: 1.5px solid var(--ink);
  box-shadow: inset 2px 2px 0 #a9a6a2;
  white-space: nowrap;
}
.taskbar__clock {
  margin-left: auto;
  padding: 5px 10px;
  box-shadow: inset 2px 2px 0 #a9a6a2;
  border: 1.5px solid var(--ink);
}

/* =========================================================
   INSTAGRAM
   ========================================================= */
.ig { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.ig__head {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.ig__head .h-display { font-size: clamp(48px, 9vw, 140px); }
.ig__sub { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ig__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.ig__item { position: relative; display: block; }
.ig__item .media { aspect-ratio: 1; }
.ig__item:nth-child(even) { transform: translateY(24px); }
.ig__item.in:nth-child(even) { transform: translateY(24px); }
.ig__item > span {
  position: absolute; inset: 0; z-index: 4;
  display: grid; place-items: center;
  background: rgba(10,10,11,.6);
  color: var(--pink);
  font-family: var(--f-pixel);
  font-size: 14px;
  opacity: 0;
  transition: opacity .3s;
}
.ig__item:hover > span { opacity: 1; }
.ig__item:hover .media img { transform: scale(1.08); filter: saturate(1.3); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: clamp(60px, 8vw, 100px) var(--gutter) 28px;
  position: relative;
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.3fr;
  gap: 30px;
}
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer__col h4 {
  font-family: var(--f-pixel);
  font-weight: 400;
  font-size: 11px;
  color: var(--pink);
  margin-bottom: 8px;
}
.footer__col a { width: fit-content; transition: color .25s, transform .3s var(--ease); }
.footer__col a:hover { color: var(--red); transform: translateX(6px); }
.footer__col--time { align-items: flex-end; text-align: right; }
.footer__col--time .link-arrow:hover { transform: none; }
.footer__clock { font-family: var(--f-display); font-size: clamp(34px, 4vw, 56px); line-height: 1; margin-bottom: 10px; }
.footer__logo { display: grid; place-items: center; margin: clamp(40px, 6vw, 80px) 0 20px; }
.footer__logo .dotlogo { width: min(1400px, 100%); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(246,243,239,.25);
  padding-top: 18px;
  font-family: var(--f-pixel);
  font-size: 11px;
}
.footer__bottom a:hover { color: var(--red); }
.barcode {
  height: 26px; width: 160px;
  background: repeating-linear-gradient(90deg,
    var(--white) 0 2px, transparent 2px 4px, var(--white) 4px 5px, transparent 5px 8px,
    var(--white) 8px 11px, transparent 11px 12px, var(--white) 12px 13px, transparent 13px 17px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links .hide-sm { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card--offset { margin-top: 0; }
  .card:nth-child(even) { margin-top: clamp(30px, 8vw, 70px); }
  .anatomy { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__col--time { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
  .ig__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 84px; }
  .nav { grid-template-columns: auto 1fr auto; height: 58px; }
  .nav__burger { display: block; }
  .nav__links--left { display: none; }
  .nav__logo { justify-self: center; }
  .navlogo { width: 140px; height: 36px; }
  .nav__wish { display: none !important; }

  .hero { padding-bottom: 28px; grid-template-rows: 1fr auto auto; }
  .hero__meta { position: relative; right: auto; bottom: auto; text-align: left; grid-row: 2; margin-bottom: 26px; }
  .hero__intro { grid-row: 3; }
  .hero__scroll { display: none; }
  .anno--1 { left: 4%; top: 22%; width: 34vw; height: 13vh; }
  .anno--2 { right: 4%; top: 16%; width: 28vw; height: 9vh; }
  .anno--3 { display: none; }
  .anno--1 span { right: auto; left: -1.5px; }
  .media--bg .ph { display: none; }

  .drop__head { grid-template-columns: 1fr; }
  .drop__side { justify-self: start; }
  .h-display--outline { -webkit-text-stroke-width: 1.5px; }

  .cats__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cats__list em { display: none; }
  .cats__preview { display: none; }

  .lookbook { height: 520vh; }

  .desk__screen { height: auto; padding: 20px 14px 70px; display: flex; flex-direction: column; gap: 22px; }
  .desk__icons { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .desk__title { position: static; transform: none; order: -1; }
  .win { position: relative; left: auto; top: auto; width: 100% !important; }
  .win__bar { cursor: default; }
  .win--pic { max-width: 260px; align-self: center; }

  .ig__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__col--time { align-items: flex-start; }
  .barcode { display: none; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .grain { animation: none; }
}

/* =========================================================
   Doll ID pictures + frames (account, about wall, friend space)
   ========================================================= */
.cd-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
[data-frame] { overflow: hidden; }
[data-frame="circle"] { border-radius: 50%; }
[data-frame="heart"] { clip-path: polygon(50% 100%, 12% 62%, 2% 42%, 3% 22%, 14% 8%, 30% 4%, 43% 10%, 50% 20%, 57% 10%, 70% 4%, 86% 8%, 97% 22%, 98% 42%, 88% 62%); border-radius: 0; }
[data-frame="star"] { clip-path: polygon(50% 0, 61% 34%, 98% 35%, 68% 57%, 79% 92%, 50% 71%, 21% 92%, 32% 57%, 2% 35%, 39% 34%); border-radius: 0; }
[data-frame="blob"] { clip-path: polygon(50% 0, 64% 12%, 82% 8%, 86% 27%, 100% 40%, 90% 56%, 96% 76%, 77% 82%, 68% 100%, 50% 90%, 32% 100%, 23% 82%, 4% 76%, 10% 56%, 0 40%, 14% 27%, 18% 8%, 36% 12%); border-radius: 0; }

/* radio volume */
.player__vol { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; }
.player__vol span { font-size: 12px; }
.player__vol input {
  --v: 70%;
  width: 70px; height: 10px;
  -webkit-appearance: none; appearance: none;
  background: linear-gradient(90deg, var(--hotpink) 0 var(--v), #e0ddd8 var(--v));
  border: 1.5px solid var(--ink);
  cursor: pointer;
}
.player__vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 16px; background: var(--ink); border: 2px solid var(--white); outline: 1.5px solid var(--ink); }
.player__vol input::-moz-range-thumb { width: 8px; height: 14px; border-radius: 0; background: var(--ink); border: 2px solid var(--white); }
.player__vol input:focus-visible { outline: 2px dashed var(--hotpink); outline-offset: 3px; }

/* =========================================================
   secrets ♡
   ========================================================= */
/* glitch mode */
html.cd-glitch main, html.cd-glitch .footer { animation: siteGlitch .32s steps(2) infinite; }
@keyframes siteGlitch {
  0% { transform: translate(0); filter: none; }
  25% { transform: translate(-6px, 2px) skewX(-2deg); filter: hue-rotate(90deg) saturate(2); }
  50% { transform: translate(5px, -3px); filter: invert(.1) hue-rotate(-60deg); clip-path: inset(8% 0 30% 0); }
  75% { transform: translate(-2px, 0) skewX(3deg); filter: contrast(1.6); clip-path: none; }
}
.cd-glitch-layer {
  position: fixed; inset: 0; z-index: 9800;
  display: grid; place-content: center; gap: 8px; text-align: center;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 42, 42, .08) 0 2px, rgba(159, 196, 232, .08) 2px 4px, transparent 4px 7px);
  font-family: var(--f-pixel); color: var(--white);
  animation: glitchLayer .2s steps(2) infinite;
}
.cd-glitch-layer p { font-size: clamp(16px, 3vw, 34px); padding: 6px 14px; background: var(--ink); text-shadow: -3px 0 var(--red), 3px 0 var(--ice); }
.cd-glitch-layer p + p { font-size: 12px; color: var(--hotpink); justify-self: center; }
@keyframes glitchLayer { 50% { transform: translateX(4px); opacity: .85; } }

/* heart rain */
.cd-rain { position: fixed; top: -40px; z-index: 9800; width: calc(22px * var(--s)); pointer-events: none; animation: cdRain var(--dur) cubic-bezier(.4, 0, .8, 1) var(--delay) forwards; }
.cd-rain svg { display: block; width: 100%; fill: var(--c); filter: drop-shadow(2px 2px 0 rgba(10, 10, 11, .5)); }
@keyframes cdRain { to { transform: translate(var(--sway), 110vh) rotate(260deg); } }
.cd-rain-word {
  position: fixed; left: 50%; top: 45%; z-index: 9801;
  transform: translate(-50%, -50%);
  font-family: var(--f-script); font-size: clamp(60px, 12vw, 160px); color: var(--hotpink);
  text-shadow: 0 0 30px rgba(255, 94, 168, .8), 4px 4px 0 var(--ink);
  pointer-events: none; white-space: nowrap;
  animation: rainWord 2.6s cubic-bezier(.3, 1.6, .5, 1) forwards;
}
@keyframes rainWord { 0% { transform: translate(-50%, -50%) scale(.2) rotate(-12deg); opacity: 0; } 20% { transform: translate(-50%, -50%) scale(1.05) rotate(-4deg); opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(-50%, -60%) scale(1) rotate(-4deg); opacity: 0; } }

/* poke the footer logo */
.footer__logo { position: relative; cursor: pointer; }
.footer__logo.is-poked { animation: poke .3s ease; }
@keyframes poke { 30% { transform: scale(.97) rotate(-.6deg); } 60% { transform: scale(1.01) rotate(.4deg); } }
.footer__logo.is-shy { animation: shy 2.4s ease forwards; }
@keyframes shy { 15% { transform: translateY(40%) scaleY(.6); opacity: .4; } 70% { transform: translateY(40%) scaleY(.6); opacity: .4; } 100% { transform: none; opacity: 1; } }
.cd-poke { position: absolute; z-index: 2; transform: translate(-50%, -100%); padding: 4px 8px; font-family: var(--f-pixel); font-size: 10px; background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); white-space: nowrap; pointer-events: none; animation: pokeUp .9s ease-out forwards; }
@keyframes pokeUp { to { transform: translate(-50%, -260%); opacity: 0; } }
