/* V Studio — site styles
   Layout: a warm late-night stage, type set like film titles; colour only appears when a visitor plays something.
   Mood: soft and hazy like a slow lo-fi track at 2am, warm blacks and cream instead of pure black and white. */
:root {
  --ink: #0d0c0b;
  --ink-2: #141210;
  --ink-3: #1d1a17;
  --ink-glass: rgba(13, 12, 11, .8);
  --line: rgba(255, 240, 222, .09);
  --line-2: rgba(255, 240, 222, .2);
  --fog: #8d867d;
  --mist: #bdb5aa;
  --paper: #eee7dc;
  --white: #fbf7f0;
  --glow: 255, 186, 128;
  --beacon: 64, 128, 255;

  --f-sans: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-serif: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
html, body { overflow-x: clip; }
html.locked, html.locked body { overflow: hidden; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse 60% 45% at 85% 0%, rgba(var(--glow), .07), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(var(--glow), .045), transparent 70%),
    var(--ink);
  background-attachment: fixed;
  color: var(--paper);
  font: 400 17px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::after {   /* film grain */
  content: '';
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--paper); color: var(--ink); }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
[hidden] { display: none !important; }
.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; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
section[id] { scroll-margin-top: 72px; }

em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font: 500 11px/1.2 var(--f-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fog);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; flex: none; }
.eyebrow .count { color: var(--paper); font-variant-numeric: tabular-nums; }

.h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(42px, 7vw, 112px);
  line-height: .94;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.h2 em { font-size: 1.04em; }
.section-text { margin: 0; max-width: 34em; color: var(--mist); text-wrap: pretty; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--paper);
  font: 500 14px/1 var(--f-sans);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.btn-solid { background: var(--paper); color: var(--ink); }
.btn-solid:hover { background: var(--white); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--paper); }
.btn:active { transform: scale(.97); }
.play-dot { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1px solid currentColor; flex: none; }
.play-dot::after { content: ''; position: absolute; left: 6.5px; top: 4.5px; border: 4px solid transparent; border-left: 6px solid currentColor; border-right: 0; }

/* ---------- intro ---------- */
#intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  animation: introFailsafe .01s 6s forwards;
}
html:not(.js) #intro { display: none; }
@keyframes introFailsafe { to { visibility: hidden; opacity: 0; } }
.intro-curtain { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transition: transform 1.1s var(--ease-io); }
.intro-curtain.top { top: 0; }
.intro-curtain.bottom { bottom: 0; }
#intro.done { pointer-events: none; }
#intro.done .intro-curtain.top { transform: translateY(-100%); }
#intro.done .intro-curtain.bottom { transform: translateY(100%); }
.intro-core { position: relative; display: grid; justify-items: center; gap: 22px; transition: opacity .45s, transform .9s var(--ease); }
#intro.done .intro-core { opacity: 0; transform: scale(.94); }
.intro-logo { width: clamp(84px, 11vw, 128px); height: auto; animation: introLogo 1.3s var(--ease) both; }
@keyframes introLogo { from { opacity: 0; transform: scale(1.12); filter: blur(14px); } }
.intro-meter { width: 180px; height: 1px; background: var(--line-2); overflow: hidden; }
.intro-meter i { display: block; height: 100%; background: var(--paper); transform-origin: left; transform: scaleX(0); }
.intro-count { display: flex; gap: 14px; font: 500 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); font-variant-numeric: tabular-nums; }
.intro-count span:first-child { color: var(--paper); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background .45s, border-color .45s;
}
.nav.scrolled { background: var(--ink-glass); border-bottom-color: var(--line); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.nav-progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--paper); opacity: .55; transform-origin: left; transform: scaleX(0); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { height: 22px; width: auto; }
.nav-brand span { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav-links a {
  position: relative;
  font: 500 11px/1 var(--f-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mist);
  padding-block: 8px;
  transition: color .3s;
}
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.sound-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--mist);
  font: 500 11px/1 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
}
.sound-toggle:hover { border-color: var(--paper); color: var(--paper); }
.sound-toggle b { font-weight: 500; color: var(--paper); }
.sound-toggle.on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sound-toggle.on b { color: var(--ink); }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; }
.sound-toggle.on .eq i { animation: eq .8s ease-in-out infinite alternate; }
.sound-toggle.on .eq i:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.sound-toggle.on .eq i:nth-child(3) { animation-delay: -.55s; animation-duration: .95s; }
.sound-toggle.on .eq i:nth-child(4) { animation-delay: -.15s; animation-duration: .6s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }

/* music volume */
.nav-sound { display: flex; align-items: center; gap: 16px; }
.vol { display: flex; align-items: center; }
.vol-range {
  --v: 40%;
  -webkit-appearance: none;
  appearance: none;
  width: 84px;
  height: 20px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.vol-range::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(to right, var(--paper) var(--v), var(--line-2) var(--v)); }
.vol-range::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -5px; border: 0; border-radius: 50%; background: var(--paper); transition: transform .25s var(--ease); }
.vol-range:hover::-webkit-slider-thumb, .vol-range:active::-webkit-slider-thumb { transform: scale(1.3); }
.vol-range::-moz-range-track { height: 2px; border-radius: 2px; background: var(--line-2); }
.vol-range::-moz-range-progress { height: 2px; border-radius: 2px; background: var(--paper); }
.vol-range::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--paper); }
.vol-range:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner { height: 60px; gap: 12px; }
  .nav-sound { gap: 12px; }
  .vol-range { width: 60px; }
}
@media (max-width: 360px) { .nav .vol { display: none; } }


/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100svh, 1000px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 132px 112px;
}
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; z-index: -1; background: linear-gradient(to top, var(--ink), transparent); pointer-events: none; }
.hero-wall {
  position: absolute;
  inset: -30% -20% -30% 10%;
  z-index: -2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  transform: rotate(-9deg);
  opacity: .24;
  filter: grayscale(1) sepia(.22) contrast(1.05);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 62% 42%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 62% 42%, #000 30%, transparent 78%);
}
.wall-col { display: flex; flex-direction: column; gap: 18px; animation: wallUp var(--t, 80s) linear infinite; }
.wall-col:nth-child(even) { animation-name: wallDown; margin-top: -12%; }
.wall-col img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
@keyframes wallUp { to { transform: translateY(-50%); } }
@keyframes wallDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.hero-inner { display: grid; gap: 0; }
.hero-title {
  margin: 26px 0 44px;
  font-weight: 500;
  font-size: clamp(54px, 11.6vw, 186px);
  line-height: .88;
  letter-spacing: -.058em;
}
.hero-title .line { display: block; overflow: hidden; padding: 0 .04em .07em 0; margin-bottom: -.07em; }
.hero-title .line > span { display: inline-block; transition: transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
html.js body:not(.ready) .hero-title .line > span { transform: translateY(108%); }
.hero-title em { font-size: 1.06em; letter-spacing: -.03em; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 40px; flex-wrap: wrap; }
.hero-text { margin: 0; max-width: 31em; color: var(--mist); font-size: clamp(16px, 1.3vw, 19px); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-eyebrow-fade, .hero-foot, #heroEyebrow { transition: opacity 1.2s .5s, transform 1.2s .5s var(--ease); }
html.js body:not(.ready) .hero-foot, html.js body:not(.ready) #heroEyebrow { opacity: 0; transform: translateY(16px); }
.hero-scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font: 500 10.5px/1 var(--f-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fog);
}
.hero-scroll i { position: relative; width: 64px; height: 1px; background: var(--line-2); overflow: hidden; }
.hero-scroll i::after { content: ''; position: absolute; inset: 0; background: var(--paper); animation: scrollCue 2.4s var(--ease-io) infinite; }
@keyframes scrollCue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ---------- manifesto ---------- */
.manifesto { position: relative; height: 260vh; }
.manifesto-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.manifesto-text {
  margin: 0;
  max-width: 19em;
  font-weight: 500;
  font-size: clamp(30px, 4.7vw, 74px);
  line-height: 1.08;
  letter-spacing: -.038em;
}
.manifesto-text .w { opacity: .12; transition: opacity .6s; }
.manifesto-text .w.on { opacity: 1; }
.manifesto-text .w.it { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 44px; padding-right: 44px; font: 500 12px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--mist); white-space: nowrap; }
.marquee-track span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--fog); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- facts ---------- */
.facts { padding-block: clamp(64px, 9vw, 120px); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.facts li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-2); }
.facts b { font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.02em; }
.facts span { color: var(--fog); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 960px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts ul { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- collection ---------- */
.collection { padding-block: clamp(48px, 6vw, 80px) clamp(96px, 12vw, 180px); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.6vw, 36px); row-gap: clamp(48px, 7vw, 104px); }
.card { position: relative; grid-column: span 6; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card:nth-child(4n + 1), .card:nth-child(4n + 4) { grid-column: span 7; }
.card:nth-child(4n + 2), .card:nth-child(4n + 3) { grid-column: span 5; }
.card:nth-child(4n + 2) { margin-top: clamp(0px, 9vw, 140px); }
.card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.card:last-child:nth-child(odd) .card-media { aspect-ratio: 21 / 9; }
@media (max-width: 860px) { .card:last-child:nth-child(odd) .card-media { aspect-ratio: 16 / 10; } }
.card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--ink-2); }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.18) brightness(.78) contrast(1.04); transform: scale(1.03); transition: filter 1s, transform 1.6s var(--ease); }
.card:hover .card-media img, .card:focus-within .card-media img { filter: grayscale(0) brightness(.95); transform: scale(1.07); }
.card-idx { position: absolute; top: 14px; left: 16px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; color: var(--paper); }
.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  gap: 6px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font: 500 10px/1 var(--f-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.6);
  transition: opacity .45s, transform .6s var(--ease);
  pointer-events: none;
}
.card-play i { width: 0; height: 0; border: 7px solid transparent; border-left: 11px solid currentColor; border-right: 0; margin-left: 4px; margin-top: 10px; }
.card:hover .card-play, .card:focus-within .card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card h3 { margin: 0; font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -.03em; min-width: 0; }
.card-price { flex: none; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; color: var(--mist); font-variant-numeric: tabular-nums; }
.card-price s { margin-right: 6px; color: var(--fog); text-decoration-thickness: 1px; }
.card-tagline { margin: -6px 0 0; color: var(--mist); font-size: 15.5px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-tags span { padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fog); }
.card-hit { position: absolute; inset: 0; z-index: 2; width: 100%; background: transparent; border: 0; border-radius: 6px; cursor: pointer; }
html.js .card[data-reveal] .card-media { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io); }
html.js .card[data-reveal] .card-meta, html.js .card[data-reveal] .card-tagline, html.js .card[data-reveal] .card-tags { opacity: 0; transform: translateY(18px); transition: opacity 1s .35s, transform 1.2s .35s var(--ease); }
html.js .card[data-reveal].in .card-media { clip-path: inset(0 0 0 0); }
html.js .card[data-reveal].in .card-meta, html.js .card[data-reveal].in .card-tagline, html.js .card[data-reveal].in .card-tags { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .card, .card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .card-play { width: 64px; height: 64px; left: auto; right: 14px; top: auto; bottom: 14px; opacity: 1; transform: none; font-size: 0; gap: 0; }
  .card-play i { margin: 0 0 0 4px; }
  .card:hover .card-play, .card:focus-within .card-play { transform: none; }
}

/* generic reveal for headings and text */
html.js [data-reveal]:not(.card) { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1.5s, transform 1.7s var(--ease), filter 1.5s; }
html.js [data-reveal].in:not(.card) { opacity: 1; transform: none; filter: none; }

/* ---------- display ---------- */
.display { position: relative; }
.dp-stage { position: relative; isolation: isolate; overflow: hidden; height: max(640px, 100vh); height: max(640px, 100svh); }
.dp-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, calc(max(640px, 100vh) * 1.8088));
  aspect-ratio: 2554 / 1412;
  transform: translate(-50%, calc(-50% + var(--py, 0px)));
}
.dp-bg { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.2) brightness(.5) contrast(1.04); transition: filter 2.4s ease; }
.display.live .dp-bg { filter: grayscale(0) brightness(.74) contrast(1.03) saturate(.9); }
.dp-wash { position: absolute; inset: 0; opacity: 0; mix-blend-mode: screen; background: radial-gradient(ellipse 55% 45% at 52% 30%, rgba(var(--beacon), .32), transparent 70%); pointer-events: none; }
.dp-scene.beacon .dp-wash { animation: flashAB .54s steps(1, end) infinite; }
.dp-lights { position: absolute; inset: 0; pointer-events: none; }
.lt { position: absolute; width: var(--s, 8%); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); mix-blend-mode: screen; opacity: 0; }
.lt.beacon { background: radial-gradient(circle, rgba(235, 242, 255, 1) 0 5%, rgba(var(--beacon), .95) 13%, rgba(var(--beacon), .38) 32%, transparent 64%); }
.lt.wigwag { background: radial-gradient(circle, #fffef6 0 7%, rgba(255, 246, 214, .85) 16%, rgba(255, 236, 190, .28) 36%, transparent 64%); }
.dp-lights.beacon .lt.beacon.a { animation: flashA .54s steps(1, end) infinite; }
.dp-lights.beacon .lt.beacon.b { animation: flashB .54s steps(1, end) infinite; }
.dp-lights.wigwag .lt.wigwag.a { animation: wigA .54s steps(1, end) infinite; }
.dp-lights.wigwag .lt.wigwag.b { animation: wigB .54s steps(1, end) infinite; }
@keyframes flashA { 0% { opacity: 1; } 8.33% { opacity: 0; } 16.66% { opacity: 1; } 25% { opacity: 0; } 33.33% { opacity: 1; } 41.66%, 100% { opacity: 0; } }
@keyframes flashB { 0% { opacity: 0; } 50% { opacity: 1; } 58.33% { opacity: 0; } 66.66% { opacity: 1; } 75% { opacity: 0; } 83.33% { opacity: 1; } 91.66%, 100% { opacity: 0; } }
@keyframes flashAB { 0% { opacity: 1; } 8.33% { opacity: 0; } 16.66% { opacity: 1; } 25% { opacity: 0; } 33.33% { opacity: 1; } 41.66% { opacity: 0; } 50% { opacity: .8; } 58.33% { opacity: 0; } 66.66% { opacity: .8; } 75% { opacity: 0; } 83.33% { opacity: .8; } 91.66%, 100% { opacity: 0; } }
@keyframes wigA { 0% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes wigB { 0% { opacity: 0; } 50%, 100% { opacity: 1; } }
.dp-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(13, 12, 11, 0) 22%),
    linear-gradient(0deg, var(--ink) 0%, rgba(13, 12, 11, 0) 26%),
    linear-gradient(90deg, rgba(13, 12, 11, .9) 0%, rgba(13, 12, 11, .45) 36%, rgba(13, 12, 11, 0) 62%);
}
.dp-copy { position: relative; z-index: 2; display: grid; justify-items: start; gap: 22px; padding-top: clamp(104px, 15vh, 170px); }
.dp-copy > * { max-width: 30rem; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(13, 12, 11, .5); }
.seg button { padding: 10px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--mist); font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.dp-panel {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: clamp(24px, 5vh, 48px);
  width: min(600px, 46vw);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s .7s, transform 1.4s .7s var(--ease);
}
.display.live .dp-panel { opacity: 1; transform: none; }
.dp-hint { margin: 0 0 12px; text-align: right; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--paper); text-shadow: 0 1px 8px rgba(0, 0, 0, .8); transition: opacity .5s; }
.dp-hint.gone { opacity: 0; }
.dp-device { position: relative; width: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)); }
.dp-device img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; pointer-events: none; }
.dp-device .dp-base { position: relative; height: auto; }
.dp-layer { opacity: 0; transition: opacity .07s; }
.dp-layer.on { opacity: 1; }
.hot { position: absolute; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.hot:hover { background: rgba(255, 255, 255, .06); }
.hot:active, .hot.held { background: rgba(255, 255, 255, .12); }
.hot.pulse::after { content: ''; position: absolute; inset: -5px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 10px; animation: ping 1.8s ease-out infinite; pointer-events: none; }
@keyframes ping { from { opacity: 1; transform: scale(.9); } to { opacity: 0; transform: scale(1.35); } }
@media (max-width: 860px) {
  .dp-stage { height: max(720px, 100svh); }
  .dp-scene { width: max(100%, calc(max(720px, 100svh) * 1.8088)); transform: translate(-41%, calc(-50% + var(--py, 0px))); }
  .dp-shade { background: linear-gradient(180deg, var(--ink) 0%, rgba(13, 12, 11, .55) 30%, rgba(13, 12, 11, 0) 52%), linear-gradient(0deg, var(--ink) 0%, rgba(13, 12, 11, .5) 30%, rgba(13, 12, 11, 0) 50%); }
  .dp-copy { padding-top: 88px; gap: 16px; }
  .dp-panel { left: var(--gutter); right: var(--gutter); width: auto; bottom: 20px; }
  .dp-hint { text-align: left; }
}

/* ---------- sound board ---------- */
.sound { padding-block: clamp(96px, 12vw, 180px) 0; }
.board { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.pad { display: grid; gap: 16px; padding: 24px 24px 22px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); text-align: left; cursor: pointer; transition: background .35s; min-width: 0; }
@media (max-width: 900px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .board { grid-template-columns: 1fr; } }
.pad:hover { background: var(--ink-2); }
.pad.playing { background: var(--ink-3); }
.pad-top { display: flex; justify-content: space-between; gap: 12px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fog); font-variant-numeric: tabular-nums; }
.pad-name { font-size: 19px; line-height: 1.2; letter-spacing: -.02em; color: var(--paper); }
.wave { position: relative; display: block; height: 46px; }
.wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave-top { clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.wave::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }

/* ---------- support ---------- */
.support { display: grid; justify-items: start; gap: 26px; padding-block: clamp(120px, 16vw, 220px); }
.support .h2 { max-width: 12em; }

/* ---------- partners ---------- */
.partners { padding-block: 0 clamp(88px, 11vw, 160px); }
.partner-list { border-top: 1px solid var(--line-2); }
.partner {
  display: grid;
  grid-template-columns: clamp(132px, 15vw, 200px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(32px, 4.5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.partner-logo img { display: block; width: 100%; height: auto; filter: grayscale(1) sepia(.2) brightness(.8); transition: filter 1.8s ease .4s, transform 1.4s var(--ease); }
.partner.in .partner-logo img { filter: none; }
.partner:hover .partner-logo img { transform: rotate(-6deg) scale(1.03); }
.partner h3 { margin: 0 0 16px; font-weight: 500; font-size: clamp(30px, 3.8vw, 52px); line-height: 1; letter-spacing: -.04em; }
.partner h3 a { text-decoration: none; }
.partner h3 a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.partner p { margin: 0 0 22px; max-width: 36em; color: var(--mist); text-wrap: pretty; }
@media (max-width: 640px) {
  .partner { grid-template-columns: 1fr; gap: 24px; }
  .partner-logo { width: 132px; }
}

/* ---------- footer ---------- */
.footer { display: grid; gap: 40px; padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; }
.footer-brand img { height: 26px; width: auto; }
.footer-top p { margin: 0; color: var(--fog); font-size: 15px; flex: 1 1 260px; }
.footer-links, #footLegalLinks { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a, #footLegalLinks a { font: 500 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); text-decoration: none; }
.footer-links a:hover, #footLegalLinks a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { display: grid; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-legal p { margin: 0; max-width: 60em; color: var(--fog); font-size: 13px; line-height: 1.6; }
.footer-copy { font-family: var(--f-mono); font-size: 11px !important; letter-spacing: .1em; }

/* ---------- reel player ---------- */
.player {
  position: fixed;
  inset: 0;
  z-index: 120;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 22px);
  background: #050506;
  color: var(--paper);
  clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%));
  transition: clip-path 1s var(--ease-io);
  overscroll-behavior: contain;
}
.player.open { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.pl-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.pl-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); filter: blur(50px) saturate(.7) brightness(.32); }
.pl-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; }
.pl-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0; min-width: 0; }
.pl-title #plIdx, .pl-fw { font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fog); }
.pl-title b { font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.02em; }
.pl-close { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: border-color .3s; }
.pl-close:hover { border-color: var(--paper); }
.pl-close i { position: relative; width: 12px; height: 12px; }
.pl-close i::before, .pl-close i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.pl-close i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.pl-bars { grid-column: 1 / -1; display: flex; gap: 6px; }
.bar { flex: 1; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .18); }
.bar i { display: block; height: 100%; background: var(--paper); transform-origin: left; transform: scaleX(0); }
.bar.done i { transform: scaleX(1); }
.bar.active i { animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.player.paused .bar.active i, .player.paused .pl-img.show { animation-play-state: paused; }
.pl-stage { position: relative; display: grid; place-items: center; min-height: 0; padding-block: 10px; touch-action: pan-y; }
.pl-frame { position: relative; margin: 0; width: min(100%, calc((100svh - 300px) * 16 / 9)); max-height: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; box-shadow: 0 40px 140px rgba(0, 0, 0, .65); }
.pl-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.2s ease; }
.pl-img.show { opacity: 1; animation: kenburns calc(var(--dur, 6s) + 1.2s) linear forwards; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.075) translate(var(--kx, 1%), var(--ky, -1%)); } }
.pl-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 40px; }
.pl-text { min-width: 0; }
.pl-cap { margin: 0 0 12px; min-height: 1.15em; max-width: 22em; font-weight: 500; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.pl-cap span { display: inline-block; opacity: 0; transform: translateY(.45em); animation: capIn 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 50ms + .3s); }
@keyframes capIn { to { opacity: 1; transform: none; } }
.pl-desc { margin: 0; max-width: 46em; color: var(--mist); font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.pl-side { display: grid; justify-items: end; gap: 14px; }
.pl-thumbs { display: flex; gap: 8px; max-width: min(440px, 100%); padding: 3px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.pl-thumbs::-webkit-scrollbar { display: none; }
.pl-thumbs:empty { display: none; }
.pl-thumb { position: relative; flex: none; width: 76px; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 0; border-radius: 4px; background: var(--ink-3); cursor: pointer; opacity: .5; transition: opacity .4s, transform .4s var(--ease); }
.pl-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) sepia(.15); transition: filter .5s; }
.pl-thumb::after { content: ''; position: absolute; inset: 0; border: 1px solid transparent; border-radius: inherit; transition: border-color .4s; }
.pl-thumb:hover { opacity: .8; }
.pl-thumb.on { opacity: 1; }
.pl-thumb.on img, .pl-thumb:hover img { filter: none; }
.pl-thumb.on::after { border-color: var(--paper); }
.pl-ctrl { display: flex; gap: 6px; }
.pl-ctrl button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.pl-ctrl button:hover { border-color: var(--paper); }
.pl-ctrl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pl-ctrl .ic-play { display: none; }
.player.paused .pl-ctrl .ic-play { display: block; }
.player.paused .pl-ctrl .ic-pause { display: none; }
.pl-end { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 22px; padding: var(--gutter); background: rgba(8, 7, 6, .86); text-align: center; animation: capIn .8s var(--ease) both; }
.pl-end-name { margin: 0; font-weight: 500; font-size: clamp(40px, 7vw, 104px); line-height: .95; letter-spacing: -.05em; }
.pl-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 760px) {
  .pl-bottom { grid-template-columns: 1fr; }
  .pl-side { justify-items: start; }
  .pl-thumb { width: 64px; }
  .pl-frame { width: 100%; }
  .pl-desc { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .pl-close span { display: none; }
  .pl-close { width: 40px; padding: 0; justify-content: center; }
}

/* ---------- loading cards (while Tebex answers) ---------- */
.card.skel { pointer-events: none; }
.card.skel .card-media, .sk {
  background: linear-gradient(100deg, var(--ink-2) 35%, var(--ink-3) 50%, var(--ink-2) 65%) 0 0 / 300% 100%;
  animation: skel 1.8s linear infinite;
}
.sk { display: block; height: 14px; border-radius: 4px; }
.sk-name { width: 46%; height: 24px; }
.sk-price { width: 70px; }
.sk-line { width: 72%; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- script page ---------- */
.product { position: fixed; inset: 0; z-index: 110; color: var(--paper); }
.pd-veil { position: absolute; inset: 0; overflow: hidden; background: var(--ink); opacity: 0; transition: opacity .7s ease; }
.pd-veil img { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(70px) saturate(.6) brightness(.3); transform: scale(1.12); transition: transform 1.8s var(--ease); }
.pd-veil img:not([src]) { display: none; }
.pd-veil::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 75% 10%, rgba(var(--glow), .07), transparent 70%), linear-gradient(180deg, rgba(13, 12, 11, .35), rgba(13, 12, 11, .92) 70%); }
.product.open .pd-veil { opacity: 1; }
.product.open .pd-veil img { transform: scale(1); }
.pd-scroll { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; transition: opacity .45s ease, transform .7s var(--ease); }
.product.closing .pd-scroll { opacity: 0; transform: translateY(14px) scale(.99); }
.product.closing .pd-veil { transition-duration: .6s; transition-delay: .1s; }

.pd-top {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: calc(env(safe-area-inset-top, 0px) + 76px);
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(180deg, rgba(13, 12, 11, .9) 40%, rgba(13, 12, 11, 0));
}
.pd-crumb { display: flex; align-items: baseline; gap: 10px; margin: 0; font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fog); }
.pd-crumb b { font-weight: 500; color: var(--paper); }
.pd-crumb span:first-child::after { content: ''; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; }

.pd-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  gap: clamp(28px, 4.4vw, 80px);
  padding-block: 4px calc(env(safe-area-inset-bottom, 0px) + 96px);
}
.pd-gallery { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: grid; gap: 16px; min-width: 0; }
.pd-frame { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #050506; box-shadow: 0 40px 140px rgba(0, 0, 0, .55); touch-action: pan-y; cursor: zoom-in; }
.pd-frame.empty { cursor: default; }
.pd-frame.empty::after { content: 'Photos coming soon'; position: absolute; inset: 0; display: grid; place-items: center; font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fog); }
.pd-layer { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .5s ease .55s; }
.pd-layer.show { z-index: 1; opacity: 1; transition: opacity .25s ease; }
.pd-frame.landing .pd-layer { opacity: 0 !important; transition: none; }
.pd-blur { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(32px) saturate(.75) brightness(.42); }
.pd-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pd-layer img:not([src]) { visibility: hidden; }
.pd-layer.show .pd-pic { animation: pdIn 1.2s var(--ease) both; }
.pd-layer.show[data-dir="r"] .pd-pic { animation-name: pdInR; }
.pd-layer.show[data-dir="l"] .pd-pic { animation-name: pdInL; }
@keyframes pdIn { from { opacity: 0; transform: scale(1.04); } }
@keyframes pdInR { from { clip-path: inset(0 0 0 100%); transform: translateX(5%) scale(1.03); } to { clip-path: inset(0 0 0 0); } }
@keyframes pdInL { from { clip-path: inset(0 100% 0 0); transform: translateX(-5%) scale(1.03); } to { clip-path: inset(0 0 0 0); } }
.pd-ghost { position: fixed; z-index: 130; margin: 0; object-fit: cover; border-radius: 6px; pointer-events: none; box-shadow: 0 40px 140px rgba(0, 0, 0, .55); }

.pd-gal-bar { display: flex; align-items: center; gap: 16px; min-width: 0; }
.pd-count { flex: none; display: flex; align-items: baseline; gap: 8px; margin: 0; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; color: var(--fog); font-variant-numeric: tabular-nums; }
.pd-count b { font-weight: 500; color: var(--paper); }
.pd-thumbs { flex: 1; max-width: none; }
.pd-gal-bar .pl-ctrl { margin-left: auto; }
.pd-reel { justify-self: start; }

.pd-info { display: grid; gap: 22px; min-width: 0; padding-top: 4px; }
.pd-name { margin: 0; font-weight: 500; font-size: clamp(44px, 5.6vw, 96px); line-height: .92; letter-spacing: -.05em; text-wrap: balance; overflow-wrap: anywhere; }
.pd-name .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.pd-name .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(.22s + var(--i, 0) * 70ms); }
.product.open .pd-name .w > span { transform: none; }
.pd-tagline { margin: 0; max-width: 30em; color: var(--mist); font-size: 18px; line-height: 1.5; text-wrap: pretty; }

.pd-buy { display: grid; gap: 14px; padding: clamp(18px, 2vw, 26px); border: 1px solid var(--line-2); border-radius: 12px; background: rgba(20, 18, 16, .6); }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0; }
.pd-amount { font-weight: 500; font-size: clamp(36px, 3.6vw, 56px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pd-price s { color: var(--fog); font-size: 18px; text-decoration-thickness: 1px; }
.pd-per { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.pd-type { justify-self: start; }
.pd-cta { position: relative; width: 100%; min-height: 58px; overflow: hidden; gap: 14px; font-size: 15px; isolation: isolate; }
.pd-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-110%); transition: transform 1s var(--ease); }
.pd-cta:hover::before { transform: translateX(110%); }
.pd-cta-label { display: inline-block; overflow: hidden; }
.pd-cta-label span { display: inline-block; animation: labelIn .55s var(--ease) both; }
@keyframes labelIn { from { opacity: 0; transform: translateY(70%); } }
.pd-arrow { display: grid; place-items: center; width: 18px; height: 18px; transition: transform .5s var(--ease); }
.pd-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pd-cta:hover .pd-arrow { transform: translateX(5px); }
.pd-spin { display: none; width: 16px; height: 16px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.pd-cta.busy { cursor: progress; }
.pd-cta.busy .pd-arrow { display: none; }
.pd-cta.busy .pd-spin { display: block; }
.pd-cta.busy::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--ink); transform-origin: left; animation: busyBar 1.4s var(--ease-io) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes busyBar { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 50.1% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.pd-note { margin: 0; color: var(--fog); font-size: 13.5px; line-height: 1.6; text-wrap: pretty; }
.pd-user { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0; font: 500 11px/1.5 var(--f-mono); letter-spacing: .08em; color: var(--mist); animation: riseIn .7s var(--ease) both; }
.pd-user b { font-weight: 500; color: var(--paper); }
.pd-user button { padding: 0; border: 0; background: none; color: var(--fog); font: inherit; letter-spacing: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pd-user button:hover { color: var(--paper); }
.pd-error { margin: 0; padding: 12px 14px; border: 1px solid rgba(255, 140, 110, .35); border-radius: 8px; background: rgba(255, 120, 90, .06); color: #f3b9a8; font-size: 14px; line-height: 1.55; animation: riseIn .6s var(--ease) both; }
.pd-error a { color: inherit; text-underline-offset: 3px; }

.pd-about { display: grid; gap: 18px; padding-top: 12px; }
.pd-desc { max-width: 40em; color: var(--mist); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.pd-desc > :first-child { margin-top: 0; }
.pd-desc > :last-child { margin-bottom: 0; }
.pd-desc p { margin: 0 0 1em; }
.pd-desc h3 { margin: 1.6em 0 .5em; color: var(--paper); font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.pd-desc h4 { margin: 1.8em 0 .8em; color: var(--fog); font: 500 11px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; }
.pd-desc ul, .pd-desc ol { margin: 0 0 1em; padding-left: 1.2em; }
.pd-desc li { margin: .35em 0; }
.pd-desc li::marker { color: var(--fog); }
.pd-desc strong, .pd-desc b { color: var(--paper); font-weight: 600; }
.pd-desc a { color: var(--paper); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pd-desc img { display: block; width: 100%; height: auto; margin: 1.4em 0; border-radius: 6px; }
.pd-desc blockquote { margin: 1.2em 0; padding-left: 18px; border-left: 1px solid var(--line-2); }
.pd-desc hr { margin: 1.8em 0; border: 0; border-top: 1px solid var(--line); }
.pd-desc pre, .pd-desc code { font: 400 13px/1.6 var(--f-mono); }
.pd-desc pre { overflow-x: auto; padding: 14px; border-radius: 8px; background: var(--ink-2); }
.pd-desc table { width: 100%; margin: 1em 0; border-collapse: collapse; font-size: 14px; }
.pd-desc th, .pd-desc td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pd-videos:empty { display: none; }
.pd-videos { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-video { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); text-decoration: none; }
.pd-video::before { content: ''; width: 0; height: 0; border: 5px solid transparent; border-left: 8px solid currentColor; border-right: 0; }
.pd-desc .pd-video { margin: .2em 0 1em; }
.pd-video:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-tags:empty { display: none; }

/* entrance */
.product .pd-top, .product .pd-gal-bar, .product .pd-reel, .product .pd-info > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform 1.2s var(--ease);
}
.product .pd-top { transform: translateY(-12px); }
.product.open .pd-top, .product.open .pd-gal-bar, .product.open .pd-reel, .product.open .pd-info > * { opacity: 1; transform: none; }
.product.open .pd-top { transition-delay: .1s; }
.product.open .pd-info > :nth-child(1) { transition-delay: .16s; }
.product.open .pd-info > :nth-child(2) { transition-delay: .2s; }
.product.open .pd-info > :nth-child(3) { transition-delay: .32s; }
.product.open .pd-info > :nth-child(4) { transition-delay: .42s; }
.product.open .pd-info > :nth-child(5) { transition-delay: .54s; }
.product.open .pd-gal-bar { transition-delay: .5s; }
.product.open .pd-reel { transition-delay: .6s; }
.product.open .pd-thumbs .pl-thumb { animation: riseIn .8s var(--ease) both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(10px); } }
.product.open .pd-thumbs .pl-thumb:nth-child(2) { animation-delay: .62s; }
.product.open .pd-thumbs .pl-thumb:nth-child(3) { animation-delay: .68s; }
.product.open .pd-thumbs .pl-thumb:nth-child(4) { animation-delay: .74s; }
.product.open .pd-thumbs .pl-thumb:nth-child(n + 5) { animation-delay: .8s; }
.product.open .pd-thumbs .pl-thumb:first-child { animation-delay: .56s; }

@media (max-width: 960px) {
  .pd-body { grid-template-columns: 1fr; gap: 32px; }
  .pd-gallery { position: static; }
  .pd-name { font-size: clamp(42px, 11vw, 72px); }
}
@media (max-width: 520px) {
  .pd-gal-bar .pl-ctrl { display: none; }
  .pd-buy { padding: 18px; }
  .pd-tagline { font-size: 16.5px; }
  .pd-desc { font-size: 15.5px; }
}

/* ---------- after a payment ---------- */
.done { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: var(--gutter); overflow-y: auto; background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(var(--glow), .09), transparent 70%), var(--ink); text-align: center; opacity: 0; transition: opacity .7s ease; }
.done.open { opacity: 1; }
.done-core { display: grid; justify-items: center; gap: 22px; max-width: 640px; }
.done-core .section-text { margin-inline: auto; }
.done-check { width: 88px; height: 88px; fill: none; stroke: var(--paper); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.done-check circle { stroke-dasharray: 189; stroke-dashoffset: 189; transform: rotate(-90deg); transform-origin: center; }
.done-check path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.done.open .done-check circle { animation: draw 1.2s .25s var(--ease-io) forwards; }
.done.open .done-check path { animation: draw .7s 1.15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-core > :not(svg) { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.done.open .done-core > :not(svg) { opacity: 1; transform: none; }
.done.open .done-core > :nth-child(2) { transition-delay: .5s; }
.done.open .done-core > :nth-child(3) { transition-delay: .6s; }
.done.open .done-core > :nth-child(4) { transition-delay: .75s; }
.done.open .done-core > :nth-child(5) { transition-delay: .9s; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- leaving for the Cfx.re sign-in ---------- */
.leave { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; pointer-events: none; }
.leave.on { pointer-events: auto; }
.leave .intro-curtain.top { transform: translateY(-100%); }
.leave .intro-curtain.bottom { transform: translateY(100%); }
.leave.on .intro-curtain { transform: none; transition-duration: .7s; }
.leave-core { position: relative; display: grid; justify-items: center; gap: 20px; opacity: 0; transform: scale(.96); transition: opacity .45s .4s, transform .9s .4s var(--ease); }
.leave.on .leave-core { opacity: 1; transform: none; }
.leave-core img { width: clamp(72px, 9vw, 108px); height: auto; }
.leave-core p { margin: 0; font: 500 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mist); }
.leave .intro-meter i { transform: scaleX(.3); animation: leaveBar 1.3s var(--ease-io) infinite; }
@keyframes leaveBar { from { transform: translateX(-100%) scaleX(.3); } to { transform: translateX(340%) scaleX(.3); } }

/* card "View" chip */
.card-play svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal]:not(.card) { filter: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .player .bar.active i { animation-duration: var(--dur, 6s) !important; }
  .wall-col, .marquee-track { animation: none !important; }
  .manifesto { height: auto; }
  .manifesto-sticky { position: static; height: auto; padding-block: 120px; }
  .manifesto-text .w { opacity: 1; }
  .dp-lights.beacon .lt.beacon, .dp-lights.wigwag .lt.wigwag { animation: none !important; opacity: .85; }
  .player { clip-path: none; }
  .card.skel .card-media, .sk { animation: none !important; }
  .pd-name .w > span { transform: none; }
  .done-check circle, .done-check path { stroke-dashoffset: 0; }
}
