/* FLOOPS — page styles. Agent P. Tokens on :root; the active section palette is written to
   --base / --tip / --accent by src/page/main.js (lerped every frame, so colour never jumps). */

@font-face {
  font-family: 'Fraunces';
  src: url('../vendor/fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../vendor/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../vendor/fonts/figtree.woff2') format('woff2');
  font-weight: 300 900; font-style: normal; font-display: swap;
}

:root {
  /* live palette (JS) */
  --base: #2a0d3d;
  --tip: #c9a0ff;
  --accent: #c9a0ff;
  --deep: #12051c;

  /* fixed tokens */
  --ink: #fff7f0;
  --ink-2: rgba(255, 247, 240, .72);
  --ink-3: rgba(255, 247, 240, .48);
  --line: rgba(255, 247, 240, .14);
  --cream: #f6e9d7;
  --t-common: #efe3d3;
  --t-rare: #8ef0c9;
  --t-epic: #c6a2ff;
  --t-legend: #ffcf6b;
  --t-one: linear-gradient(100deg, #ffd27a, #ff8fd8 35%, #9fd8ff 65%, #b8ffcf);

  --f-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --f-body: 'Figtree', ui-rounded, system-ui, -apple-system, sans-serif;

  --r-xl: 44px;
  --r-lg: 28px;
  --r-md: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-soft: cubic-bezier(.4, 0, .1, 1);
  --header-h: 72px;

  --fiber: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='f' x='0' y='0'><feTurbulence type='fractalNoise' baseFrequency='.012 .9' numOctaves='3' seed='7'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 -.32'/></filter><rect width='240' height='240' filter='url(%23f)'/></svg>");
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 -.1'/></filter><rect width='160' height='160' filter='url(%23g)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); background: var(--deep); }
body {
  margin: 0; color: var(--ink); background: var(--deep);
  font: 400 clamp(16px, 1.05vw + 9px, 19px)/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.is-loading body { overflow: hidden; }
html, body { overscroll-behavior: none; }   /* no rubber-band / pull-to-refresh while stroking the pile */
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--deep); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 12px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* ---------- background layers ---------- */
.velvet {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at var(--sx, 30%) var(--sy, 20%), color-mix(in srgb, var(--tip) 34%, transparent), transparent 60%),
    radial-gradient(90% 70% at 85% 95%, color-mix(in srgb, var(--tip) 18%, transparent), transparent 70%),
    linear-gradient(170deg, color-mix(in srgb, var(--base) 85%, #fff 4%), var(--base) 45%, color-mix(in srgb, var(--base) 55%, #000));
}
.velvet::before, .velvet::after { content: ''; position: absolute; inset: -20%; }
.velvet::before { background-image: var(--fiber); background-size: 240px 240px; opacity: .2; mix-blend-mode: soft-light; transform: rotate(-8deg); }
.velvet::after { background-image: var(--grain); opacity: .12; mix-blend-mode: overlay; }
.fur {
  position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity 1.4s var(--ease-soft);
  touch-action: pan-y;
}
.fur.is-live { opacity: 1; }
.vignette {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(130% 95% at 50% 40%, transparent 55%, rgba(5, 0, 10, .55) 100%),
    linear-gradient(to bottom, rgba(5, 0, 10, .35), transparent 18%, transparent 80%, rgba(5, 0, 10, .4));
}

/* ---------- loader: the film (white fur, FLOOPS written in black), brushed away into the site fur ---------- */
.loader {
  position: fixed; inset: 0; z-index: 60; overflow: hidden; background: #f3efe9;
  --wipe: 0;
  /* hand-off: a soft, slightly ragged brush sweep (diagonal) clears the white pile from left to right */
  -webkit-mask-image: linear-gradient(104deg, transparent calc(var(--wipe) * 150% - 40%), #000 calc(var(--wipe) * 150% - 6%)), var(--fiber);
  mask-image: linear-gradient(104deg, transparent calc(var(--wipe) * 150% - 40%), #000 calc(var(--wipe) * 150% - 6%)), var(--fiber);
  -webkit-mask-size: 100% 100%, 0 0; mask-size: 100% 100%, 0 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.loader.is-wipe {
  -webkit-mask-size: 100% 100%, 220px 220px; mask-size: 100% 100%, 220px 220px;
  -webkit-mask-repeat: no-repeat, repeat; mask-repeat: no-repeat, repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect;
  pointer-events: none;
}
.loader.is-wipe .loader__film, .loader.is-wipe .loader__ph {
  transform: scale(calc(1 + var(--wipe) * .06)) translate3d(calc(var(--wipe) * 3%), 0, 0);
  filter: brightness(calc(1 + var(--wipe) * .25)) blur(calc(var(--wipe) * 6px));
}
.loader.is-fade { opacity: 0; transition: opacity .8s var(--ease-soft); pointer-events: none; }
.loader__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease-soft); }
.loader.has-poster .loader__film, .loader.has-film .loader__film { opacity: 1; }
/* placeholder until the film exists: white velvet with the word in deep ink */
.loader__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(90% 70% at 50% 45%, #fbf8f4 0%, #ece6de 70%, #d9d1c6 100%);
}
.loader__ph::before { content: ''; position: absolute; inset: -10%; background-image: var(--fiber); background-size: 200px 200px; opacity: .55; mix-blend-mode: multiply; filter: invert(1) opacity(.18); transform: rotate(-6deg); }
.loader__ph span {
  position: relative; font: 700 clamp(64px, 15vw, 220px)/1 var(--f-display); font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  letter-spacing: -.03em; color: #17111c; opacity: .9;
  filter: url(#fz-edge) blur(.4px);
}
.loader.has-poster .loader__ph span, .loader.has-film .loader__ph span { opacity: 0; }
.loader__count {
  position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%); margin: 0;
  font: 600 10.5px/1 var(--f-body); letter-spacing: .42em; color: rgba(23, 17, 28, .45); font-variant-numeric: tabular-nums;
  transition: opacity .5s;
}
.loader.is-wipe .loader__count { opacity: 0; }
html.is-check .loader, html.no-loader .loader { display: none; }
html.is-check .loader.is-shown { display: block; }

/* ---------- header / brush ---------- */
.top {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  pointer-events: none;
  transform: translateY(calc((1 - var(--chrome, 1)) * -24px)); opacity: var(--chrome, 1);
}
.top > * { pointer-events: auto; }
.top::before {
  content: ''; position: absolute; inset: 0 0 -36px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--base) 60%, #000) 0%, color-mix(in srgb, var(--base) 60%, #000) 45%, transparent);
  /* content passing under the bar melts into a soft blur instead of colliding with the nav */
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
  opacity: var(--shade, 0);
}
html:not(.is-shaded) .top::before { display: none; }   /* an invisible 10px backdrop blur still costs a full-width pass every frame */
.brand { display: block; width: clamp(104px, 11vw, 150px); line-height: 0; filter: drop-shadow(0 4px 10px rgba(6, 0, 14, .5)); }
.brand img { width: 100%; height: auto; }
.top__nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }   /* header controls: 8/12/16 grid */
.top__nav a {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 40px; padding: 0 16px; border-radius: 99px; line-height: 1;
  text-decoration: none; font-size: 14px; font-weight: 750; letter-spacing: .03em; color: var(--ink);
}

/* found counter: appears with the first FLOOP you uncover */
.found {
  position: fixed; z-index: 41; left: var(--gutter); bottom: calc(18px + env(safe-area-inset-bottom)); margin: 0;
  font: 600 11px/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3);
  opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease-soft), transform .6s var(--ease);
  pointer-events: none;
}
.found b { color: var(--accent); font-weight: 800; display: inline-block; }
.found.is-on { opacity: 1; transform: none; }
.found.is-bump b { animation: foundBump .7s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes foundBump { 0% { transform: scale(1); } 30% { transform: scale(1.7); } 100% { transform: scale(1); } }
html.is-loading .found { opacity: 0; }

/* pompom cursor: fluffy ball, stretches along its motion, squashes on press */
.brush {
  position: fixed; z-index: 70; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; pointer-events: none; display: none;
  transform: translate3d(var(--bx, -200px), var(--by, -200px), 0) rotate(var(--ba, 0deg)) scale(calc(var(--bst, 1) * (1 + var(--bsq, 0) * .28) * (1 + var(--bh, 0) * .18)), calc((1 - var(--bsq, 0) * .32) * (1 + var(--bh, 0) * .18) / var(--bst, 1)));
  opacity: var(--bo, 0); transition: opacity .3s;
  filter: drop-shadow(0 5px 6px rgba(8, 0, 16, .45));
  will-change: transform;   /* its own layer: moving it never re-rasterises the turbulence-filtered fibres */
}
.brush::before, .brush::after { content: ''; position: absolute; border-radius: 50%; }
.brush::before { /* the fibres: a frayed halo */
  inset: -5px;
  background: radial-gradient(circle at 40% 36%, #fff 0%, #f3e8ff 34%, color-mix(in srgb, var(--tip) 75%, #fff) 60%, color-mix(in srgb, var(--tip) 60%, transparent) 72%, transparent 74%);
  filter: url(#fz-pom);
}
.brush::after { /* the dense core with a soft top light */
  inset: 3px;
  background: radial-gradient(circle at 38% 32%, #fff 0 14%, #f4ecff 30%, color-mix(in srgb, var(--tip) 55%, #fff) 70%, color-mix(in srgb, var(--tip) 80%, #000 10%) 100%);
  filter: url(#fz-pom) blur(.3px);
}
.brush span { display: none; }
html.has-pompom, html.has-pompom * { cursor: none !important; }
@media (hover: hover) and (pointer: fine) { .brush { display: block; } }

/* ---------- layout ---------- */
main { position: relative; z-index: 10; pointer-events: none; }
main a, main button, main summary, main .panel, main .foot { pointer-events: auto; }
.sec {
  position: relative; min-height: 100svh; padding: calc(var(--header-h) + 6vh) var(--gutter) 10vh;
  display: grid; align-items: center; grid-template-columns: minmax(0, 1fr);
  --v: 1; /* 0 → 1 as the section rises into view, JS-driven */
  --x: 0; /* 0 → 1 as it leaves at the top */
}

.eyebrow {
  margin: 0 0 18px; font-size: 12.5px; font-weight: 650; letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; border-radius: 2px; opacity: .8; }
.eyebrow--small { font-size: 11px; margin-bottom: 14px; }
.h2 {
  margin: 0; font: 600 clamp(40px, 5.4vw, 86px)/.95 var(--f-display); letter-spacing: -.025em;
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
}
.h2 em, .hero__title em {
  font-style: italic; font-weight: 400; color: var(--accent);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
}
.h2--big { font-size: clamp(46px, 7vw, 120px); }
.lede { margin: 24px 0 0; max-width: 34em; color: var(--ink-2); font-size: 1.06em; }
.fine { margin: 22px 0 0; font-size: 14px; color: var(--ink-3); }

/* velvet panel: semi-opaque pile with a brushed nap and a sheen that drifts with scroll */
.panel {
  position: relative; isolation: isolate;
  padding: clamp(28px, 4vw, 64px);
  border-radius: var(--r-xl);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--base) 78%, #000 10%), color-mix(in srgb, var(--base) 88%, #000 40%));
  background-color: var(--base);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .09),
    inset 0 0 0 1px color-mix(in srgb, var(--tip) 14%, transparent),
    inset 0 -40px 80px -40px rgba(0, 0, 0, .55),
    0 40px 90px -30px rgba(0, 0, 0, .7),
    0 0 0 6px color-mix(in srgb, var(--base) 35%, transparent);
  /* the panel parts open like a pile being brushed apart */
  clip-path: inset(calc((1 - var(--v)) * 18%) calc((1 - var(--v)) * 5%) calc((1 - var(--v)) * 18%) calc((1 - var(--v)) * 5%) round calc(var(--r-xl) + (1 - var(--v)) * 120px));
  transform: translate3d(0, calc((1 - var(--v)) * 90px - var(--x) * 60px), 0) scale(calc(.96 + var(--v) * .04 - var(--x) * .03));
  opacity: calc(var(--v) * 1.6 - var(--x) * 1.3);
  will-change: transform, clip-path, opacity;
}
.panel::before { /* brushed nap */
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background-image: var(--fiber); background-size: 260px 260px;
  opacity: .22; mix-blend-mode: soft-light;
}
.panel::after { /* sheen: light catching the nap */
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, color-mix(in srgb, var(--tip) 26%, transparent) calc(30% + var(--v) * 22% + var(--x) * 30%), transparent calc(58% + var(--v) * 22% + var(--x) * 30%));
  mix-blend-mode: soft-light; opacity: .9;
}
.panel--wide { width: min(1240px, 100%); margin: 0 auto; }
.panel__head { display: grid; gap: 0; margin-bottom: clamp(26px, 4vw, 48px); }

/* ---------- hero ---------- */
.hero { align-items: end; padding-bottom: clamp(40px, 9vh, 110px); min-height: 100svh; }
.hero__inner {
  max-width: 1100px; pointer-events: none;
  transform: translate3d(0, calc(var(--x) * -120px), 0); opacity: calc(1 - var(--x) * 1.6);
}
.hero__title {
  margin: 0; font: 600 clamp(64px, 12.5vw, 200px)/.86 var(--f-display); letter-spacing: -.035em;
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  text-shadow: 0 10px 60px rgba(10, 0, 20, .45);
}
.hero__title .line { display: block; overflow: hidden; padding: .04em .02em .1em; margin: -.04em -.02em -.1em; }
.hero__title .word { display: inline-block; transform: translate3d(0, calc((1 - var(--intro, 1)) * 110%), 0) rotate(calc((1 - var(--intro, 1)) * 6deg)); transform-origin: 0 100%; }
.hero__title .line:nth-child(2) .word { transform: translate3d(0, calc((1 - var(--intro2, 1)) * 110%), 0) rotate(calc((1 - var(--intro2, 1)) * 6deg)); }
.hero .eyebrow { opacity: var(--intro, 1); }
.hero__hint {
  margin: 28px 0 0; display: flex; align-items: center; gap: 14px; color: var(--ink-2); font-size: 16px;
  opacity: var(--intro2, 1);
}
.hint__touch { display: none; }
@media (hover: none) { .hint__fine { display: none; } .hint__touch { display: inline; } }
.hint__hand {
  position: relative; flex: none; width: 54px; height: 30px; border-radius: 99px;
  box-shadow: inset 0 0 0 1.5px var(--ink-3);
}
.hint__hand::after {
  content: ''; position: absolute; top: 7px; left: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--tip); box-shadow: 0 0 14px var(--tip);
  animation: stroke 2.4s var(--ease-soft) infinite;
}
@keyframes stroke { 0%, 12% { transform: translateX(0); } 50%, 62% { transform: translateX(24px); } 100% { transform: translateX(0); } }
.scrollcue {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 10vh, 120px);
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2);
  writing-mode: vertical-rl; opacity: calc(var(--intro2, 1) - var(--x) * 2);
}
.scrollcue span { width: 1.5px; height: 64px; background: linear-gradient(var(--ink-2), transparent); position: relative; overflow: hidden; }
.scrollcue span::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--tip); animation: drip 2s var(--ease-soft) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- who (lore) ---------- */
.who { grid-template-columns: minmax(0, 640px) 1fr; }
.panel--who { max-width: 640px; }
.panel--who .lede b { color: var(--accent); font-weight: 700; }

/* ---------- footer ---------- */
.foot { min-height: 70svh; align-content: end; gap: 28px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.foot__word {
  margin: 0; text-align: center; font: 700 clamp(84px, 24vw, 380px)/.8 var(--f-display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; letter-spacing: -.05em;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tip) 75%, #fff), transparent 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translate3d(0, calc((1 - var(--v)) * 25%), 0) scale(calc(.92 + var(--v) * .08));
}
.foot__row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 22px; }
.foot__row p { margin: 0; }
.foot__top { justify-self: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); padding: 10px 16px; border-radius: 99px; }
.foot__top:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .who { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 62px; --r-xl: 30px; }
  .top { gap: 10px; }
  .brand { width: 92px; }
  .top__nav { gap: 8px; }
  .top__nav a { height: 32px; min-width: 32px; padding: 0 12px; font-size: 12.5px; }
  .found { bottom: calc(14px + env(safe-area-inset-bottom)); }
  .sec { padding-top: calc(var(--header-h) + 4vh); padding-bottom: 8vh; }
  .panel { padding: 26px 20px 24px; }
  .hero { min-height: 100svh; padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
  .hero__title { font-size: clamp(64px, 21vw, 120px); }
  .hero__hint { font-size: 14.5px; }
  .scrollcue { display: none; }
  .foot__row { flex-direction: column; gap: 6px; }
}

/* ---------- check mode + reduced motion ---------- */
html.is-check *, html.is-check *::before, html.is-check *::after { transition: none !important; animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .panel, .foot__word, .hero__inner { transform: none !important; clip-path: none !important; }
  .panel { opacity: 1 !important; }
  .brush { display: none !important; }
}

/* ======================= FUZZY BUTTONS (src/fuzz/fuzz.js) =======================
   Every [data-fuzz] control is a plush pill. Desktop: one WebGL layer draws shell fur + chenille labels over the
   rects and the element's own paint goes transparent (html.fuzz-gl). Phones / no WebGL2: a css fuzz (html.fuzz-css). */
:root {
  --fz-marigold: #eda83d; --fz-pink: #ed8fb8; --fz-sky: #78bae0; --fz-green: #80c780;
  --fz-yellow: #ebd161; --fz-cream: #e6dcc7; --fz-grey: #a8a3b3; --fz-lilac: #b89af2;
}
[data-fuzz] { --fz: var(--fz-cream); }
[data-fuzz="marigold"] { --fz: var(--fz-marigold); }
[data-fuzz="pink"] { --fz: var(--fz-pink); }
[data-fuzz="sky"] { --fz: var(--fz-sky); }
[data-fuzz="green"] { --fz: var(--fz-green); }
[data-fuzz="yellow"] { --fz: var(--fz-yellow); }
[data-fuzz="grey"], [data-fuzz][disabled] { --fz: var(--fz-grey); }
[data-fuzz="lilac"] { --fz: var(--fz-lilac); }
[data-fuzz-on="marigold"][aria-selected="true"] { --fz: var(--fz-marigold); }
[data-fuzz-on="pink"][aria-selected="true"] { --fz: var(--fz-pink); }

.foot__top { padding: 13px 24px; font-weight: 700; }

/* GL mode: the layer paints; the element keeps layout, focus and clicks */
.fuzzlayer { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 42; pointer-events: none; transition: opacity .7s var(--ease-soft); }
html.is-loading .fuzzlayer { opacity: 0; }
html.fuzz-gl [data-fuzz] {
  color: transparent !important; -webkit-text-fill-color: transparent; text-shadow: none !important;
  background: transparent !important; box-shadow: none !important; border-color: transparent !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
html.fuzz-gl [data-fuzz] *, html.fuzz-gl [data-fuzz]::before, html.fuzz-gl [data-fuzz]::after { opacity: 0 !important; }
html.fuzz-gl [data-fuzz]:hover { transform: none; }
html.fuzz-gl [data-fuzz]:focus-visible { outline: 2px solid var(--ink); outline-offset: 9px; border-radius: 99px; box-shadow: none; }

/* css fuzz (phones / fallback): pastel cushion with a turbulence-frayed edge, fibre nap and puffy labels */
html.fuzz-css [data-fuzz] {
  position: relative; isolation: isolate; border: 0;
  background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none;
  color: #fffaf4; font-weight: 800;
  text-shadow: 0 0 1px rgba(255, 255, 255, .9), 0 1px 0 rgba(60, 20, 80, .18), 0 2px 5px rgba(40, 10, 60, .45);
  transition: transform .35s cubic-bezier(.3, 1.7, .5, 1), filter .25s;
}
html.fuzz-css [data-fuzz]::before {
  content: ''; position: absolute; inset: -3px; z-index: -1; border-radius: inherit; opacity: 1;
  background:
    radial-gradient(120% 150% at 30% 18%, color-mix(in srgb, var(--fz) 62%, #fff) 0%, var(--fz) 50%, color-mix(in srgb, var(--fz) 72%, #000) 100%);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--fz) 80%, #fff), 0 7px 16px -7px rgba(8, 0, 18, .75);
  filter: url(#fz-edge); transform: none;
}
html.fuzz-css [data-fuzz]:not([data-fuzz-auto])::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: .45;
  background-image: var(--fiber); background-size: 90px 90px; mix-blend-mode: soft-light; transform: none;
}
html.fuzz-css [data-fuzz="cream"], html.fuzz-css [data-fuzz="yellow"] { color: #4a2d6b; text-shadow: 0 1px 0 rgba(255, 255, 255, .5), 0 1px 3px rgba(60, 30, 90, .25); }
html.fuzz-css [data-fuzz-on][aria-selected="true"] { color: #fffaf4; text-shadow: 0 0 1px rgba(255, 255, 255, .9), 0 2px 5px rgba(40, 10, 60, .45); }
html.fuzz-css [data-fuzz] small, html.fuzz-css [data-fuzz] .n { color: inherit; opacity: .75; }
html.fuzz-css [data-fuzz]:active { transform: scale(.96, .9); filter: brightness(.88); transition-duration: .08s; }
html.fuzz-css [data-fuzz][disabled] { color: rgba(255, 255, 255, .85); }
html.fuzz-css [data-fuzz][disabled]::before { filter: url(#fz-edge) saturate(.4); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25), 0 4px 10px -6px rgba(8, 0, 18, .6); }
html.fuzz-css [data-fuzz][disabled]::after { opacity: .2; background-size: 140px 40px; }
html.is-loading .hero__inner { opacity: 0; }
.top__nav a.has-icon { gap: 8px; padding-left: 8px; }
.fz-icon { width: 24px; height: 24px; flex: none; }
@media (max-width: 720px) { .fz-icon { width: 20px; height: 20px; } .top__nav a.has-icon { padding-left: 6px; gap: 6px; } }

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


/* ======================= POPUPS: plush cushions growing out of the pile =======================
   .pop            fixed wrapper (inflates on open, is brushed back into the pile on close)
   .pop__cushion   the fur cushion with a piped cord seam. GL: drawn by the fuzz under-layer (html.fuzz-gl-under),
                   so its own paint goes transparent; css (phones): velvet + twisted cord ring.
   Who and FAQ: pompoms on a knotted thread. */
.scrim { position: fixed; inset: 0; z-index: 37; background: rgba(6, 0, 12, .42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .45s var(--ease-soft); }
.scrim.is-open { opacity: 1; }
html.q-low .scrim { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(6, 0, 12, .56); }
.fuzzlayer.fuzzlayer--under { z-index: 38; inset: auto; left: 0; top: 0; width: 0; height: 0; display: none; }
.pop {
  --v: 1; --x: 0; --cu: #33386f; --cord: var(--fz-sky); --pad: 24px;
  position: fixed; z-index: 39; top: calc(var(--header-h) + 16px); right: var(--gutter);
  width: min(500px, calc(100vw - 2 * var(--gutter))); padding: var(--pad);
  transform-origin: var(--ox, 80%) 0; touch-action: pan-y; -webkit-tap-highlight-color: transparent;
  transition: transform .38s cubic-bezier(.5, 0, .75, .2), opacity .3s cubic-bezier(.4, 0, 1, 1) .06s;   /* closing: sinks back in, accelerating */
}
.pop--faq { --cu: #2b4d45; --cord: var(--fz-green); }
.pop--who { --cu: #1f2757; --cord: var(--fz-sky); }
/* fill backwards only: a 'both' fill kept transform/opacity pinned after the inflate, so the swipe-away drag never moved it */
.pop.is-open { animation: popInflate .8s cubic-bezier(.3, .7, .3, 1) backwards; }
.pop:not(.is-open) { opacity: 0; transform: translate3d(-3%, -18px, 0) rotate(-2deg) scale(.5, .2); pointer-events: none; }
@keyframes popInflate {           /* air rushes in: overshoots wide, then tall, then settles */
  /* the rush out decelerates into the first extreme; between extremes ease in-out (a spring is momentarily still at
     each extreme) — one ease-out per segment re-launched every bounce at full speed, a visible stop-start judder */
  0% { opacity: 0; transform: scale(.5, .2); animation-timing-function: cubic-bezier(.2, .75, .35, 1); }
  30% { opacity: 1; transform: scale(1.04, .94); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  52% { transform: scale(.975, 1.04); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  72% { transform: scale(1.012, .99); animation-timing-function: cubic-bezier(.45, 0, .4, 1); }
  100% { opacity: 1; transform: none; }
}

.pop__cushion {
  position: absolute; inset: 0; border-radius: 34px; pointer-events: none;
  background:
    radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--cu) 82%, #fff 18%), var(--cu) 55%, color-mix(in srgb, var(--cu) 70%, #000) 100%);
  box-shadow: inset 0 -18px 34px -14px rgba(0, 0, 0, .45), inset 0 14px 30px -16px rgba(255, 255, 255, .18), 0 26px 60px -24px rgba(4, 0, 10, .8);
}
.pop__cushion::before {           /* nap */
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background-image: var(--fiber); background-size: 120px 120px; opacity: .35; mix-blend-mode: soft-light;
}
.pop__cushion::after {            /* piped seam: a twisted cord round the edge */
  content: ''; position: absolute; inset: 0; border-radius: inherit; border: 7px solid transparent;
  background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--cord) 70%, #fff) 0 3px, var(--cord) 3px 5px, color-mix(in srgb, var(--cord) 60%, #000) 5px 7px) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45));
}
html.fuzz-gl-under .pop__cushion { background: none; box-shadow: none; }
html.fuzz-gl-under .pop__cushion::before, html.fuzz-gl-under .pop__cushion::after { display: none; }

html .pop .pop__x {
  position: absolute; z-index: 3; top: var(--pad); right: var(--pad); width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer; font: 800 22px/1 var(--f-body); color: var(--deep); background: var(--fz);
}

/* ---------- FAQ: pompoms on a knotted thread ---------- */
.pop__scroll {
  position: relative; z-index: 1; max-height: calc(100svh - var(--header-h) - 34px - 2 * var(--pad));
  overflow: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 8px;
}
.pop__scroll::-webkit-scrollbar { display: none; }
.pop__eyebrow { margin: 0 0 8px; font: 750 11.5px/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: var(--fz-green); }
.pop--who .pop__eyebrow { color: var(--fz-sky); }
.pop__h, .qa__a p {
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1.5px 0 rgba(0, 10, 6, .55)) drop-shadow(0 -.5px 0 rgba(255, 255, 255, .12));
}
.pop__h {
  margin: 0; padding-right: 48px; min-height: 40px; font: 650 clamp(32px, 3.2vw, 42px)/1 var(--f-display); letter-spacing: -.015em;
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  background-image: repeating-linear-gradient(62deg, #fff6ea 0 1.1px, #d8cbbd 1.1px 1.9px, #f3e7d8 1.9px 2.7px);
}
.pop__h em { font-style: italic; font-weight: 500; -webkit-background-clip: text; background-clip: text; color: transparent;
  background-image: repeating-linear-gradient(62deg, #bfe8b8 0 1.1px, #87c47f 1.1px 1.9px, #a9dca1 1.9px 2.7px); }
.pop--who .pop__h em { background-image: repeating-linear-gradient(62deg, #d4e6ff 0 1.1px, #9fb8f2 1.1px 1.9px, #c3d3fa 1.9px 2.7px); }
.qa { position: relative; margin-top: 16px; }
.qa__thread { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.qa__th-shade { fill: none; stroke: rgba(0, 8, 4, .55); stroke-width: 3.8; stroke-linecap: round; transform: translate(1px, 2px); }
.qa__th-line { fill: none; stroke: #f6e4cf; stroke-width: 2.6; stroke-linecap: round; }
.qa__th-twist { fill: none; stroke: #b39a86; stroke-width: 2.6; stroke-dasharray: 1.4 2.6; }
.qa__knot { r: 3.8px; fill: #f3e2cf; stroke: #a58c78; stroke-width: 1; filter: drop-shadow(0 1.5px 1px rgba(0, 8, 4, .6)); }
.qa__knot--end { r: 5px; }
.qa__item { position: static; }
/* Who: the same pompom-on-a-thread rows, nothing to open */
.wl { list-style: none; padding: 0; }
.wl__r { display: flex; align-items: center; gap: 24px; padding: 12px 8px 12px 16px; border-radius: 16px; color: #f6ecdf;
  font: 500 clamp(17px, 1.3vw, 19.5px)/1.25 var(--f-display); font-variation-settings: 'SOFT' 100, 'opsz' 72; text-shadow: 0 1.5px 0 rgba(0, 4, 14, .5); }
.wl__r b { font-weight: 700; color: #cfe0ff; }
.wl__care { margin: 12px 8px 4px 16px; padding-top: 12px; border-top: 2px dashed rgba(246, 236, 223, .22);
  font: 600 12px/1.4 var(--f-body); letter-spacing: .05em; color: rgba(246, 236, 223, .55); }
.qa__h { margin: 0; font: inherit; }
.qa__q {
  display: flex; align-items: center; gap: 24px; width: 100%; padding: 12px 8px 12px 16px; border: 0; background: none;
  text-align: left; cursor: pointer; color: #f6ecdf; border-radius: 16px;
  font: 500 clamp(17px, 1.3vw, 19.5px)/1.25 var(--f-display); font-variation-settings: 'SOFT' 100, 'opsz' 72;
  text-shadow: 0 1.5px 0 rgba(0, 8, 4, .5);
}
.qa__t { transition: color .3s, transform .45s var(--ease); }
.qa__q:hover .qa__t, .qa__q[aria-expanded="true"] .qa__t { color: color-mix(in srgb, var(--fz) 55%, #fff); }
.qa__q[aria-expanded="true"] .qa__t { transform: translateX(4px); }
.qa__q:focus-visible { outline-offset: 0; }
.pom {
  position: relative; z-index: 1; flex: none; width: 40px; height: 40px; border-radius: 50%;
  transition: transform .7s cubic-bezier(.3, 1.6, .45, 1);
}
.qa__q:has(.pom[data-fuzz="pink"]) { --fz: var(--fz-pink); }
.qa__q:has(.pom[data-fuzz="sky"]) { --fz: var(--fz-sky); }
.qa__q:has(.pom[data-fuzz="marigold"]) { --fz: var(--fz-marigold); }
.qa__q:has(.pom[data-fuzz="lilac"]) { --fz: var(--fz-lilac); }
.qa__q:has(.pom[data-fuzz="yellow"]) { --fz: var(--fz-yellow); }
.qa__q[aria-expanded="true"] .pom { transform: scale(1.1) rotate(30deg); }
.qa__q:active .pom { transform: scale(.9, .82); transition-duration: .1s; }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa__a > div { min-height: 0; overflow: hidden; }
.qa__a p {
  margin: 0; padding: 0 8px 16px 80px; font: 600 15.5px/1.5 var(--f-body);
  background-image: repeating-linear-gradient(72deg, #fbf1e4 0 1px, #d6c6b6 1px 1.7px);
  clip-path: inset(0 100% 0 0); transition: clip-path .75s cubic-bezier(.5, 0, .3, 1) .12s;   /* stitched in, left to right */
}
.qa__item.is-open .qa__a { grid-template-rows: 1fr; }
.qa__item.is-open .qa__a p { clip-path: inset(0 0 0 0); }

/* css fuzz (phones): the pompom is a frayed ball; open = ruffled, petals bloom round it */
html.fuzz-css .pom::before {
  inset: -4px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--fz) 45%, #fff) 0%, var(--fz) 45%, color-mix(in srgb, var(--fz) 62%, #000) 100%);
  box-shadow: 0 6px 10px -5px rgba(0, 0, 0, .6); filter: url(#fz-pom);
}
html.fuzz-css .pom::after { border-radius: 50%; background-size: 40px 40px; opacity: .55; }
html.fuzz-css .qa__q[aria-expanded="true"] .pom::before { filter: url(#fz-pom-open); }
.pom i {
  position: absolute; z-index: -2; left: 50%; top: 50%; width: 56%; height: 72%; margin: -36% 0 0 -28%; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--fz) 55%, #fff), var(--fz) 70%);
  transform: rotate(calc(var(--k) * 51.4deg)) translateY(0) scale(.4); opacity: 0;
  transition: transform .6s cubic-bezier(.3, 1.5, .5, 1), opacity .3s; filter: url(#fz-pom);
}
.qa__q[aria-expanded="true"] .pom i { transform: rotate(calc(var(--k) * 51.4deg)) translateY(-64%) scale(1); opacity: 1; transition-delay: calc(var(--k) * 25ms); }
html.fuzz-gl .pom i { display: none; }

@media (max-width: 720px) {
  .pop { left: 16px; right: 16px; width: auto; top: calc(var(--header-h) + 8px); --pad: 16px; }
  .wl__r { gap: 16px; padding-left: 8px; font-size: 17px; }
  .wl__care { margin-left: 8px; }
  .qa__q { gap: 16px; padding-left: 8px; font-size: 17px; }
  .pom { width: 32px; height: 32px; }
  .qa__a p { padding-left: 56px; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .pop.is-open { animation: popFade .25s backwards; }
  .pop:not(.is-open) { transform: none; }
  .qa__a p { clip-path: none; }
}
@keyframes popFade { from { opacity: 0; } to { opacity: 1; } }
/* ---------- Social button: googly-eyes icon (the Den link) + phone menu ---------- */
.nav-social { position: relative; display: flex; }
.fz-eyes .eye { transform-box: fill-box; transform-origin: 50% 50%; }
.fz-eyes .eye.is-blink { animation: eyeBlink .16s ease-in-out; }
@keyframes eyeBlink { 50% { transform: scaleY(.1); } }
@keyframes menuDrop { from { transform: translateY(-14px) scale(.55); } }
.fz-eyes--fx { position: absolute; left: 8px; top: 50%; margin-top: -12px; display: none; pointer-events: none; }
html.fuzz-gl .fz-eyes--fx { display: block; z-index: 2; transition: opacity .7s var(--ease-soft); }
html.is-loading .fz-eyes--fx { opacity: 0; }   /* fades in with the GL buttons (it floated alone over the pile before) */
.top__more, .top__menu { display: none; }

/* ---------- home header: one slim black capsule (Social · Who · FAQ | OpenSea X) ----------
   Strict and quiet on top of the loud pile; the fur only shows up as a tiny pompom under the hovered item. */
.cap {
  --cap-h: 44px; --cap-ink: rgba(255, 255, 255, .78); --cap-bg: rgba(10, 9, 13, .72);
  position: relative; gap: 8px; height: var(--cap-h); padding: 0 12px; border-radius: 99px;
  background: var(--cap-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 32px -12px rgba(0, 0, 0, .75);
  font-family: var(--f-body);
}
html.q-low .cap { -webkit-backdrop-filter: none; backdrop-filter: none; --cap-bg: rgba(10, 9, 13, .9); }
.cap .cap__a, .cap-menu .cap__a {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  z-index: 1; height: calc(var(--cap-h) - 10px); min-width: 0; padding: 0 18px; border: 0; border-radius: 99px; background: transparent;
  font: 500 13.5px/1 var(--f-body); letter-spacing: .045em; color: var(--cap-ink); text-decoration: none; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color .25s var(--ease-soft), background-color .25s var(--ease-soft);
}
.cap .cap__a--icon { width: calc(var(--cap-h) - 10px); padding: 0; }
.cap .top__more { display: none; }
.cap > :not(.cap__fur) { position: relative; z-index: 1; }   /* everything sits above the fur trim */
.cap .cap__a--social { padding-left: 13px; }
/* fur trim: a thin rim of short charcoal fibres hugging the pill (src/page/caprim.js draws it once per size) */
.cap__fur { position: absolute; z-index: 0; left: -9px; top: -9px; width: calc(100% + 18px); height: calc(100% + 18px); pointer-events: none; }
.cap .fz-icon { width: 17px; height: 17px; }
.cap__svg { width: 17px; height: 17px; flex: none; display: block; }
.cap .cap__os { width: 20px; height: 20px; }
.cap__x { width: 14px; height: 14px; }
.cap .cap__a--icon { color: rgba(255, 255, 255, .9); }
.cap__os-disc { fill: currentColor; transition: fill .3s var(--ease-soft); }
.cap__os-ship { fill: #0b0a0e; }
.cap__sep { position: relative; z-index: 1; flex: none; width: 1px; height: 16px; margin: 0 8px; background: rgba(255, 255, 255, .16); }
/* hover / open: the label brightens, a whisper of a pill, and a tiny fur pompom settles under it */
.cap__a::after {
  content: ''; position: absolute; left: 50%; bottom: -1px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff 0 30%, #e9e3f2 60%, rgba(233, 227, 242, 0) 74%);
  filter: url(#fz-pom); opacity: 0; transform: translateY(3px) scale(.3);
  transition: opacity .25s var(--ease-soft), transform .45s cubic-bezier(.3, 1.7, .5, 1);
  pointer-events: none;
}
.cap .cap__a--icon::after { bottom: -3px; }
.cap__a:hover, .cap__a[aria-expanded="true"] { color: #fff; background-color: rgba(255, 255, 255, .09); }
.cap__a:hover::after, .cap__a[aria-expanded="true"]::after { opacity: .95; transform: none; }
.cap__a:active { background-color: rgba(255, 255, 255, .12); }
.cap__a--icon:hover .cap__os-disc { fill: #2081e2; }
.cap__a--icon:hover .cap__os-ship { fill: #fff; }
.cap__a:focus { outline: none; }
.cap__a:focus-visible { color: #fff; background-color: rgba(255, 255, 255, .09); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .6); }   /* keyboard only */
.cap .fz-eyes { transition: transform .35s cubic-bezier(.3, 1.7, .5, 1); }
.cap__a--social:hover .fz-eyes { transform: scale(1.12); }
@media (max-width: 720px) {
  .cap { --cap-h: 40px; padding: 0 7px; gap: 2px; }
  .cap .cap__a, .cap-menu .cap__a { padding: 0 13px; font-size: 13px; letter-spacing: .035em; }
  .cap .cap__a--icon { padding: 0; }
  .cap .cap__a--social { padding-left: 11px; }
  .cap__sep { margin: 0 5px; }
  .cap__a::after { display: none; }   /* no hover on touch: the pompom would only stick after a tap */
}
/* 360–400px phones: four text items (Social · Floops · Who · FAQ) only fit with tighter padding */
@media (max-width: 400px) {
  .cap { padding: 0 5px; }
  .cap .cap__a, .cap-menu .cap__a { padding: 0 9px; letter-spacing: .02em; }
  .cap .cap__a--icon { padding: 0; width: 28px; }
  .cap .cap__a--social { padding-left: 8px; gap: 5px; }
  .cap__sep { margin: 0 3px; }
}
/* very narrow phones: Who / FAQ fold into a "…" menu in the same black style */
@media (max-width: 359px) {
  .cap .cap__a--txt { display: none; }
  .cap .top__more { display: inline-flex; width: 34px; padding: 0; }
  .cap-menu:not([hidden]) {
    display: flex; flex-direction: column; gap: 2px; position: absolute; right: var(--gutter); top: calc(var(--header-h) - 6px);
    padding: 5px; border-radius: 22px; background: rgba(10, 9, 13, .86);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 14px 30px -12px rgba(0, 0, 0, .75);
    transform-origin: 90% 0; animation: capMenu .28s var(--ease) backwards;
  }
  .cap-menu .cap__a { --cap-h: 46px; justify-content: flex-start; min-width: 120px; }
}
@keyframes capMenu { from { opacity: 0; transform: translateY(-6px) scale(.96); } }
