/* ==========================================================================
   Theo — portfolio
   Apple-style dark product page: big tight type, quiet greys, one blue.
   ========================================================================== */

:root {
  --bg: #000;
  --tile: #121214;
  --tile-hi: #1b1b1e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --muted: #86868b;
  --dim: #6e6e73;
  --blue: #2997ff;
  --btn: #0071e3;
  --btn-hover: #0077ed;
  --grad: linear-gradient(92deg, #2997ff 0%, #7b6cff 48%, #d36bff 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 48px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

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

html { background: var(--bg); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: rgba(41, 151, 255, 0.35); }

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

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 980px; background: var(--btn); color: #fff;
  text-decoration: none; transform: translateY(-200%); transition: transform .3s var(--ease-out);
}
.skip:focus-visible { transform: none; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- 3D canvas (behind everything) ---------- */

#gl {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

main, .foot { position: relative; z-index: 1; }

/* ---------- Type ---------- */

.eyebrow {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin-bottom: 14px;
}

.h2 {
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.038em;
}

.muted { color: var(--muted); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: .06em;
}

.head {
  max-width: 980px;
  margin: 0 auto;
  padding: 22vh var(--gutter) 9vh;
  text-align: center;
}

/* ---------- Buttons & links ---------- */

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 22px;
  border-radius: 980px;
  background: var(--btn); color: #fff;
  font-size: 17px; font-weight: 400; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s ease, transform .5s var(--ease-out);
}
.pill:hover { background: var(--btn-hover); }
.pill:active { transform: scale(.97); }
.pill--sm { min-height: 28px; padding: 4px 13px; font-size: 13px; }

.link, .link-btn {
  color: var(--blue); text-decoration: none;
  font-size: 17px; background: none; border: 0; padding: 6px 2px; cursor: pointer;
}
.link:hover, .link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Nav (Apple global-nav style) ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease;
}
.nav.is-scrolled { background: rgba(22, 22, 23, 0.72); border-bottom-color: rgba(255, 255, 255, 0.06); }

.nav__inner {
  max-width: 1024px; height: 100%; margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.nav__logo {
  font-size: 19px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none;
}

.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 13px; color: rgba(245, 245, 247, 0.8); text-decoration: none;
  transition: color .2s ease;
}
.nav__links a:hover { color: #fff; }

@media (max-width: 640px) { .nav__links { display: none; } }

/* ---------- Sticky stages ---------- */

.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}

.anchor {
  position: absolute; left: 50%;
  aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none; visibility: hidden;
}

/* ---------- 1 · Hero (name) ---------- */

.hero { position: relative; height: 320vh; }

.a-rise { top: calc(100% + 15vh); height: min(84vh, 124vw); }
.a-center { top: 51%; height: min(46vh, 74vw); }

.hero__name {
  position: absolute; left: 0; right: 0; top: 40%;
  translate: 0 -50%;
  text-align: center;
  transform-origin: 50% 55%;
  will-change: transform, opacity, filter;
}

.hero__title {
  font-size: clamp(108px, 21vw, 290px);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -0.065em;
  padding-right: .06em; /* optical centre for tight tracking */
}

.hero__letters { display: inline-flex; }
.hero__letters span {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 18%, #c9c9ce 62%, #7d7d83 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* room for glyph overhang so the gradient never clips a letter edge */
  padding: 0 .1em .08em;
  margin: 0 -.1em;
  opacity: 0;
}

.hero__sub {
  margin-top: clamp(10px, 1.6vw, 22px);
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--muted);
  opacity: 0;
}
.hero__sub span { color: var(--text); }

.ready .hero__letters span {
  animation: letterIn 1.7s var(--ease-out) both;
  animation-delay: calc(var(--i) * 85ms + 150ms);
}
.ready .hero__sub { animation: fadeUp 1.4s var(--ease-out) .75s both; }

@keyframes letterIn {
  from { opacity: 0; transform: translateY(38%) scale(.94); filter: blur(22px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.hero__tag {
  position: absolute; left: 0; right: 0;
  padding: 0 var(--gutter);
  text-align: center;
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  opacity: 0;
  will-change: transform, opacity, filter;
}
.hero__tag--top { top: 12%; }
.hero__tag--bottom { bottom: 10%; }

/* ---------- Statement ---------- */

.statement { position: relative; height: 230vh; }

.statement__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  align-items: center;
  gap: 4vw;
  max-width: 1240px; margin: 0 auto;
  padding: var(--nav-h) var(--gutter) 0;
}

.statement__text {
  font-size: clamp(30px, 4.1vw, 60px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.statement__text em { font-style: normal; }
.statement__text .w { opacity: .16; transition: opacity .15s linear; }
.statement__text .w.hl {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.a-statement {
  justify-self: center;
  height: min(42vh, 30vw);
  aspect-ratio: 1;
  pointer-events: none; visibility: hidden;
}

@media (max-width: 760px) {
  .statement__stage {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 5vh;
  }
  .a-statement { order: -1; height: min(30vh, 58vw); }
}

/* ---------- 2 · Links (bento) ---------- */

.links { position: relative; padding-bottom: 8vh; }

.bento {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "tg tg work"
    "tg tg app"
    "rev rev cre";
}

.tile--tg { grid-area: tg; }
.tile--rev { grid-area: rev; }
.tile--work { grid-area: work; }
.tile--cre { grid-area: cre; }
.tile--app { grid-area: app; }

.tile {
  --mx: 50%; --my: 50%;
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 300px;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 30px;
  background: linear-gradient(180deg, var(--tile-hi) 0%, var(--tile) 100%);
  border: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  overflow: hidden;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  isolation: isolate;
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.07), transparent 45%);
  opacity: 0; transition: opacity .5s ease;
  pointer-events: none;
}
.tile:hover::after { opacity: 1; }

.tile__eyebrow {
  font-size: 14px; font-weight: 600; color: var(--muted);
  letter-spacing: 0; margin-bottom: 10px;
}
.tile__title {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.tile__text {
  margin-top: 12px; max-width: 30ch;
  font-size: 17px; line-height: 1.42; color: var(--muted);
}
.tile__text b { color: var(--text); font-weight: 600; }
.tile__cta {
  margin-top: auto; padding-top: 24px;
  color: var(--blue); font-size: 17px;
}
a.tile:hover .tile__cta { text-decoration: underline; text-underline-offset: 3px; }

.tile__icon {
  position: absolute; top: clamp(26px, 3vw, 40px); right: clamp(26px, 3vw, 40px);
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
}
.tile__icon svg { width: 26px; height: 26px; translate: -1px 1px; }
.tile__icon--tg { background: linear-gradient(180deg, #3aa8ff, #1677e8); box-shadow: 0 10px 40px -8px rgba(41, 151, 255, .55); }

.tile--tg .tile__title { font-size: clamp(40px, 5vw, 68px); }

/* chat mock (iMessage-ish bubbles) */
.chat {
  display: flex; flex-direction: column; gap: 8px;
  width: min(100%, 440px);
  margin-top: 30px; align-self: flex-end;
}
.bubble {
  max-width: 82%;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 16px; line-height: 1.32;
  opacity: 0; transform: translateY(14px) scale(.96);
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out);
}
.bubble--me {
  align-self: flex-end; background: #0a84ff; color: #fff;
  border-bottom-right-radius: 6px;
  transform-origin: 100% 100%;
}
.bubble--them {
  align-self: flex-start; background: #2c2c2e; color: var(--text);
  border-bottom-left-radius: 6px;
  transform-origin: 0 100%;
  transition-delay: .55s;
}
.tile.is-in .bubble { opacity: 1; transform: none; }

/* Stars: a grey row with a yellow row on top, clipped to the rating (4.4 → 88%). */
.stars { --s: 20px; position: relative; display: inline-flex; flex: none; }
.stars__row { display: flex; }
.stars svg { width: var(--s); height: var(--s); flex: none; }
.stars__row--base svg { fill: rgba(255, 255, 255, .16); }
.stars__row--fill {
  position: absolute; inset: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s var(--ease-out);
  transition-delay: var(--sd, .35s);
}
.stars__row--fill svg { fill: #ffd60a; }
.tile.is-in .stars__row--fill { clip-path: inset(0 calc(100% - var(--fill, 0%)) 0 0); }
.stars--lg { --s: 30px; margin-top: 16px; }
.stars--sm { --s: 13px; }

/* Reviews tile: rating on the left, real messages popping out on the right */
.tile--rev {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  overflow: visible;           /* lets the messages lift out in 3D */
  isolation: auto;
  transform-style: preserve-3d;
}
.tile--rev::after { border-radius: inherit; }

.rev__summary { display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; }
.rating { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.rating__num {
  font-size: clamp(68px, 7.4vw, 100px); line-height: 1;
  font-weight: 700; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.rating__out { font-size: 17px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.rating__count { margin-top: 12px; font-size: 15px; line-height: 1.35; color: var(--muted); }

.reviews { display: flex; flex-direction: column; gap: 10px; transform-style: preserve-3d; }
.reviews li {
  margin-left: var(--x, 0);
  transform-style: preserve-3d;
  transform-origin: 0 100%;
  opacity: 0;
  transform: translate3d(-8px, 30px, -140px) scale(.5);
  transition: opacity .45s ease, transform 1s cubic-bezier(.34, 1.56, .64, 1); /* springy overshoot = "pop" */
  transition-delay: calc(var(--i) * 190ms + 450ms);
}
.tile.is-in .reviews li { opacity: 1; transform: translate3d(0, 0, var(--z, 30px)); }

.review {
  display: flex; align-items: flex-end; gap: 10px;
  color: var(--text); text-decoration: none;
  transform-origin: 0 100%;
  transition: transform .55s var(--ease-out);
}
.review:hover { transform: translate3d(0, -4px, 46px) scale(1.035); }

.review__avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(160deg, hsl(var(--hue) 85% 64%), hsl(calc(var(--hue) + 28) 70% 44%));
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .8);
}
.review__bubble {
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0; padding: 9px 14px 10px;
  border-radius: 18px 18px 18px 6px;
  background: #2c2c2e;
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .05);
  transition: background-color .3s ease, box-shadow .55s var(--ease-out);
}
.review:hover .review__bubble {
  background: #38383b;
  box-shadow: 0 34px 70px -22px rgba(0, 0, 0, 1), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.review__head { display: flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.review__head b { font-weight: 600; color: hsl(var(--hue) 90% 72%); }
.review__score { font-size: 13px; font-weight: 600; color: #ffd60a; font-variant-numeric: tabular-nums; }
.review__text { font-size: 16px; line-height: 1.32; }
.reviews li:nth-child(1) .stars__row--fill { --sd: .75s; }
.reviews li:nth-child(2) .stars__row--fill { --sd: .95s; }
.reviews li:nth-child(3) .stars__row--fill { --sd: 1.15s; }
.reviews li:nth-child(4) .stars__row--fill { --sd: 1.35s; }

.steps {
  display: flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-size: 13px; font-weight: 600; color: var(--text);
}
.steps span { padding: 5px 11px; border-radius: 980px; background: rgba(255, 255, 255, .08); }
.steps i { width: 12px; height: 1px; background: rgba(255, 255, 255, .25); }

.creators {
  display: grid; grid-template-columns: 1fr; gap: 10px;
  width: 100%; margin-top: auto; padding-top: 28px;
}
.creator {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .045);
  text-decoration: none;
  transition: background-color .3s ease, transform .5s var(--ease-out);
}
.creator:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }
.creator img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; background: #222; }
.creator span { display: flex; flex-direction: column; min-width: 0; }
.creator b { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.creator small { font-size: 13px; color: var(--muted); }
.creator__info { flex: 1; }
.creator__stat { flex: none; align-items: flex-end; text-align: right; }
.creator__stat b {
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  overflow: visible;
}
.creator__stat small { font-size: 12px; }
.creators__total { font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "tg tg" "work app" "rev rev" "cre cre";
  }
  .tile--tg { min-height: 520px; }
  .creators { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .creator { flex-wrap: wrap; }
  .creator__info { flex: 1 1 calc(100% - 64px); }
  .creator__stat { flex: 1 1 100%; flex-direction: row !important; align-items: baseline; gap: 6px; padding-left: 60px; text-align: left; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "tg" "work" "app" "rev" "cre"; gap: 14px; }
  .tile { min-height: 0; border-radius: 26px; }
  .tile--tg { min-height: 0; }
  .tile__icon { width: 48px; height: 48px; }
  .creators { grid-template-columns: 1fr; }
  .creator { flex-wrap: nowrap; }
  .creator__info { flex: 1; }
  .creator__stat { flex: none; flex-direction: column !important; align-items: flex-end; gap: 0; padding-left: 0; text-align: right; }
  .tile--rev { grid-template-columns: 1fr; gap: 28px; }
  .rev__summary .tile__cta { padding-top: 18px; }
  .reviews li { --x: 0px !important; }
}

/* ---------- 3 · Edits (3D ring) ---------- */

.edits { position: relative; }
.edits .head { padding-bottom: 0; }

.ring-scroll { position: relative; height: 470vh; }

.ring-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}

.ring-viewport {
  position: absolute; left: 0; right: 0;
  top: var(--nav-h); bottom: 150px;
  perspective: var(--persp, 1800px);
  perspective-origin: 50% 42%;
  touch-action: pan-y; /* vertical swipes scroll the page, sideways swipes turn the ring */
  cursor: grab;
}
.ring-stage { -webkit-user-select: none; user-select: none; }
.ring-stage.is-dragging .ring-viewport,
.ring-stage.is-dragging .card { cursor: grabbing; }
.card video { -webkit-user-drag: none; pointer-events: none; }

/* Glass "Drag" cursor (mouse only) */
.has-cursor .ring-viewport,
.has-cursor .card { cursor: none; }
.ring-cursor {
  position: absolute; left: 0; top: 0; z-index: 5;
  pointer-events: none;
  will-change: transform;
}
.ring-cursor > * { pointer-events: none; }
.ring-cursor {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  opacity: 0; scale: .3;
  transition: opacity .35s var(--ease-out), scale .55s var(--ease-out), background-color .3s ease, width .4s var(--ease-out);
}
.ring-cursor.is-on { opacity: 1; scale: 1; }
.is-dragging .ring-cursor.is-on { scale: .82; background: rgba(255, 255, 255, .22); }
.ring-cursor__arrow {
  width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  transition: opacity .3s ease, translate .5s var(--ease-out);
}
.is-dragging .ring-cursor__arrow:first-child { translate: -3px 0; }
.is-dragging .ring-cursor__arrow:last-child { translate: 3px 0; }
.ring-cursor.is-play .ring-cursor__arrow { opacity: 0; width: 0; }
.ring-cursor.is-play { background: rgba(255, 255, 255, .92); color: #000; }

.ring {
  position: absolute; left: 50%; top: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.card {
  position: absolute;
  left: calc(var(--w) / -2); top: calc(var(--h) / -2);
  width: var(--w); height: var(--h);
  padding: 0; border: 0; background: none;
  transform-style: preserve-3d;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.card:focus-visible { outline: none; }
.card:focus-visible .card__front { box-shadow: 0 0 0 3px var(--blue); }

.card__front,
.card__back {
  position: absolute; inset: 0;
  border-radius: clamp(16px, 1.6vw, 24px);
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.card__front {
  background: #111 center / cover no-repeat;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.card__front video {
  width: 100%; height: 100%; object-fit: cover;
}
.card__back {
  transform: rotateY(180deg);
  background: #0c0c0d center / cover no-repeat;
  filter: brightness(.32) saturate(.6);
}
.card__shade {
  position: absolute; inset: 0;
  background: #000;
  opacity: var(--shade, 0);
  pointer-events: none;
}
.card__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: baseline; gap: 8px;
  padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
  font-size: 15px; font-weight: 600; text-align: left; letter-spacing: -0.01em;
  color: #fff;
}
.card__num { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.card__play {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(30, 30, 32, .55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transform: scale(.8);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.card__play svg { width: 15px; height: 15px; fill: #fff; translate: 1px 0; }
.card.is-active .card__play { opacity: 1; transform: none; }

.ring-floor {
  position: absolute; left: 50%; bottom: 120px;
  width: min(1100px, 120vw); height: 160px;
  translate: -50% 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(41, 151, 255, .14), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.ring-caption {
  position: absolute; left: 0; right: 0; bottom: 34px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0 var(--gutter);
  text-align: center;
}
.ring-caption__line { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.02em; }
.ring-count { color: var(--muted); margin-right: 6px; font-variant-numeric: tabular-nums; }
.ring-caption__line.swap { animation: captionIn .7s var(--ease-out); }
@keyframes captionIn {
  from { opacity: 0; transform: translateY(10px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.ring-dots { display: flex; gap: 8px; margin-top: 10px; }
.ring-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 980px;
  background: rgba(255, 255, 255, .28); cursor: pointer;
  transition: width .6s var(--ease-out), background-color .4s ease;
  position: relative;
}
.ring-dots button::before { content: ""; position: absolute; inset: -10px -4px; } /* bigger tap target */
.ring-dots button.is-active { width: 28px; background: var(--text); }

/* ---------- Contact ---------- */

.contact {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 16vh var(--gutter) 16vh;
  text-align: center;
}
.a-contact {
  height: min(32vh, 58vw); aspect-ratio: 1;
  margin-bottom: 5vh;
  pointer-events: none; visibility: hidden;
}
.contact__sub {
  margin-top: 22px;
  font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35;
  font-weight: 500; color: var(--muted); letter-spacing: -0.015em;
}
.contact__ctas {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px;
  margin-top: 36px;
}
.contact__mail { margin-top: 18px; font-size: 17px; color: var(--muted); }
.contact__mail .link { padding: 0; }

/* ---------- Footer ---------- */

.foot { background: #000; border-top: 1px solid #1d1d1f; }
.foot__inner {
  max-width: 1024px; margin: 0 auto;
  padding: 22px var(--gutter) 30px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-size: 12px; color: var(--muted);
}
.foot nav { display: flex; gap: 20px; }
.foot a { color: #a1a1a6; text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Reveal on view ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out), filter 1.2s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- Player (full edit with sound) ---------- */

.player {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--text);
  overflow: hidden;
}
.player[open] { display: grid; place-items: center; }
.player::backdrop {
  background: rgba(0, 0, 0, .74);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  backdrop-filter: blur(30px) saturate(140%);
}
.player[open]::backdrop { animation: fadeIn .45s ease both; }
.player[open] .player__inner { animation: popIn .8s var(--ease-out) both; }
.player.is-closing .player__inner { animation: popOut .3s var(--ease-io) both; }
.player.is-closing::backdrop { animation: fadeOut .3s ease both; }

.player__inner {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 64px 16px 24px;
}
.player__video {
  height: min(78vh, calc((100vw - 32px) * 4 / 3));
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  background: #0c0c0d;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
}
.player__meta { text-align: center; }
.player__count { font-size: 14px; font-weight: 600; color: var(--muted); }
.player__title { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }
.player__close {
  position: fixed; top: 18px; right: 18px;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: rgba(60, 60, 64, .6); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: background-color .25s ease, transform .4s var(--ease-out);
}
.player__close:hover { background: rgba(90, 90, 96, .75); }
.player__close:active { transform: scale(.92); }
.player__close svg { width: 18px; height: 18px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(40px) scale(.92); filter: blur(12px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes popOut { to { opacity: 0; transform: scale(.95); } }

/* ---------- Reduced motion: same page, no scroll-scrubbed movement ---------- */

.reduce .hero { height: 100svh; }
.reduce .hero__letters span,
.reduce .hero__sub { opacity: 1 !important; animation: none !important; }
.reduce .hero__name { top: 24%; }
.reduce .hero__tag { opacity: 1; }
.reduce .hero__tag--top { display: none; }
.reduce .statement { height: auto; }
.reduce .statement__stage { position: relative; height: auto; padding: 18vh var(--gutter); }
.reduce .statement__text .w { opacity: 1; }
.reduce .ring-scroll { height: auto; }
.reduce .ring-stage { position: relative; height: auto; overflow: visible; padding: 6vh 0 4vh; }
.reduce .ring-viewport { position: relative; inset: auto; perspective: none; }
.reduce .ring {
  position: relative; left: auto; top: auto; width: auto; height: auto;
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 12px; transform: none !important;
}
.reduce .card { position: relative; left: auto; top: auto; flex: none; transform: none !important; scroll-snap-align: center; }
.reduce .card__back, .reduce .ring-floor, .reduce .ring-dots { display: none; }
.reduce .card__play { opacity: 1; transform: none; }
.reduce .ring-caption { display: none; }
.reduce [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
.reduce .bubble, .reduce .reviews li { opacity: 1; transform: none; transition: none; }
.reduce .stars__row--fill { clip-path: inset(0 calc(100% - var(--fill, 0%)) 0 0); transition: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
