/* Miran Fann — site styles.
   A black stage lit by the films. Colour is light: periwinkle, lilac and rose from the
   logo's ribbon, used for playheads, keys and the odd glow; everything else is ink and glass. */

:root {
  --bg: #050507;
  --bg-1: #0a0a0e;
  --bg-2: #101015;
  --bg-3: #17171d;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .11);
  --line-3: rgba(255, 255, 255, .2);
  --text: #f4f2f7;
  --text-2: #aeacb8;
  --text-3: #8b8996;
  --blue: #8eb2f5;
  --blue-2: #598ef2;
  --lilac: #c8a1e6;
  --pink: #f088ad;
  --pink-2: #dd6392;
  --mint: #9fd8b8;
  --warm: #f1e4cc;
  --spectrum: linear-gradient(90deg, #8eb2f5 0%, #c8a1e6 52%, #f088ad 100%);
  --glass: rgba(16, 16, 22, .58);
  --glass-line: rgba(255, 255, 255, .1);

  --sans: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1280px;
  --r-ctl: 12px;
  --r-box: 18px;
  --r-big: 26px;
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code { font-family: var(--mono); font-size: .88em; color: var(--text); }
::selection { background: rgba(240, 136, 173, .34); color: #fff; }

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

.sr-only {
  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: 16px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: var(--r-ctl);
  background: var(--text); color: var(--bg); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- type ---------- */

.h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.375rem, 1.15rem + 4.1vw, 5.25rem);
  font-weight: 600;
  font-stretch: 108%;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.h2 .ln { display: block; }
.h2 .ln + .ln { color: var(--text-3); }

.h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.1875rem;
  font-weight: 600;
  font-stretch: 104%;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.lede {
  margin: 0;
  max-width: 36rem;
  color: var(--text-2);
  font-size: clamp(1.0625rem, .98rem + .34vw, 1.25rem);
  line-height: 1.55;
  letter-spacing: -.005em;
  text-wrap: pretty;
}

/* The keyframe diamond: the site's one mark. */
.kf {
  display: inline-block;
  flex: none;
  width: 8px; height: 8px;
  border-radius: 1.5px;
  background: linear-gradient(135deg, var(--blue), var(--lilac) 50%, var(--pink));
  transform: rotate(45deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.head {
  display: grid;
  justify-items: start;
  gap: 24px;
  margin-bottom: clamp(48px, 5.4vw, 80px);
}
.head .eyebrow { margin-bottom: 4px; }
.head .lede { max-width: 40rem; }

/* ---------- controls ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px;
  border-radius: 999px;
  font-size: .9375rem; font-weight: 600; letter-spacing: -.005em;
  white-space: nowrap;
  transition: background .25s var(--ease), box-shadow .35s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn-light {
  background: var(--text);
  color: #0a0a0d;
  box-shadow: 0 0 0 0 rgba(200, 161, 230, 0);
}
.btn-light:hover {
  background: #fff;
  box-shadow: 0 10px 40px -8px rgba(200, 161, 230, .55), 0 0 0 1px rgba(255, 255, 255, .5);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-small { height: 38px; padding: 0 16px; font-size: .875rem; }

.cmd {
  display: inline-flex; align-items: center; gap: 22px;
  height: 52px; padding: 0 7px 0 20px;
  border: 1px solid var(--glass-line); border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  color: var(--text);
  font-family: var(--mono); font-size: .9375rem; font-weight: 500;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.cmd:hover { border-color: var(--line-3); background: rgba(24, 24, 32, .7); }
.cmd-text { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.cmd-sigil {
  background: var(--spectrum);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.cmd-copy {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 70px; height: 38px; padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: var(--text-2);
  font-family: var(--sans); font-size: .8125rem; font-weight: 600;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.cmd:hover .cmd-copy { background: rgba(255, 255, 255, .12); color: var(--text); }
.cmd.is-copied .cmd-copy { color: #0a0a0d; background: var(--mint); }
.cmd-large { height: 64px; padding: 0 9px 0 26px; font-size: 1.125rem; gap: 30px; }
.cmd-large .cmd-copy { height: 46px; min-width: 84px; font-size: .875rem; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 34px; padding: 6px 15px 6px 13px;
  line-height: 1.3;
  border: 1px solid var(--glass-line); border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-size: .8125rem; font-weight: 500;
  letter-spacing: .005em;
}
.chip-glass {
  margin: 0;
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

.chip-btn {
  height: 32px; padding: 0 13px;
  border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--text-2); font-size: .8125rem; font-weight: 550;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.chip-btn:hover { color: var(--text); border-color: var(--line-3); }
.chip-btn[aria-pressed="true"] { color: var(--text); background: rgba(255, 255, 255, .07); }

.round {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(14, 14, 20, .5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.round:hover { background: rgba(30, 30, 40, .7); transform: scale(1.05); }
.round svg { width: 15px; height: 15px; fill: currentColor; }

.pill-btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 18px 0 15px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
  background: rgba(14, 14, 20, .5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, .86);
  font-size: .8125rem; font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.pill-btn:hover { background: rgba(30, 30, 40, .7); color: #fff; }
.pill-btn svg { width: 16px; height: 16px; fill: currentColor; }
.pill-btn .i-sound, .pill-btn[aria-pressed="true"] .i-mute { display: none; }
.pill-btn[aria-pressed="true"] .i-sound { display: block; }
.pill-btn[aria-pressed="true"] { color: #fff; }

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 12px; left: 50%; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  width: min(100% - 24px, var(--max) + 36px);
  height: 58px; padding: 0 9px 0 18px;
  border: 1px solid transparent; border-radius: 999px;
  transform: translateX(-50%);
  transition: background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease),
              -webkit-backdrop-filter .45s var(--ease), backdrop-filter .45s var(--ease);
}
.nav.is-scrolled {
  background: rgba(12, 12, 17, .62);
  border-color: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .75);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  color: var(--text); font-weight: 650; font-size: 1rem; font-stretch: 106%; letter-spacing: -.02em;
}
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; justify-content: center; gap: 2px; flex: 1; }
.nav-links a {
  position: relative;
  padding: 8px 13px; border-radius: 999px;
  color: var(--text-2); font-size: .875rem; font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.is-active, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav-end { display: flex; align-items: center; gap: 6px; flex: none; }

/* ---------- account (js/auth.js) ---------- */

.auth { position: relative; display: flex; align-items: center; min-width: 38px; min-height: 38px; }
.auth-in {
  padding: 8px 13px; border-radius: 999px;
  color: var(--text-2); font-size: .875rem; font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease), opacity .2s var(--ease);
}
.auth-in:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.auth-in[aria-busy="true"] { opacity: .55; pointer-events: none; }
.auth-me {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: border-color .2s var(--ease), box-shadow .3s var(--ease);
}
.auth-me:hover, .auth-me[aria-expanded="true"] { border-color: var(--line-3); box-shadow: 0 0 0 4px rgba(200, 161, 230, .12); }
.auth-me img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.auth-initial {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--spectrum); color: #0a0a0d; font-size: .8125rem; font-weight: 700;
}
.auth-wait { width: 30px; height: 30px; margin: 4px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.auth-menu, .auth-note {
  position: absolute; top: calc(100% + 12px); right: 0;
  background: rgba(16, 16, 22, .92);
  border: 1px solid var(--glass-line); border-radius: var(--r-box);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .75);
}
.auth-menu { min-width: 230px; max-width: min(300px, calc(100vw - 24px)); padding: 6px; }
.auth-menu[hidden] { display: none; }
.auth-who { padding: 10px 12px 9px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.auth-name, .auth-mail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-name { color: var(--text); font-size: .9375rem; font-weight: 600; }
.auth-mail { color: var(--text-3); font-size: .8125rem; }
.auth-menu button {
  width: 100%; padding: 9px 12px; border-radius: 12px; text-align: left;
  color: var(--text-2); font-size: .875rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.auth-menu button:hover, .auth-menu button:focus-visible { background: rgba(255, 255, 255, .07); color: var(--text); }
.auth-note { padding: 10px 14px; white-space: nowrap; color: var(--text); font-size: .8125rem; }
/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: max(660px, 100svh);
  overflow: hidden;
  background: var(--bg);
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  transform: translate3d(0, calc(var(--hp, 0) * 14%), 0) scale(calc(1 + var(--hp, 0) * .05));
  will-change: transform;
  /* The picture fades out on its own, so no edge can show at any height. */
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 78% 50%;
}
.js .hero-media img {
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.9s var(--ease), transform 2.8s var(--ease);
}
.js .hero.is-ready .hero-media img { opacity: 1; transform: none; }

/* Light travels along the ribbon: a soft highlight in overlay mode only brightens what is already lit. */
.hero-glint {
  position: absolute; left: 0; top: 0;
  width: var(--gs, 280px); height: var(--gs, 280px);
  margin: calc(var(--gs, 280px) / -2) 0 0 calc(var(--gs, 280px) / -2);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 236, 246, .45) 42%, rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: overlay;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 7, .9) 0%, rgba(5, 5, 7, .62) 30%, rgba(5, 5, 7, .08) 56%, rgba(5, 5, 7, 0) 70%),
    linear-gradient(180deg, rgba(5, 5, 7, .55) 0%, rgba(5, 5, 7, 0) 16%, rgba(5, 5, 7, 0) 58%, rgba(5, 5, 7, .7) 84%, var(--bg) 100%);
  pointer-events: none;
}
.hero-content {
  align-self: center;
  padding-top: clamp(112px, 14vh, 150px);
  padding-bottom: clamp(64px, 10vh, 120px);
}
.hero-title {
  margin: clamp(22px, 2.4vh, 30px) 0 0;
  color: var(--text);
  font-size: clamp(2.75rem, .4rem + 5.15vw, 6.75rem);
  font-weight: 600;
  font-stretch: 106%;
  line-height: .95;
  letter-spacing: -.048em;
}
.hero-title .ln { display: block; }
.hero-lede {
  max-width: 31rem;
  margin: clamp(22px, 2.8vh, 30px) 0 0;
  color: rgba(244, 242, 247, .76);
  font-size: clamp(1.0625rem, .98rem + .3vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: clamp(28px, 3.6vh, 40px);
}
.js [data-hero-in] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease) var(--hd, 0ms), transform 1.2s var(--ease) var(--hd, 0ms);
}
.js .hero.is-ready [data-hero-in] { opacity: 1; transform: none; }

/* The headline sweep: a playhead passes and the letters render behind it. */
[data-sweep] { position: relative; }
.js [data-sweep]:not(.is-swept) { visibility: hidden; animation: sweep-fallback 0s 3.2s forwards; }
.js [data-sweep].is-sweeping { visibility: visible; animation: none; }
@keyframes sweep-fallback { to { visibility: visible; } }
.sweep-ch { display: inline-block; white-space: pre; }
.is-sweeping .sweep-ch { opacity: 0; filter: blur(12px); transform: translateX(-.16em); }
.is-sweeping .sweep-ch.is-on {
  opacity: 1; filter: blur(0); transform: none;
  transition: opacity .5s var(--ease), filter .7s var(--ease), transform .8s var(--ease);
}
.sweep-head {
  position: absolute; top: -6%; bottom: -8%; left: 0; width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, var(--blue), var(--lilac) 50%, var(--pink));
  border-radius: 2px;
  box-shadow: 0 0 18px 2px rgba(240, 136, 173, .55);
  pointer-events: none;
  opacity: 0;
}
.sweep-head::before {
  content: ""; position: absolute; top: -9px; left: -5px;
  width: 12px; height: 12px; border-radius: 2px;
  background: var(--blue); transform: rotate(45deg);
}

/* ---------- sections ---------- */

.section {
  position: relative;
  padding-top: clamp(112px, 13vw, 200px);
}

/* ---------- showreel ---------- */

.reel { padding-top: clamp(72px, 8vw, 120px); }
.reel-stage { position: relative; isolation: isolate; }
.reel-ambient {
  position: absolute; z-index: -1;
  left: 4%; top: 6%;
  width: 92%; height: 96%;
  filter: blur(80px) saturate(1.5);
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  pointer-events: none;
}
.reel-ambient.is-on { opacity: .5; }
.reel-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-big);
  background: #000;
  box-shadow: 0 60px 140px -60px rgba(0, 0, 0, .95);
}
.reel-frame video {
  width: 100%; height: 100%;
  object-fit: cover;
  background: #000;
  transition: opacity .35s var(--ease);
}
.reel-frame.is-switching video { opacity: 0; }
.reel-hud {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 2.4vw, 32px);
  pointer-events: none;
}
.reel-hud > * { pointer-events: auto; }
/* A lower third on glass: it reads over any film, light or dark. */
.reel-caption {
  display: grid; gap: 3px;
  min-width: 0;
  padding: 12px 18px 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(12, 12, 18, .58);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}
.reel-frame.show-cap .reel-caption,
.reel-frame.is-paused .reel-caption,
.reel-frame:hover .reel-caption { opacity: 1; transform: none; }
.reel-kind {
  margin: 0;
  color: rgba(255, 255, 255, .66);
  font-family: var(--mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
}
.reel-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.125rem, .9rem + .8vw, 1.625rem);
  font-weight: 600; font-stretch: 106%;
  line-height: 1.15; letter-spacing: -.03em;
}
.reel-ctl { display: flex; align-items: center; gap: 10px; flex: none; }
.reel-ctl .round .i-play, .reel-frame.is-paused .round .i-pause { display: none; }
.reel-frame.is-paused .round .i-play { display: block; }
.reel-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .1);
}
.reel-bar i {
  display: block; width: 100%; height: 100%;
  background: var(--spectrum);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

.reel-desc {
  max-width: 44rem;
  min-height: 3.1em;
  margin: clamp(20px, 2.2vw, 28px) 0 0;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}
.reel-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  margin: clamp(22px, 2.4vw, 32px) 0 0;
  padding: 0;
  list-style: none;
}
.reel-card {
  display: grid; gap: 12px;
  width: 100%;
  text-align: left;
}
.reel-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .3s var(--ease);
}
.reel-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
  filter: saturate(.8);
  transition: opacity .35s var(--ease), filter .35s var(--ease), transform .8s var(--ease);
}
.reel-card:hover .reel-thumb img { opacity: .85; filter: none; transform: scale(1.04); }
.reel-card[aria-current="true"] .reel-thumb { box-shadow: 0 0 0 1px rgba(255, 255, 255, .85), 0 0 0 4px var(--bg), 0 0 0 5px rgba(255, 255, 255, .14); }
.reel-card[aria-current="true"] .reel-thumb img { opacity: 1; filter: none; }
.reel-card-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.reel-card-bar i {
  display: block; width: 100%; height: 100%;
  background: var(--spectrum);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
.reel-card[aria-current="true"] .reel-card-bar { opacity: 1; }
.reel-card-text { display: grid; gap: 2px; padding-inline: 2px; }
.reel-card-title {
  color: var(--text-2);
  font-size: .9375rem; font-weight: 600; letter-spacing: -.01em;
  line-height: 1.3;
  transition: color .25s var(--ease);
}
.reel-card:hover .reel-card-title, .reel-card[aria-current="true"] .reel-card-title { color: var(--text); }
.reel-card-kind { color: var(--text-3); font-size: .8125rem; line-height: 1.4; }
.reel-note {
  margin: clamp(26px, 2.6vw, 36px) 0 0;
  color: var(--text-3);
  font-size: .8125rem;
}

/* ---------- how it works: the desk ---------- */

.desk {
  position: relative;
  padding-bottom: 5%;
}
.desk::before {
  content: ""; position: absolute; z-index: -1;
  left: 18%; right: -6%; top: -10%; bottom: -6%;
  background:
    radial-gradient(40% 50% at 70% 40%, rgba(142, 178, 245, .14), transparent 70%),
    radial-gradient(36% 46% at 30% 70%, rgba(240, 136, 173, .1), transparent 70%);
  pointer-events: none;
}
.viewer {
  position: relative;
  width: 76%;
  margin: 0 0 0 auto;
}
.viewer-shot {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #060708;
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .5);
}
.viewer-shot img { width: 100%; height: auto; }
.viewer-preview {
  position: absolute;
  left: 20%; top: 5.22%;
  width: 38.44%; height: 34.6%;
  object-fit: cover;
  background: #fdede4;
}
/* A live playhead and timecode drawn over the viewer, in step with the preview. */
.viewer-ph {
  position: absolute; top: 54.35%; left: 0; bottom: 4.4%;
  width: 0;
  transform: translateX(var(--x, 0));
  pointer-events: none;
}
.viewer-ph::before {
  content: ""; position: absolute; top: 0; left: -.375cqw;
  width: .75cqw; height: 1.3cqw;
  background: #ffb000;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
}
.viewer-ph::after {
  content: ""; position: absolute; top: 1.2cqw; bottom: 0; left: -.5px;
  width: 1px;
  background: #ffb000;
}
.viewer-tc, .viewer-tf {
  position: absolute;
  display: flex; align-items: center;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
}
.viewer-tc {
  left: 19.875%; top: 41.57%; width: 5.09%; height: 2.56%;
  justify-content: center;
  color: #ffb000;
  font-size: .875cqw; font-weight: 600;
}
.viewer-tf {
  left: 25.09%; top: 42.08%; height: 1.54%;
  padding-left: .25cqw;
  color: #8a8880;
  font-size: .6875cqw;
}
.viewer figcaption {
  margin-top: 16px;
  color: var(--text-3);
  font-size: .8125rem;
  text-align: right;
}

.term {
  position: absolute; left: 0; top: 13%; bottom: 0;
  z-index: 2;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  width: 37%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(11, 11, 15, .8);
  -webkit-backdrop-filter: blur(26px) saturate(1.4);
  backdrop-filter: blur(26px) saturate(1.4);
  box-shadow: 0 50px 110px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  font-family: var(--mono);
  font-size: clamp(.71875rem, .55rem + .26vw, .8125rem);
  line-height: 1.68;
}
.term-top {
  display: flex; align-items: center; gap: 14px;
  height: 42px; padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
  font-size: .75rem;
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.term-body {
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  padding: 16px 20px 18px;
  color: var(--text-2);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 64px);
  mask-image: linear-gradient(180deg, transparent 0, #000 64px);
}
.t-line { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.t-line + .t-line { margin-top: 1px; }
.t-user {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: var(--text);
}
.t-user::before { content: "› "; color: var(--pink); }
.t-call { display: flex; gap: 10px; margin-top: 8px; color: var(--text); }
.t-call::before {
  content: ""; flex: none;
  width: 7px; height: 7px; margin-top: .62em;
  border-radius: 50%;
  background: var(--text-3);
  transition: background .3s var(--ease);
}
.t-call.is-done::before { background: var(--mint); }
.t-call.is-running::before { animation: t-blink .7s steps(2, jump-none) infinite; background: var(--blue); }
.t-call b { flex: none; font-weight: 500; color: var(--blue); }
.t-say { display: flex; gap: 10px; margin-top: 8px; color: var(--text); }
.t-say::before {
  content: ""; flex: none;
  width: 7px; height: 7px; margin-top: .62em;
  border-radius: 50%;
  background: var(--text);
}
.t-call span { color: var(--text-3); }
.t-out { padding-left: calc(17px + 2ch); text-indent: -2ch; color: var(--text-3); }
.t-out::before { content: "└ "; color: rgba(255, 255, 255, .2); }
.t-out.is-good { color: var(--mint); }
.t-out.is-note { color: var(--warm); }
.t-gap { padding-left: 17px; color: rgba(255, 255, 255, .26); }
.t-cursor {
  display: inline-block;
  width: .55em; height: 1.1em;
  margin-left: 2px;
  vertical-align: -.18em;
  background: var(--text);
  animation: t-blink 1s steps(2, jump-none) infinite;
}
.t-enter { animation: t-in .45s var(--ease) both; }
@keyframes t-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes t-blink { 50% { opacity: 0; } }


.steps-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px clamp(16px, 2vw, 28px);
  margin: clamp(80px, 9vw, 132px) 0 0;
  padding: 0;
  list-style: none;
}
.steps-line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 4px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .07));
}
.steps-line::after {
  content: ""; position: absolute; left: 0; right: 0; top: 4px;
  height: 1px;
  background: var(--spectrum);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 2.2s var(--ease-io) .2s;
}
.steps-line.is-in::after { transform: scaleX(1); }
.steps-line li { position: relative; display: grid; align-content: start; padding-top: 30px; }
.steps-line .kf {
  position: absolute; top: 0; left: 0;
  width: 9px; height: 9px;
  background: var(--bg-3);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .3);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.steps-line.is-in .kf {
  background: linear-gradient(135deg, var(--blue), var(--lilac) 50%, var(--pink));
  box-shadow: 0 0 0 4px var(--bg), 0 0 16px rgba(200, 161, 230, .7);
  transition-delay: calc(.25s + var(--i, 0) * .32s);
}
.steps-line strong { color: var(--text); font-weight: 600; font-size: 1.125rem; font-stretch: 104%; letter-spacing: -.015em; }

.critics {
  display: grid;
  gap: 26px;
  margin-top: clamp(64px, 7vw, 104px);
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-big);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008));
}
.critics-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.critics-intro p { margin: 0; color: var(--text-3); font-size: .875rem; }
.critics-log {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
  font-family: var(--mono);
  font-size: .8125rem;
  line-height: 1.6;
}
.critics-log li { position: relative; padding: 2px 20px 2px 20px; border-left: 1px solid var(--line-2); }
.critics-log li::before {
  content: ""; position: absolute; left: -4px; top: 8px;
  width: 7px; height: 7px; border-radius: 1.5px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  transform: rotate(45deg);
}
.critics-log p { margin: 0; }
.log-head { display: flex; flex-wrap: wrap; gap: 2px 10px; color: var(--text-3); }
.log-head b { font-weight: 500; color: var(--blue); }
.critics-log .log-found { margin-top: 8px; color: var(--warm); }
.log-fix { color: var(--mint); }
.log-fix::before { content: "→ "; color: var(--text-3); }

/* ---------- engine: the film ---------- */

.film {
  position: relative;
  isolation: isolate;
}
.film-ambient {
  position: absolute; z-index: -1;
  left: 3%; top: 3%;
  width: 94%; aspect-ratio: 2.4 / 1; height: auto;
  filter: blur(70px) saturate(1.4);
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  pointer-events: none;
}
.film-ambient.is-on { opacity: .5; }
.film-frame {
  position: relative;
  aspect-ratio: 2.4 / 1;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-bottom: 0;
  border-radius: var(--r-big) var(--r-big) 0 0;
  background: #000;
}
.film-video { width: 100%; height: 100%; object-fit: cover; }
.film-note {
  margin: 16px 0 0;
  max-width: 46rem;
  color: var(--text-3);
  font-size: .875rem;
}
.film-note code { font-size: .8125rem; color: var(--text-2); }

/* ---------- timeline ---------- */

.tl {
  --label: 196px;
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 0 0 var(--r-big) var(--r-big);
  background: var(--bg-1);
  user-select: none;
  -webkit-user-select: none;
}
.tl-bar {
  display: flex; align-items: center; gap: 16px;
  height: 52px; padding: 0 12px;
  border-bottom: 1px solid var(--line);
}
.tl-btn {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, .07);
  transition: background .2s var(--ease);
}
.tl-btn:hover { background: rgba(255, 255, 255, .13); }
.tl-btn svg { width: 13px; height: 13px; fill: currentColor; }
.tl-btn .i-play, .tl.is-paused .tl-btn .i-pause { display: none; }
.tl.is-paused .tl-btn .i-play { display: block; }
.tl-tc {
  min-width: 10ch;
  color: var(--text);
  font-family: var(--mono); font-size: .9375rem; font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.tl-comp { display: flex; align-items: baseline; gap: 12px; min-width: 0; color: var(--text-3); font-size: .8125rem; }
.tl-comp-name { color: var(--text-2); font-weight: 600; }
.tl-comp-spec { font-family: var(--mono); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-sound {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: auto; height: 34px; padding: 0 13px 0 11px;
  border-radius: 999px;
  color: var(--text-2); font-size: .8125rem; font-weight: 550;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.tl-sound:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.tl-sound svg { width: 16px; height: 16px; fill: currentColor; }
.tl-sound .i-sound, .tl-sound[aria-pressed="true"] .i-mute { display: none; }
.tl-sound[aria-pressed="true"] .i-sound { display: block; }
.tl-sound[aria-pressed="true"] { color: var(--text); }

.tl-body { position: relative; padding-bottom: 10px; }
.tl-ruler-row {
  display: grid; grid-template-columns: var(--label) minmax(0, 1fr);
  height: 30px;
  border-bottom: 1px solid var(--line);
}
.tl-label-head {
  display: flex; align-items: center;
  padding-left: 16px;
  color: var(--text-3); font-size: .75rem; font-weight: 550;
  border-right: 1px solid var(--line);
}
.tl-ruler { position: relative; margin-right: 16px; }
.tl-tick {
  position: absolute; bottom: 0; width: 1px; height: 6px;
  background: var(--line-3);
}
.tl-tick.is-major { height: 10px; }
.tl-tick span {
  position: absolute; bottom: 12px; left: 4px;
  color: var(--text-3);
  font-family: var(--mono); font-size: .6875rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tl-tracks { margin: 0; padding: 6px 0 0; list-style: none; }
.tl-track {
  display: grid; grid-template-columns: var(--label) minmax(0, 1fr);
  height: 28px; align-items: center;
  transition: background .15s linear;
}
.tl-track:hover, .tl-track.is-hot { background: rgba(255, 255, 255, .03); }
.tl-name {
  display: flex; align-items: center; gap: 10px;
  height: 100%; padding: 0 12px 0 16px; min-width: 0;
  border-right: 1px solid var(--line);
  color: var(--text-2); font-size: .8125rem; font-weight: 500;
}
.tl-name-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-kind {
  margin-left: auto; flex: none;
  color: var(--text-3);
  font-family: var(--mono); font-size: .6875rem;
}
.tl-chip { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.tl-lane { position: relative; height: 100%; margin-right: 16px; }
.tl-clip {
  position: absolute; top: 6px; bottom: 6px;
  border: 1px solid color-mix(in srgb, var(--c) 46%, transparent);
  border-radius: 5px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.tl-track.is-live .tl-clip {
  background: color-mix(in srgb, var(--c) 30%, transparent);
  border-color: color-mix(in srgb, var(--c) 78%, transparent);
}
.tl-key {
  position: absolute; top: 50%;
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 1px;
  background: var(--c);
  transform: rotate(45deg);
  box-shadow: 0 0 0 1.5px var(--bg-1);
}
.tl-wave { position: absolute; inset: 7px 0; width: 100%; height: calc(100% - 14px); opacity: .9; }
.tl-scrub {
  position: absolute; top: 0; bottom: 0;
  left: var(--label); right: 16px;
  cursor: ew-resize;
  touch-action: none;
}
.tl-scrub:focus-visible { outline-offset: -2px; }
.tl-head {
  position: absolute; top: 0; bottom: 0; left: 0;
  will-change: transform;
  pointer-events: none;
}
.tl-head-line {
  position: absolute; top: 0; bottom: 0; left: -.75px; width: 1.5px;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(240, 136, 173, .6);
}
.tl-head-knob {
  position: absolute; top: 4px; left: -6px;
  width: 12px; height: 18px;
  border-radius: 3px 3px 7px 7px;
  background: var(--pink);
  box-shadow: 0 0 0 2px var(--bg-1);
}

/* ---------- engine: shutter comparison ---------- */

.shutter { margin: clamp(56px, 6vw, 96px) 0 0; }
.shutter-stage {
  position: relative;
  aspect-ratio: 2.4 / 1;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-big);
  background: #000;
  cursor: ew-resize;
  touch-action: pan-y;
}
.shutter-canvas { width: 100%; height: 100%; }
.shutter-stage video {
  position: absolute; width: 2px; height: 2px; left: 0; top: 0;
  opacity: 0; pointer-events: none;
}
.shutter-split {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 44px; margin-left: -22px;
  touch-action: none;
}
.shutter-split::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; margin-left: -1px;
  background: var(--text);
  opacity: .9;
}
.shutter-grip {
  position: absolute; top: 50%; left: 50%;
  display: grid; place-items: center;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--text); color: #0a0a0d;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5);
  transition: transform .25s var(--ease);
}
.shutter-grip svg { width: 20px; height: 20px; }
.shutter-split:hover .shutter-grip, .shutter.is-dragging .shutter-grip { transform: scale(1.08); }
.shutter-tag {
  position: absolute; top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 8, 10, .6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  pointer-events: none;
}
.shutter-tag-off { left: 16px; }
.shutter-tag-on { right: 16px; }
.shutter-cap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 20px;
  margin-top: 16px;
  color: var(--text-3); font-size: .875rem;
}
.shutter-cap strong { color: var(--text); font-weight: 600; }
.shutter-ctl { display: flex; gap: 8px; }
.shutter.is-empty .shutter-stage { cursor: default; }
.shutter.is-empty .shutter-split, .shutter.is-empty .shutter-tag { display: none; }

/* ---------- engine: the kit ---------- */

.kit {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(56px, 6vw, 96px);
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-big);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008));
}
.kit-col { display: grid; gap: 16px; align-content: start; }
.kit-col .tags + .h3 { margin-top: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li {
  padding: 7px 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--text-2);
  font-size: .875rem; line-height: 1.3;
}

/* ---------- sound ---------- */

.sound::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 30%;
  width: min(1100px, 90vw); height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(200, 161, 230, .1), transparent 70%);
  pointer-events: none;
}
.score {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-big);
  background: var(--bg-1);
}
.score-top {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.score-play {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--text); color: #0a0a0d;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .3s var(--ease);
}
.score-play:hover { background: #fff; transform: scale(1.05); box-shadow: 0 8px 30px -6px rgba(200, 161, 230, .6); }
.score-play svg { width: 16px; height: 16px; fill: currentColor; }
.score-play .i-pause, .score.is-playing .score-play .i-play { display: none; }
.score.is-playing .score-play .i-pause { display: block; }
.score-title { display: grid; gap: 2px; min-width: 0; }
.score-title strong { color: var(--text); font-weight: 600; font-size: 1rem; }
.score-title span { color: var(--text-3); font-size: .8125rem; }
.score-tc {
  margin-left: auto;
  color: var(--text-2);
  font-family: var(--mono); font-size: .875rem;
  font-variant-numeric: tabular-nums;
}
.score-wave {
  position: relative;
  height: clamp(160px, 15vw, 220px);
  margin: 0 22px;
  cursor: ew-resize;
  touch-action: none;
}
.score-wave canvas { position: absolute; left: 0; right: 0; top: 36px; bottom: 16px; width: 100%; height: calc(100% - 52px); }
.score-shots { position: absolute; inset: 0; pointer-events: none; }
.score-shot {
  position: absolute; top: 12px; bottom: 10px;
  border-left: 1px solid var(--line-2);
}
.score-shot span {
  position: absolute; top: 0; left: 8px;
  color: var(--text-3); font-size: .75rem; font-weight: 550;
  white-space: nowrap;
}
.score-shot.is-live span { color: var(--text); }
.score-head {
  position: absolute; top: 8px; bottom: 8px; left: 0; width: 1.5px; margin-left: -.75px;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(240, 136, 173, .6);
  will-change: transform;
  pointer-events: none;
}

.trio {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(56px, 6vw, 88px);
}
.trio-item { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-2); }
.trio-item p { margin: 0; font-size: .96875rem; line-height: 1.58; }
.trio-film {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line-2);
}
.trio-film video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.trio-film:hover video { transform: scale(1.03); }
.trio-film-play {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px 0 12px;
  border-radius: 999px;
  background: rgba(10, 10, 14, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff; font-size: .8125rem; font-weight: 600;
}
.trio-film-play svg { width: 11px; height: 11px; fill: currentColor; }

/* ---------- compare ---------- */

.compare {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-big);
  background: var(--bg-1);
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: 19px 22px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: .9375rem;
  line-height: 1.5;
}
.compare thead th {
  border-top: 0;
  padding-block: 22px 20px;
  color: var(--text);
  font-size: .9375rem;
  font-weight: 600;
}
.compare tbody th { width: 21%; color: var(--text-2); font-weight: 500; }
.compare td { color: var(--text-2); }
.compare .is-us {
  width: 29%;
  background: linear-gradient(180deg, rgba(142, 178, 245, .075), rgba(240, 136, 173, .045));
  color: var(--text);
}
.compare thead .is-us { box-shadow: inset 0 2px 0 0 var(--lilac); }
.compare-us { display: inline-flex; align-items: center; gap: 10px; }
.compare-us img { width: 22px; height: 22px; }
.compare .is-quiet { color: var(--text-3); }
.compare-note {
  margin: 18px 0 0;
  color: var(--text-3);
  font-size: .8125rem;
}
.compare-note a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.compare-note a:hover { color: var(--text); }

/* ---------- install ---------- */

.cta {
  position: relative;
  isolation: isolate;
  display: grid; align-items: center;
  min-height: clamp(460px, 44vw, 600px);
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: calc(var(--r-big) + 6px);
  background: #000;
}
/* The ribbon comes out of the dark behind the words. */
.cta-media {
  position: absolute; inset: 0 0 0 auto; z-index: -1;
  width: 82%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 24%, #000 50%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 24%, #000 50%);
}
.cta-media picture { display: block; width: 100%; height: 100%; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.cta-body {
  display: grid; justify-items: start; gap: 26px;
  max-width: 820px;
  padding: clamp(32px, 6vw, 80px);
}
.cta-body .h2 { font-size: clamp(2.25rem, 1rem + 3.3vw, 3.875rem); }
.cta-body .h2 .ln + .ln { color: rgba(244, 242, 247, .6); }
.cta-fine {
  max-width: 32rem;
  margin: 0;
  color: rgba(244, 242, 247, .62);
  font-size: .875rem;
  line-height: 1.6;
}
.cta-fine code { font-size: .8125rem; }

.after {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(56px, 6vw, 88px);
}
.after-col { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-2); }
.after-col p { margin: 0; font-size: .96875rem; line-height: 1.58; }
.step-n {
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  background: var(--spectrum);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  justify-self: start;
}
.prompts { display: grid; gap: 8px; justify-items: start; margin-top: 4px; }
.prompt {
  max-width: 100%;
  padding: 9px 14px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  color: var(--text-2);
  font-size: .875rem; line-height: 1.4;
  text-align: left;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.prompt:hover { color: var(--text); border-color: var(--line-3); background: rgba(255, 255, 255, .05); }
.prompt.is-copied { border-color: color-mix(in srgb, var(--mint) 60%, transparent); color: var(--text); }
.needs {
  margin: clamp(40px, 4vw, 56px) 0 0;
  color: var(--text-3);
  font-size: .875rem;
}

/* ---------- footer ---------- */

.footer {
  margin-top: clamp(112px, 12vw, 180px);
  padding: 0 0 40px;
  border-top: 1px solid var(--line);
}
.footer-inner { display: grid; gap: 40px; padding-top: clamp(56px, 6vw, 88px); }
.footer-fann { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.fann {
  font-family: "Reem Kufi", var(--sans);
  font-size: clamp(5rem, 3rem + 9vw, 11rem);
  font-weight: 700;
  line-height: .9;
  background: var(--spectrum);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.footer-fann p { margin: 0 0 .9em; color: var(--text-3); font-size: .9375rem; }
.footer-fann em { color: var(--text); font-style: normal; font-weight: 600; }
.footer-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 34px; height: 34px; }
.footer-brand p { display: grid; margin: 0; color: var(--text-3); font-size: .875rem; line-height: 1.4; }
.footer-brand strong { color: var(--text); font-weight: 600; font-size: .9375rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: var(--text-2); font-size: .875rem; transition: color .2s var(--ease); }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--text); }
.footer-legal { margin: 0; max-width: 60rem; color: var(--text-3); font-size: .8125rem; line-height: 1.6; }

/* ---------- pages: pricing and changelog ---------- */

.page-hero { min-height: max(560px, 78svh); }
.page-hero-short { min-height: max(460px, 56svh); }
.page-hero .hero-media img { object-position: 82% 50%; }
.page-head { padding-bottom: clamp(48px, 8vh, 96px); }
.page-title {
  margin: clamp(18px, 2.2vh, 26px) 0 0;
  color: var(--text);
  font-size: clamp(4rem, 1.5rem + 10vw, 11rem);
  font-weight: 600;
  font-stretch: 108%;
  line-height: .9;
  letter-spacing: -.055em;
}
.page-hero-short .page-title { font-size: clamp(3rem, 1rem + 7vw, 7.5rem); }
.page-head .hero-lede { margin-top: clamp(18px, 2.4vh, 26px); }

/* Privacy: plain reading text. */
.legal { padding: clamp(24px, 4vw, 56px) 0 clamp(64px, 9vw, 120px); }
.legal-body { max-width: 44rem; }
.legal-date { margin: 0 0 8px; color: var(--text-3); font-size: .875rem; }
.legal h2 { margin: 40px 0 10px; color: var(--text); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 1.2em; }
.legal li { margin: 4px 0; }
.legal li::marker { color: var(--lilac); }
.legal a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--lilac); }

/* An empty timeline: one hollow key where the first release will go. */
.changes { padding-top: clamp(24px, 4vw, 56px); }
.changes-list { margin: 0; padding: 0; list-style: none; }
.changes-empty {
  position: relative;
  display: grid; gap: 4px;
  max-width: 40rem;
  padding: 6px 0 64px 38px;
}
.changes-empty::before {
  content: ""; position: absolute; left: 4px; top: 22px; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--line-3), transparent);
}
.changes-empty::after {
  content: ""; position: absolute; left: -1px; top: 10px;
  width: 11px; height: 11px;
  border: 1.5px solid var(--text-3);
  border-radius: 2px;
  background: var(--bg);
  transform: rotate(45deg);
}
.changes-empty strong { color: var(--text); font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; }
.changes-empty span { color: var(--text-3); font-size: 1rem; }

/* ---------- player dialog ---------- */

.player {
  width: min(1240px, 100% - 32px);
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-2);
  overflow: visible;
}
.player::backdrop {
  background: rgba(3, 3, 5, .84);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.player[open] { animation: player-in .5s var(--ease); }
@keyframes player-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.player-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-big);
  background: var(--bg-2);
  box-shadow: 0 60px 160px -40px rgba(0, 0, 0, .9);
}
.player-media { background: #000; }
.player-media video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.player-side { position: relative; border-left: 1px solid var(--line); }
.player-side-inner { position: absolute; inset: 0; overflow: auto; padding: 30px 28px; }
.player-meta {
  margin: 0 0 10px;
  color: var(--text-3);
  font-family: var(--mono); font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.player-title {
  margin: 0 40px 14px 0;
  color: var(--text);
  font-size: 1.5rem; font-weight: 600; font-stretch: 106%;
  line-height: 1.12; letter-spacing: -.03em;
}
.player-text { margin: 0; font-size: .9375rem; line-height: 1.6; }
.player-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(10, 10, 14, .62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  transition: background .2s var(--ease);
}
.player-close:hover { background: rgba(30, 30, 40, .8); }
.player-close svg { width: 15px; height: 15px; }

/* ---------- reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Headlines rise line by line out of a mask, the way the films set type. */
.js .h2[data-reveal] { opacity: 1; transform: none; }
.js .h2[data-reveal] .ln { overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.js .h2[data-reveal] .ln-i {
  display: block;
  transform: translateY(108%);
  transition: transform 1.15s var(--ease) calc(var(--d, 0ms) + var(--li, 0) * 110ms);
}
.js .h2[data-reveal].is-in .ln-i { transform: none; }

/* ---------- responsive ---------- */

/* Very wide screens: the picture moves right so the headline keeps clear of the ribbon. */
@media (min-width: 1600px) and (orientation: landscape) {
  .hero:not(.page-hero) .hero-media { left: 8%; }
  .hero:not(.page-hero) .hero-media img { object-position: 0% 50%; }
}

@media (max-width: 1100px) {
  .nav-links a { padding: 8px 10px; }
  .reel-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .steps-line { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .steps-line::before, .steps-line::after { display: none; }
  .tl { --label: 156px; }
  .tl-kind { display: none; }
}

/* Phones and portrait screens: the image sits above the words. */
@media (max-width: 900px), (orientation: portrait) and (max-width: 1100px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }

  .hero { min-height: 0; grid-template-rows: auto auto; }
  .hero-media {
    position: relative; inset: auto; z-index: -2;
    height: min(64svh, 118vw);
    grid-row: 1;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 98%);
    mask-image: linear-gradient(180deg, #000 58%, transparent 98%);
  }
  .hero-media img { object-position: 74% 50%; }
  .hero-shade {
    inset: 0 0 auto 0;
    height: min(64svh, 118vw);
    background: linear-gradient(180deg, rgba(5, 5, 7, .5) 0%, rgba(5, 5, 7, 0) 22%, rgba(5, 5, 7, 0) 62%, var(--bg) 100%);
  }
  .hero-content { grid-row: 2; margin-top: -18vw; padding-top: 0; padding-bottom: 8px; }
  .hero-title { max-width: none; font-size: clamp(2.5rem, 10.6vw, 4.6rem); font-stretch: 100%; }

  .desk { display: grid; gap: 0; padding-bottom: 0; }
  .viewer { width: 100%; }
  .term {
    position: relative; inset: auto;
    width: 100%;
    height: 500px;
    margin: 22px 0 0;
    font-size: .71875rem;
  }
  .viewer figcaption { text-align: left; }
  .kit { grid-template-columns: 1fr; }
  .critics-log { grid-template-columns: 1fr; gap: 18px; }
  .trio, .after { grid-template-columns: 1fr; gap: 36px; }
  .player-inner { grid-template-columns: 1fr; }
  .player-side { border-left: 0; border-top: 1px solid var(--line); }
  .player-side-inner { position: static; padding: 22px 22px 26px; }
  .player { max-height: calc(100dvh - 24px); overflow: auto; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .btn, .cmd { height: 50px; }
  .hero-actions { gap: 12px; }
  .reel-hud { padding: 14px; }
  .reel-caption { display: none; }
  .reel-hud { justify-content: flex-end; }
  .round, .pill-btn { height: 40px; }
  .round { width: 40px; }
  .reel-list {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 46%;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 6px;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .reel-list::-webkit-scrollbar { display: none; }
  .reel-list li { scroll-snap-align: start; }
  /* The steps become a vertical timeline. */
  .steps-line { grid-template-columns: 1fr; row-gap: 20px; }
  .steps-line::before, .steps-line::after {
    display: block;
    left: 4px; right: auto; top: 8px; bottom: 8px;
    width: 1px; height: auto;
  }
  .steps-line::before { background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .07)); }
  .steps-line::after { background: linear-gradient(180deg, var(--blue), var(--lilac) 50%, var(--pink)); transform-origin: 50% 0; transform: scaleY(0); }
  .steps-line.is-in::after { transform: scaleY(1); }
  .steps-line li { padding: 0 0 0 30px; }
  .steps-line .kf { top: .5em; }
  .critics { padding: 22px; }

  .tl { --label: 0px; }
  .tl-name { display: none; }
  .tl-label-head { display: none; }
  .tl-track, .tl-ruler-row { grid-template-columns: minmax(0, 1fr); }
  .tl-ruler, .tl-lane { margin-left: 12px; margin-right: 12px; }
  .tl-scrub { left: 12px; right: 12px; }
  .tl-comp-spec { display: none; }
  .tl-track { height: 22px; }
  .tl-clip { top: 5px; bottom: 5px; }
  .shutter-stage, .film-frame { aspect-ratio: 16 / 9; }
  .shutter-tag { top: 10px; font-size: .6875rem; }
  .shutter-tag-off { left: 10px; }
  .shutter-tag-on { right: 10px; }

  .score-top { padding: 16px; }
  .score-wave { margin: 0 16px; }
  .score-shot span { font-size: .6875rem; }

  .cta { min-height: 0; align-items: end; }
  .cta-media {
    position: relative; inset: auto;
    width: 100%; height: 230px;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 45%);
  }
  .cta-media img { object-position: 78% 50%; }
  .cta-body { padding: 4px 22px 30px; }
  .cmd-large { height: 58px; font-size: 1rem; gap: 18px; padding-left: 20px; }
  .cmd-large .cmd-copy { height: 42px; min-width: 70px; }

  /* The comparison reads as stacked cards on phones. */
  .compare { border: 0; border-radius: 0; background: none; overflow: visible; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--line-2);
    border-radius: var(--r-box);
    background: var(--bg-1);
  }
  .compare tbody th { padding: 14px 16px 6px; border: 0; color: var(--text); font-weight: 600; }
  .compare td {
    display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--line);
    font-size: .875rem;
  }
  .compare td::before { content: attr(data-label); color: var(--text-3); font-size: .8125rem; }
  .compare .is-us { width: auto; }
  .compare .is-us::before { color: var(--text-2); }
}

@media (max-width: 420px) {
  .cmd { gap: 14px; padding-left: 16px; }
  .cmd-copy { min-width: 60px; padding: 0 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .cmd { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .hero-media { transform: none; }
}
