/* ==========================================================
   Sequenzz — tokens
   Brand: #1838c8 + white, on black
   ========================================================== */
:root {
  --black: #000000;
  --white: #ffffff;
  --brand: #1838c8;
  --brand-lift: #5a76ff;                  /* brand, lifted for small text/rings on black */
  --text-soft: rgba(255, 255, 255, 0.68); /* 9.6:1 on black */
  --line: rgba(255, 255, 255, 0.12);
  --surface: #0b0b0b;
  --surface-2: #141414;

  --font: "Google Sans Flex", "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Google Sans Code", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  background: var(--black);
}

body {
  margin: 0;
  background: transparent;          /* html carries the black, so the ambient layer can sit between */
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }

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

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: #fff; color: #000; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ==========================================================
   Ambient background — drifting glow shapes + film grain
   (built by JS; sits behind every page section)
   ========================================================== */
.ambient {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(24, 56, 200, 0.10), rgba(24, 56, 200, 0) 60%),
    #000;
}

/* Each orb: the outer element moves and blurs; the inner element carries the shape.
   (Blur on the parent softens the clipped child, so clip-path shapes stay soft.) */
.orb {
  position: absolute; left: 0; top: 0;
  width: var(--size); height: var(--size);
  filter: blur(var(--blur, 70px));
  opacity: var(--alpha, 0.5);
  mix-blend-mode: screen;
  will-change: transform;
}
.orb__shape {
  width: 100%; height: 100%;
  background: radial-gradient(closest-side, var(--c1) 0%, var(--c2) 55%, transparent 100%);
}
.orb--circle   .orb__shape { border-radius: 50%; }
.orb--squircle .orb__shape { border-radius: 32%; background: radial-gradient(farthest-side, var(--c1) 0%, var(--c2) 60%, transparent 100%); }
.orb--capsule  { height: calc(var(--size) * 0.46); }
.orb--capsule  .orb__shape { border-radius: 999px; background: linear-gradient(90deg, transparent 0%, var(--c2) 18%, var(--c1) 50%, var(--c2) 82%, transparent 100%); }
.orb--hex      .orb__shape { clip-path: polygon(50% 2%, 94% 26%, 94% 74%, 50% 98%, 6% 74%, 6% 26%); background: radial-gradient(farthest-side, var(--c1) 0%, var(--c2) 70%, transparent 100%); }
.orb--tri      .orb__shape { clip-path: polygon(50% 6%, 96% 90%, 4% 90%); background: radial-gradient(farthest-side at 50% 62%, var(--c1) 0%, var(--c2) 65%, transparent 100%); }
.orb--petal    .orb__shape {
  background:
    radial-gradient(closest-side at 50% 27%, var(--c1), transparent),
    radial-gradient(closest-side at 73% 50%, var(--c2), transparent),
    radial-gradient(closest-side at 50% 73%, var(--c1), transparent),
    radial-gradient(closest-side at 27% 50%, var(--c2), transparent);
}

/* Fine film grain over the glows — adds texture so the blur never looks banded */
.ambient::after {
  content: ""; position: absolute; inset: -50%;
  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='0.85' 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 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* ==========================================================
   Shared section bits
   ========================================================== */
.section { position: relative; overflow: hidden; }

.heading {
  position: relative;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-head { position: relative; text-align: center; max-width: 44rem; margin: 0 auto; }
.section-head p { margin-top: 16px; color: var(--text-soft); font-size: 1.125rem; }

.eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }


/* ==========================================================
   Header — transparent with labs-style progressive glass
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #fff;
}

/* Stacked blur layers, each masked a little further down — a soft glass edge, no hard bar */
.header__glass {
  position: absolute; inset: 0 0 -24px 0; z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
}
.header__glass span { position: absolute; inset: 0; }
.header__glass span:nth-child(1) {
  -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}
.header__glass span:nth-child(2) {
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 85%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 85%);
}
.header__glass span:nth-child(3) {
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 70%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 70%);
}
.header__glass span:nth-child(4) {
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 55%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 55%);
}

.brand { justify-self: start; display: block; }
.brand img { height: 26px; width: auto; }

.nav__list { display: flex; gap: 8px; }
.nav__list a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 16px;
  border-radius: 999px;
  font-size: 0.9375rem; font-weight: 450;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s ease;
}
.nav__list a:hover { background: rgba(255, 255, 255, 0.12); }

.header__end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.social { display: flex; gap: 8px; }
.social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color 0.2s ease;
}
.social a:hover { background: rgba(255, 255, 255, 0.24); }
.social svg { width: 16px; height: 16px; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 999px; position: relative; }
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform 0.25s var(--ease-out);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================
   Hero — always fills the whole screen, any aspect ratio
   ========================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 460px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.hero__slides, .hero__video, .hero__scrim { position: absolute; inset: 0; }

.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 6s linear;
}
.hero__video.is-active { opacity: 1; transform: scale(1); }

.hero__scrim {
  z-index: 1;
  background:
    radial-gradient(ellipse 65% 50% at 50% 50%, rgba(0,0,0,0.32), rgba(0,0,0,0) 72%),
    linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 30%);
}

.hero__content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--header-h) var(--gutter) 96px;
  text-align: center;
}
.hero__content > * { width: max-content; max-width: 100%; }

.hero__title {
  font-size: clamp(2.5rem, min(9vw, 17vh), 9.5rem);
  font-weight: 650;
  font-variation-settings: "wdth" 125, "opsz" 144;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}

/* JS fits this line to the title's width */
.hero__subtitle {
  margin-top: 0.4em;
  font-size: clamp(1.125rem, 2.4vw, 2.5rem);
  font-weight: 450;
  line-height: 1.1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.94);
}

.hero__controls {
  position: absolute; z-index: 3;
  left: 50%; bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px));
  transform: translateX(-50%);
  display: flex; align-items: center; gap: clamp(16px, 4vw, 40px);
}

.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.round-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.5); }

.hero__pager { display: flex; align-items: center; gap: 4px; }
.pager-dot {
  position: relative;
  width: 22px; height: 24px;
  display: grid; place-items: center;
  transition: width 0.5s var(--ease-out);
}
.pager-dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.5s var(--ease-out), background-color 0.3s;
}
.pager-dot.is-active { width: 112px; }
.pager-dot.is-active::before { width: 100%; background: rgba(255, 255, 255, 0.3); }
.pager-dot span {
  position: absolute; left: 0; top: 50%; height: 7px; margin-top: -3.5px;
  width: 100%; border-radius: 4px; background: #fff;
  transform-origin: left center; transform: scaleX(0); opacity: 0;
}
.pager-dot.is-active span { opacity: 1; transform: scaleX(var(--progress, 0)); }

.hero__pause {
  position: absolute; z-index: 3;
  right: var(--gutter); bottom: max(30px, calc(env(safe-area-inset-bottom) + 18px));
  width: 44px; height: 44px;
}
.hero__pause .i-play { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }

/* ==========================================================
   Work — framed cards riding the rim of a huge circle
   ========================================================== */
.work { padding: clamp(96px, 14vh, 150px) 0 clamp(80px, 12vh, 120px); }


.work__head { max-width: none; padding: 0 var(--gutter); margin-bottom: clamp(32px, 6vh, 64px); }
.work__head .heading { font-size: clamp(2rem, 4.6vw, 4.5rem); white-space: nowrap; }   /* one line */
.work__head p { font-size: clamp(1.1875rem, 1.7vw, 1.5rem); }
@media (max-width: 720px) {
  .work__head .heading { white-space: normal; }   /* allow wrapping on phones */
}

.wheel {
  --card-w: clamp(220px, 23vw, 400px);       /* 3 full cards + 2 partial across the screen */
  --card-h: calc(var(--card-w) * 1.32);     /* a little wider and shorter than the labs card */
  position: relative;
  height: calc(var(--card-h) + 90px);
  outline: none;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.wheel:focus-visible { outline: 2px solid #fff; outline-offset: -6px; border-radius: 26px; }

.wheel__circle {
  position: absolute;
  left: 50%; top: 24px;
  /* driven every frame by JS — no CSS transition */
  will-change: transform;
}

/* bottom-right light strength relative to the top-left (registered so it can animate) */
@property --br { syntax: "<number>"; inherits: true; initial-value: 0.5; }

/* ----------------------------------------------------------
   Lit glass card — shared by work, about and pricing cards
   Markup:  .lit > .lit__glow + .lit__frame > (.lit__media)
   Each card type sets --frame-r (outer radius), --frame-pad,
   --media-r (inner radius) and --rest (resting light strength).
   ---------------------------------------------------------- */
.lit {
  --frame-r: 20px;
  --frame-pad: 0px;
  --media-r: 12px;
  --rest: 0.9;
  --glass-base: rgba(14, 14, 20, 0.6);
  /* tint as "r, g, b" triplets — sapphire (brand #1838c8) by default */
  --tint: 24, 56, 200;
  --tint-mid: 90, 118, 255;
  --tint-lift: 140, 162, 255;
  position: relative;
  isolation: isolate;
}

/* Elegant glass tints — add one of these classes next to .lit */
.tint-sapphire { --tint: 24, 56, 200;   --tint-mid: 90, 118, 255;  --tint-lift: 140, 162, 255; }  /* brand blue */
.tint-gold     { --tint: 214, 158, 30;  --tint-mid: 247, 198, 74;  --tint-lift: 255, 234, 164; }  /* bright champagne gold */
.tint-rose     { --tint: 184, 86, 100;  --tint-mid: 228, 136, 146; --tint-lift: 255, 200, 200; }  /* rose gold */

/* Resting edge light: a card-shaped light just larger than the card, lit from the
   top-left corner (full) and bottom-right corner (half), then blurred — so it spills
   along the edges like the pricing glow, never as a round blob. */
.lit::before {
  content: ""; position: absolute; z-index: -1;
  inset: -6px;
  border-radius: calc(var(--frame-r) + 6px);
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(var(--tint-lift), 0.95) 8%,
      rgba(var(--tint), 0.8) 18%,
      rgba(var(--tint), 0) 36%),
    linear-gradient(315deg,
      rgba(255, 255, 255, calc(1 * var(--br))) 0%,
      rgba(var(--tint-lift), calc(0.95 * var(--br))) 8%,
      rgba(var(--tint), calc(0.8 * var(--br))) 18%,
      rgba(var(--tint), 0) 36%);
  filter: blur(14px);
  opacity: var(--rest);
  transition: opacity 0.6s ease, --br 0.6s ease;
  pointer-events: none;
}

/* Cursor glow behind the frame (JS sets --mx / --my in the card's own coordinates) */
.lit__glow {
  position: absolute; z-index: -1;
  inset: -10px;
  border-radius: calc(var(--frame-r) + 10px);
  background: radial-gradient(260px circle at calc(var(--mx, 50%) + 10px) calc(var(--my, 50%) + 10px),
    rgba(255, 255, 255, 1) 0%, rgba(var(--tint-lift), 0.95) 12%, rgba(var(--tint), 0.85) 30%, rgba(var(--tint), 0) 60%);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.lit:hover .lit__glow, .lit:focus-within .lit__glow { opacity: 1; }

/* Glass frame: brand-blue light pooling from the lit corner, sheen, blur */
.lit__frame {
  position: relative;
  width: 100%; height: 100%;
  padding: var(--frame-pad);
  border-radius: var(--frame-r);
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(var(--tint), 0.42) 0%, rgba(var(--tint), 0.12) 40%, rgba(var(--tint), 0) 70%),
    radial-gradient(90% 50% at 100% 100%, rgba(var(--tint-mid), 0.16) 0%, rgba(var(--tint-mid), 0) 70%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.05) 100%),
    var(--glass-base);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
          backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.8);
}

/* Gradient stroke: bright at the lit corner, through brand blue, a faint blue return bottom-right */
.lit__frame::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(var(--tint-lift), 0.75) 14%,
    rgba(var(--tint), 0.45) 32%,
    rgba(255, 255, 255, 0.07) 55%,
    rgba(255, 255, 255, 0.07) 75%,
    rgba(var(--tint-mid), 0.55) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 3;
}

/* Media well inside the frame, with its own hairline stroke drawn above the picture */
.lit__media {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--media-r);
  overflow: hidden;
  background: #000;
}
.lit__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

/* Work cards: dim at rest on the sides, full on the centre card */
.film {
  --frame-r: calc(var(--card-w) * 0.07);
  --frame-pad: calc(var(--card-w) * 0.065);
  --media-r: calc(var(--card-w) * 0.044);
  position: absolute; top: 0;
  width: var(--card-w); height: var(--card-h);
  cursor: pointer;
}
/* Every card always carries half the centre glow on its top-left and bottom-right corners;
   the centre card lifts its top-left to full (its bottom-right stays at that same half). */
.film { --rest: 0.45; --br: 1; }
.film.is-active { --rest: 0.9; --br: 0.5; }
.wheel.is-dragging .lit__glow { opacity: 0; }
.film__play { z-index: 3; }
.film img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.7s var(--ease-out);
}
.film:hover img { transform: scale(1.05); }

.film__play {
  position: absolute; left: 50%; top: 50%;
  width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out), background-color 0.2s, border-color 0.2s;
}
.film__play svg { width: 24px; height: 24px; margin-left: 3px; }
.film .film__play { opacity: 1; transform: none; }
.film:hover .film__play { background: rgb(var(--tint)); border-color: rgb(var(--tint)); }

.wheel__nav { position: relative; display: flex; justify-content: center; gap: 12px; }
.ring-btn {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.4);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.ring-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }

/* ==========================================================
   About — statement + labs "Life beyond the Lab" cards
   ========================================================== */
.about {
  padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(96px, 14vh, 160px);
  text-align: center;
}

.about__intro { position: relative; max-width: 58rem; margin: 0 auto; }
.statement {
  margin-top: 20px;
  font-size: clamp(1.75rem, 4.1vw, 3.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.about__more { position: relative; max-width: 56rem; margin: clamp(96px, 16vh, 180px) auto 0; }
.about__lede { max-width: 40rem; margin: 20px auto 0; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--text-soft); }

.about__cards { position: relative; max-width: 1520px; margin: clamp(48px, 8vh, 80px) auto 0; }

.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.6vw, 40px);
  text-align: left;
}

/* Card: 475 × 660, title bottom-left; description slides in on hover/focus.
   Uses the shared lit glass frame (see .lit) with a thin glass rim around the video. */
.step {
  /* Same proportions as the work cards, measured from the card's own width (cqi):
     6.5% frame padding, 7% outer radius, 4.4% inner radius. */
  container-type: inline-size;
  --frame-r: 7cqi;
  --frame-pad: 6.5cqi;
  --media-r: 4.4cqi;
  aspect-ratio: 475 / 660;
  border-radius: var(--frame-r);
  outline-offset: 6px;
}
.step video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.step__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 38%, rgba(0,0,0,0) 62%);
  pointer-events: none;
}
.step__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: clamp(24px, 2.4vw, 36px);
}
.step h3 {
  font-size: clamp(2rem, 3vw, 2.875rem);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.step__reveal {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(8px);
  transition: grid-template-rows 0.5s var(--ease-out), opacity 0.4s ease, transform 0.5s var(--ease-out);
}
.step__reveal > p {
  overflow: hidden;
  min-height: 0;
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  max-width: 34ch;
}
.step:hover .step__reveal,
.step:focus-visible .step__reveal { grid-template-rows: 1fr; opacity: 1; transform: none; }
.step:hover video, .step:focus-visible video { transform: scale(1.05); }

@media (hover: none) {
  .step__reveal { grid-template-rows: 1fr; opacity: 1; transform: none; }
}

/* ==========================================================
   Reviews
   ========================================================== */
.reviews { padding: clamp(96px, 14vh, 160px) var(--gutter); }

.reviews__grid {
  position: relative;
  max-width: 980px;
  margin: clamp(48px, 8vh, 72px) auto 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.review {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 28px 26px 26px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.review blockquote { font-size: 1.0625rem; line-height: 1.6; color: rgba(255, 255, 255, 0.86); }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--text-soft); }
.review figcaption strong { display: block; color: #fff; font-weight: 600; font-size: 0.9375rem; }

.avatar {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.8125rem; font-weight: 700;
  background: var(--brand); color: #fff;
}
.review:nth-child(even) .avatar { background: #fff; color: var(--brand); }

/* ==========================================================
   Pricing — mzmedia card + cursor-following glow
   ========================================================== */
.pricing { padding: clamp(96px, 14vh, 160px) var(--gutter); }

.plans {
  position: relative;
  max-width: 1020px;
  margin: clamp(56px, 9vh, 88px) auto 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;              /* equal length */
}

/* Pricing cards use the shared lit glass frame. No video covers the middle here,
   so the glass base is nearly opaque — the lights spill around the edges only. */
.plan-wrap {
  --frame-r: 22px;
  --glass-base: rgba(10, 10, 14, 0.94);
  display: flex;
}

.plan {
  flex: 1;
  display: flex; flex-direction: column; gap: 26px;
  padding: clamp(24px, 3vw, 36px);
}

.plan__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.plan__name { font-size: 1.5rem; font-weight: 450; letter-spacing: -0.01em; }
.plan__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem; color: var(--text-soft);
}
.plan__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-lift); }

.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.plan__price span { font-size: 1rem; color: var(--text-soft); }
.plan__price strong {
  font-size: clamp(2.5rem, 4.6vw, 3.25rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan__price s { font-size: 1.125rem; color: rgba(255, 255, 255, 0.4); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border-radius: 12px;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn--outline { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.btn--outline:hover { background: #fff; color: #000; }
.btn--solid { background: var(--brand); color: #fff; }
.btn--solid:hover { background: #fff; color: var(--brand); }

.slots { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-soft); }
.slots strong { color: #fff; font-weight: 600; }
.slots__dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(24, 56, 200, 0.3);
  box-shadow: inset 0 0 0 6px rgba(24, 56, 200, 0.3);
  position: relative;
}
.slots__dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--brand-lift); }
.plan__save {
  margin-left: auto;
  padding: 5px 10px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-style: normal; font-size: 0.75rem; font-weight: 600;
}

.plan__summary { padding-top: 24px; border-top: 1px solid var(--line); }
.plan__summary h4 { font-size: 1.125rem; font-weight: 600; }
.plan__summary p { margin-top: 6px; font-size: 0.9375rem; max-width: 40ch; color: var(--text-soft); }

.plan__list { display: grid; gap: 12px; }
.plan__list li { position: relative; padding-left: 30px; font-size: 0.9375rem; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--brand)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

.plan__meta {
  margin-top: auto;                    /* pins to the bottom so both cards end level */
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.plan__meta dt { font-size: 0.8125rem; color: var(--text-soft); }
.plan__meta dd { margin-top: 4px; font-weight: 600; }

/* Tinted pricing card (e.g. the gold bundle): accents follow the card's glass tint.
   Gold is light, so text on gold fills is dark for contrast. */
.plan-wrap.tint-gold .plan__tag::before { background: rgb(var(--tint-mid)); }
.plan-wrap.tint-gold .plan__price strong {
  background: linear-gradient(to right, rgb(var(--tint-lift)) 20%, rgba(var(--tint-mid), 0.75));
  -webkit-background-clip: text; background-clip: text;
}
.plan-wrap.tint-gold .btn--solid {
  background: linear-gradient(135deg, rgb(var(--tint-lift)) 0%, rgb(var(--tint-mid)) 45%, rgb(var(--tint)) 100%);
  color: #1c1405;
}
.plan-wrap.tint-gold .btn--solid:hover { background: #fff; color: #1c1405; }
.plan-wrap.tint-gold .plan__save { background: rgb(var(--tint-mid)); color: #1c1405; }
.plan-wrap.tint-gold .slots__dot { background: rgba(var(--tint), 0.3); box-shadow: inset 0 0 0 6px rgba(var(--tint), 0.3); }
.plan-wrap.tint-gold .slots__dot::after { background: rgb(var(--tint-mid)); }
.plan-wrap.tint-gold .plan__list li::before {
  background: rgb(var(--tint-mid))
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1405' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  padding: clamp(56px, 9vh, 96px) var(--gutter) 28px;
  border-top: 1px solid var(--line);
}

.footer__row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap;
  font-size: 0.9375rem;
}
.footer__row p { color: var(--text-soft); }
.footer__row p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.35); }
.footer__row p a:hover { text-decoration-color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer__links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--text-soft); transition: color 0.2s; }
.footer__links a:hover { color: #fff; }

/* Main logo spanning the full footer width */
.footer__wordmark {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  box-sizing: content-box;
  padding: clamp(48px, 9vh, 112px) 0;
  border-bottom: 1px solid var(--line);
}

/* Copyright + company links on a single line */
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px clamp(14px, 2vw, 56px);
  flex-wrap: nowrap;
  padding-top: 16px;
  font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em;
}
@media (max-width: 1100px) { .footer__bottom { font-size: 0.6875rem; letter-spacing: 0.02em; } }
.footer__copy { margin: 0; white-space: nowrap; color: rgba(255, 255, 255, 0.5); }
.footer__mono {
  display: flex; flex-wrap: nowrap; gap: 4px clamp(14px, 2vw, 56px);
}
.footer__mono a { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; color: var(--text-soft); transition: color 0.2s; }
.footer__mono a:hover, .footer__mono a[aria-current="page"] { color: #fff; }

/* ==========================================================
   Film player
   ========================================================== */
.player {
  width: min(1100px, calc(100vw - 32px));
  max-width: none;
  padding: 0; border: 0;
  border-radius: 20px;
  background: #000;
  overflow: visible;
}
.player::backdrop { background: rgba(0, 0, 0, 0.85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.player__frame { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; }
.player__frame iframe { width: 100%; height: 100%; border: 0; }
.player__close {
  position: absolute; top: -56px; right: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, 0.14);
}
.player__close:hover { background: rgba(255, 255, 255, 0.26); }

/* ==========================================================
   Inner pages (about / privacy / terms / refund / support)
   ========================================================== */
.page {
  max-width: 46rem;
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(48px, 10vh, 112px)) var(--gutter) clamp(80px, 12vh, 140px);
}
.page h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.page__meta { margin-top: 16px; color: var(--text-soft); font-size: 0.9375rem; }
.page__lede { margin-top: 28px; font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.5; }
.page h2 { margin-top: 48px; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; }
.page h3 { margin-top: 28px; font-size: 1.125rem; font-weight: 600; }
.page p, .page li { color: rgba(255, 255, 255, 0.82); }
.page p { margin-top: 14px; }
.page ul { margin-top: 14px; padding-left: 1.2em; list-style: disc; display: grid; gap: 8px; }
.page a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-lift); }
.page .btn { margin-top: 28px; }
.page details { border-top: 1px solid var(--line); padding: 18px 0; }
.page details:last-of-type { border-bottom: 1px solid var(--line); }
.page summary { cursor: pointer; font-weight: 500; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.page summary::-webkit-details-marker { display: none; }
.page summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--text-soft); transition: transform 0.25s var(--ease-out); }
.page details[open] summary::after { transform: rotate(45deg); }
.page details p { margin-top: 10px; }
.page--inner .site-header { background: transparent; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .social { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .site-header { grid-template-columns: 1fr auto; }
  .brand img { height: 22px; }

  .nav { order: 3; }
  .nav__toggle { display: block; }
  .nav__list {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 auto 0;
    flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(0, 0, 0, 0.82);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
  }
  .nav__list.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s ease, transform 0.25s var(--ease-out); }
  .nav__list a { width: 100%; min-height: 52px; font-size: 1.125rem; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__list a:hover { background: none; }

  .round-btn { width: 44px; height: 44px; }
  .pager-dot.is-active { width: 72px; }
  .hero__pause { display: none; }

  .wheel { --card-w: 68vw; }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__row { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; flex-wrap: wrap; }
  .footer__mono { flex-wrap: wrap; }
  .player__close { top: -52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
