/* テープMemory — product-page style: black and light sections, big type, scroll-driven scenes.
   No glass: every surface is solid. Purple / pink stays as the accent. */
:root {
  color-scheme: dark;
  --bg: #000;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --dim: #6e6e73;
  --tile: #161617;
  --tile-2: #1d1d1f;
  --line: #2a2a2d;
  --light: #f5f5f7;
  --light-ink: #1d1d1f;
  --light-muted: #6e6e73;
  --accent: #b46cff;
  --accent-hi: #c58bff;
  --pink: #ff4fb4;
  --grad: linear-gradient(95deg, #a855f7 0%, #d65cf0 45%, #ff4fb4 100%);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.2, 1.25, 0.3, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --jp: "Hiragino Sans", "Noto Sans JP", sans-serif;
  --gutter: max(16px, 4.5vw);
  --wrap: 1080px;
  --nav-h: 52px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.is-locked { overflow: hidden; }
.drawer__list, .modal { overscroll-behavior: contain; }
html body {
  /* explicit background so a host page can't paint it white; the body is its own stacking
     context, so the fixed footage stage (z-index -1) paints above this and below the content */
  background: var(--bg);
  position: relative; z-index: 0;
  color: var(--ink);
  font: 400 17px/1.47 var(--sans);
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
main { overflow-x: clip; }
::selection { background: rgba(180, 108, 255, .45); }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.jp { font-family: var(--jp); font-weight: 500; letter-spacing: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.anchor { position: absolute; top: calc(var(--nav-h) * -1); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.is-away { content-visibility: auto; contain-intrinsic-size: auto none; }

/* ---------- Type ---------- */
.eyebrow { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); margin-bottom: 12px; }
.sect__title { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; }
.mega { font-size: clamp(48px, 9vw, 112px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.38; font-weight: 500; letter-spacing: -0.02em; color: var(--muted); max-width: 40ch; margin-top: 22px; }
.light .eyebrow, .light .lede { color: var(--light-muted); }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 11px 22px; border-radius: 980px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap;
  transition: background-color .25s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.pill:active { transform: scale(.97); }
.pill:focus-visible, .link-arrow:focus-visible, .paddle:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.pill[disabled] { background: #3a3a3c; color: #a1a1a6; cursor: default; }
.pill--sm { min-height: 28px; padding: 4px 12px; font-size: 12px; font-weight: 500; }
.pill--ghost { background: transparent; color: var(--accent-hi); box-shadow: inset 0 0 0 1px var(--accent); }
.link-arrow { color: var(--accent-hi); font-size: 17px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.link-arrow::after { content: "›"; font-size: 1.25em; line-height: 1; transition: translate .25s var(--ease); }
.light .link-arrow { color: #8a3ffc; }
.light .pill { background: #8a3ffc; }
@media (hover: hover) and (pointer: fine) {
  .pill:not([disabled]):hover { background: var(--accent-hi); }
  .light .pill:hover { background: #9d5cff; }
  .link-arrow:hover { text-decoration: underline; }
  .link-arrow:hover::after { translate: 3px 0; }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }

/* ---------- Footage stage ---------- */
.stage {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: var(--bg) url("assets/fondo-hq/f001.webp") center / contain no-repeat;
  transform-origin: 50% 50%;
}
.stage.is-framed { border-radius: 32px; }
.stage.is-off { visibility: hidden; }
.stage__main { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.stage__shade { position: absolute; inset: 0; background: radial-gradient(120% 85% at 50% 40%, transparent 0%, rgba(0,0,0,.5) 100%), linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.36)); }
.stage__orb { position: absolute; width: 90vmax; height: 90vmax; border-radius: 50%; pointer-events: none; }
.stage__orb--a { left: -40vmax; top: -40vmax; background: radial-gradient(closest-side, rgba(168,85,247,.4), rgba(168,85,247,0) 70%); }
.stage__orb--b { right: -40vmax; bottom: -42vmax; background: radial-gradient(closest-side, rgba(255,79,180,.32), rgba(255,79,180,0) 70%); }
.stage__orb--c { left: 40vw; top: 30vh; width: 64vmax; height: 64vmax; background: radial-gradient(closest-side, rgba(124,58,237,.2), rgba(124,58,237,0) 70%); }
.stage__dim { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.stage--gl .stage__shade, .stage--gl .stage__orb, .stage--gl .stage__dim, .stage--gl .stage__grain { display: none; }
.stage--gl { background: none; }
.stage__grain { position: absolute; inset: 0; opacity: .06; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- Space behind the page (after the hero) ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.sky.is-on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); }
.sky__band { position: absolute; left: 0; top: 0; width: 100%; height: 170%; object-fit: cover; opacity: .5; will-change: transform; }
.sky__stars { position: absolute; left: 0; top: 0; width: 100%; background-repeat: repeat; will-change: transform; }
.sky__tw { animation: twinkle 4.4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .2; } to { opacity: 1; } }
.sky__planet { position: absolute; left: 0; top: 0; visibility: hidden; will-change: transform; }
.sky__meteor {
  position: absolute; top: 16%; left: 70%; width: 190px; height: 1.5px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(230, 210, 255, .8) 80%, #fff);
  rotate: 152deg; animation: meteor 12s linear infinite;
}
.sky__meteor--b { top: 52%; left: 34%; rotate: 162deg; animation-duration: 19s; animation-delay: -7s; }
@keyframes meteor {
  0%, 90% { opacity: 0; transform: translateX(0) scaleX(.3); }
  91% { opacity: 1; }
  96%, 100% { opacity: 0; transform: translateX(560px) scaleX(1); }
}
.sky:not(.is-on) .sky__tw, .sky:not(.is-on) .sky__meteor { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .sky__tw, .sky__meteor { animation: none; } }
/* the dark sections after the hero let it show through (their own rules below have no background) */
.sect.forms { background: transparent; }

/* ---------- Nav (solid, no blur) ---------- */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 50; height: var(--nav-h); color: var(--ink); transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.nav.is-solid { background: rgba(0, 0, 0, .94); box-shadow: 0 1px 0 rgba(255,255,255,.1); }
.nav.is-light { background: rgba(245, 245, 247, .96); color: var(--light-ink); box-shadow: 0 1px 0 rgba(0,0,0,.1); }
.nav__in { height: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 22px; }
.brand { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-right: auto; white-space: nowrap; }
.brand .jp { margin-right: 1px; }
.nav__links { display: flex; gap: 22px; font-size: 12px; letter-spacing: -0.01em; }
.nav__links a { opacity: .8; transition: opacity .2s; }
.cart-btn { background: none; border: 0; cursor: pointer; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; opacity: .85; }
.cart-btn span { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: currentColor; display: inline-grid; place-items: center; font-size: 11px; font-weight: 600; }
.cart-btn span { color: inherit; background: rgba(127,127,127,.3); }
.menu-btn { display: none; width: 36px; height: 36px; background: none; border: 0; position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 14px; } .menu-btn span:last-child { top: 21px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover, .cart-btn:hover { opacity: 1; } }

/* ---------- Hero: pinned, lines take turns over the footage ---------- */
.hero { position: relative; height: 420vh; }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.hero__layer { grid-area: 1 / 1; text-align: center; padding: 0 var(--gutter); will-change: transform, opacity; }
.hero__names { font-size: clamp(15px, 1.6vw, 21px); font-weight: 600; color: rgba(245,245,247,.86); margin-bottom: 14px; }
.hero__names span { color: var(--accent-hi); }
.hero__title { font-size: clamp(64px, 15vw, 230px); line-height: .92; font-weight: 700; letter-spacing: -0.055em; }
.hero__title .jp { font-weight: 700; letter-spacing: -0.02em; margin-right: .02em; }
.hero__sub { margin-top: 22px; font-size: clamp(21px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.025em; color: rgba(245,245,247,.92); }
.hero__line { font-size: clamp(48px, 9vw, 128px); line-height: 1.0; font-weight: 700; letter-spacing: -0.05em; opacity: 0; }
.hero__end { max-width: 760px; opacity: 0; }
.hero__lead { font-size: clamp(21px, 2.4vw, 30px); line-height: 1.3; font-weight: 600; letter-spacing: -0.025em; }
.hero__end .actions { justify-content: center; }
.hero__title-wrap { animation: hero-in 1.6s var(--ease-out) backwards .15s; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 22px; height: 36px; margin-left: -11px; border: 1.5px solid rgba(245,245,247,.6); border-radius: 12px; }
.scroll-cue i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: cue 1.8s var(--ease) 6; }
@keyframes cue { 0% { transform: none; opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Generic sections ---------- */
.sect { position: relative; padding: clamp(100px, 14vw, 180px) 0; background: var(--bg); }
.sect.light { background: var(--light); color: var(--light-ink); color-scheme: light; }

/* ---------- Highlights gallery ---------- */
.highlights { padding-bottom: 110px; }
.highlights .sect__title { margin-bottom: 56px; }
.hl { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline: none; }
.hl::-webkit-scrollbar { display: none; }
.hl__track { display: flex; gap: 22px; padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)); width: max-content; }
.hl__card {
  --k: 180, 108, 255;
  position: relative; flex: none; width: min(86vw, 980px); height: min(78vh, 680px); min-height: 460px;
  border-radius: 28px; overflow: hidden; scroll-snap-align: center; background: var(--tile);
}
.hl__cap {
  position: absolute; z-index: 2; left: 0; top: 0; padding: clamp(28px, 4vw, 52px); max-width: 560px;
  font-size: clamp(21px, 2.3vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; color: var(--muted);
  opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform 1s var(--ease-out);
}
.hl__cap b { color: var(--ink); font-weight: 600; }
.hl__card.is-active .hl__cap { opacity: 1; transform: none; transition-delay: .2s; }
.hl__card img { transition: transform 1.6s var(--ease-out); }
.hl--art { background: radial-gradient(90% 80% at 75% 85%, rgba(var(--k), .35), rgba(var(--k), 0) 70%), var(--tile); }
.hl--art img { position: absolute; right: 7%; bottom: 8%; width: min(54%, 62vh); aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); transform: perspective(1200px) rotateY(-18deg) rotateX(6deg) scale(.9); }
.hl--art.is-active img { transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); }
.hl--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hl--photo.is-active img { transform: scale(1); }
.hl--photo::after, .hl--duo::after { content: ""; position: absolute; inset: 0 0 auto; height: 55%; background: linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,0)); z-index: 1; }
.hl__duo { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.hl__duo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hl--duo.is-active .hl__duo img { transform: scale(1); }
/* A kit's demo plays right from its highlight: a solid pill under the caption, a ring that fills */
.hl__play {
  display: flex; align-items: center; gap: 12px; width: max-content; margin-top: 22px;
  padding: 6px 22px 6px 6px; border: 0; border-radius: 980px; cursor: pointer; text-align: left;
  background: var(--tile-2); color: var(--ink); font-size: 15px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em;
  transition: background-color .25s var(--ease), transform .2s var(--ease); -webkit-tap-highlight-color: transparent;
}
.hl__play:active { transform: scale(.97); }
.hl__play:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.hl__card:not(.is-active) .hl__play { pointer-events: none; }
.hl__knob { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #000; }
.hl__knob > .i-play, .hl__knob > .i-pause { grid-area: 1 / 1; width: 18px; height: 18px; fill: currentColor; transition: opacity .2s, transform .3s var(--ease-out); }
.hl__knob > .i-play { margin-left: 2px; }
.hl__knob > .i-pause { opacity: 0; transform: scale(.5); }
.hl__play.is-on .i-play { opacity: 0; transform: scale(.5); }
.hl__play.is-on .i-pause { opacity: 1; transform: none; }
.hl__ring { position: absolute; left: -4px; top: -4px; width: 48px; height: 48px; rotate: -90deg; pointer-events: none; overflow: visible; }
.hl__ring circle { fill: none; stroke: rgb(var(--k)); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.hl__play.is-loading .hl__knob::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-top-color: rgb(var(--k)); border-right-color: rgb(var(--k)); animation: spin .7s linear infinite; }
.hl__what small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .hl__play:hover { background: #2c2c2e; } }
.hl__ctrl { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 34px auto 0; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: center; position: relative; }
.hl__dots { display: flex; gap: 12px; padding: 18px 24px; border-radius: 30px; background: var(--tile-2); }
.hl__dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: #6e6e73; cursor: pointer; transition: width .5s var(--ease-out), background-color .3s; }
.hl__dots button[aria-selected="true"] { width: 44px; background: var(--ink); }
.hl__paddles { position: absolute; right: var(--gutter); display: flex; gap: 12px; }
.paddle { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tile-2); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; transition: background-color .2s, opacity .2s; }
.paddle:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .paddle:not(:disabled):hover { background: #333336; } }

/* ---------- Statement: words light up ---------- */
.statement { position: relative; height: 240vh; }
.statement__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.statement__text { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.14; font-weight: 700; letter-spacing: -0.035em; max-width: 22ch; }
.statement__text .sw { color: #3a3a3c; transition: color .5s var(--ease); }
.statement__text .sw.is-lit { color: var(--ink); }
.statement__text b { font-weight: 700; }
.statement__text b .sw.is-lit { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Kits: pinned 3D chapters ---------- */
.kits { position: relative; padding-top: clamp(100px, 12vw, 160px); }
.kits__head { padding-bottom: 40px; }
.kit { --k: 255, 79, 180; --k2: 168, 85, 247; --k-ink: #fff; position: relative; height: 230vh; }
.kit__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.kit__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 55% at 32% 55%, rgba(var(--k), .24), rgba(var(--k), 0) 70%); opacity: 0; will-change: opacity; }
.kit__ghost {
  position: absolute; left: 0; top: 50%; margin-top: -.55em; white-space: nowrap; pointer-events: none;
  font: 700 clamp(160px, 30vw, 440px)/1 var(--jp); letter-spacing: -0.02em; color: transparent;
  -webkit-text-stroke: 1px rgba(var(--k), .22); will-change: transform;
}
.kit__card { position: relative; width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: calc(var(--nav-h) + 10px) var(--gutter) 20px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.kit__visual { position: relative; perspective: 1600px; }
.kit__obj { position: relative; width: min(100%, 64vh); margin: 0 auto; will-change: transform, opacity; transform-origin: 50% 50%; }
.kit__shadow { position: absolute; left: 12%; right: 12%; bottom: -9%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--k), .5), rgba(var(--k), 0)); will-change: transform, opacity; }
.kit__info > * { opacity: 0; transform: translateY(36px); transition: opacity .7s var(--ease), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.kit.is-in .kit__info > * { opacity: 1; transform: none; }
.kit__eyebrow { font-size: 15px; font-weight: 600; color: rgb(var(--k2)); margin-bottom: 10px; }
.kit__title { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; }
.kit__desc { margin-top: 14px; font-size: 19px; line-height: 1.4; color: var(--muted); font-weight: 500; max-width: 34ch; }
.kit__info .stat { margin-top: 18px; font: 600 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--k2)); }
.stat b { display: inline-block; text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 16px; }
.tags li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 980px; background: var(--tile-2); color: #d2d2d7; }
.kit__info .demo { margin-top: 22px; }
.kit__buy { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.kit__buy .price { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.kit__buy .pill { flex: none; }

/* Cover + cassette flip (play turns the cover over to the kit's tape) */
.cover { aspect-ratio: 1 / 1; border-radius: 18px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 14px; box-shadow: 0 60px 120px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.06); }
.cover--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.22) 48%, rgba(255,255,255,0) 60%); transform: translateX(-100%); }
.kit.is-in .cover__glare { animation: glare 1.6s var(--ease-out) .4s 1 both; }
@keyframes glare { to { transform: translateX(100%); } }
.cover__play {
  position: absolute; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #000; background: rgba(245,245,247,.94); pointer-events: none;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); transition: transform .4s var(--spring);
}
.cover__play svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .flip:hover .cover__play { transform: scale(1.1); } }
.flip { position: relative; aspect-ratio: 1 / 1; cursor: pointer; -webkit-tap-highlight-color: transparent; perspective: 1100px; }
.flip > .cover, .deck { position: absolute; inset: 0; transition: transform .9s var(--spring), visibility 0s; }
.deck { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.card[data-deck="playing"] .flip > .cover, .card[data-deck="loading"] .flip > .cover { transform: rotateY(180deg); visibility: hidden; transition-delay: 0s, .9s; }
.card[data-deck="playing"] .deck, .card[data-deck="loading"] .deck { transform: none; visibility: visible; transition-delay: 0s; }
.deck {
  transform: rotateY(-180deg); visibility: hidden; transition-delay: 0s, .9s;
  border-radius: 18px; overflow: hidden; padding: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: radial-gradient(110% 75% at 50% 0%, rgba(var(--k), .4), rgba(var(--k), 0) 62%), #111113;
  box-shadow: 0 60px 120px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.08);
}
.deck__now { position: absolute; left: 16px; top: 14px; display: inline-flex; align-items: center; gap: 8px; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--k2)); }
.deck__now i { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--k)); }
.card[data-deck="playing"] .deck__now i { animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.deck__title { font-size: 15px; font-weight: 600; text-align: center; }
.tape {
  position: relative; width: 84%; aspect-ratio: 1.58; border-radius: 10px;
  background: linear-gradient(165deg, #2c2c30, #18181b 40%, #121214); border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 18px 36px -16px rgba(0,0,0,.8);
}
.tape::before { content: ""; position: absolute; inset: 5px; pointer-events: none; background: radial-gradient(circle at 3px 3px, rgba(255,255,255,.5) 0 1.6px, transparent 2.2px), radial-gradient(circle at calc(100% - 3px) 3px, rgba(255,255,255,.5) 0 1.6px, transparent 2.2px), radial-gradient(circle at 3px calc(100% - 3px), rgba(255,255,255,.5) 0 1.6px, transparent 2.2px), radial-gradient(circle at calc(100% - 3px) calc(100% - 3px), rgba(255,255,255,.5) 0 1.6px, transparent 2.2px); }
.tape::after { content: ""; position: absolute; left: 24%; right: 24%; bottom: 0; height: 15%; background: rgba(255,255,255,.08); clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%); }
.tape__label { position: absolute; left: 7%; right: 7%; top: 9%; height: 29%; border-radius: 5px; overflow: hidden; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 10px; color: #111; background: linear-gradient(180deg, rgb(var(--k2)), rgba(var(--k2), .86)); }
.tape__label b { font: 700 15px var(--jp); white-space: nowrap; }
.tape__label span { font: 600 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; opacity: .75; }
.tape__label em { margin-left: auto; flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 4px; font: 700 11px var(--mono); font-style: normal; background: #111; color: rgb(var(--k2)); }
.tape__window { position: absolute; left: 20%; right: 20%; top: 47%; height: 27%; border-radius: 999px; overflow: hidden; background: #050506; border: 1px solid rgba(255,255,255,.14); }
.tape__spool { position: absolute; top: 50%; left: 25%; width: 62%; aspect-ratio: 1; margin: -31% 0 0 -31%; border-radius: 50%; background: radial-gradient(circle, rgba(0,0,0,0) 0 30%, #4a3328 31%, #2a1c15 72%, #4a3328 100%); }
.tape__spool--r { left: 75%; transform: scale(.5); }
.tape__reel { position: absolute; top: 50%; left: 25%; width: 26%; aspect-ratio: 1; margin: -13% 0 0 -13%; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g fill='none' stroke='%23f5f5f7'><circle cx='20' cy='20' r='15' stroke-width='2.4'/><circle cx='20' cy='20' r='7.5' stroke-width='2'/></g><g fill='%23f5f5f7'><rect x='18.6' y='6.5' width='2.8' height='6.5' rx='1'/><rect x='18.6' y='6.5' width='2.8' height='6.5' rx='1' transform='rotate(60 20 20)'/><rect x='18.6' y='6.5' width='2.8' height='6.5' rx='1' transform='rotate(120 20 20)'/><rect x='18.6' y='6.5' width='2.8' height='6.5' rx='1' transform='rotate(180 20 20)'/><rect x='18.6' y='6.5' width='2.8' height='6.5' rx='1' transform='rotate(240 20 20)'/><rect x='18.6' y='6.5' width='2.8' height='6.5' rx='1' transform='rotate(300 20 20)'/></g></svg>") center / contain no-repeat; }
.tape__reel--r { left: 75%; }
.card[data-deck="playing"] .tape__reel { animation: reel 1.7s linear infinite; }
@keyframes reel { to { rotate: 360deg; } }
.deck__vu { width: 84%; display: grid; gap: 5px; }
.deck__vu i { position: relative; display: block; height: 5px; border-radius: 3px; overflow: hidden; background: repeating-linear-gradient(90deg, rgba(0,0,0,0) 0 5px, #111113 5px 7px), linear-gradient(90deg, rgb(var(--k)), rgb(var(--k2)) 70%, #ff4fb4); }
.deck__vu b { position: absolute; inset: 0; background: rgba(17,17,19,.88); }
.card[data-deck="playing"] :is(.tape, .tape__spool, .deck__vu b) { will-change: transform; }

/* Demo row */
.demo { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 6px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--tile); transition: background-color .3s var(--ease); max-width: 480px; }
.demo[data-state="playing"], .demo[data-state="loading"], .demo[data-state="paused"] { background: var(--tile-2); }
.demo .play { grid-row: 1 / 3; }
.demo__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.demo__info { font-size: 14px; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo__info small { font-size: 12px; font-weight: 600; color: rgb(var(--k2)); margin-right: 8px; }
.demo__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; flex: none; opacity: 0; transition: opacity .3s; }
.demo__eq i { width: 2px; height: 100%; border-radius: 1px; background: rgb(var(--k)); transform-origin: 50% 100%; transform: scaleY(.25); }
.demo[data-state="playing"] .demo__eq { opacity: 1; }
.demo[data-state="playing"] .demo__eq i { animation: eq .9s ease-in-out infinite; }
.demo__eq i:nth-child(2) { animation-delay: -.45s !important; }
.demo__eq i:nth-child(3) { animation-delay: -.2s !important; }
.demo__eq i:nth-child(4) { animation-delay: -.65s !important; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.demo__track { display: flex; align-items: center; gap: 10px; min-width: 0; }
.demo__bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: #48484a; cursor: pointer; touch-action: pan-y; }
.demo__bar::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; bottom: -10px; }
.demo__bar i { position: absolute; inset: 0; border-radius: inherit; display: block; background: linear-gradient(90deg, rgb(var(--k)), rgb(var(--k2))); clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.demo__wave { position: absolute; inset: 0; display: block; }
.demo__bar--wave { height: 26px; border-radius: 0; background: none; }
.demo__bar--wave .demo__wave { background-color: #48484a; -webkit-mask: var(--wave) center / 100% 100% no-repeat; mask: var(--wave) center / 100% 100% no-repeat; }
.demo__bar:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.demo__time { font: 500 12px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 11ch; text-align: right; }
.play { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; color: #000; background: var(--ink); transition: transform .16s var(--ease); -webkit-tap-highlight-color: transparent; }
.play:active { transform: scale(.92); }
.play:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.play svg { grid-area: 1 / 1; width: 20px; height: 20px; fill: currentColor; transition: opacity .2s, transform .3s var(--ease-out); }
.play .i-play { margin-left: 2px; }
.play .i-pause { opacity: 0; transform: scale(.5); }
.play.is-on .i-play { opacity: 0; transform: scale(.5); }
.play.is-on .i-pause { opacity: 1; transform: none; }
.play.is-loading::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-top-color: rgb(var(--k2)); border-right-color: rgb(var(--k2)); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- VSTs: coming soon (light) ---------- */
.soon { text-align: center; padding: clamp(130px, 18vw, 240px) 0; overflow: hidden; }
.soon .lede { margin-left: auto; margin-right: auto; }
.soon__title { font-size: clamp(64px, 14vw, 200px); will-change: transform, opacity; }
.soon .link-arrow { margin-top: 30px; }

/* ---------- Beats: the video grows to full screen ---------- */
.beats { position: relative; height: 300vh; }
.beats__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.beats__head { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 6vh); text-align: center; padding: 0 var(--gutter); will-change: transform, opacity; }
.beats__media { position: absolute; inset: 0; display: block; overflow: hidden; background: #0a0a0b; will-change: clip-path; clip-path: inset(30% 22% 14% 22% round 28px); }
.beats__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; }
.beats__over { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(40px, 8vh, 90px); max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; opacity: 0; will-change: transform, opacity; }
.beats__over::before { content: ""; position: absolute; left: -50vw; right: -50vw; bottom: 0; height: 160%; z-index: -1; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.8)); pointer-events: none; }
.beats__tag { font-size: 17px; font-weight: 600; color: var(--accent-hi); }
.beats__copy { margin-top: 8px; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -0.035em; max-width: 24ch; }

/* ---------- About (light) ---------- */
.about .mega { max-width: 13ch; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; }
.founder { display: grid; gap: 14px; }
.person { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: 24px; background: #fff; }
.person__mono { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; font-weight: 700; color: #fff; background: var(--grad); }
.person h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.person p { color: var(--light-muted); font-size: 15px; }
.founder__photo { aspect-ratio: 900 / 1124; border-radius: 24px; overflow: hidden; background: #e8e8ed; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }

/* ---------- Forms ---------- */
.forms { padding: clamp(90px, 11vw, 150px) 0; }
.forms + .forms { padding-top: 0; }
.forms__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.form { display: grid; gap: 16px; padding: clamp(24px, 3.4vw, 40px); border-radius: 28px; background: var(--tile); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: 400 17px/1.3 var(--sans); letter-spacing: -0.02em; color: var(--ink);
  background: #000; border: 1px solid #424245; border-radius: 12px; padding: 14px 16px; min-height: 52px;
  transition: border-color .2s, box-shadow .2s;
}
.form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23a1a1a6' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form select option { background: #1d1d1f; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180,108,255,.3); }
.form .is-invalid { border-color: #ff453a; }
.form textarea { resize: vertical; }
.form .pill { justify-self: start; margin-top: 6px; }
.form__status { font-size: 14px; color: #ff6961; min-height: 1em; }
.form__status.ok { color: #30d158; }

/* ---------- CTA ---------- */
.cta { padding: clamp(120px, 16vw, 220px) 0; text-align: center; overflow: hidden; }
.cta__title { font-size: clamp(54px, 11vw, 160px); line-height: 1; font-weight: 700; letter-spacing: -0.05em; will-change: transform, opacity; }
.cta .lede { margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: #0a0a0b; color: var(--dim); font-size: 12px; padding: 36px 0 28px; letter-spacing: -0.01em; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.footer .brand { color: var(--ink); font-size: 17px; margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); }
.footer__note { margin-top: 16px; }
.footer__copy { margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { color: var(--ink); text-decoration: underline; } }

/* ---------- Modal + drawer (solid) ---------- */
.modal { margin: auto; width: min(92vw, 460px); border: 0; border-radius: 24px; background: var(--tile-2); color: var(--ink); box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.modal::backdrop { background: rgba(0,0,0,.7); }
.modal[open] { animation: pop .45s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal__inner { padding: 28px; }
.modal h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.modal__options { display: grid; gap: 10px; margin: 22px 0; }
.opt { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: #000; border: 1px solid #424245; cursor: pointer; transition: border-color .2s; }
.opt:has(input:checked) { border-color: var(--accent); }
.opt input { accent-color: var(--accent); }
.opt span:first-of-type { flex: 1; font-weight: 600; }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.modal__foot { display: flex; justify-content: flex-end; gap: 10px; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(92vw, 420px); background: var(--tile-2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .55s var(--ease-out); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #333336; font-size: 20px; cursor: pointer; }
.drawer__list { list-style: none; flex: 1; overflow-y: auto; padding: 10px 24px; }
.drawer__list li { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.drawer__list li > span:first-child { flex: 1; font-weight: 600; }
.drawer__list li small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.drawer__list .empty { display: block; color: var(--muted); border: 0; padding-top: 30px; }
.drawer__list button { background: none; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; }
.drawer__foot { padding: 20px 24px 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__total { display: flex; justify-content: space-between; font-size: 19px; font-weight: 700; }
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.scrim.is-on { opacity: 1; pointer-events: auto; }

/* ---------- Reveal: fade up ---------- */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* ---------- Universe ----------
   A pinned 3D map of the site (setupCosmos in script.js draws it with WebGL in its own canvas):
   a black hole with its disc, one bright star per part of the site, and orbits. Solid surfaces
   only. Labels are real links laid over the canvas and moved with transforms only. */
.cosmos-pin { position: relative; height: 240vh; background: var(--bg); }
.cosmos { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
/* a faint violet haze round the hole, so the black has some depth */
.cosmos::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 56% 44% at 50% 54%, rgba(120, 58, 210, .2) 0%, rgba(90, 30, 150, .08) 52%, rgba(0, 0, 0, 0) 100%);
}
.cosmos__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.cosmos.is-drag .cosmos__canvas { cursor: grabbing; }
.cosmos__copy { position: absolute; z-index: 2; left: var(--gutter); top: calc(var(--nav-h) + clamp(36px, 7vh, 84px)); max-width: min(460px, 84vw); pointer-events: none; }
/* black behind the heading, so stars drifting under it don't cut through the words */
.cosmos__copy::before { content: ""; position: absolute; z-index: -1; inset: -34px -70px -40px -60px; background: radial-gradient(closest-side, rgba(0, 0, 0, .86), rgba(0, 0, 0, 0)); }
.cosmos__copy .eyebrow { margin-bottom: 8px; }
.cosmos__title { font-size: clamp(40px, 6vw, 80px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; }
.cosmos__hint { margin-top: 14px; font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; color: var(--muted); }
.cosmos__hint b { color: var(--ink); font-weight: 600; }
.cosmos__labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cosmos__label { position: absolute; left: 0; top: 0; pointer-events: auto; opacity: 0; will-change: transform, opacity; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
/* The tag hangs centred under its star; only this inner part reacts to the pointer */
.cosmos__tag {
  display: grid; justify-items: center; gap: 4px; translate: -50% 13px; padding: 4px 8px; border-radius: 99px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 14px rgba(0, 0, 0, .95);
  transition: scale .45s var(--spring), translate .45s var(--spring);
}
.cosmos__tag b { font-weight: 600; font-size: 13px; line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; transition: color .25s ease, text-shadow .25s ease; }
.cosmos__tag i { font: 500 10.5px/1.1 var(--mono); font-style: normal; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.cosmos__label:active .cosmos__tag { scale: .96; }
.cosmos__label.is-hot .cosmos__tag, .cosmos__label:focus-visible .cosmos__tag { scale: 1.1; translate: -50% 16px; }
.cosmos__label.is-hot b, .cosmos__label:focus-visible b { color: #fff; text-shadow: 0 0 16px rgba(197, 139, 255, .85), 0 1px 2px rgba(0, 0, 0, .9); }
.cosmos__label:focus-visible { outline: none; }
.cosmos__label:focus-visible .cosmos__tag { outline: 2px solid var(--accent); outline-offset: 2px; }
/* The pill under the black hole: a solid chip, like the rest of the page */
.cosmos__label--home .cosmos__tag {
  padding: 7px 16px; border-radius: 99px; background: var(--tile-2); border: 1px solid var(--line);
  text-shadow: none; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .9);
}
.cosmos__label--home.is-hot .cosmos__tag, .cosmos__label--home:focus-visible .cosmos__tag { background: #2a2a2e; border-color: rgba(197, 139, 255, .6); }
.cosmos__label--home .cosmos__tag { display: flex; align-items: center; gap: 8px; padding-right: 8px; }
/* A star reads as a button: its name sits in a solid pill with an arrow, and the star itself can be hit */
.cosmos__label::before { content: ""; position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; }
.cosmos__name {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 5px 5px 12px; border-radius: 99px;
  background: var(--tile-2); border: 1px solid var(--line); text-shadow: none; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .9);
  transition: background-color .25s ease, border-color .25s ease;
}
.cosmos__label.is-coached .cosmos__name { border-color: rgba(var(--c), .6); }
.cosmos__label.is-hot .cosmos__name, .cosmos__label:focus-visible .cosmos__name { background: #2a2a2e; border-color: rgba(var(--c), .75); text-shadow: none; }
.cosmos__go {
  display: grid; place-items: center; flex: none; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(var(--c), .2); color: rgb(var(--c));
  transition: translate .35s var(--spring), background-color .25s ease, color .25s ease;
}
.cosmos__go svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cosmos__label.is-hot .cosmos__go, .cosmos__label:focus-visible .cosmos__go { background: rgb(var(--c)); color: #000; translate: 2px 0; }
/* A soft ring pings round each star, a little out of step with the others */
.cosmos__ping {
  position: absolute; z-index: -1; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid rgb(var(--c)); opacity: 0; pointer-events: none;
  animation: star-ping 2.8s var(--ease-out) infinite; animation-delay: calc(var(--d) * -0.41s);
}
@keyframes star-ping { 0% { transform: scale(.4); opacity: 0; } 12% { opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
/* "Click here": a light bubble that points down at one star */
.cosmos__coach { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.cosmos__bubble {
  position: absolute; left: 0; bottom: 18px; translate: -50% 0; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 15px 8px 11px; border-radius: 99px; background: #f5f5f7; color: #000;
  font-size: 14px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .85); animation: coach-bob 1.9s ease-in-out infinite;
}
.cosmos__bubble::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 10px; height: 10px; margin-left: -5px; background: inherit; border-radius: 2px; rotate: 45deg; }
.cosmos__tap { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.cosmos__tap::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--accent); animation: star-ping 1.9s var(--ease-out) infinite; }
@keyframes coach-bob { 50% { transform: translateY(-5px); } }
.cosmos:not(.is-live) .cosmos__ping, .cosmos:not(.is-live) .cosmos__bubble, .cosmos:not(.is-live) .cosmos__tap::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .cosmos__ping { animation: none; opacity: .55; transform: scale(1.15); }
  .cosmos__bubble, .cosmos__tap::after { animation: none; }
}
/* Without WebGL there is no map: the section is its heading and a plain row of links */
.cosmos-pin--flat { height: auto; }
.cosmos--flat { position: relative; height: auto; padding: clamp(100px, 14vw, 180px) var(--gutter) clamp(70px, 10vw, 120px); }
.cosmos--flat::before { display: none; }
.cosmos--flat .cosmos__canvas { display: none; }
.cosmos--flat .cosmos__copy { position: static; max-width: none; }
.cosmos--flat .cosmos__copy::before { display: none; }
.cosmos--flat .cosmos__labels { position: static; margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.cosmos--flat .cosmos__label { position: static; opacity: 1; }
.cosmos--flat .cosmos__tag { translate: none; justify-items: start; padding-left: 0; }
.cosmos--flat .cosmos__label--home .cosmos__tag { padding-left: 16px; }
.cosmos--flat .cosmos__ping, .cosmos--flat .cosmos__coach, .cosmos--flat .cosmos__label::before { display: none; }
@media (max-width: 760px) { .cosmos-pin { height: 210vh; } }
@media (prefers-reduced-motion: reduce) { .cosmos-pin { height: auto; } .cosmos { position: relative; } }

@media (max-width: 900px) {
  .kit { height: auto; }
  .kit__pin { position: relative; height: auto; overflow: visible; padding: 60px 0 90px; }
  .kit__card { grid-template-columns: 1fr; gap: 34px; padding-top: 0; }
  .kit__obj { width: min(100%, 440px); }
  .kit__ghost { top: 22%; font-size: 52vw; }
  .forms__grid { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; max-width: 520px; }
  .hl__paddles { display: none; }
}
@media (max-width: 760px) {
  .nav__links { position: fixed; left: 0; right: 0; top: var(--nav-h); flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; background: #000; font-size: 24px; font-weight: 600; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility 0s .3s; }
  .nav__links a { padding: 10px 0; opacity: 1; }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav.is-light .nav__links { background: var(--light); }
  .menu-btn { display: block; }
  .hl__card { height: 130vw; max-height: 620px; min-height: 0; }
  .hl--art img { right: 50%; margin-right: -32%; width: 64%; bottom: 9%; }
  .form .row { grid-template-columns: 1fr; }
  .beats__media { clip-path: inset(34% 8% 20% 8% round 22px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero, .statement, .beats, .kit { height: auto; }
  .hero__pin, .statement__pin, .beats__pin, .kit__pin { position: relative; height: auto; min-height: 100vh; }
  .hero__pin { gap: 40px; padding: 120px 0 80px; }
  .hero__layer { grid-area: auto; opacity: 1 !important; animation: none; }
  .statement__text .sw { color: var(--ink); }
  .beats__media { clip-path: none; position: relative; height: 60vh; }
  .beats__head, .beats__over { position: relative; opacity: 1; top: 0; }
  .reveal, .kit__info > * { opacity: 1; transform: none; transition: none; }
  .founder__photo img, .beats__media video { transform: none; }
}
@media (min-width: 761px) { .hl--art .hl__cap { max-width: 44%; } }
