/* Studio site. Shared look. Sections add their own rules in src/sections/NN-name/section.css.
   Type: Hanken Grotesk (light, tight) + IBM Plex Mono labels. One accent: pearl. No lime, no green, no teal, no drop shadows on phones.
   Everything is fluid: design at 1440, check at 390. */

:root {
  --ink: #090c11;            /* dark page */
  --ink-2: #10151c;
  --ink-3: #171d26;
  --paper: #f2f0eb;          /* light sections */
  --paper-2: #e9e6df;
  --pink: #15171b;           /* text on paper */
  --sand: #f5f3ee;           /* text on dark */
  --sand-2: rgba(245, 243, 238, .72);
  --sand-3: rgba(245, 243, 238, .46);
  --sand-4: rgba(245, 243, 238, .24);
  --pearl: #ece9e2;
  --ice: #bfe3ff;
  --tint: 12, 18, 26;
  --glass: rgba(var(--tint), .42);
  --glass-2: rgba(var(--tint), .62);
  --blur: blur(28px) saturate(150%) contrast(1.05);
  --rim: inset 1px 1px 1px -1px rgba(255, 255, 255, .55), inset -1px -1px 1px -1px rgba(255, 255, 255, .42);
  --rim-soft: inset 1px 1px 1px -1px rgba(255, 255, 255, .42), inset -1px -1px 1px -1px rgba(255, 255, 255, .3); /* a highlight on the edge, never a stroke */
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gut: clamp(18px, 4vw, 56px);
  --frame-m: clamp(8px, 1.3vw, 18px);
  --frame-r: clamp(22px, 2.6vw, 38px);
  --nav-h: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; color: var(--sand); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; overflow-x: clip; }
::selection { background: rgba(255, 255, 255, .24); }
img, video, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.defs { position: absolute; width: 0; height: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.h-xl { font: 300 clamp(44px, 7.4vw, 112px)/.98 var(--sans); letter-spacing: -.042em; text-wrap: balance; }
.h-lg { font: 300 clamp(38px, 5.6vw, 84px)/1 var(--sans); letter-spacing: -.04em; text-wrap: balance; }
.h-md { font: 400 clamp(26px, 3vw, 44px)/1.06 var(--sans); letter-spacing: -.03em; text-wrap: balance; }
.h-sm { font: 500 clamp(18px, 1.5vw, 22px)/1.2 var(--sans); letter-spacing: -.015em; }
.dim { color: var(--sand-3); }
.on-paper .dim { color: rgba(21, 23, 27, .38); }
/* the second line of a headline, in a quiet gradient (works on dark and on paper) */
.two { color: rgba(245, 243, 238, .46); }
.on-paper .two { color: #8f95a0; }
.lede { font: 400 clamp(16px, 1.32vw, 20px)/1.45 var(--sans); letter-spacing: -.008em; color: var(--sand-2); text-wrap: pretty; max-width: 34em; }
.on-paper .lede { color: rgba(21, 23, 27, .66); }
.label { display: inline-flex; align-items: center; gap: .7em; font: 500 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--sand-2); white-space: nowrap; }
.label::before { content: "["; opacity: .55; }
.label::after { content: "]"; opacity: .55; }
.label.bare::before, .label.bare::after { content: none; }
.on-paper .label { color: rgba(21, 23, 27, .6); }
.mono { font: 500 11px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gut); }
.sec { position: relative; padding-block: clamp(84px, 11vw, 168px); }
.sec.tight { padding-block: clamp(56px, 7vw, 104px); }
.on-paper { background: var(--paper); color: var(--pink); color-scheme: light; }
/* a light section is a rounded sheet on the dark page, so every hand-over between sections is soft */
.sec.on-paper { border-radius: var(--frame-r); }
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(16px, 1.6vw, 24px); margin-bottom: clamp(36px, 5vw, 72px); }
.sec-head.left { align-items: flex-start; text-align: left; }
/* a full-bleed rounded media frame (video or wallpaper behind, content on top) */
.frame { position: relative; margin-inline: var(--frame-m); border-radius: var(--frame-r); overflow: hidden; isolation: isolate; background: var(--ink-2); }
.frame.tall { min-height: min(94svh, 1020px); display: flex; }
.frame > .bg, .frame > video.bg, .frame > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.frame > .shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(6, 9, 13, .28), rgba(6, 9, 13, 0) 30%, rgba(6, 9, 13, 0) 55%, rgba(6, 9, 13, .5)); }

/* ---------- glass ---------- */
.glass { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--rim); border-radius: 22px; }
.glass.deep { background: var(--glass-2); }
.on-paper .card { background: #fff; border-radius: 24px; box-shadow: 0 1px 2px rgba(21, 23, 27, 0.06), 0 10px 28px -16px rgba(21, 23, 27, .28); }
/* corner brackets around a thing: <div class="brk"><i></i><i></i><i></i><i></i> … </div> */
.brk { position: relative; }
.brk > i { position: absolute; width: 14px; height: 14px; border: 1.5px solid currentColor; opacity: .75; pointer-events: none; }
.brk > i:nth-child(1) { left: -12px; top: -12px; border-right: 0; border-bottom: 0; }
.brk > i:nth-child(2) { right: -12px; top: -12px; border-left: 0; border-bottom: 0; }
.brk > i:nth-child(3) { left: -12px; bottom: -12px; border-right: 0; border-top: 0; }
.brk > i:nth-child(4) { right: -12px; bottom: -12px; border-left: 0; border-top: 0; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font: 500 16px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s var(--ease); }
.btn:active { transform: scale(.975); }
.btn svg { width: 18px; height: 18px; flex: none; }
/* see-through glass, for on top of footage */
.btn-glass { color: #fff; background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--rim); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-dark { color: #fff; background: #14171c; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.45), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.32); }
.btn-dark:hover { background: #1d2128; }
.btn-light { color: #111; background: var(--pearl); }
.btn-light:hover { background: #fff; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn-sm svg { width: 15px; height: 15px; }
.btn .apple { width: 17px; height: 17px; margin-top: -3px; fill: currentColor; }
.btn-sm .apple { width: 14px; height: 14px; margin-top: -2px; }
[data-beam] > [data-beam-bloom] { pointer-events: none; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 60; top: 14px; left: 50%; width: min(1180px, calc(100% - 28px)); height: var(--nav-h); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 10px 0 18px; border-radius: 20px; background: rgba(var(--tint), .34); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--rim); transition: background-color .4s var(--ease), transform .5s var(--ease), opacity .4s; }
.nav.solid { background: rgba(var(--tint), .62); }
/* out of the way while scrolling down, back on a deliberate scroll up (kit.js) */
.nav { transition: background-color .4s var(--ease), transform .55s cubic-bezier(.22, 1, .36, 1), opacity .4s ease; }
.nav.away { transform: translate3d(-50%, calc(-100% - 24px), 0); opacity: 0; pointer-events: none; }
.nav .brand { display: inline-flex; align-items: center; gap: 9px; font: 600 18px/1 var(--sans); letter-spacing: -.012em; }
.nav .brand .mark { width: 28px; height: 28px; overflow: visible; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font: 500 14.5px/1 var(--sans); color: var(--sand-2); }
.nav-links a { padding: 8px 2px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
@media (max-width: 860px) { .nav-links { display: none; } .nav { top: 10px; width: calc(100% - 20px); border-radius: 18px; --nav-h: 54px; padding-left: 14px; padding-right: 8px; } }

/* ---------- the approved hero (sections/010-hero) and the nav ----------
   The hero is drawn on a 1440 artboard (390 on phones) and scales as one piece. --hx-u is one artboard pixel, as a length:
   desktop = window width / 1440 (never under .8, never over 1920 wide, eased off in very short windows); phones = window
   width / 390 (held at the 430 size on wider windows unless the window is tall enough for more).
   The nav is part of that artboard: its width follows the app's width, and on windows wider than 1440 it grows with the hero.
   In the hero's opening it starts hidden and drops in with the button and the composer (html.hx-pre / .hx-intro are put on
   by the hero before the first paint and taken off by its section.js). The Kayla pill waits until the hero has settled. */
@property --hx-u { syntax: "<length>"; inherits: true; initial-value: 1px; }
:root { --hx-u: min(100vw / 390, max(100vh / 844, 1.1026px)); }
@supports (height: 100svh) { :root { --hx-u: min(100vw / 390, max(100svh / 844, 1.1026px)); } }
@media (min-width: 861px) and (min-aspect-ratio: 5/4) {
  :root { --hx-u: clamp(.8px, min(100vw / 1440, 100vh / 620), 1.3334px); --nav-u: max(1px, var(--hx-u)); }
  .nav { top: calc(14 * var(--nav-u)); width: min(calc(1180 * var(--hx-u)), calc(100% - 28px)); height: calc(60 * var(--nav-u)); gap: calc(16 * var(--nav-u)); padding: 0 calc(10 * var(--nav-u)) 0 calc(18 * var(--nav-u)); border-radius: calc(20 * var(--nav-u)); }
  .nav .brand { gap: calc(9 * var(--nav-u)); font-size: calc(18 * var(--nav-u)); }
  .nav .brand .mark { width: calc(28 * var(--nav-u)); height: calc(28 * var(--nav-u)); }
  .nav-links { gap: clamp(14px, 2.2vw, calc(30 * var(--nav-u))); font-size: calc(14.5 * var(--nav-u)); }
  .nav-links a { padding: calc(8 * var(--nav-u)) calc(2 * var(--nav-u)); }
  .nav .btn-sm { height: calc(40 * var(--nav-u)); padding: 0 calc(16 * var(--nav-u)); gap: calc(8 * var(--nav-u)); font-size: calc(14 * var(--nav-u)); }
  .nav .btn-sm .apple { width: calc(14 * var(--nav-u)); height: calc(14 * var(--nav-u)); margin-top: calc(-2 * var(--nav-u)); }
}
html.hx-intro .nav { transition: opacity .7s var(--ease) .2s, transform .8s var(--ease) .2s; }
html.hx-intro.hx-quick .nav { transition: opacity .45s var(--ease) .05s, transform .5s var(--ease) .05s; }
html.hx-pre .nav { opacity: 0; transform: translate3d(-50%, -18px, 0); pointer-events: none; }
html.hx-intro .kp { transform: translate3d(-50%, 140%, 0); opacity: 0; pointer-events: none; }

/* ---------- headings: words reveal left to right, from out of focus to sharp (added by kit.js) ---------- */
.bl .bw { display: inline-block; opacity: 0; filter: blur(14px); transform: translate3d(-.22em, 0, 0); transition: opacity .75s var(--ease), filter .95s var(--ease), transform .95s var(--ease); transition-delay: calc(var(--n) * var(--step, 70ms)); will-change: filter, opacity, transform; }
.bl.bl-in .bw { opacity: 1; filter: blur(0); transform: none; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; will-change: auto; } /* will-change: opacity makes an element its own backdrop root, so glass inside it would stop blurring the picture behind */
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.965); }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- the prompt field: the app kit's AI field, to the pixel, scaled by --k (1 = the kit's 54px field) ----------
   kit geometry: 54 high, radius 16, padding 0 8 0 15, gap 11, orb 20, Switzer 14.5/400, trailing 38 with an 18px glyph at .6,
   caret 2x18 #0A84FF, bevel = two inset hairlines at .5, dark glass with a real backdrop blur, md border beam around the edge */
.pf { --k: 1.3; position: relative; width: 100%; border-radius: calc(16px * var(--k)); }
.pf-field { position: relative; display: flex; align-items: center; gap: calc(11px * var(--k)); width: 100%; height: calc(54px * var(--k)); padding: 0 calc(8px * var(--k)) 0 calc(15px * var(--k)); border-radius: calc(16px * var(--k)); overflow: hidden; background-color: var(--pf-fill, rgba(14, 20, 28, .34)); -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .5), inset -1px -1px 1px -1px rgba(255, 255, 255, .5); transition: background-color .24s var(--ease-io); }
.pf[data-state="focus"] .pf-field { background-image: linear-gradient(rgba(255, 255, 255, .05), rgba(255, 255, 255, .05)); }
.pf-orb { display: block; flex: none; width: calc(20px * var(--k)); height: calc(20px * var(--k)); }
.pf-input { position: relative; flex: 1; min-width: 0; height: calc(34px * var(--k)); overflow: hidden; display: flex; align-items: center; font: 400 calc(14.5px * var(--k))/1 Switzer, var(--sans); letter-spacing: 0; color: #fff; white-space: pre; text-align: left; }
.pf-run { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; white-space: pre; will-change: transform; }
.pf-text.ph { color: rgba(255, 255, 255, .42); }
.pf-caret { display: inline-block; flex: none; width: calc(2px * var(--k)); height: calc(18px * var(--k)); border-radius: 1px; margin-left: 1px; background: #0a84ff; opacity: 0; }
.pf[data-state="focus"] .pf-caret { animation: pf-blink 1.06s steps(1) infinite; }
.pf[data-typing] .pf-caret { animation: none; opacity: 1; }
@keyframes pf-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.pf-trail { flex: none; width: calc(38px * var(--k)); height: calc(38px * var(--k)); display: flex; align-items: center; justify-content: center; gap: calc(3px * var(--k)); border-radius: 50%; transition: transform .2s var(--ease), background-color .2s; }
.pf-trail svg { width: calc(18px * var(--k)); height: calc(18px * var(--k)); opacity: .6; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; }
.pf-trail.tap { transform: scale(.86); background: rgba(255, 255, 255, .12); }
.pf-trail i { display: none; width: calc(3px * var(--k)); height: calc(3px * var(--k)); border-radius: 50%; background: #fff; animation: pf-dot 1.1s ease-in-out infinite; }
.pf-trail i:nth-of-type(2) { animation-delay: .18s; } .pf-trail i:nth-of-type(3) { animation-delay: .36s; }
@keyframes pf-dot { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
.pf[data-state="processing"] .pf-trail svg { display: none; }
.pf[data-state="processing"] .pf-trail i { display: block; }
/* the tactical frame the field sits in: mono tags above, corner brackets around */
.ask { position: relative; }
.ask-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .92); }
.ask-top b { font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.ask-top b::before { content: ""; width: 4px; height: 11px; background: currentColor; }
.ask-top span { color: rgba(255, 255, 255, .6); }
.ask-top em { font-style: normal; opacity: 0; transition: opacity .3s; }
.ask[data-busy] .ask-top em { opacity: 1; }

/* ---------- chat bubbles (the "it is just a chat" look), used by several sections ---------- */
.chat { display: flex; flex-direction: column; gap: 10px; font: 400 15px/1.4 var(--sans); }
.chat .msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.chat .msg.in { opacity: 1; transform: none; }
.chat .you { align-self: flex-end; background: rgba(255, 255, 255, .16); border-bottom-right-radius: 6px; }
.chat .claude { align-self: flex-start; background: rgba(var(--tint), .5); box-shadow: var(--rim-soft); border-bottom-left-radius: 6px; }
.chat .claude .who { display: flex; align-items: center; gap: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sand-3); margin-bottom: 7px; }
.chat .claude .who svg { width: 12px; height: 12px; fill: #d97757; }
.chat .typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.chat .typing i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; animation: pf-dot 1.1s ease-in-out infinite; }
.chat .typing i:nth-child(2) { animation-delay: .18s; } .chat .typing i:nth-child(3) { animation-delay: .36s; }

/* ---------- film modal ---------- */
.fm { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(4, 6, 9, .82); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.fm.open { opacity: 1; pointer-events: auto; }
.fm video { max-width: min(100%, 1200px); max-height: calc(100svh - 110px); border-radius: 20px; background: #000; box-shadow: 0 2px 10px -3px rgba(0, 0, 0, .45); }
.fm-x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); box-shadow: var(--rim-soft); }
.fm-x svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 1.8; fill: none; stroke-linecap: round; }
.fm-cap { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; color: var(--sand-2); }

/* ---------- Kayla: the listen pill. Fixed at the bottom centre, glass lit like a selected tab in the app; it turns to ink glass over light sections (kit.js sets .light). ---------- */
.kp { --kp-ink: 255, 255, 255; position: fixed; z-index: 70; left: 50%; bottom: clamp(12px, 1.8vw, 24px); transform: translate3d(-50%, 0, 0); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgb(var(--kp-ink)); transition: transform .6s var(--ease), opacity .5s; }
.kp.light { --kp-ink: 21, 23, 27; }
.kp.hide { transform: translate3d(-50%, 140%, 0); opacity: 0; pointer-events: none; }
.kp-tag { padding: 6px 10px; border-radius: 999px; font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgb(var(--kp-ink)); background: rgba(var(--kp-ink), .1); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: inset 1px 1px 1px -1px rgba(var(--kp-ink), 0.63), inset -1px -1px 1px -1px rgba(var(--kp-ink), 0.45); transition: opacity .4s; }
.kp.playing .kp-tag, .kp.used .kp-tag { opacity: 0; }
.kp-pill { display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 9px; border-radius: 22px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .9), inset -1px -1px 1px -1px rgba(255, 255, 255, .7), inset 2px 2px 6px -2px rgba(196, 214, 238, .6), inset -2px -2px 6px -2px rgba(242, 226, 220, .6); transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.kp.light .kp-pill { background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .34) 46%, rgba(255, 255, 255, .5));
  box-shadow: inset 0 1.5px 0 #fff, inset 1px 1px 1px -1px rgba(255, 255, 255, 1), inset -1px -1px 1px -1px rgba(255, 255, 255, 1), inset 0 -1.5px 1px rgba(21, 23, 27, .07), inset 3px 3px 8px -3px rgba(150, 180, 225, .5), inset -3px -3px 8px -3px rgba(235, 200, 185, .5), 0 1px 2px rgba(21, 23, 27, 0.07), 0 10px 28px -16px rgba(21, 23, 27, .28), 0 10px 26px -10px rgba(21, 23, 27, .28), 0 3px 8px -2px rgba(21, 23, 27, .08); }
.kp.light .kp-play { background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .5)); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 1px rgba(21, 23, 27, .08), 0 1px 2px rgba(21, 23, 27, 0.08), 0 10px 28px -16px rgba(21, 23, 27, .28), 0 3px 8px -3px rgba(21, 23, 27, .3); }
.kp-face { position: relative; width: 44px; height: 44px; border-radius: 14px; overflow: hidden; flex: none; background: #2a313b; }
.kp-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.kp-face::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--pearl); box-shadow: 0 0 0 2px rgba(12, 18, 26, .9); }
.kp-wave { display: flex; align-items: center; gap: 2px; width: 150px; height: 30px; cursor: pointer; }
.kp .kp-wave i { flex: 1; min-width: 1px; border-radius: 1px; background: rgba(var(--kp-ink), .34); transition: background-color .15s; }
.kp .kp-wave i.on { background: rgb(var(--kp-ink)); }
.kp-time { font: 500 11px/1 var(--mono); letter-spacing: .08em; color: rgba(var(--kp-ink), .8); min-width: 34px; text-align: right; }
.kp-play { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; color: rgb(var(--kp-ink)); background: rgba(var(--kp-ink), .16); box-shadow: inset 1px 1px 1px -1px rgba(var(--kp-ink), .8), inset -1px -1px 1px -1px rgba(var(--kp-ink), .5); transition: transform .2s var(--ease), background-color .3s var(--ease); }
.kp-play:hover { background: rgba(var(--kp-ink), .24); }
.kp-play:active { transform: scale(.94); }
.kp-play svg { width: 15px; height: 15px; fill: currentColor; }
.kp-play .pa { display: none; } .kp.playing .kp-play .pl { display: none; } .kp.playing .kp-play .pa { display: block; }
.kp-rate { height: 30px; padding: 0 10px; border-radius: 10px; font: 500 11px/1 var(--mono); color: rgba(var(--kp-ink), .82); background: rgba(var(--kp-ink), .07); margin-right: 4px; }
/* once the reader is past the hero the pill tucks into a small face + play, and opens again on hover or while playing */
.kp-wave, .kp-time, .kp-rate { transition: max-width .5s var(--ease), opacity .3s, margin .5s var(--ease), padding .5s var(--ease); max-width: 180px; overflow: hidden; }
.kp.mini:not(.playing):not(:hover) .kp-wave, .kp.mini:not(.playing):not(:hover) .kp-time, .kp.mini:not(.playing):not(:hover) .kp-rate { max-width: 0; min-width: 0; opacity: 0; margin: 0 -6px; padding: 0; }
.kp.mini .kp-tag { opacity: 0; }
/* close: a small x on the pill's corner (on hover with a mouse, always on touch screens); closed stays closed (kit.js, html.kp-off) */
.kp-x { position: absolute; right: -9px; bottom: 44px; z-index: 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: rgba(12, 16, 22, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.99), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.7), 0 4px 12px -4px rgba(0, 0, 0, .5); opacity: 0; transform: scale(.8); transition: opacity .2s, transform .25s var(--ease), background-color .2s; }
.kp-x::before { content: ""; position: absolute; inset: -9px; } /* a bigger target than it looks */
.kp-x svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.kp:hover .kp-x, .kp:focus-within .kp-x { opacity: 1; transform: none; }
.kp-x:hover { background: rgba(30, 36, 46, .95); }
@media (hover: none) { .kp-x { opacity: 1; transform: none; } }
html.kp-off .kp { transform: translate3d(-50%, 160%, 0) !important; opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 640px) {
  .kp-x { bottom: 38px; right: -7px; }
  .kp-wave { width: 96px; } .kp-rate { display: none; } .kp-pill { height: 56px; gap: 10px; border-radius: 20px; } .kp-face, .kp-play { width: 40px; height: 40px; }
}

/* ---------- an inline Kayla clip: <div class="vo" data-src="assets/audio/x.mp3" data-label="Kayla on …"></div> ---------- */
/* A voice message from Kayla: one glass pill, lit like a selected tab in the app (bright rim, soft inner glow, the border beam), with her face, play, the waveform and the length inside it. */
.vo { position: relative; display: inline-flex; max-width: 100%; vertical-align: top; color: var(--sand); text-align: left; }
.vo-pill { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 56px; max-width: 100%; padding: 0 18px 0 7px; border-radius: 50px;
  background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .9), inset -1px -1px 1px -1px rgba(255, 255, 255, .7), inset 2px 2px 6px -2px rgba(196, 214, 238, .62), inset -2px -2px 6px -2px rgba(242, 226, 220, .62);
  transition: background-color .3s var(--ease); }
.vo:hover .vo-pill, .vo.playing .vo-pill { background: rgba(255, 255, 255, .16); }
.vo-face { position: relative; width: 42px; height: 42px; border-radius: 50%; flex: none; background: #2a313b; box-shadow: 0 2px 10px -3px rgba(0, 0, 0, .45); }
.vo-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.vo-play { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: rgba(255, 255, 255, .2); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .95), inset -1px -1px 1px -1px rgba(255, 255, 255, .6); transition: transform .2s var(--ease), background-color .3s var(--ease); }
.vo-play:hover { background: rgba(255, 255, 255, .3); }
/* until someone has played a clip: a soft ring breathes out of the play button and a small glass tag points at it */
.vo-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 2px 10px -3px rgba(0, 0, 0, .45); opacity: 0; animation: vo-ring 2.4s var(--ease) infinite; pointer-events: none; }
@keyframes vo-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.42); opacity: 0; } }
.vo-nudge { position: absolute; z-index: 2; right: 18px; top: -14px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 8px; border-radius: 999px; font: 500 11px/1 var(--sans); letter-spacing: -.005em; color: #fff; white-space: nowrap; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .95), inset -1px -1px 1px -1px rgba(255, 255, 255, .6); pointer-events: none; animation: vo-bob 2.4s ease-in-out infinite; transition: opacity .4s var(--ease); }
.vo-nudge svg { width: 10px; height: 10px; fill: currentColor; }
@keyframes vo-bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -3px, 0); } }
.vo-heard .vo-nudge, .vo.used .vo-nudge { opacity: 0; animation: none; }
.vo-heard .vo-play::after, .vo.used .vo-play::after { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .vo-play::after, .vo-nudge { animation: none; } }
.vo-play:active { transform: scale(.94); }
.vo-play svg { width: 13px; height: 13px; fill: currentColor; }
.vo-play .pl { margin-left: 2px; }
.vo-play .pa { display: none; } .vo.playing .vo-play .pl { display: none; } .vo.playing .vo-play .pa { display: block; }
.vo-wave { display: flex; align-items: center; gap: 2px; width: clamp(120px, 14vw, 184px); height: 24px; margin-left: 2px; cursor: pointer; }
.vo-wave i, .kp-wave i { flex: 1; min-width: 1px; border-radius: 1px; background: rgba(255, 255, 255, .4); transition: background-color .15s; }
.vo-wave i.on, .kp-wave i.on { background: #fff; }
.vo-time { position: relative; font: 500 11px/1 var(--mono); letter-spacing: .06em; color: rgba(255, 255, 255, .82); min-width: 30px; text-align: right; pointer-events: none; }
.on-paper .vo { color: var(--ink); }
/* glass on a light page: there is nothing behind it to blur, so the glass is drawn: a clear body that is brighter at the top, a hard white
   highlight along the upper edge, a darker lower lip, a faint cool and warm tint inside the rim (as in the app), and a soft contact shadow so it lifts off the paper */
.on-paper .vo-pill { background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .34) 46%, rgba(255, 255, 255, .5)); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 1), inset 1px 1px 1px -1px rgba(255, 255, 255, 1), inset -1px -1px 1px -1px rgba(255, 255, 255, 1), inset 0 -1.5px 1px rgba(21, 23, 27, .07), inset 3px 3px 8px -3px rgba(150, 180, 225, .5), inset -3px -3px 8px -3px rgba(235, 200, 185, .5),
    0 1px 2px rgba(21, 23, 27, 0.07), 0 10px 28px -16px rgba(21, 23, 27, .28), 0 1px 2px rgba(21, 23, 27, .06), 0 10px 26px -10px rgba(21, 23, 27, .28), 0 3px 8px -2px rgba(21, 23, 27, .08); }
.on-paper .vo:hover .vo-pill, .on-paper .vo.playing .vo-pill { background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .5) 46%, rgba(255, 255, 255, .64)); }
.on-paper .vo-time { color: rgba(21, 23, 27, .66); }
.on-paper .vo-wave i { background: rgba(21, 23, 27, .26); }
.on-paper .vo-wave i.on { background: #15171b; }
.on-paper .vo-play { color: #15171b; background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .5)); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 1px rgba(21, 23, 27, .08), 0 1px 2px rgba(21, 23, 27, 0.08), 0 10px 28px -16px rgba(21, 23, 27, .28), 0 3px 8px -3px rgba(21, 23, 27, .3); }
.on-paper .vo-play:hover { background: #fff; }
.on-paper .vo-play::after { box-shadow: 0 1px 2px rgba(21, 23, 27, 0.08), 0 10px 28px -16px rgba(21, 23, 27, .28); }
.on-paper .vo-nudge { color: #15171b; background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .7)); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(21, 23, 27, 0.08), 0 10px 28px -16px rgba(21, 23, 27, .28), 0 4px 10px -4px rgba(21, 23, 27, .25); }
.on-paper .vo-face { box-shadow: 0 1px 2px rgba(21, 23, 27, 0.08), 0 10px 28px -16px rgba(21, 23, 27, .28); }
.vo-play .pa { display: none; } .vo.playing .vo-play .pl { display: none; } .vo.playing .vo-play .pa { display: block; }

/* ---------- footer ---------- */
.foot { position: relative; padding: clamp(40px, 5vw, 72px) 0 clamp(96px, 9vw, 120px); color: var(--sand-3); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.foot .brand { display: inline-flex; align-items: center; gap: 9px; font: 600 17px/1 var(--sans); color: var(--sand); }
.foot .brand .mark { width: 26px; height: 26px; overflow: visible; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a:hover { color: var(--sand); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; }
}

/* no page scrollbar (Chrome, Safari, Edge, Firefox); the page still scrolls with the wheel, trackpad, keys and touch */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* endless loops rest while their section is more than a screen away (kit.js, restLoops): e = the box, b = ::before, a = ::after */
[data-sk-rest~="e"], [data-sk-rest~="b"]::before, [data-sk-rest~="a"]::after { animation-play-state: paused !important; }

/* the Ask Claude composer's border beam (Studio_App composer.css). Used by pricing, the creator, the waitlist and .gx buttons., copied verbatim from Studio_App web/product/composer.css ("cx") */
@property --beam-angle-cx { syntax: "<angle>"; initial-value: 0deg; inherits: true; }
@property --beam-opacity-cx { syntax: "<number>"; initial-value: 0; inherits: true; }
[data-beam="cx"] { position: relative; border-radius: 26px; overflow: hidden; }
[data-beam="cx"][data-active] { animation: beam-spin-cx 1.96s linear infinite, beam-fade-in-cx 0.6s ease forwards; }
[data-beam="cx"][data-fading] { animation: beam-spin-cx 1.96s linear infinite, beam-fade-out-cx 0.5s ease forwards; }
[data-beam="cx"][data-active]::after, [data-beam="cx"][data-fading]::after { content: ""; position: absolute; inset: 0; border-radius: 24.5px; padding: 1.5px; clip-path: inset(0 round 26px); background: conic-gradient( from var(--beam-angle-cx), transparent 0%, transparent 54%, rgba(255, 255, 255, 0.1) 57%, rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0.6) 63%, rgba(255, 255, 255, 0.75) 66%, rgba(255, 255, 255, 0.6) 69%, rgba(255, 255, 255, 0.3) 72%, rgba(255, 255, 255, 0.1) 75%, transparent 78%, transparent 100% ),radial-gradient(ellipse 70px 40px at 33% -7.4%, rgb(0, 98, 245), transparent), radial-gradient(ellipse 60px 35px at 12% -5%, rgb(141, 153, 255), transparent), radial-gradient(ellipse 40px 70px at 2.1% 68.3%, rgb(197, 232, 255), transparent), radial-gradient(ellipse 20px 35px at 2.1% 68.3%, rgb(0, 204, 255), transparent), radial-gradient(ellipse 180px 32px at 74.4% 100%, rgb(0, 204, 255), transparent), radial-gradient(ellipse 85px 26px at 55% 100%, rgb(0, 132, 255), transparent), radial-gradient(ellipse 74px 32px at 93.9% 0%, rgb(0, 98, 245), transparent), radial-gradient(ellipse 26px 42px at 100% 27.1%, rgb(141, 153, 255), transparent), radial-gradient(ellipse 52px 48px at 100% 27.1%, rgb(197, 232, 255), transparent); -webkit-mask: conic-gradient( from var(--beam-angle-cx), transparent 0%, transparent 30%, rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%, white 52%, white 80%, rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%, transparent 95%, transparent 100% ), linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: source-in, xor; mask: conic-gradient( from var(--beam-angle-cx), transparent 0%, transparent 30%, rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%, white 52%, white 80%, rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%, transparent 95%, transparent 100% ), linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: intersect, exclude; pointer-events: none; z-index: 2; opacity: calc(var(--beam-opacity-cx) * 0.83 * var(--beam-stroke-opacity, 1) * var(--beam-strength, 1)); animation: beam-hue-shift-cx 12s ease-in-out infinite; }
[data-beam="cx"][data-active]::before, [data-beam="cx"][data-fading]::before { content: ""; position: absolute; inset: 0; border-radius: 26px; background: radial-gradient(ellipse 63px 36px at 33% -7.4%, rgba(0, 98, 245, 0.45), transparent), radial-gradient(ellipse 54px 32px at 12% -5%, rgba(141, 153, 255, 0.45), transparent), radial-gradient(ellipse 36px 63px at 2.1% 68.3%, rgba(197, 232, 255, 0.45), transparent), radial-gradient(ellipse 18px 32px at 2.1% 68.3%, rgba(0, 204, 255, 0.45), transparent), radial-gradient(ellipse 162px 29px at 74.4% 100%, rgba(0, 204, 255, 0.45), transparent), radial-gradient(ellipse 77px 23px at 55% 100%, rgba(0, 132, 255, 0.45), transparent), radial-gradient(ellipse 67px 29px at 93.9% 0%, rgba(0, 98, 245, 0.45), transparent), radial-gradient(ellipse 23px 38px at 100% 27.1%, rgba(141, 153, 255, 0.45), transparent), radial-gradient(ellipse 47px 43px at 100% 27.1%, rgba(197, 232, 255, 0.45), transparent); box-shadow: inset 0 0 9px 1px rgba(255, 255, 255, 0.27); -webkit-mask-image: conic-gradient( from var(--beam-angle-cx), transparent 0%, transparent 30%, rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%, white 52%, white 80%, rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%, transparent 95%, transparent 100% ), linear-gradient(white, transparent 28px, transparent calc(100% - 28px), white), linear-gradient(to right, white, transparent 28px, transparent calc(100% - 28px), white); -webkit-mask-composite: source-in, source-over; mask-image: conic-gradient( from var(--beam-angle-cx), transparent 0%, transparent 30%, rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%, white 52%, white 80%, rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%, transparent 95%, transparent 100% ), linear-gradient(white, transparent 28px, transparent calc(100% - 28px), white), linear-gradient(to right, white, transparent 28px, transparent calc(100% - 28px), white); mask-composite: intersect, add; pointer-events: none; z-index: 1; opacity: calc(var(--beam-opacity-cx) * 1.00 * var(--beam-inner-opacity, 1) * var(--beam-strength, 1)); clip-path: inset(0 round 26px); animation: beam-hue-shift-cx 12s ease-in-out infinite; }
[data-beam="cx"] [data-beam-bloom] { display: none; position: absolute; inset: 0; border-radius: 24.5px; clip-path: inset(0 round 26px); background: conic-gradient( from var(--beam-angle-cx), transparent 0%, transparent 58%, rgba(255, 255, 255, 0.03) 62%, rgba(255, 255, 255, 0.08) 65%, rgba(255, 255, 255, 0.2) 67%, rgba(255, 255, 255, 0.45) 69%, rgba(255, 255, 255, 0.85) 70%, rgba(255, 255, 255, 0.85) 70.5%, rgba(255, 255, 255, 0.45) 71.5%, rgba(255, 255, 255, 0.2) 73%, rgba(255, 255, 255, 0.08) 75%, rgba(255, 255, 255, 0.03) 78%, transparent 82% ); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; padding: 1.5px; filter: blur(12px) brightness(1.30) saturate(1.20); pointer-events: none; z-index: 3; opacity: 0; }
[data-beam="cx"][data-active] [data-beam-bloom], [data-beam="cx"][data-fading] [data-beam-bloom] { display: block; opacity: calc(var(--beam-opacity-cx) * 0.77 * var(--beam-bloom-opacity, 1) * var(--beam-strength, 1)); }
@keyframes beam-spin-cx { to { --beam-angle-cx: 360deg; } }
@keyframes beam-fade-in-cx { to { --beam-opacity-cx: 1; } }
@keyframes beam-fade-out-cx { from { --beam-opacity-cx: 1; } to { --beam-opacity-cx: 0; } }
@keyframes beam-hue-shift-cx { 0% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - 6deg)) brightness(1.30) saturate(1.20); } 50% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) + 6deg)) brightness(1.30) saturate(1.20); } 100% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - 6deg)) brightness(1.30) saturate(1.20); } }
[data-beam="cx"][data-paused], [data-beam="cx"][data-paused]::after, [data-beam="cx"][data-paused]::before, [data-beam="cx"][data-paused] [data-beam-bloom] { animation-play-state: paused !important; }

/* ---------- .gx: the glass button with the composer's border beam (Continue, Get early access, the floating button).
   Markup: <a class="gx"><span class="gx-beam" data-beam="cx" data-active aria-hidden="true"><span data-beam-bloom></span></span> … </a>
   (SK.gx(el) adds the beam layer). .gx.hot runs the beam harder (the submit button); .gx.paper sits on light sections. ---------- */
.gx { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font: 500 16px/1 var(--sans); letter-spacing: -.01em; color: #fff; white-space: nowrap; text-decoration: none; cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05) 52%, rgba(255, 255, 255, .09)), rgba(10, 14, 20, .5); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .9), inset -1px -1px 1px -1px rgba(255, 255, 255, .6), inset 0 0 18px rgba(160, 200, 255, .1);
  transition: transform .25s var(--ease), background-color .25s var(--ease), opacity .25s, box-shadow .3s; }
.gx > :not(.gx-beam) { position: relative; z-index: 4; }
.gx:hover { box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .95), inset -1px -1px 1px -1px rgba(255, 255, 255, .7), inset 0 0 22px rgba(170, 210, 255, .2); }
.gx:active { transform: scale(.975); }
.gx[disabled], .gx[aria-disabled="true"] { opacity: .42; cursor: default; }
.gx[disabled] > .gx-beam, .gx[aria-disabled="true"] > .gx-beam { display: none; }
.gx svg { width: 17px; height: 17px; flex: none; }
.gx .ea-ic, .gx svg.fill { fill: currentColor; }
.gx .arw { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.gx:hover .arw { transform: translateX(3px); }
/* the beam layer follows the button's pill shape */
.gx > .gx-beam { position: absolute !important; inset: 0; z-index: 0; border-radius: inherit !important; overflow: hidden; pointer-events: none; --beam-strength: 1.15; }
.gx > .gx-beam::after, .gx > .gx-beam::before, .gx > .gx-beam [data-beam-bloom] { border-radius: inherit !important; clip-path: none !important; }
.gx.hot > .gx-beam { --beam-strength: 1.9; }
.gx.hot { background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06) 50%, rgba(190, 220, 255, .14)), rgba(12, 18, 28, .46); box-shadow: inset 1px 1px 1px -1px #fff, inset -1px -1px 1px -1px rgba(255, 255, 255, .75), inset 0 0 26px rgba(150, 200, 255, .22), 0 10px 40px -12px rgba(60, 140, 255, .45); }
/* the round pearl end, like the composer's send button */
.gx .go { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -18px; margin-left: 4px; border-radius: 50%; color: #10151c; background: var(--pearl); box-shadow: inset 1px 1px 1px -1px #fff; transition: transform .3s var(--ease); }
.gx:hover .go { transform: translateX(2px); }
.gx .go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gx.sm { height: 44px; padding: 0 18px; font-size: 15px; gap: 8px; }
.gx.sm .go { width: 32px; height: 32px; margin-right: -12px; }
/* on light sections: the same glass, darker so the beam and the words read on paper */
.gx.paper { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 55%), rgba(16, 20, 28, .9); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .7), inset -1px -1px 1px -1px rgba(255, 255, 255, .4), 0 14px 34px -14px rgba(20, 60, 140, .55), 0 2px 6px -2px rgba(16, 20, 28, .3); }
.gx.paper > .gx-beam { --beam-strength: 1.7; }
@media (prefers-reduced-motion: reduce) { .gx > .gx-beam { display: none; } }


/* ===== 010-hero ===== */
/* 010 hero: the approved "Hero A · App leans back", ported from the design canvas (HeroA / StudioApp / hero.css).
   Layout, type, colours, glass and timings are the canvas's own values, kept in its artboard pixels. One number scales it:
   --hx-u (base.css) is one artboard pixel as a length, --k is the same thing as a plain number (set here with trig, and
   again by section.js for browsers without it). Desktop artboard 1440 x 1100, phone 390 x 844; which one is a media query
   (the same one as in base.css and section.js). Class prefixes are the canvas's: hx- hero, cp- composer, sa- app shell and
   Home, ed- editor, sae- Aesthetic (ae- on the canvas; that prefix is taken by section 100), so- Social, ak- Ask Claude.
   States on #hero: .pre .w0 (opening), .go (app rising), .off (out of view: every animation paused). */
#hero { --ez: cubic-bezier(.2, .8, .2, 1); --ezio: cubic-bezier(.65, 0, .35, 1); --sans: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace; --rim: inset 1px 1px 1px -1px rgba(255, 255, 255, .55), inset -1px -1px 1px -1px rgba(255, 255, 255, .42); --tilt: 16deg; --as: .8194; --k: tan(atan2(var(--hx-u), 1px)); --hx-top: max(0px, calc(74px - 74 * var(--hx-u))); --hx-vh: 100vh; position: relative; overflow: hidden; height: max(var(--hx-vh), calc(1100 * var(--hx-u) + var(--hx-top))); background: #090c11; color: #f5f3ee; font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
@supports (height: 100svh) { #hero { --hx-vh: 100svh; } }
#hero *, #hero *::before, #hero *::after { box-sizing: border-box; }
#hero a { color: inherit; text-decoration: none; }
#hero img, #hero svg { display: block; max-width: none; }
#hero .hx-hero { position: absolute; inset: 0; overflow: hidden; border-radius: 0 0 var(--frame-r) var(--frame-r); background: #1b2a44; }
#hero .hx-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; animation: hx-push 14s linear infinite alternate; }
@keyframes hx-push { from { transform: scale(1.03); } to { transform: scale(1.13); } }
#hero .hx-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 14, 28, .42), rgba(8, 14, 28, .10) 26%, rgba(8, 14, 28, 0) 50%, rgba(8, 12, 20, .34)); }
/* the artboard: 1440 wide (390 on phones), laid out in its own pixels and scaled as one piece from the top centre.
   --hx-top: the nav does not shrink below its own size (or grow on phones), so the artboard slides by the difference and the gap under the nav stays in proportion */
#hero .hx-fit { position: absolute; z-index: 2; left: 50%; top: var(--hx-top); width: 1440px; margin-left: -720px; transform-origin: 50% 0; transform: scale(var(--k)); }
#hero .hx-u { position: absolute; left: 0; top: 0; width: calc(1000 * var(--hx-u)); height: 0; visibility: hidden; pointer-events: none; }
#hero .hx-defs { position: absolute; }
/* ---------- the Download button (the nav's own button is the site's, in base.css) ---------- */
#hero .hx-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px 0 24px; border-radius: 999px; font: 500 16.5px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; color: inherit; background: rgba(10, 16, 28, .22); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--rim); }
#hero .hx-btn:hover { background: rgba(10, 16, 28, .38); color: #fff; }
#hero .hx-btn > svg { flex: none; width: 17px; height: 17px; margin-top: -3px; fill: currentColor; }
#hero .hx-btn > span:not([data-beam-bloom]) { position: relative; z-index: 2; }
/* ---------- words ---------- */
#hero .hx-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 103.5px 40px 0; }
#hero .hx-head { display: flex; flex-direction: column; align-items: center; transform-origin: 50% 50%; transition: transform 1s var(--ezio); will-change: transform; --hy: calc((var(--hx-vh) / 2 - var(--hx-top)) / var(--k) - 159px); }
/* the opening: lockup and headline sit dead centre of the screen (on the 1440 x 1100 artboard that is the canvas's 391px; 270px on the 390 x 844 one), a touch larger */
#hero.pre .hx-head { transform: translate3d(0, var(--hy), 0) scale(var(--hs, 1.1)); }
#hero .hx-lock { display: inline-flex; align-items: center; gap: 9px; font: 500 11.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #fff; transition: opacity .6s var(--ez), transform .7s var(--ez), filter .7s var(--ez); }
#hero .hx-lock .mk { width: 22px; height: 22px; overflow: visible; margin-right: -2px; }
#hero .hx-lock .cl { width: 16px; height: 16px; fill: #fff; }
#hero .hx-lock .x { opacity: .6; margin: 0 5px; font-size: 14px; letter-spacing: 0; }
#hero.w0 .hx-lock { opacity: 0; transform: translateY(8px); filter: blur(10px); }
#hero .hx-h1 { margin-top: 20px; font: 300 68.4px/1.02 var(--sans); letter-spacing: -.042em; color: #f5f3ee; white-space: nowrap; }
#hero .hx-bw { display: inline-block; margin-right: .21em; transition: opacity .6s var(--ez), filter .8s var(--ez), transform .8s var(--ez); transition-delay: calc(var(--n) * 60ms + 80ms); will-change: filter, opacity, transform; }
#hero .hx-bw.hx-two { opacity: .78; }
#hero .hx-bw.end { margin-right: 0; }
#hero .hx-br { display: none; }
#hero.w0 .hx-bw { opacity: 0; filter: blur(20px); transform: translate3d(-.32em, 0, 0); }
#hero .hx-dl { margin-top: 26px; transition: opacity .7s var(--ez) .3s, transform .8s var(--ez) .3s, background-color .25s; }
#hero.pre .hx-dl { opacity: 0; transform: translateY(20px); }
#hero .hx-send-help { display: none; }
/* Enter site (first visit of a session): sand, dark text, the Download button's size and beam; fades in under the sharp words */
#hero .hx-head { position: relative; }
#hero .hx-gate { position: absolute; left: 50%; top: 100%; display: flex; flex-direction: column; align-items: center; margin-top: 34px; transform: translateX(-50%) translateY(10px); opacity: 0; transition: opacity .6s var(--ez), transform .7s var(--ez); }
#hero .hx-gate[hidden] { display: none; }
#hero .hx-gate.on { opacity: 1; transform: translateX(-50%); }
#hero .hx-enter { color: #0b0c0e; background: #f5f3ee; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; padding: 0 30px 0 24px; }
#hero .hx-enter:hover { background: #fff; color: #0b0c0e; }
#hero .hx-enter > svg { width: 18px; height: 18px; margin-top: 0; fill: currentColor; }
#hero .hx-enter > svg .w { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
#hero .hx-enter:focus-visible, #hero .hx-g-mute:focus-visible { outline: 2px solid #f5f3ee; outline-offset: 4px; }
#hero .hx-g-sub { margin-top: 14px; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(245, 243, 238, .46); }
#hero .hx-g-mute { margin-top: 12px; padding: 6px 10px; border: 0; background: none; font: 400 13.5px/1 var(--sans); color: rgba(245, 243, 238, .6); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(245, 243, 238, .25); text-underline-offset: 4px; }
#hero .hx-g-mute:hover { color: #f5f3ee; }
/* while it waits: the page does not scroll; with reduced motion (no intro) the button and composer wait too */
/* html.hx-hold (the page holds still until Enter) is styled in src/shell.html, so it is there on the first frame */
#hero.hold .hx-dl, #hero.hold .cp { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { #hero .hx-gate { transition: none; } }
/* ---------- the composer: the site's chat composer (060-carry), one line tall, tighter ---------- */
#hero .cp { position: relative; width: 640px; margin-top: 30px; padding: 16px 12px 12px 20px; border-radius: 26px; background: rgba(5, 7, 11, .62); -webkit-backdrop-filter: blur(26px) saturate(130%); backdrop-filter: blur(26px) saturate(130%); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .5), inset -1px -1px 1px -1px rgba(255, 255, 255, .5); color: #fff; text-align: left; transition: opacity .7s var(--ez) .4s, transform .8s var(--ez) .4s; }
#hero.pre .cp { opacity: 0; transform: translateY(22px); }
#hero .cp-ask { position: relative; z-index: 2; height: 1.32em; padding-right: 8px; overflow: hidden; white-space: nowrap; font: 400 19px/1.32 var(--sans); letter-spacing: -.012em; }
#hero .cp-t.ph { color: rgba(255, 255, 255, .42); }
#hero .cp-caret { display: inline-block; width: 2px; height: 1.08em; margin-left: 2px; border-radius: 1px; vertical-align: -.18em; background: #0a84ff; opacity: 0; }
#hero .cp.typing .cp-caret { opacity: 1; }
#hero .cp-row { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; margin-top: 6px; }
#hero .cp-lock { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--sans); letter-spacing: -.01em; color: rgba(255, 255, 255, .92); }
#hero .cp-lock .x { opacity: .45; margin: 0 1px; }
#hero .cp-app { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.4), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.29); }
#hero .cp-app svg { width: 18px; height: 18px; overflow: visible; }
#hero .cp-spark { width: 17px; height: 17px; fill: #d97757; }
#hero .cp-state { margin-left: auto; font: 500 9.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(245, 243, 238, .46); opacity: 0; transition: opacity .3s; }
#hero .cp.working .cp-state { opacity: 1; }
#hero .cp-send { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 3px; background: rgba(255, 255, 255, .1); transition: transform .2s var(--ez), background-color .25s; }
#hero .cp-state + .cp-send { margin-left: 0; }
#hero .cp-send svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
#hero .cp.has .cp-send { background: #ece9e2; }
#hero .cp.has .cp-send svg { stroke: #10151c; }
#hero .cp.tap .cp-send { transform: scale(.86); }
#hero .cp-send i { display: none; width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: cp-dot 1.1s ease-in-out infinite; }
#hero .cp-send i:nth-of-type(2) { animation-delay: .18s; }
#hero .cp-send i:nth-of-type(3) { animation-delay: .36s; }
@keyframes cp-dot { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
#hero .cp.working .cp-send { background: rgba(255, 255, 255, .1); }
#hero .cp.working .cp-send svg { display: none; }
#hero .cp.working .cp-send i { display: block; }
/* ---------- the app, live, straight on the sky, leaning back ---------- */
#hero .hx-stage { position: relative; width: 1180px; height: 737.5px; margin-top: 22px; perspective: 1800px; perspective-origin: 50% 35%; pointer-events: none; }
#hero .hx-app3d { width: 100%; height: 100%; transform-origin: 50% 100%; transform: rotateX(var(--tilt)); will-change: transform; }
#hero .hx-appfit { width: 1440px; height: 900px; transform-origin: 0 0; transform: scale(var(--as)); }
#hero.pre .hx-app3d { transform: translate3d(0, 640px, 0) rotateX(0deg); }
#hero.go .hx-app3d { animation: hx-rise 1.7s both .1s; }
/* after Enter (.quick): the same reveal, quicker, so the site is ready about a second after the press instead of nearly two */
#hero.quick .hx-head { transition-duration: .6s; }
#hero.quick .hx-dl { transition: opacity .45s var(--ez) .1s, transform .5s var(--ez) .1s, background-color .25s; }
#hero.quick .cp { transition: opacity .45s var(--ez) .15s, transform .5s var(--ez) .15s; }
#hero.quick.go .hx-app3d { animation-duration: 1s; animation-delay: 0s; }
@keyframes hx-rise { 0% { transform: translate3d(0, 640px, 0) rotateX(0deg); animation-timing-function: cubic-bezier(.16, .84, .3, 1); } 58% { transform: translate3d(0, 0, 0) rotateX(0deg); animation-timing-function: cubic-bezier(.45, 0, .25, 1); } 100% { transform: translate3d(0, 0, 0) rotateX(var(--tilt)); } }
/* =====================================================================    The Studio app, live: the real shell (sidebar) and Home, no wallpaper of its own.    Designed at 1440 x 900, the app's own size. Prefix: sa-    ===================================================================== */
#hero .sa { --sand: #F5F3EE; --sand2: rgba(245, 243, 238, .76); --sand3: rgba(245, 243, 238, .46); --g: rgba(255, 255, 255, .045); --vrim: inset 1px 1px 1px -1px rgba(255, 255, 255, .6), inset -1px -1px 1px -1px rgba(255, 255, 255, .5); --vrim-on: inset 1px 1px 1px -1px rgba(255, 255, 255, .9), inset -1px -1px 1px -1px rgba(255, 255, 255, .7), inset 2px 2px 5px -2px rgba(196, 214, 238, .62), inset -2px -2px 5px -2px rgba(242, 226, 220, .62); --glass: rgba(12, 19, 28, .38); --blur: blur(30px) saturate(145%) contrast(1.06); position: relative; width: 1440px; height: 900px; color: var(--sand); font: 400 14px/1.3 'Hanken Grotesk', 'Helvetica Neue', Helvetica, sans-serif; text-align: left; -webkit-font-smoothing: antialiased; }
#hero .sa *, #hero .sa *::before, #hero .sa *::after { box-sizing: border-box; }
#hero .sa img, #hero .sa svg { display: block; }
#hero .sa .ic { fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
#hero .sa-mono { font: 500 10.5px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; text-transform: uppercase; }
#hero .sa-side { position: absolute; left: 16px; top: 16px; bottom: 16px; width: 244px; border-radius: 28px; padding: 16px 12px 12px; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(var(--glass), var(--glass)), var(--gb-img, none) var(--gb-pos, 50% 50%) / var(--gb-size, cover) no-repeat, rgba(18, 30, 46, .55); box-shadow: var(--vrim); }
#hero .sa-brand { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 8px; margin-bottom: 6px; flex: none; }
#hero .sa-brand > svg:first-child { width: 30px; height: 30px; overflow: visible; flex: none; }
#hero .sa-brand span { font: 600 20px/1 'Hanken Grotesk', sans-serif; letter-spacing: -.02em; }
#hero .sa-pin { margin-left: auto; width: 16px; height: 16px; color: #fff; }
#hero .sa-sel { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 10px; margin-bottom: 8px; border-radius: 14px; flex: none; font-weight: 500; font-size: 13.5px; background: var(--g); box-shadow: var(--vrim); }
#hero .sa-sel .gr { width: 18px; height: 18px; fill: var(--sand); }
#hero .sa-sel .ch { margin-left: auto; width: 12px; height: 12px; color: var(--sand2); }
#hero .sa-tabs { display: flex; flex-direction: column; gap: 2px; flex: 1; min-height: 0; }
#hero .sa-sec { font-size: 12px; line-height: 1; color: var(--sand2); padding: 12px 14px 6px; }
#hero .sa-tab { position: relative; display: flex; align-items: center; flex: none; height: 42px; padding: 0 14px 0 5px; border-radius: 21px; font-weight: 500; font-size: 14.5px; line-height: 1; color: var(--sand2); white-space: nowrap; }
#hero .sa-tab > .ic { width: 20px; height: 20px; margin: 0 22px 0 9px; flex: none; }
#hero .sa-tab > .meta { width: 22px; height: 13px; margin: 0 21px 0 8px; flex: none; }
#hero .sa-logos { display: inline-flex; align-items: center; justify-content: center; width: 38px; margin: 0 13px 0 0; flex: none; }
#hero .sa-logos > * { width: 18px; height: 18px; border-radius: 5px; margin-left: -8px; flex: none; overflow: hidden; }
#hero .sa-logos > :first-child { margin-left: 0; transform: rotate(-10deg); }
#hero .sa-logos > :nth-child(2) { transform: rotate(6deg) translateY(-1px); }
#hero .sa-logos > :nth-child(3) { transform: rotate(-4deg) translateY(1px); }
#hero .sa-n { margin-left: auto; padding-left: 10px; font-weight: 400; font-size: 12px; color: var(--sand2); font-variant-numeric: tabular-nums; }
#hero .sa-ask { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px 0 12px; margin-top: 8px; border-radius: 22px; flex: none; font-weight: 500; font-size: 14.5px; color: var(--sand2); background: var(--g); box-shadow: var(--vrim); }
#hero .sa-ask svg { width: 22px; height: 22px; flex: none; }
#hero .sa-ask kbd { margin-left: auto; font: 500 10px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; color: var(--sand3); }
#hero .sa-set { margin-top: 6px; }
#hero .sa-home { position: absolute; top: 16px; left: 276px; right: 16px; bottom: 16px; border-radius: 28px; box-shadow: var(--vrim); color: #FFFBF4; background: linear-gradient(var(--glass), var(--glass)), var(--gb-img, none) var(--gb-pos, 50% 50%) / var(--gb-size, cover) no-repeat, rgba(18, 30, 46, .55); }
#hero .sa-coord { position: absolute; top: 22px; right: 30px; display: flex; gap: 14px; letter-spacing: .2em; white-space: nowrap; }
#hero .sa-coord .sa-dim { opacity: .55; }
#hero .sa-hbtns { position: absolute; top: 48px; right: 22px; display: flex; gap: 8px; align-items: center; }
#hero .sa-round, #hero .sa-view { height: 44px; border-radius: 999px; display: grid; place-items: center; color: #FFFBF4; background: rgba(255, 255, 255, .07); box-shadow: var(--vrim); }
#hero .sa-round { width: 44px; }
#hero .sa-round svg, #hero .sa-view svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
#hero .sa-view { display: flex; align-items: center; gap: 10px; padding: 0 14px 0 8px; font-size: 13px; white-space: nowrap; }
#hero .sa-view img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 1), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.96); }
#hero .sa-view .sm { width: 12px; height: 12px; }
#hero .sa-view.txt { padding: 0 16px 0 14px; font-weight: 500; }
#hero .sa-greet { position: absolute; left: 44px; top: 44px; }
#hero .sa-date { letter-spacing: .2em; opacity: .92; white-space: nowrap; }
#hero .sa-hello { font-weight: 300; font-size: 58px; line-height: 1; letter-spacing: -.035em; margin: 22px 0 0 -3px; white-space: nowrap; }
#hero .sa-line { font-weight: 500; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; margin-top: 16px; white-space: nowrap; }
#hero .sa-chips { display: flex; gap: 8px; margin-top: 22px; }
#hero .sa-chip { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 14px 0 6px; border-radius: 999px; font-weight: 500; font-size: 13.5px; background: rgba(255, 255, 255, .07); box-shadow: var(--vrim); }
#hero .sa-chip img { width: 24px; height: 24px; border-radius: 7px; }
#hero .sa-band { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
#hero .sa-row { display: grid; grid-template-columns: 316px minmax(0, 1fr) 262px; gap: 12px; align-items: end; }
#hero .sa-w, #hero .sa-calw { position: relative; border-radius: 24px; min-width: 0; box-shadow: var(--vrim); background: var(--g); }
#hero .sa-w { padding: 14px 16px 16px; display: flex; flex-direction: column; height: 230px; }
#hero .sa-wh { display: flex; align-items: center; gap: 8px; height: 28px; margin-bottom: 12px; flex: none; min-width: 0; white-space: nowrap; }
#hero .sa-wt { font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: -.01em; }
#hero .sa-wn { font-size: 12px; color: var(--sand2); font-variant-numeric: tabular-nums; display: flex; gap: 10px; }
#hero .sa-wn b { color: #fff; font-weight: 500; }
#hero .sa-ws { font: 500 9.5px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--sand3); }
#hero .sa-fl { flex: 1; min-width: 0; }
#hero .sa-pill { height: 28px; padding: 0 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 11.5px; line-height: 1; color: var(--sand2); white-space: nowrap; flex: none; background: var(--g); box-shadow: var(--vrim); }
#hero .sa-pill svg, #hero .sa-tool svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
#hero .sa-tool { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--sand2); flex: none; }
#hero .sa-strip { flex: 1; min-height: 0; display: flex; gap: 8px; overflow: hidden; }
#hero .sa-vt { position: relative; height: 100%; width: 90px; flex: none; border-radius: 12px; overflow: hidden; background: #141c26; }
#hero .sa-vt > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
#hero .sa-vt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .55), inset -1px -1px 1px -1px rgba(255, 255, 255, .4); }
#hero .sa-st { position: absolute; left: 6px; top: 6px; z-index: 2; height: 20px; padding: 0 7px 0 6px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 9.5px; line-height: 1; color: #fff; white-space: nowrap; background: linear-gradient(135deg, rgba(191, 227, 255, .3), rgba(16, 20, 26, .56) 70%); box-shadow: inset 1px 1px 1px -1px rgba(255, 240, 170, .9), inset -1px -1px 1px -1px rgba(191, 227, 255, .6); }
#hero .sa-st i { width: 6px; height: 6px; border-radius: 50%; background: #BFE3FF; flex: none; }
#hero .sa-bl { position: absolute; left: 6px; top: 6px; z-index: 2; width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: rgba(16, 20, 26, .5); box-shadow: var(--vrim); }
#hero .sa-bl img, #hero .sa-lg { width: 13px; height: 13px; border-radius: 3.5px; object-fit: cover; flex: none; }
#hero .sa-crl { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
#hero .sa-crr { display: flex; align-items: center; gap: 10px; min-width: 0; flex: none; }
#hero .sa-crv { width: 28px; height: 50px; border-radius: 5px; object-fit: cover; flex: none; }
#hero .sa-crb { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
#hero .sa-crx { display: flex; align-items: center; gap: 5px; font-weight: 600; font-size: 13px; line-height: 1; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
#hero .sa-crx span { margin-left: 3px; }
#hero .sa-crn { margin-top: 4px; font-size: 11px; line-height: 1.2; color: var(--sand2); font-variant-numeric: tabular-nums; white-space: nowrap; }
#hero .sa-ad { height: 26px; margin-left: auto; flex: none; padding: 0 10px 0 8px; border-radius: 999px; display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 11px; line-height: 1; color: var(--sand); white-space: nowrap; background: var(--g); box-shadow: var(--vrim); }
#hero .sa-ad svg { width: 14px; height: 9px; }
#hero .sa-calw { padding: 11px 14px 14px; }
#hero .sa-calw .sa-wh { margin: 0 52px 0 0; }
#hero .sa-days { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; margin: 8px 52px 0 0; }
#hero .sa-dc { position: relative; height: 90px; border-radius: 13px; padding: 7px 7px 6px; display: flex; flex-direction: column; min-width: 0; background: var(--g); box-shadow: var(--vrim); transition: background-color .5s; }
#hero .sa-dc.today { background: rgba(255, 255, 255, .12); }
#hero .sa-dc.past { opacity: .42; }
#hero .sa-dlb { display: flex; align-items: center; justify-content: space-between; gap: 4px; font: 500 9px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--sand2); white-space: nowrap; overflow: hidden; }
#hero .sa-dc.today .sa-dlb { color: #fff; }
#hero .sa-dps { display: flex; align-items: flex-end; gap: 4px; margin-top: auto; min-width: 0; }
#hero .sa-dp1 { width: 22px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
#hero .sa-dp1 img { width: 22px; height: 39px; border-radius: 4px; object-fit: cover; box-shadow: 0 1px 2px rgba(10, 14, 20, 0.08), 0 10px 28px -16px rgba(10, 14, 20, .28); }
#hero .sa-dp1 span { font: 500 8px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; letter-spacing: .02em; color: var(--sand2); white-space: nowrap; }
#hero .sa-dc.gap { background: transparent; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .75), inset -1px -1px 1px -1px rgba(255, 255, 255, .6); }
#hero .sa-gw { position: absolute; left: 7px; bottom: 6px; display: flex; flex-direction: column; gap: 5px; transition: opacity .35s; }
#hero .sa-gw b { font: 500 9px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
#hero .sa-gw span { font-size: 9.5px; line-height: 1; color: var(--sand2); }
#hero .sa-at { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 17px; line-height: 1; color: #FFFBF4; background: rgba(255, 255, 255, .07); box-shadow: var(--vrim); }
#hero .hx-col { display: flex; flex-direction: column; align-items: center; }
/* =====================================================================    Studio app screens: Home, Full edits (editor), Aesthetic, Social, Ask Claude.    One glass panel (.sa-home) holds them; the prompt decides which one shows.    ===================================================================== */
#hero .sa { --e: cubic-bezier(.2, .8, .2, 1); }
#hero .scr { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; opacity: 0; visibility: hidden; transform: scale(.985); transition: opacity .5s var(--e), transform .7s var(--e), visibility 0s .5s; }
#hero .sa.v-home .scr-home, #hero .sa.v-edit .scr-edit, #hero .sa.v-aes .scr-aes, #hero .sa.v-social .scr-social, #hero .sa.v-ask .scr-ask { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--e) .12s, transform .75s var(--e) .12s, visibility 0s; }
#hero .sa.v-home .t-home, #hero .sa.v-edit .t-edit, #hero .sa.v-aes .t-aes, #hero .sa.v-social .t-social { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: var(--vrim-on); }
#hero .sa.v-home .t-home .sa-n, #hero .sa.v-edit .t-edit .sa-n, #hero .sa.v-aes .t-aes .sa-n, #hero .sa.v-social .t-social .sa-n { color: rgba(255, 255, 255, .85); }
#hero .sa.v-ask .sa-ask { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: var(--vrim-on); }
#hero .sa-ask, #hero .sa-tab { transition: background-color .35s, color .35s, box-shadow .35s; }
/* things that arrive when their screen opens: --d is the delay in ms */
#hero .in-up { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--e), transform .7s var(--e); }
#hero .sa.v-edit .scr-edit .in-up, #hero .sa.v-aes .scr-aes .in-up, #hero .sa.v-social .scr-social .in-up, #hero .sa.v-ask .scr-ask .in-up { opacity: 1; transform: none; transition-delay: calc(var(--d, 0) * 1ms + 250ms); }
#hero .ui-b { height: 36px; padding: 0 13px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; flex: none; font-weight: 500; font-size: 12.5px; line-height: 1; color: var(--sand2); white-space: nowrap; background: var(--g); box-shadow: var(--vrim); }
#hero .ui-b.on { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: var(--vrim-on); }
#hero .ui-b.pearl { color: #10151c; background: #ece9e2; box-shadow: none; }
#hero .ui-b.r { width: 36px; padding: 0; justify-content: center; }
#hero .ui-b svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#hero .ui-mono { font: 500 10px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--sand3); white-space: nowrap; }
#hero .ui-h { font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: -.03em; color: #FFFBF4; }
#hero .ui-sub { margin-top: 10px; font-size: 15px; line-height: 1.35; color: var(--sand2); }
/* ---------- Full edits: the editor ---------- */
#hero .ed { height: 100%; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
#hero .ed-top { flex: none; height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 22px; background: var(--g); box-shadow: var(--vrim); }
#hero .ed-title { font-weight: 600; font-size: 16px; letter-spacing: -.01em; margin: 0 6px 0 4px; white-space: nowrap; }
#hero .ed-ver { position: relative; display: inline-grid; }
#hero .ed-ver > span { grid-area: 1 / 1; transition: opacity .4s; }
#hero .ed-ver .b2 { opacity: 0; }
#hero .sa.s2 .ed-ver .b1 { opacity: 0; transition-delay: 3s; }
#hero .sa.s2 .ed-ver .b2 { opacity: 1; transition-delay: 3s; }
#hero .ed-fl { flex: 1; }
#hero .ed-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 330px 286px; gap: 12px; }
#hero .ed-card { position: relative; min-height: 0; overflow: hidden; border-radius: 22px; padding: 14px 16px; background: rgba(8, 11, 16, .8); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.27), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.19); }
#hero .ed-hd { display: flex; align-items: center; gap: 10px; height: 30px; }
#hero .ed-hd b { font-weight: 600; font-size: 15px; }
#hero .ed-saved { font: 500 9.5px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; letter-spacing: .14em; color: var(--sand3); }
#hero .ed-ruler { position: relative; height: 22px; margin: 10px 0 6px 58px; display: flex; justify-content: space-between; font: 500 9.5px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; color: var(--sand3); border-bottom: 1px solid rgba(255, 255, 255, .12); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 1px, transparent 1px 8px) bottom / 100% 5px no-repeat; }
#hero .ed-lane { display: flex; gap: 10px; align-items: stretch; margin-top: 8px; }
#hero .ed-lbl { width: 48px; flex: none; display: flex; flex-direction: column; justify-content: center; gap: 3px; font: 500 10.5px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; color: #fff; }
#hero .ed-lbl i { font-style: normal; font-size: 9px; color: var(--sand3); }
#hero .ed-track { position: relative; flex: 1; min-width: 0; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, .04); }
#hero .ed-clips { display: flex; height: 200px; gap: 2px; }
#hero .ed-clips img { flex: 1; min-width: 0; height: 100%; object-fit: cover; }
#hero .ed-clips .ed-tag { position: absolute; left: 6px; top: 5px; font: 500 9px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; color: #fff; }
#hero .ed-a1 { height: 46px; }
#hero .ed-head { position: absolute; top: -4px; bottom: -4px; left: 6%; width: 2px; background: #ff5466; border-radius: 1px; z-index: 3; }
#hero .ed-head::before { content: ""; position: absolute; left: -5px; top: -6px; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #ff5466; }
#hero .sa.v-edit .ed-head { animation: ed-play 11s linear infinite; }
@keyframes ed-play { from { left: 4%; } to { left: 96%; } }
#hero .ed-grip { width: 48px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .2); margin: 16px auto 10px; }
#hero .ed-vol { display: flex; flex-direction: column; gap: 12px; }
#hero .ed-vrow { display: flex; flex-direction: column; gap: 7px; }
#hero .ed-vrow p { display: flex; align-items: center; gap: 7px; font-weight: 500; font-size: 13px; }
#hero .ed-vrow p span { font: 500 10px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; color: var(--sand2); }
#hero .ed-k { height: 20px; min-width: 20px; padding: 0 6px; border-radius: 5px; display: inline-grid; place-items: center; font: 500 9px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; color: var(--sand3); background: rgba(255, 255, 255, .06); }
#hero .ed-wave { height: 34px; margin-left: 58px; border-radius: 6px; background: rgba(255, 255, 255, .04); position: relative; overflow: hidden; }
#hero .ed-wave::before { content: ""; position: absolute; inset: 4px 0; background: repeating-linear-gradient(90deg, rgba(236, 233, 226, .62) 0 1.5px, transparent 1.5px 3.5px); -webkit-mask-image: var(--w); mask-image: var(--w); }
#hero .ed-wave.m { background: rgba(191, 227, 255, .12); box-shadow: inset 1px 1px 1px -1px rgba(191, 227, 255, 1), inset -1px -1px 1px -1px rgba(191, 227, 255, 0.96); }
#hero .ed-player { display: flex; flex-direction: column; align-items: center; gap: 12px; }
#hero .ed-tg { align-self: stretch; display: flex; gap: 6px; }
#hero .ed-sw { width: 22px; height: 13px; border-radius: 999px; background: rgba(255, 255, 255, .16); position: relative; flex: none; }
#hero .ed-sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
#hero .ed-stage { display: flex; gap: 8px; align-items: stretch; }
#hero .ed-video { position: relative; width: 268px; height: 476px; border-radius: 10px; overflow: hidden; background: #0d1117; }
#hero .ed-video > img { width: 100%; height: 100%; object-fit: cover; transition: filter .6s; }
#hero .sa.s2 .ed-video > img { animation: ed-recut 3.6s steps(1) .4s both; }
@keyframes ed-recut { 0% { filter: none; } 55% { filter: brightness(.55) blur(2px); } 82% { filter: none; } }
#hero .ed-meter { width: 10px; display: flex; gap: 2px; }
#hero .ed-meter i { flex: 1; border-radius: 2px; background: linear-gradient(0deg, rgba(191, 227, 255, .9), rgba(191, 227, 255, .5) 60%, rgba(255, 255, 255, .12) 60.5%); transform-origin: 50% 100%; }
#hero .sa.v-edit .ed-meter i { animation: ed-lvl .42s ease-in-out infinite alternate; }
#hero .sa.v-edit .ed-meter i + i { animation-duration: .37s; }
@keyframes ed-lvl { from { clip-path: inset(38% 0 0 0); } to { clip-path: inset(12% 0 0 0); } }
#hero .ed-bar { align-self: stretch; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); position: relative; }
#hero .ed-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: inherit; background: #fff; }
#hero .sa.v-edit .ed-bar i { animation: ed-prog 11s linear infinite; }
@keyframes ed-prog { from { width: 2%; } to { width: 98%; } }
#hero .ed-ctl { align-self: stretch; display: flex; align-items: center; gap: 6px; }
#hero .ed-tc { margin-left: auto; text-align: right; font: 500 13px/1.2 'IBM Plex Mono', ui-monospace, Menlo, monospace; color: #fff; }
#hero .ed-tc span { display: block; font-size: 10px; color: var(--sand3); }
#hero .ed-pin { position: absolute; left: 58%; top: 64%; z-index: 2; width: 26px; height: 26px; border-radius: 50% 50% 50% 4px; display: grid; place-items: center; font: 600 12px/1 'Hanken Grotesk', sans-serif; color: #0d1117; background: #BFE3FF; transform: scale(0) rotate(-12deg); transform-origin: 0 100%; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
#hero .sa.s2 .ed-pin { transform: none; transition-delay: .2s; }
#hero .ed-bubble { position: absolute; left: 8%; right: 8%; bottom: 7%; z-index: 2; padding: 10px 12px; border-radius: 13px; font-size: 13px; line-height: 1.3; background: rgba(10, 14, 20, .86); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.4), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.29); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--e), transform .6s var(--e); }
#hero .sa.s2 .ed-bubble { opacity: 1; transform: none; transition-delay: .55s; }
#hero .ed-cmt { display: flex; flex-direction: column; height: 100%; }
#hero .ed-tabs { display: flex; gap: 2px; }
#hero .ed-tabs span { height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-weight: 500; font-size: 13px; color: var(--sand2); }
#hero .ed-tabs span.on { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: var(--vrim-on); }
#hero .ed-cnt { display: flex; justify-content: space-between; margin: 16px 2px 0; font-size: 12px; color: var(--sand2); }
#hero .ed-cnt .x { color: var(--sand3); }
#hero .ed-cnt .one, #hero .sa.s2 .ed-cnt .zero { display: none; }
#hero .sa.s2 .ed-cnt .one { display: inline; }
#hero .ed-empty { margin: 26px 2px 0; font-size: 12.5px; line-height: 1.5; color: var(--sand2); transition: opacity .3s; }
#hero .sa.s2 .ed-empty { opacity: 0; }
#hero .ed-list { position: absolute; left: 16px; right: 16px; top: 86px; display: flex; flex-direction: column; gap: 8px; }
#hero .ed-c { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.32), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.22); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--e), transform .6s var(--e); }
#hero .sa.s2 .ed-c { opacity: 1; transform: none; transition-delay: calc(var(--d) * 1ms); }
#hero .ed-c p { font-size: 13px; line-height: 1.35; }
#hero .ed-c .who { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; font: 500 10px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--sand3); }
#hero .ed-c .tc { padding: 3px 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: #fff; letter-spacing: .04em; }
#hero .ed-c .who svg { width: 12px; height: 12px; fill: #d97757; }
#hero .ed-c .st { margin-top: 8px; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--sand2); }
#hero .ed-c .st i { width: 6px; height: 6px; border-radius: 50%; background: #BFE3FF; }
#hero .ed-box { margin-top: auto; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.36), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.26); }
#hero .ed-box .r1 { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--sand3); }
#hero .ed-box .r1 b { font: 500 10.5px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; color: #fff; padding: 5px 7px; border-radius: 7px; background: rgba(255, 255, 255, .08); }
#hero .ed-box .r1 i { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
#hero .ed-box .r1 i svg { width: 12px; height: 12px; fill: none; stroke: #10151c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#hero .ed-box .r2 { display: flex; gap: 14px; margin-top: 10px; padding-left: 4px; color: var(--sand2); }
#hero .ed-box .r2 svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
/* ---------- Aesthetic ---------- */
#hero .sae { height: 100%; padding: 34px 32px 26px; display: flex; flex-direction: column; }
#hero .sae-chips { display: flex; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
#hero .sae-chips span { height: 38px; padding: 0 15px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 13.5px; color: var(--sand2); background: var(--g); box-shadow: var(--vrim); transition: background-color .4s, color .4s; }
#hero .sae-chips span i { font-style: normal; font-size: 12px; color: var(--sand3); }
#hero .sae-chips .pick { color: #10151c; background: #ece9e2; box-shadow: none; }
#hero .sae-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; margin-top: 26px; }
#hero .sae-info { display: flex; flex-direction: column; }
#hero .sae-n { font: 500 11px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; letter-spacing: .14em; color: #fff; }
#hero .sae-n span { color: var(--sand3); }
#hero .sae-name { margin-top: 16px; font-weight: 300; font-size: 58px; line-height: 1; letter-spacing: -.035em; }
#hero .sae-d { margin-top: 14px; font-size: 16px; line-height: 1.4; color: var(--sand2); }
#hero .sae-spec { margin-top: auto; }
#hero .sae-spec p { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
#hero .sae-spec .dots { display: flex; gap: 5px; }
#hero .sae-spec .dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
#hero .sae-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; min-height: 0; }
#hero .sae-card { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
#hero .sae-card .im { position: relative; flex: 1; min-height: 0; border-radius: 16px; overflow: hidden; background: #0d1117; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.36), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.26); }
#hero .sae-card .im img { width: 100%; height: 100%; object-fit: cover; }
#hero .sae-card .im .tag { position: absolute; left: 10px; top: 10px; height: 24px; padding: 0 9px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 11px; color: #10151c; background: #ece9e2; }
#hero .sae-card .im .tag img { width: 14px; height: 14px; border-radius: 4px; }
/* ---------- Social: the calendar ---------- */
#hero .so { height: 100%; padding: 30px 28px 22px; display: flex; flex-direction: column; }
#hero .so-tabs { display: flex; align-items: center; gap: 2px; margin-top: 20px; }
#hero .so-tabs span { height: 38px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: 13.5px; color: var(--sand2); }
#hero .so-tabs span i { font-style: normal; font-size: 11.5px; color: var(--sand3); }
#hero .so-tabs span.on { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: var(--vrim-on); }
#hero .so-bar { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
#hero .so-month { font-weight: 600; font-size: 16px; margin: 0 8px; white-space: nowrap; }
#hero .so-chip { height: 38px; padding: 0 14px 0 6px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13px; background: rgba(255, 255, 255, .1); box-shadow: var(--vrim-on); }
#hero .so-chip img { width: 24px; height: 24px; border-radius: 7px; }
#hero .so-leg { margin-left: auto; display: flex; align-items: center; gap: 12px; }
#hero .so-leg i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
#hero .so-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 16px 0 8px; }
#hero .so-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 8px; }
#hero .so-d { position: relative; border-radius: 14px; padding: 8px 8px 6px; background: var(--g); box-shadow: var(--vrim); display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
#hero .so-d.out { opacity: .4; }
#hero .so-d.today { background: rgba(255, 255, 255, .12); }
#hero .so-d .n { font: 500 10px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; color: var(--sand2); }
#hero .so-d.today .n { align-self: flex-start; padding: 3px 6px; border-radius: 999px; color: #10151c; background: #ece9e2; }
#hero .so-ps { margin-top: auto; display: flex; gap: 6px; }
#hero .so-p { width: 34px; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
#hero .so-p img { width: 34px; height: 60px; border-radius: 6px; object-fit: cover; box-shadow: 0 1px 2px rgba(10, 14, 20, 0.08), 0 10px 28px -16px rgba(10, 14, 20, .28); opacity: 0; transform: translateY(-14px) scale(1.25); transition: opacity .4s var(--e), transform .65s cubic-bezier(.2, 1.2, .3, 1); }
#hero .sa.v-social .so-p img { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 350ms); }
#hero .so-p b { position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(12, 18, 26, .9); opacity: 0; transition: opacity .3s; }
#hero .sa.v-social .so-p b { opacity: 1; transition-delay: calc(var(--i) * 45ms + 650ms); }
#hero .so-p span { font: 500 8.5px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; color: var(--sand2); }
#hero .dot-p { background: #ece9e2; }
#hero .dot-s { background: #8fb8ff; }
/* ---------- Ask Claude ---------- */
#hero .ak { height: 100%; padding: 34px 32px 24px; display: flex; flex-direction: column; align-items: center; }
#hero .ak-col { width: 720px; flex: 1; min-height: 0; display: flex; flex-direction: column; }
#hero .ak-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
#hero .ak-you { align-self: flex-end; max-width: 80%; padding: 12px 16px; border-radius: 18px 18px 6px 18px; font-size: 16px; line-height: 1.4; background: rgba(255, 255, 255, .16); }
#hero .ak-cl { align-self: flex-start; max-width: 100%; padding: 14px 16px 16px; border-radius: 18px 18px 18px 6px; background: rgba(12, 18, 26, .5); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.4), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.29); }
#hero .ak-who { display: flex; align-items: center; gap: 7px; font: 500 10.5px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--sand3); margin-bottom: 9px; }
#hero .ak-who svg { width: 13px; height: 13px; fill: #d97757; }
#hero .ak-cl > p { font-size: 16px; line-height: 1.45; }
#hero .ak-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
#hero .ak-pick { display: flex; gap: 10px; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.36), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.26); }
#hero .ak-pick img { width: 54px; height: 96px; border-radius: 8px; object-fit: cover; flex: none; }
#hero .ak-pick div { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding-top: 2px; }
#hero .ak-pick b { font-weight: 600; font-size: 13px; line-height: 1.25; }
#hero .ak-pick span { font-size: 11.5px; color: var(--sand2); }
#hero .ak-pick em { margin-top: auto; align-self: flex-start; height: 24px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; font-style: normal; font-weight: 600; font-size: 11px; color: #10151c; background: #ece9e2; }
#hero .ak-status { align-self: flex-start; height: 38px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--sand2); background: var(--g); box-shadow: var(--vrim); }
#hero .ak-status svg { width: 15px; height: 15px; fill: #d97757; }
#hero .ak-status i { width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: cp-dot 1.1s ease-in-out infinite; }
#hero .ak-status i:nth-of-type(2) { animation-delay: .18s; }
#hero .ak-status i:nth-of-type(3) { animation-delay: .36s; }
#hero .ak-box { flex: none; padding: 16px 12px 12px 20px; border-radius: 24px; background: rgba(5, 7, 11, .5); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .5), inset -1px -1px 1px -1px rgba(255, 255, 255, .5); }
#hero .ak-box p { font-size: 17px; color: rgba(255, 255, 255, .42); }
#hero .ak-box div { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 500; font-size: 13.5px; color: rgba(255, 255, 255, .9); }
#hero .ak-box div .x { opacity: .45; }
#hero .ak-box div .sp { width: 16px; height: 16px; fill: #d97757; }
#hero .ak-box div .mk { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
#hero .ak-box div .mk svg { width: 17px; height: 17px; overflow: visible; }
#hero .ak-box div .go { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
#hero .ak-box div .go svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- out of view: nothing in the hero animates ---------- */
#hero.off *, #hero.off *::before, #hero.off *::after { animation-play-state: paused !important; }

/* ---------- phones, and any window narrower than 861 or taller than 5:4 ---------- */
@media not all and (min-width: 861px) and (min-aspect-ratio: 5/4) {
  #hero { --hx-top: calc(74px - 64 * var(--hx-u)); height: max(var(--hx-vh), calc(844 * var(--hx-u) + var(--hx-top))); }
  #hero .hx-fit { width: 390px; margin-left: -195px; }
  #hero .hx-in { padding: 96px 14px 0; }
  #hero .hx-head { --hy: calc((var(--hx-vh) / 2 - var(--hx-top)) / var(--k) - 152px); --hs: 1.06; }
  #hero .hx-h1 { margin-top: 14px; font-size: 37.44px; }
  #hero .hx-br { display: inline; }
  #hero .hx-dl { margin-top: 18px; height: 52px; font-size: 16px; }
  #hero .hx-send-help { display: block; max-width: 300px; margin-top: 12px; font: 500 10.5px/1.5 var(--mono); letter-spacing: .06em; color: rgba(245, 243, 238, .46); transition: opacity .7s var(--ez) .3s; }
  #hero.pre .hx-send-help { opacity: 0; }
  #hero .cp { width: 362px; margin-top: 22px; padding: 14px 10px 10px 18px; border-radius: 22px; }
  #hero .cp-ask { font-size: 17.5px; }
  #hero .hx-stage { align-self: flex-start; width: 720px; height: 450px; margin-top: 18px; --as: .5; perspective: 1200px; perspective-origin: 25% 35%; }
  #hero.pre .hx-app3d { transform: translate3d(0, 620px, 0) rotateX(0deg); }
  #hero.go .hx-app3d { animation-name: hx-rise-m; }
  @keyframes hx-rise-m { 0% { transform: translate3d(0, 620px, 0) rotateX(0deg); animation-timing-function: cubic-bezier(.16, .84, .3, 1); } 58% { transform: translate3d(0, 0, 0) rotateX(0deg); animation-timing-function: cubic-bezier(.45, 0, .25, 1); } 100% { transform: translate3d(0, 0, 0) rotateX(var(--tilt)); } }
}
@media (max-width: 860px) { #hero { --hx-top: calc(64px - 64 * var(--hx-u)); } }

/* Safari: backdrop-filter inside a 3D-tilted, scaled layer (the app leaning back) is unreliable there: panels flicker between
   blurred and see-through as the compositor re-tiles. The app's glass therefore does not sample the page at all. Each panel paints
   a pre-blurred copy of the same sky (assets/hero/sky-blur.jpg: blur, saturate 145%, contrast 1.06 baked in, as --blur did), sized
   and placed by section.js (syncGlass) so it lines up with the sky behind it. Same look in every browser, nothing to flicker. */
#hero { --gb-img: url("assets/hero/sky-blur.jpg"); }
@media (max-width: 700px) and (max-aspect-ratio: 3/4) { #hero { --gb-img: url("assets/hero/sky-m-blur.jpg"); } }


/* ===== 020-phone ===== */
/* 080 phone: a reel of people filming on their phones; raw clips turning into one finished film. Prefix: sh- */
.sh.frame { margin-block: var(--frame-m); overflow: visible; clip-path: inset(0 round var(--frame-r)); background: radial-gradient(70% 90% at 24% 30%, #777269 0%, #45433f 38%, #1c1d20 78%, #121418 100%); }
.sh > video.bg { top: -5%; height: 110%; object-position: 50% 50%; will-change: transform; transition: opacity .8s var(--ease); }
/* the footage cuts fast and people stand near the middle: a long fall-off and a progressive blur keep the left side calm */
.sh > .shade { background:
  linear-gradient(90deg, rgba(8, 9, 12, .74) 0%, rgba(8, 9, 12, .6) 22%, rgba(8, 9, 12, .32) 44%, rgba(8, 9, 12, .08) 60%, rgba(8, 9, 12, 0) 70%),
  radial-gradient(84% 76% at 0% 0%, rgba(8, 9, 12, .48), rgba(8, 9, 12, 0) 72%),
  linear-gradient(0deg, rgba(8, 9, 12, .34) 0%, rgba(8, 9, 12, 0) 28%); }
.sh-pbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sh-pbs i { position: absolute; inset: 0; -webkit-backdrop-filter: blur(var(--b)); backdrop-filter: blur(var(--b)); -webkit-mask-image: linear-gradient(var(--dir, 270deg), transparent var(--a), #000 var(--z)); mask-image: linear-gradient(var(--dir, 270deg), transparent var(--a), #000 var(--z)); }
.sh-pbs i:nth-child(1) { --b: 1.5px; --a: 38%; --z: 54%; }
.sh-pbs i:nth-child(2) { --b: 4px; --a: 44%; --z: 62%; }
.sh-pbs i:nth-child(3) { --b: 9px; --a: 50%; --z: 74%; }
.sh-pbs i:nth-child(4) { --b: 20px; --a: 58%; --z: 90%; }

.sh-in { position: relative; flex: 1; display: flex; padding: clamp(30px, 4.2vw, 60px); min-width: 0; }
.sh-col { width: min(720px, 56%); display: flex; flex-direction: column; justify-content: space-between; gap: clamp(26px, 3vw, 40px); min-width: 0; }
.sh-head { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 1.5vw, 22px); }
.sh-head .label { color: rgba(255, 255, 255, .9); }
.sh-h { font-size: clamp(34px, 4.6vw, 68px); color: #fff; }
.sh-h .two { color: rgba(255, 255, 255, .72); }
.sh-head .lede { color: rgba(255, 255, 255, .9); max-width: 26em; }

/* ---------- the panel: tray and jobs on the left, the finished film is the hero ---------- */
.sh-card { display: flex; gap: 16px; width: min(600px, 100%); padding: 14px; border-radius: 30px; background: rgba(7, 8, 11, .72); -webkit-backdrop-filter: blur(30px) saturate(150%); backdrop-filter: blur(30px) saturate(150%); box-shadow: var(--rim); color: #fff; }
.sh-left { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 4px 12px; }
.sh-top b { font: 500 16px/1 var(--sans); letter-spacing: -.015em; }
.sh-status { font-size: 10px; color: var(--sand-2); white-space: nowrap; }
.sh-tray { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.4), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.29); }
.sh-clip { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 8px; background: rgba(255, 255, 255, .06); opacity: 0; transform: translate3d(0, -84px, 0) rotate(var(--r)) scale(1.12); transition: opacity .35s var(--ease), transform .75s cubic-bezier(.2, 1.25, .3, 1), box-shadow .4s var(--ease); will-change: transform, opacity; }
.sh-clip img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.sh-clip.in { opacity: 1; transform: none; transition-delay: calc(var(--n) * 150ms); }
.sh-clip b { position: absolute; right: -4px; top: -4px; width: 16px; height: 16px; border-radius: 50%; background: var(--pearl); transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.sh-clip b::after { content: ""; position: absolute; left: 5.4px; top: 3px; width: 3.8px; height: 7.2px; border: solid #10151c; border-width: 0 1.7px 1.7px 0; transform: rotate(42deg); }
.sh-card.s1 .sh-clip { transition-delay: 0s; }
.sh-card.s1 .sh-clip.pick { box-shadow: 0 0 0 2px var(--pearl); }
.sh-card.s1 .sh-clip.pick b { transform: none; transition-delay: calc(var(--n) * 90ms); }
.sh-card.s1 .sh-clip:not(.pick) { opacity: .3; transform: scale(.92); }
/* the picked takes travel into the film (--dx / --dy are measured in JS), then sit back in the tray, marked as used */
.sh-card.s2 .sh-clip.pick { opacity: 0; transform: translate3d(var(--dx, 120px), var(--dy, 0), 0) scale(1.9); transition: transform .8s var(--ease-io), opacity .35s var(--ease) .5s; transition-delay: calc(var(--n) * 70ms), calc(.45s + var(--n) * 70ms); }
.sh-card.s2b .sh-clip.pick { opacity: 1; transform: none; transition: transform 0s, opacity .6s var(--ease) .05s; }

.sh-steps { display: grid; margin-top: auto; padding: 8px 4px 0; }
.sh-steps li { display: flex; align-items: center; gap: 11px; padding: 10px 0; font: 500 15.5px/1.2 var(--sans); letter-spacing: -.012em; color: rgba(255, 255, 255, .5); transition: color .4s var(--ease); }
.sh-steps li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.sh-steps li.run, .sh-steps li.on { color: #fff; }
.sh-steps b { position: relative; flex: none; width: 17px; height: 17px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .42); transition: background-color .3s, box-shadow .3s; }
.sh-steps li.on b { background: var(--pearl); box-shadow: none; }
.sh-steps li.on b::after { content: ""; position: absolute; left: 6px; top: 3.4px; width: 3.8px; height: 7.4px; border: solid #10151c; border-width: 0 1.7px 1.7px 0; transform: rotate(42deg); }
.sh-steps span { flex: 1; }
/* a little progress while each job runs */
.sh-steps i { position: relative; flex: none; width: 64px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.sh-steps i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--pearl); transform: scaleX(0); transform-origin: 0 50%; }
.sh-steps li.run i::after, .sh-steps li.on i::after { transform: none; transition: transform var(--d, 1s) linear; }

.sh-film { position: relative; flex: none; width: clamp(150px, 14.2vw, 200px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .05); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.45), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.32); transition: box-shadow .5s var(--ease); }
.sh-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s var(--ease), transform 1s var(--ease); }
.sh-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; transition: opacity .4s; }
.sh-wait svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.sh-wait circle { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2; }
.sh-wait .sh-ring { stroke: var(--pearl); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.sh-card.s0 .sh-ring { stroke-dashoffset: 46; transition: stroke-dashoffset 3.2s linear; }
.sh-wait em { font-style: normal; font-size: 9.5px; color: var(--sand-2); }
.sh-card.s2 .sh-film video { opacity: 1; transform: none; }
.sh-card.s2 .sh-wait { opacity: 0; }
.sh-card.s5 .sh-film { box-shadow: 0 0 0 1.5px var(--pearl); }
.sh-badge { position: absolute; left: 9px; top: 9px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 4px; border-radius: 7px; font: 500 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #10151c; background: var(--pearl); opacity: 0; transform: translateY(-4px); transition: opacity .4s, transform .5s var(--ease); }
.sh-card.s5 .sh-badge { opacity: 1; transform: none; }
.sh-cap { position: absolute; left: 8px; right: 8px; bottom: 19%; text-align: center; font: 600 clamp(13px, 1.1vw, 15.5px)/1.16 var(--sans); letter-spacing: -.01em; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); white-space: pre-line; opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .4s var(--ease), transform .55s cubic-bezier(.3, 1.5, .5, 1); }
.sh-card.s3 .sh-cap { opacity: 1; transform: none; }
.sh-eq { position: absolute; left: 10px; right: 10px; bottom: 11px; height: 17px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; opacity: 0; transition: opacity .4s; }
.sh-eq i { width: 3px; height: 100%; border-radius: 2px; background: #fff; transform: scaleY(.25); transform-origin: 50% 100%; animation: sh-eq 1s ease-in-out infinite; animation-play-state: paused; }
.sh-eq i:nth-child(2n) { animation-duration: .8s; animation-delay: -.3s; } .sh-eq i:nth-child(3n) { animation-duration: 1.2s; animation-delay: -.6s; } .sh-eq i:nth-child(5n) { animation-delay: -.15s; }
@keyframes sh-eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.sh-card.s4 .sh-eq { opacity: .95; }
.sh-card.s4 .sh-eq i { animation-play-state: running; }
.sh-card.sh-fade .sh-film video, .sh-card.sh-fade .sh-cap, .sh-card.sh-fade .sh-eq, .sh-card.sh-fade .sh-badge { opacity: 0; }

@media (max-width: 1060px) {
  .sh-col { width: min(600px, 62%); }
  .sh-card { width: min(520px, 100%); }
  .sh-steps i { width: 44px; }
}
/* phones: the footage fills the top of the frame, the words and the panel sit below */
@media (max-width: 760px) {
  .sh.frame.tall { min-height: 940px; }
  .sh > .shade { background:
    linear-gradient(0deg, rgba(8, 9, 12, .8) 0%, rgba(8, 9, 12, .62) 40%, rgba(8, 9, 12, .22) 58%, rgba(8, 9, 12, 0) 70%),
    linear-gradient(180deg, rgba(8, 9, 12, .3) 0%, rgba(8, 9, 12, 0) 16%); }
  .sh-pbs { --dir: 180deg; }
  .sh-pbs i:nth-child(1) { --b: 2px; --a: 34%; --z: 46%; }
  .sh-pbs i:nth-child(2) { --b: 6px; --a: 39%; --z: 56%; }
  .sh-pbs i:nth-child(3) { --b: 14px; --a: 45%; --z: 70%; }
  .sh-pbs i:nth-child(4) { display: none; }
  .sh-in { padding: 30px 8px 8px; }
  .sh-col { width: 100%; justify-content: flex-end; gap: 22px; }
  .sh-head { padding-inline: 16px; gap: 13px; }
  .sh-h { font-size: clamp(31px, 8.7vw, 40px); line-height: 1.05; }
  .sh-card { width: 100%; padding: 12px; gap: 12px; border-radius: 24px; }
  .sh-tray { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px; }
  .sh-clip:nth-child(5) { display: none; }
  .sh-steps li { padding: 8px 0; font-size: 14.5px; }
  .sh-steps i { width: 34px; }
  .sh-film { width: 37%; align-self: center; }
  .sh-status { display: none; }
}

/* ================= screen two: the camera roll goes into Studio, finished videos come out. Prefix: sho- =================
   Glass note: nothing above a glass panel here carries opacity, filter, mask, clip-path or will-change for those
   (that would stop the panel blurring the wallpaper). Only the panels' own children animate. */
.sho { --pad: clamp(30px, 4.2vw, 60px); padding: clamp(60px, 7.4vw, 112px) 0 clamp(14px, 2.4vw, 36px); }
.sho-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 84px); align-items: end; padding-inline: calc(var(--frame-m) + var(--pad)); margin-bottom: clamp(30px, 3.8vw, 56px); }
.sho-ttl { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 1.5vw, 22px); min-width: 0; }
.sho-h { font-size: clamp(34px, 4.6vw, 68px); }
.sho-side { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 1.6vw, 22px); justify-self: end; width: min(420px, 100%); min-width: 0; padding-bottom: 6px; }

.sho-stage > .bg { object-position: 50% 46%; }
.sho-stage > .shade { background: linear-gradient(180deg, rgba(6, 9, 13, .3), rgba(6, 9, 13, .08) 36%, rgba(6, 9, 13, .14) 70%, rgba(6, 9, 13, .36)); }
.sho-flow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(22px, 4vw, 62px); align-items: stretch; max-width: 1500px; margin-inline: auto; padding: clamp(20px, 3vw, 46px) var(--pad); }
.sho-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 2px 2px 14px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-2); white-space: nowrap; }
.sho-cap b { font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.sho-cap i { font-style: normal; }

/* ---------- in: the camera roll, a loose pile of raw clips (placed by JS) ---------- */
.sho-tray { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; padding: 16px 16px 18px; border-radius: 24px; background: rgba(var(--tint), .3); }
.sho-pile { position: relative; flex: 1; min-height: 150px; }
/* a clip flies on two boxes so it travels on a curve: the outer one carries x, the inner one y, turn and size */
.sho-clip { position: absolute; display: block; aspect-ratio: 9 / 16; opacity: 0; transition: opacity .4s var(--ease), transform .85s var(--ease-io); will-change: transform, opacity; }
.sho-clip > i { display: block; width: 100%; height: 100%; border-radius: 7px; overflow: hidden; background: #0b0e13; box-shadow: 0 2px 10px -3px rgba(0, 0, 0, .45); transform: translate3d(0, -34px, 0) rotate(var(--r)) scale(1.12); transition: transform .7s cubic-bezier(.2, 1.2, .3, 1); will-change: transform; }
.sho-clip img { width: 100%; height: 100%; object-fit: cover; }
.sho-flow.s-in .sho-clip { opacity: 1; transition-delay: calc(var(--n) * 16ms); }
.sho-flow.s-in .sho-clip > i { transform: rotate(var(--r)); transition-delay: calc(var(--n) * 16ms); }
.sho-flow.s-go .sho-clip { opacity: 0; transform: translate3d(var(--dx), 0, 0); transition: transform .85s var(--ease-io), opacity .3s var(--ease); transition-delay: calc(var(--k) * var(--step)), calc(var(--k) * var(--step) + .56s); }
.sho-flow.s-go .sho-clip > i { transform: translate3d(0, var(--dy), 0) rotate(0deg) scale(.5); transition: transform .85s cubic-bezier(.3, 0, .2, 1); transition-delay: calc(var(--k) * var(--step)); }
/* once everything is in, the roll settles back in its tray, dimmed: it is still your footage, now used */
.sho-flow.s-back .sho-clip { opacity: .3; transform: none; transition: opacity .8s var(--ease), transform 0s; transition-delay: calc(var(--n) * 10ms), 0s; }
.sho-flow.s-back .sho-clip > i { transform: rotate(var(--r)); transition: none; }
.sho-empty { position: absolute; z-index: 30; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 999px; font: 500 14px/1 var(--sans); letter-spacing: -.01em; color: #fff; white-space: nowrap; background: rgba(8, 10, 14, .5); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); box-shadow: var(--rim); opacity: 0; transform: translate(-50%, calc(-50% + 8px)) scale(.94); transition: opacity .5s var(--ease), transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.sho-empty i { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--pearl); }
.sho-empty i::after { content: ""; position: absolute; left: 8.2px; top: 4.8px; width: 4.6px; height: 9px; border: solid #0d1218; border-width: 0 1.7px 1.7px 0; transform: rotate(42deg); }
.sho-tray.done .sho-empty { opacity: 1; transform: translate(-50%, -50%); }

/* ---------- Studio: frosted glass the clips slide under ---------- */
.sho-core { position: relative; z-index: 2; align-self: center; display: flex; flex-direction: column; min-width: 0; padding: clamp(18px, 1.7vw, 24px); border-radius: 26px; color: #fff; background: rgba(8, 10, 14, .5); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%); box-shadow: var(--rim); }
.sho-brand { display: flex; align-items: center; gap: 10px; font: 600 19px/1 var(--sans); letter-spacing: -.014em; }
.sho-mark { width: 30px; height: 30px; overflow: visible; flex: none; }
.sho-status { display: flex; align-items: flex-end; min-height: 2.3em; margin-top: clamp(26px, 3.4vw, 54px); font: 400 clamp(19px, 1.62vw, 24px)/1.15 var(--sans); letter-spacing: -.022em; text-wrap: balance; }
.sho-status span { display: block; transition: opacity .28s var(--ease), transform .4s var(--ease); }
.sho-status.swap span { opacity: 0; transform: translateY(6px); transition-duration: .16s; }
.sho-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 16px; }
.sho-bars li { position: relative; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.sho-bars li::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--pearl); transform: scaleX(0); transform-origin: 0 50%; }
.sho-bars li.run::after, .sho-bars li.on::after { transform: none; transition: transform var(--d, 1s) linear; }
.sho-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(20px, 2.2vw, 30px); padding-top: clamp(16px, 1.6vw, 22px); border-top: 1px solid rgba(255, 255, 255, .12); }
.sho-nums p { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.sho-nums b { font: 300 clamp(38px, 3.5vw, 52px)/.9 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .42); transition: color .5s var(--ease); }
.sho-nums b.lit { color: #fff; }
.sho-nums span { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-2); white-space: nowrap; }

/* ---------- out: the finished videos, each in its place with its name ---------- */
.sho-out { position: relative; z-index: 1; min-width: 0; padding: 16px 14px 14px; border-radius: 24px; background: rgba(var(--tint), .3); }
.sho-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, .9vw, 12px); }
.sho-vid { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: clamp(10px, 1.1vw, 15px); background: rgba(255, 255, 255, .045); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.45), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.32); }
.sho-card { position: absolute; inset: 0; display: block; border-radius: inherit; overflow: hidden; background: #0b0e13; opacity: 0; transform: translate3d(var(--fx, 0), var(--fy, 0), 0) scale(.3); transition: transform .95s var(--ease), opacity .35s var(--ease); will-change: transform, opacity; }
.sho-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sho-vid.on .sho-card { opacity: 1; transform: none; }
.sho-tag { position: absolute; left: 7px; top: 7px; padding: 5px 8px 5px; border-radius: 8px; font: 600 clamp(10px, .82vw, 11.5px)/1 var(--sans); font-style: normal; letter-spacing: -.005em; color: #fff; background: rgba(8, 10, 14, .46); -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%); box-shadow: var(--rim); opacity: 0; transform: translateY(-5px) scale(.9); transform-origin: 0 0; transition: opacity .35s var(--ease), transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.sho-line { position: absolute; left: 6px; right: 6px; bottom: 11%; text-align: center; white-space: pre-line; font: 600 clamp(9.5px, .92vw, 13.5px)/1.16 var(--sans); letter-spacing: -.01em; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .65); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.sho-vid.on .sho-tag { opacity: 1; transform: none; transition-delay: .62s; }
.sho-vid.on .sho-line { opacity: 1; transform: none; transition-delay: .8s; }
/* the loop ends: videos and counts let go (children only, never the panels) */
.sho-flow.fade .sho-card, .sho-flow.fade .sho-empty, .sho-flow.fade .sho-clip { opacity: 0; transition: opacity .5s var(--ease); transition-delay: 0s; }
.sho-flow.rst *, .sho-flow.rst *::after { transition: none !important; }

@media (max-width: 1100px) {
  .sho-tray, .sho-out { padding: 14px 12px 12px; border-radius: 20px; }
  .sho-core { border-radius: 22px; }
  .sho-mark { width: 26px; height: 26px; }
  .sho-brand { font-size: 17px; }
}
/* narrow: the flow turns to run top to bottom (footage, Studio, videos) */
@media (max-width: 860px) {
  .sho-head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; padding-inline: calc(var(--frame-m) + 24px); }
  .sho-side { justify-self: start; }
  .sho-flow { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 10px; }
  .sho-pile { flex: none; height: 148px; min-height: 0; }
  .sho-core { align-self: stretch; padding: 18px 18px 20px; }
  .sho-status { min-height: 0; margin-top: 22px; font-size: 21px; }
  .sho-nums { margin-top: 20px; padding-top: 16px; }
  .sho-nums b { font-size: 40px; }
  .sho-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
  .sho-vid { border-radius: 11px; }
  .sho-line { font-size: 10px; }
}
@media (max-width: 620px) {
  .sho-h { font-size: clamp(31px, 8.7vw, 40px); line-height: 1.05; }
  .sho-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sho-line { font-size: 10.5px; }
  .sho-tag { left: 6px; top: 6px; font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .sho-clip, .sho-clip > i, .sho-card, .sho-tag, .sho-line { transition: none !important; }
}


/* ===== 030-chat ===== */
/* 030 chat: "it is just a chat". People with laptops and phones behind; the same conversation in a Mac window and on a phone,
   side by side. Prefix: ch-
   GLASS RULE for this section: the footage is blurred by backdrop-filter on the panels and on the composers. Nothing between
   the frame and a glass element may carry opacity < 1, filter, mask, clip-path or will-change for those: it would become the
   backdrop root and the glass would go see-through. Fades are done on the glass element itself or on its children. */
.ch.frame { margin-block: var(--frame-m); overflow: visible; clip-path: inset(0 round var(--frame-r)); background: radial-gradient(70% 90% at 60% 30%, #7b766c 0%, #47443e 38%, #1d1d1f 78%, #131417 100%); }
.ch > video.bg { top: -5%; height: 110%; object-position: 50% 50%; will-change: transform; transition: opacity .8s var(--ease); }
/* the words (top left) get a long fall-off and a progressive blur; the right and the bottom stay open so the glass has
   real footage to blur. Never a flat overlay. */
.ch > .shade { background:
  radial-gradient(78% 90% at 0% 0%, rgba(9, 9, 11, .68) 0%, rgba(9, 9, 11, .42) 44%, rgba(9, 9, 11, 0) 76%),
  linear-gradient(90deg, rgba(9, 9, 11, .46) 0%, rgba(9, 9, 11, .22) 24%, rgba(9, 9, 11, 0) 44%),
  linear-gradient(0deg, rgba(9, 9, 11, .26) 0%, rgba(9, 9, 11, 0) 26%); }
.ch-pbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ch-pbs i { position: absolute; inset: 0; -webkit-backdrop-filter: blur(var(--b)); backdrop-filter: blur(var(--b)); -webkit-mask-image: linear-gradient(var(--dir, 270deg), transparent var(--a), #000 var(--z)); mask-image: linear-gradient(var(--dir, 270deg), transparent var(--a), #000 var(--z)); }
.ch-pbs i:nth-child(1) { --b: 1.5px; --a: 55%; --z: 68%; }
.ch-pbs i:nth-child(2) { --b: 5px; --a: 61%; --z: 80%; }
.ch-pbs i:nth-child(3) { --b: 12px; --a: 68%; --z: 94%; }

/* words top left, the Mac window under them, the phone down the right edge: the upper middle (where the faces are) stays clear */
.ch-in { position: relative; flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); column-gap: clamp(14px, 1.5vw, 22px); row-gap: clamp(18px, 1.8vw, 26px); padding: clamp(30px, 4.2vw, 60px); min-width: 0; }
.ch-head { grid-area: 1 / 1 / 2 / 3; width: min(580px, 100%); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 1.4vw, 20px); }
.ch-vo { grid-area: 2 / 1; align-self: start; min-width: 0; margin-top: -6px; }
.ch-head .label { color: rgba(255, 255, 255, .9); }
.ch-h { font-size: clamp(34px, 3.9vw, 58px); color: #fff; }
.ch-nw { white-space: nowrap; }
.ch-h .two { color: rgba(255, 255, 255, .72); }
.ch-head .lede { color: rgba(255, 255, 255, .9); max-width: 24em; }

/* the lockup: Studio × Claude Code */
.ch-lock { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 9px; border-radius: 15px; background: rgba(9, 9, 11, .46); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); box-shadow: var(--rim); font: 500 16px/1 var(--sans); letter-spacing: -.012em; color: #fff; margin-bottom: 4px; }
.ch-lock b, .ch-lk b, .ch-bar b { font-weight: 500; }
.ch-lock i { font-style: normal; opacity: .5; margin: 0 4px; font-size: 15px; }
.ch-tile { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(6, 8, 12, .92); box-shadow: var(--rim-soft); }
.ch-tile svg { width: 21px; height: 21px; overflow: visible; }
.ch-tile.sm { width: 24px; height: 24px; border-radius: 7.5px; background: rgba(255, 255, 255, .08); }
.ch-tile.sm svg { width: 17px; height: 17px; }
.ch-spark { width: 22px; height: 22px; fill: #d97757; }

/* ---------- the two screens ----------
   A panel is a clear box; its glass is the ::before layer (so the composer, a sibling of that layer, can blur for itself too). */
.ch-panel { position: relative; display: flex; flex-direction: column; min-width: 0; color: #fff; transition: transform 1.1s var(--ease); }
.ch-panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: rgba(13, 17, 24, .3);
  -webkit-backdrop-filter: blur(30px) saturate(165%) brightness(.74); backdrop-filter: blur(30px) saturate(165%) brightness(.74);
  box-shadow: var(--rim), inset 1px 1px 1px -1px rgba(255, 255, 255, 0.4), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.29); }
.ch-panel > * { position: relative; }
.ch-panel::before, .ch-panel > * { transition: opacity .9s var(--ease); }
/* entrance (armed by section.js): the panel slides, its glass and contents fade. The panel itself never fades. */
.ch.ch-arm .ch-panel { transform: translate3d(0, 34px, 0); }
.ch.ch-arm .ch-panel::before, .ch.ch-arm .ch-panel > * { opacity: 0; }
.ch-phone, .ch-phone::before, .ch-phone > * { transition-delay: .14s; }

/* the Mac: an app window, wider than tall */
.ch-mac { grid-area: 2 / 2; justify-self: end; align-self: end; width: min(100%, 624px); height: clamp(330px, calc(94svh - 440px), 404px); padding: 10px; border-radius: 22px; }
/* the phone: 9 by 19.5, phone corners, no shadow */
.ch-phone { grid-area: 1 / 3 / 3 / 4; align-self: end; height: clamp(560px, calc(94svh - 196px), 650px); aspect-ratio: 9 / 19.5; padding: 10px; border-radius: 44px; }
.ch-status { flex: none; display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 16px 0 20px; font: 600 13.5px/1 var(--sans); letter-spacing: -.01em; }
.ch-status b { font-weight: 600; width: 46px; }
.ch-island { width: 74px; height: 22px; border-radius: 12px; background: rgba(3, 4, 6, .86); }
.ch-status svg { width: 46px; height: 12px; fill: #fff; }
.ch-status svg .o { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.ch-home { flex: none; display: block; width: 104px; height: 4px; margin: 9px auto 1px; border-radius: 2px; background: rgba(255, 255, 255, .72); }
.ch-bar { flex: none; display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 8px; font: 500 14.5px/1 var(--sans); letter-spacing: -.01em; }
.ch-phone .ch-bar { height: 40px; }
.ch-bar em { margin-left: auto; font-style: normal; font-size: 9.5px; color: var(--sand-2); white-space: nowrap; }
.ch-dots3 { display: flex; gap: 7px; margin: 0 8px 0 4px; }
.ch-dots3 i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .26); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .2); }
.ch-back { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }

.ch-msgs { position: relative; flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18px); mask-image: linear-gradient(180deg, transparent 0, #000 18px); }
.ch-list { display: flex; flex-direction: column; gap: 10px; padding: 12px 6px 10px; font: 400 14.5px/1.38 var(--sans); transition: transform .7s var(--ease), opacity .45s var(--ease); will-change: transform; }
.ch.ch-out .ch-list { opacity: 0; }
.ch-m { position: relative; max-width: 88%; }
.ch-m.you { align-self: flex-end; padding: 10px 14px; border-radius: 18px 18px 6px 18px; background: rgba(255, 255, 255, .17); opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.ch-m.you.on { opacity: 1; transform: none; }
.ch-m.claude { align-self: flex-start; }
.ch-body { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.ch-m.claude.on .ch-body { opacity: 1; transform: none; }
.ch-who { display: flex; align-items: center; gap: 6px; font: 500 9.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sand-2); margin: 2px 0 8px 2px; }
.ch-who svg { width: 13px; height: 13px; fill: #d97757; }
.ch-say { padding: 0 2px; }
/* thinking: what Claude is doing right now */
.ch-think { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px 10px 11px; border-radius: 16px; background: rgba(255, 255, 255, .07); box-shadow: var(--rim-soft); font: 400 13.5px/1 var(--sans); color: var(--sand-2); white-space: nowrap; width: max-content; opacity: 0; transition: opacity .3s var(--ease); }
.ch-think svg { flex: none; width: 14px; height: 14px; fill: #d97757; animation: ch-spin 3.2s linear infinite; }
@keyframes ch-spin { to { transform: rotate(360deg); } }
.ch-think u { display: inline-flex; gap: 3px; text-decoration: none; }
.ch-think u i { width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: .5; animation: pf-dot 1.1s ease-in-out infinite; }
.ch-think u i:nth-child(2) { animation-delay: .18s; } .ch-think u i:nth-child(3) { animation-delay: .36s; }
.ch-m.claude.think .ch-think { opacity: 1; }
/* a result card, same finish as the carry-on results */
.ch-card { margin-top: 10px; padding: 8px 8px 10px; border-radius: 18px; background: rgba(255, 255, 255, .07); box-shadow: var(--rim-soft); }
.ch-thumbs { display: flex; gap: 8px; }
.ch-thumbs figure { position: relative; height: var(--th, 118px); border-radius: 12px; overflow: hidden; background: #0d1117; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.54), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.38); }
.ch-thumbs figure.v { aspect-ratio: 9 / 16; } .ch-thumbs figure.s { aspect-ratio: 1; }
.ch-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ch-chip { position: absolute; left: 6px; top: 6px; padding: 4px 6px 3px; border-radius: 6px; font: 500 8.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #10151c; background: var(--pearl); }
.ch-foot { display: flex; align-items: center; gap: 7px; margin: 10px 4px 0; font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sand-2); white-space: nowrap; }
.ch-foot img { width: 15px; height: 15px; }
.ch-foot b { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font: 500 13.5px/1 var(--sans); letter-spacing: -.01em; text-transform: none; color: #fff; }
.ch-foot b::before, .ch-foot.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pearl); }
.ch-foot b::before { animation: ch-live 1.8s ease-out infinite; }
.ch-foot b.still::before { animation: none; }
@keyframes ch-live { 0% { box-shadow: 0 0 0 0 rgba(236, 233, 226, .55); } 100% { box-shadow: 0 0 0 9px rgba(236, 233, 226, 0); } }
.ch-ad { display: flex; align-items: center; gap: 12px; }
.ch-ad .ch-thumbs figure { height: calc(var(--th, 118px) * .8); }
.ch-ad .ch-foot { flex-direction: column; align-items: flex-start; gap: 11px; margin: 0; }
.ch-ad .ch-foot b { margin-left: 0; }
.ch-ad .ch-foot span { display: inline-flex; align-items: center; gap: 7px; }
.ch-mac .ch-list { font-size: 14px; padding-inline: 8px; }
.ch-mac .ch-m { max-width: 80%; }
.ch-mac .ch-thumbs { --th: 92px; }

/* the composer: glass of its own (it blurs what is behind the window again), and the border beam runs round it all the time */
.ch-comp { flex: none; padding: 12px 8px 8px 14px; border-radius: 18px; background: rgba(5, 7, 11, .34); -webkit-backdrop-filter: blur(22px) saturate(150%) brightness(.8); backdrop-filter: blur(22px) saturate(150%) brightness(.8); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .5), inset -1px -1px 1px -1px rgba(255, 255, 255, .5); }
.ch-comp-ph { border-radius: 30px; padding: 14px 8px 8px 16px; }
/* one line; grows to two while a request is typed, then shows the last two lines */
.ch-ask { min-height: 1.34em; max-height: 2.68em; overflow: hidden; padding-right: 8px; font: 400 15.5px/1.34 var(--sans); letter-spacing: -.01em; }
.ch-comp-ph .ch-ask { font-size: 15px; }
.ch-ask-t { display: block; }
.ch-ask.ph .ch-ask-t { color: rgba(255, 255, 255, .5); }
.ch-comp.typing .ch-ask-t::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin: 0 -4px 0 2px; border-radius: 1px; vertical-align: -.17em; background: #0a84ff; }
.ch-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.ch-lk { display: inline-flex; align-items: center; gap: 7px; font: 500 13px/1 var(--sans); letter-spacing: -.01em; color: rgba(255, 255, 255, .92); }
.ch-lk i { font-style: normal; opacity: .45; }
.ch-lk .ch-spark { flex: none; width: 15px; height: 15px; }
.ch-lk { flex: none; margin-right: auto; }
.ch-state { font-size: 9px; color: var(--sand-2); opacity: 0; transition: opacity .3s; }
.ch-comp.working .ch-state { opacity: 1; }
.ch-comp-ph .ch-state { display: none; }   /* no room on a phone: the dots in the button say it */
.ch-send { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 3px; background: rgba(255, 255, 255, .1); transition: transform .25s var(--ease), background-color .25s; }
.ch-send svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ch-send .mic + .up { display: none; }
.ch-comp.typing .ch-send { background: var(--pearl); }
.ch-comp.typing .ch-send svg { stroke: #10151c; }
.ch-comp.typing .ch-send .mic { display: none; } .ch-comp.typing .ch-send .up { display: block; }
.ch-send.tap { transform: scale(.86); }
.ch-send i { display: none; width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: pf-dot 1.1s ease-in-out infinite; }
.ch-send i:nth-of-type(2) { animation-delay: .18s; } .ch-send i:nth-of-type(3) { animation-delay: .36s; }
.ch-comp.working .ch-send svg { display: none; }
.ch-comp.working .ch-send i { display: block; }
/* hold to talk */
.ch-wave { position: absolute; left: 16px; right: 16px; top: 14px; height: 1.34em; font-size: 15px; display: flex; align-items: center; gap: 3px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.ch-wave i { flex: 1; max-width: 3px; height: 20px; border-radius: 2px; background: #fff; transform: scaleY(.18); animation: ch-wave .9s ease-in-out infinite; animation-play-state: paused; }
.ch-wave i:nth-child(2n) { animation-duration: .7s; animation-delay: -.25s; } .ch-wave i:nth-child(3n) { animation-duration: 1.1s; animation-delay: -.5s; } .ch-wave i:nth-child(5n) { animation-delay: -.12s; } .ch-wave i:nth-child(7n) { animation-duration: .6s; }
@keyframes ch-wave { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
.ch-comp.talk .ch-ask { opacity: 0; }
.ch-comp.talk .ch-wave { opacity: .95; }
.ch-comp.talk .ch-wave i { animation-play-state: running; }
.ch-comp.talk .ch-send { background: var(--pearl); transform: scale(1.1); }
.ch-comp.talk .ch-send svg { stroke: #10151c; }
.ch-send::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 2px 10px -3px rgba(0, 0, 0, .45); opacity: 0; }
.ch-comp.talk .ch-send::after { animation: ch-ring 1.3s var(--ease) infinite; }
@keyframes ch-ring { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.45); } }

/* narrower than a laptop: the phone alone, beside the words */
@media (max-width: 1239px) {
  .ch-mac { display: none; }
  .ch-in { grid-template-columns: minmax(0, 1fr) auto; }
  .ch-head { grid-area: 1 / 1; }
  .ch-phone { grid-area: 1 / 2 / 3 / 3; }
}
/* a phone: the footage up top, the words under it, then the phone screen (true phone shape) */
@media (max-width: 760px) {
  .ch.frame.tall { min-height: 0; }
  /* the footage is framed in the top two thirds so the faces sit above the words at a natural size; below it the same footage
     carries on mirrored (always out of focus there), so the phone's glass has moving picture behind it all the way down */
  .ch > video.bg { top: -5%; height: 66%; -webkit-box-reflect: below 0; }
  .ch > .shade { background:
    linear-gradient(0deg, rgba(9, 9, 11, .26) 0%, rgba(9, 9, 11, .3) 44%, rgba(9, 9, 11, .58) 54%, rgba(9, 9, 11, .5) 68%, rgba(9, 9, 11, .16) 80%, rgba(9, 9, 11, 0) 88%),
    linear-gradient(180deg, rgba(9, 9, 11, .3) 0%, rgba(9, 9, 11, 0) 14%); }
  .ch-pbs { --dir: 180deg; }
  .ch-pbs i:nth-child(1) { --b: 2px; --a: 22%; --z: 30%; }
  .ch-pbs i:nth-child(2) { --b: 6px; --a: 26%; --z: 40%; }
  .ch-pbs i:nth-child(3) { --b: 14px; --a: 30%; --z: 52%; }
  .ch-in { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: min(80vw, 330px) 8px 14px; }
  .ch-head { width: 100%; padding-inline: 16px; gap: 13px; }
  .ch-vo { align-self: flex-start; margin: -8px 0 0; padding-inline: 16px; max-width: 100%; }
  .ch-lock { height: 42px; font-size: 15px; padding-right: 15px; }
  .ch-h { font-size: clamp(36px, 10.4vw, 44px); line-height: 1.04; }
  .ch-phone { --pw: min(284px, 100vw - 64px); align-self: center; width: var(--pw); height: calc(var(--pw) * 19.5 / 9); aspect-ratio: auto; border-radius: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-panel, .ch-panel::before, .ch-panel > * { transition: none; }
}


/* ===== 040-statement ===== */
/* 040 statement, "Make people think" G (approved design, canvas version 1794970326-8f2a). Prefix: st-
   Her footage fills the frame. Bottom left, one line types a sequence of sentences in the same spot. On the right, 030's glass
   phone: the feed swipes past three posts and stops on a Studio film, the heart fills, and the thought types out in a glass pill.
   The design is drawn on a 1440 x 900 artboard (390 x 844 on phones). --u is one artboard pixel, so the whole section scales as
   one piece: by width, or by height on short windows, so the phone always fits.
   GLASS RULE: the phone and the pill blur the footage with backdrop-filter. Nothing between the frame and them may carry
   opacity < 1, filter, mask, clip-path or will-change for those (it would become the backdrop root and the glass would go
   see-through). So the frame clips with overflow + radius (no clip-path), nothing here uses [data-reveal], and the pill fades
   on itself. */
.st { --u: min(100vw / 1440, min(100vh, 1056px) / 900); --st-h: min(calc(100vh - 2 * var(--frame-m)), 1020px); }
@supports (height: 100svh) { .st { --u: min(100vw / 1440, min(100svh, 1056px) / 900); --st-h: min(calc(100svh - 2 * var(--frame-m)), 1020px); } }
.st.frame { margin-block: var(--frame-m); height: var(--st-h); background: #10151c; }
.st-pbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* the footage stays as it is (no flat overlay): a long fall-off under the words, and the site's progressive blur toward them */
.st > .shade { background: radial-gradient(90% 95% at 0% 80%, rgba(9, 9, 11, .76) 0%, rgba(9, 9, 11, .5) 44%, rgba(9, 9, 11, 0) 78%), linear-gradient(90deg, rgba(9, 9, 11, .44) 0%, rgba(9, 9, 11, .2) 30%, rgba(9, 9, 11, 0) 52%); }
.st-pbs i { position: absolute; inset: 0; -webkit-backdrop-filter: blur(var(--b)); backdrop-filter: blur(var(--b)); -webkit-mask-image: linear-gradient(270deg, transparent var(--a), #000 var(--z)); mask-image: linear-gradient(270deg, transparent var(--a), #000 var(--z)); }
.st-pbs i:nth-child(1) { --b: 1.5px; --a: 55%; --z: 68%; }
.st-pbs i:nth-child(2) { --b: 5px; --a: 61%; --z: 80%; }
.st-pbs i:nth-child(3) { --b: 12px; --a: 68%; --z: 94%; }

/* ---------- the words ---------- */
.st-copy { position: absolute; z-index: 2; left: calc(72 * var(--u)); bottom: calc(70 * var(--u)); width: calc(1000 * var(--u)); display: flex; flex-direction: column; }
.st-label { color: rgba(255, 255, 255, .86); }
.st-h { margin: calc(22 * var(--u)) 0 0; font: inherit; display: flex; flex-direction: column; }
.st-lead { font: 300 calc(30 * var(--u))/1.14 var(--sans); letter-spacing: -.03em; color: rgba(245, 243, 238, .74); }
/* the line: always one line. --st-fit (section.js) only ever shrinks it, if the longest sentence would not fit */
.st-big { position: relative; margin-top: calc(14 * var(--u)); margin-left: -.06em; min-height: 1em; font: 300 calc(80 * var(--u) * var(--st-fit, 1))/.98 var(--sans); letter-spacing: -.045em; color: #fff; white-space: nowrap; }
.st-measure { position: absolute; left: 0; top: 0; visibility: hidden; white-space: nowrap; pointer-events: none; }
.st-caret { display: inline-block; width: 3px; height: .78em; margin-left: .06em; border-radius: 2px; vertical-align: -.04em; background: #0a84ff; animation: st-blink 1.06s steps(1) infinite; }
.st.typing .st-caret { animation: none; opacity: 1; }
.st.st-off .st-caret { animation-play-state: paused; }
@keyframes st-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ---------- the phone: 030's ch-phone. 9 by 19.5, glass, phone corners, no shadow ---------- */
.st-ph { position: absolute; z-index: 2; right: calc(46 * var(--u)); bottom: calc(52 * var(--u)); }
.st-phone { position: relative; width: calc(300 * var(--u)); height: calc(650 * var(--u)); padding: calc(10 * var(--u)); border-radius: calc(44 * var(--u)); display: flex; flex-direction: column; color: #fff; }
.st-phone::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: rgba(13, 17, 24, .3);
  -webkit-backdrop-filter: blur(30px) saturate(165%) brightness(.74); backdrop-filter: blur(30px) saturate(165%) brightness(.74);
  box-shadow: var(--rim), inset 1px 1px 1px -1px rgba(255, 255, 255, 0.4), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.29); }
.st-phone > * { position: relative; }
.st-status { flex: none; display: flex; align-items: center; justify-content: space-between; height: calc(30 * var(--u)); padding: 0 calc(16 * var(--u)) 0 calc(20 * var(--u)); font: 600 calc(13.5 * var(--u))/1 var(--sans); letter-spacing: -.01em; }
.st-status b { font-weight: 600; width: calc(46 * var(--u)); }
.st-island { width: calc(74 * var(--u)); height: calc(22 * var(--u)); border-radius: calc(12 * var(--u)); background: rgba(3, 4, 6, .86); }
.st-status svg { width: calc(46 * var(--u)); height: calc(12 * var(--u)); fill: #fff; }
.st-status svg .o { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.st-home { flex: none; display: block; width: calc(104 * var(--u)); height: calc(4 * var(--u)); margin: calc(9 * var(--u)) auto calc(1 * var(--u)); border-radius: calc(2 * var(--u)); background: rgba(255, 255, 255, .72); }

/* the feed */
.st-scr { flex: 1; min-height: 0; margin-top: calc(6 * var(--u)); border-radius: calc(32 * var(--u)); overflow: hidden; position: relative; background: #0d1117; }
.st-track { position: absolute; left: 0; right: 0; top: 0; height: 100%; transition: transform .55s cubic-bezier(.3, .7, .1, 1); }
.st-track.st-nt { transition: none; }
.st-post { position: absolute; left: 0; right: 0; height: 100%; }
.st-post img, .st-post video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.st-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 42%; padding: 0 calc(12 * var(--u)) calc(16 * var(--u)) calc(14 * var(--u)); display: flex; align-items: flex-end; gap: calc(10 * var(--u)); background: linear-gradient(0deg, rgba(5, 7, 10, .62), rgba(5, 7, 10, 0)); pointer-events: none; }
.st-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: calc(6 * var(--u)); }
.st-who p { display: flex; align-items: center; gap: calc(7 * var(--u)); font: 600 calc(12.5 * var(--u))/1 var(--sans); }
.st-who p i { flex: none; width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: 50%; background: linear-gradient(135deg, #ece9e2, #8f95a0); box-shadow: 0 0 0 1.5px #fff; }
.st-who span { font-size: calc(11.5 * var(--u)); line-height: 1.3; color: rgba(255, 255, 255, .86); }
.st-act { flex: none; display: flex; flex-direction: column; align-items: center; gap: calc(15 * var(--u)); padding-bottom: calc(2 * var(--u)); }
.st-act svg { width: calc(23 * var(--u)); height: calc(23 * var(--u)); fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.st-heart .f { fill: #ff3b5c; stroke: #ff3b5c; transform-box: fill-box; transform-origin: 50% 55%; transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.8, .5, 1); }
.st-phone.liked .st-heart .f { transform: scale(1); }
/* watch progress: fills over 6 s while the feed holds on the film (scaleX, the same look as the design's width) */
.st-bar { position: absolute; left: calc(14 * var(--u)); right: calc(14 * var(--u)); bottom: calc(6 * var(--u)); z-index: 3; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.st-bar i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.st-phone.held .st-bar i { transform: scaleX(1); transition: transform 6s linear; }

/* ---------- the thought, rising off the phone: a glass pill that types (it fades on itself, never on a parent) ---------- */
.st-think { position: absolute; z-index: 3; right: calc(392 * var(--u)); bottom: calc(470 * var(--u)); padding: calc(14 * var(--u)) calc(20 * var(--u)); border-radius: calc(22 * var(--u)); font: 400 calc(22 * var(--u))/1.15 var(--sans); letter-spacing: -.015em; color: #fff; white-space: nowrap;
  background: rgba(13, 17, 24, .36); -webkit-backdrop-filter: blur(24px) saturate(160%) brightness(.8); backdrop-filter: blur(24px) saturate(160%) brightness(.8);
  box-shadow: var(--rim), inset 1px 1px 1px -1px rgba(255, 255, 255, 0.36), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.26);
  opacity: 0; transform: translateY(calc(10 * var(--u))) scale(.96); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.st-think.on { opacity: 1; transform: none; }

/* ---------- phones (and portrait tablets): the 390 x 844 artboard. Phone top right, the words bottom left, the pill on the left ---------- */
@media (max-width: 900px) and (orientation: portrait) {
  .st { --u: min(100vw / 390, min(100vh, 1056px) / 844); }
  @supports (height: 100svh) { .st { --u: min(100vw / 390, min(100svh, 1056px) / 844); } }
  .st > .shade { background: linear-gradient(0deg, rgba(9, 9, 11, .88) 0%, rgba(9, 9, 11, .7) 40%, rgba(9, 9, 11, .05) 66%); }
  .st-copy { left: calc(22 * var(--u)); right: calc(18 * var(--u)); width: auto; bottom: calc(30 * var(--u)); gap: calc(14 * var(--u)); }
  .st-lead { font-size: calc(19 * var(--u)); }
  .st-big { margin-top: calc(10 * var(--u)); font-size: calc(34 * var(--u) * var(--st-fit, 1)); }
  .st-ph { right: calc(22 * var(--u)); top: calc(26 * var(--u)); bottom: auto; }
  .st-phone { width: calc(172 * var(--u)); height: calc(372 * var(--u)); padding: calc(7 * var(--u)); border-radius: calc(30 * var(--u)); }
  .st-status { height: calc(22 * var(--u)); padding: 0 calc(10 * var(--u)) 0 calc(14 * var(--u)); font-size: calc(10 * var(--u)); }
  .st-island { width: calc(48 * var(--u)); height: calc(15 * var(--u)); }
  .st-status svg { width: calc(32 * var(--u)); }
  .st-scr { border-radius: calc(23 * var(--u)); margin-top: calc(4 * var(--u)); }
  .st-ui { padding: 0 calc(8 * var(--u)) calc(10 * var(--u)) calc(9 * var(--u)); gap: calc(6 * var(--u)); }
  .st-who p { font-size: calc(9.5 * var(--u)); }
  .st-who p i { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
  .st-who span { font-size: calc(8.5 * var(--u)); }
  .st-act { gap: calc(9 * var(--u)); }
  .st-act svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
  .st-home { width: calc(64 * var(--u)); height: calc(3 * var(--u)); margin-top: calc(6 * var(--u)); }
  .st-think { left: calc(22 * var(--u)); right: auto; top: calc(96 * var(--u)); bottom: auto; font-size: calc(15 * var(--u)); padding: calc(10 * var(--u)) calc(14 * var(--u)); border-radius: calc(16 * var(--u)); }
}
/* a portrait tablet plays the wide clip: keep her in the middle of the frame */
@media (min-width: 701px) and (max-width: 900px) and (orientation: portrait) {
  .st > video.bg { object-position: 62% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .st-caret { animation: none; }
  .st-track, .st-heart .f, .st-think { transition: none; }
}


/* ===== 050-work ===== */
/* 030 work: the real films on a slow rail. The centre film is large, each one carries its kind, its brand and the sentence that started it. */
.wk { --wk-w: clamp(236px, 21.6vw, 318px); --wk-gap: clamp(12px, 1.5vw, 22px); --wk-ink: 21, 23, 27; border-radius: var(--frame-r) var(--frame-r) 0 0; overflow: hidden; overflow: clip; padding-bottom: clamp(64px, 8vw, 120px); }
.wk-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.wk-top .sec-head { margin-bottom: clamp(26px, 3.4vw, 48px); }
.wk-nav { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(26px, 3.4vw, 48px); flex: none; }
.wk-count { font: 500 11px/1 var(--mono); letter-spacing: .16em; color: rgba(var(--wk-ink), .5); margin-right: 10px; font-variant-numeric: tabular-nums; }
.wk-arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 1px 1px 1px -1px rgba(var(--wk-ink), 0.4), inset -1px -1px 1px -1px rgba(var(--wk-ink), 0.29); color: rgb(var(--wk-ink)); transition: transform .25s var(--ease), background-color .25s; }
.wk-arrow:hover { background: #fbfaf8; transform: scale(1.05); }
.wk-arrow:active { transform: scale(.95); }
.wk-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wk :focus-visible { outline-color: rgb(var(--wk-ink)); }

/* the rail: a real horizontal scroller (swipe, trackpad, drag), snapping each film to the centre */
.wk-rail { position: relative; display: flex; align-items: flex-start; gap: var(--wk-gap); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 6px calc(50% - var(--wk-w) / 2) 4px; cursor: grab; -webkit-user-select: none; user-select: none; }
.wk-rail::-webkit-scrollbar { display: none; }
.wk-rail.drag { scroll-snap-type: none; cursor: grabbing; }
.wk-rail.drag .wk-film { pointer-events: none; }
.wk-card { --f: 0; flex: none; width: var(--wk-w); scroll-snap-align: center; transform-origin: 50% calc(var(--wk-w) * 16 / 9); will-change: transform; }
.wk-film { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: clamp(18px, 1.7vw, 26px); overflow: hidden; background: #1a1d22; isolation: isolate; -webkit-user-drag: none; text-align: left; }
button.wk-film { cursor: pointer; }
.wk-film video, .wk-film > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.wk-film::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.45), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.32); pointer-events: none; z-index: 3; }
/* watch with sound: only on the films that have a full cut on the site */
.wk-play { position: absolute; z-index: 2; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px 0 6px; border-radius: 999px; font: 500 13.5px/1 var(--sans); letter-spacing: -.008em; color: #fff; background: rgba(10, 13, 18, .42); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: var(--rim); transition: background-color .25s var(--ease), transform .3s var(--ease); white-space: nowrap; }
.wk-play svg { width: 28px; height: 28px; padding: 8px 7px 8px 9px; border-radius: 50%; background: #fff; fill: #0c0f14; flex: none; }
button.wk-film:hover .wk-play { background: rgba(10, 13, 18, .62); transform: scale(1.03); }
.wk-dur { position: absolute; z-index: 2; right: 12px; bottom: 12px; height: 26px; padding: 0 9px; border-radius: 9px; display: inline-flex; align-items: center; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; color: #fff; background: rgba(10, 13, 18, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-variant-numeric: tabular-nums; }
.wk-dur:empty { display: none; }
button.wk-film .wk-dur { bottom: 19px; }

/* the label under each film */
.wk-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; opacity: calc(.5 + .5 * var(--f)); }
.wk-kind { font: 500 10.5px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: rgba(var(--wk-ink), .62); white-space: nowrap; }
.wk-brand { display: inline-flex; align-items: center; gap: 7px; font: 500 13px/1 var(--sans); letter-spacing: -.01em; color: rgb(var(--wk-ink)); white-space: nowrap; }
.wk-brand img { width: 20px; height: 20px; border-radius: 6px; }
.wk-ask { position: relative; margin-top: 12px; padding-left: 1.5em; min-height: 3.1em; font: 400 13.5px/1.55 var(--mono); letter-spacing: -.01em; color: rgb(var(--wk-ink)); opacity: calc(.44 + .56 * var(--f)); text-wrap: pretty; -webkit-user-select: text; user-select: text; }
.wk-ask b { position: absolute; left: 0; top: 0; font-weight: 500; color: rgba(var(--wk-ink), .4); }
.wk-ask.wk-plain { padding-left: 0; font: 500 17px/1.3 var(--sans); letter-spacing: -.02em; }
.wk-card.is-on .wk-say::after { content: ""; display: inline-block; width: 7px; height: 1.05em; margin-left: 3px; vertical-align: -.18em; background: rgba(var(--wk-ink), .82); animation: wk-blink 1.06s steps(1) infinite; }
.wk-card.is-on .wk-plain .wk-say::after { content: none; }
@keyframes wk-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* the carousel card: its slides flip like a story */
.wk-car .wk-film { background: #05070b; }
.wk-car .wk-film > img { opacity: 0; transition: opacity .55s var(--ease); }
.wk-car .wk-film > img.on { opacity: 1; }
.wk-segs { position: absolute; z-index: 2; left: 12px; right: 12px; top: 12px; display: flex; gap: 4px; }
.wk-segs i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.wk-segs i::after { content: ""; display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.wk-segs i.done::after { transform: none; }
.wk-segs i.now::after { animation: wk-seg var(--wk-flip, 1900ms) linear forwards; }
@keyframes wk-seg { to { transform: none; } }

/* the quiet line */
.wk-foot { margin-top: clamp(48px, 6vw, 88px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.wk-logos { display: flex; align-items: center; gap: 22px; opacity: .8; }
.wk-logos img { display: block; }
.wk-lg-m { height: 14px; width: auto; filter: brightness(0); }
.wk-lg-c { height: 24px; width: auto; }
.wk-logos i { width: 1px; height: 20px; background: rgba(var(--wk-ink), .22); }
.wk-line { font: 400 clamp(14.5px, 1.1vw, 16px)/1.5 var(--sans); letter-spacing: -.008em; color: rgba(var(--wk-ink), .6); max-width: 30em; text-wrap: balance; }

@media (max-width: 760px) {
  .wk { --wk-w: min(66vw, 300px); --wk-gap: 10px; }
  .wk-top { display: block; }
  .wk-nav { display: none; }
  .wk-rail { cursor: auto; padding-top: 2px; }
  .wk-play { height: 38px; font-size: 13px; left: 10px; bottom: 10px; }
  .wk-dur { right: 10px; }
  button.wk-film .wk-dur { bottom: 16px; }
  .wk-meta { opacity: var(--f); margin-top: 14px; }
  .wk-ask { opacity: var(--f); font-size: 12.5px; min-height: 4.7em; }
  .wk-brand { font-size: 12.5px; }
  .wk-kind { font-size: 10px; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) { .wk-card.is-on .wk-say::after { content: none; } }


/* ===== 060-carry ===== */
/* 040 carry: a person at an airport gate, the chat that makes a film floating beside him. Prefix: cy- */
.cy.frame { margin-block: var(--frame-m); overflow: visible; clip-path: inset(0 round var(--frame-r)); background: radial-gradient(70% 90% at 78% 30%, #6c737b 0%, #3a424c 38%, #171c24 78%, #10141a 100%); }
.cy > video.bg { top: -5%; height: 110%; object-position: 38% 50%; will-change: transform; transition: opacity .8s var(--ease); }
/* never a flat overlay: a side fall-off under the glass, a little top and bottom, and a progressive blur toward the right */
.cy > .shade { background:
  linear-gradient(270deg, rgba(7, 10, 15, .64) 0%, rgba(7, 10, 15, .46) 22%, rgba(7, 10, 15, .16) 46%, rgba(7, 10, 15, 0) 62%),
  radial-gradient(80% 70% at 100% 0%, rgba(7, 10, 15, .34), rgba(7, 10, 15, 0) 70%),
  linear-gradient(0deg, rgba(7, 10, 15, .3) 0%, rgba(7, 10, 15, 0) 26%); }
.cy-pbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cy-pbs i { position: absolute; inset: 0; -webkit-backdrop-filter: blur(var(--b)); backdrop-filter: blur(var(--b)); -webkit-mask-image: linear-gradient(var(--dir, 90deg), transparent var(--a), #000 var(--z)); mask-image: linear-gradient(var(--dir, 90deg), transparent var(--a), #000 var(--z)); }
.cy-pbs i:nth-child(1) { --b: 1.5px; --a: 34%; --z: 52%; }
.cy-pbs i:nth-child(2) { --b: 4px; --a: 42%; --z: 64%; }
.cy-pbs i:nth-child(3) { --b: 9px; --a: 52%; --z: 80%; }
.cy-pbs i:nth-child(4) { --b: 18px; --a: 64%; --z: 98%; }

.cy-in { position: relative; flex: 1; display: flex; justify-content: flex-end; padding: clamp(30px, 4.2vw, 60px); min-width: 0; }
.cy-col { width: min(520px, 48%); display: flex; flex-direction: column; justify-content: space-between; gap: clamp(26px, 3vw, 40px); min-width: 0; }
.cy-head { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 1.5vw, 22px); }
.cy-head .label { color: rgba(255, 255, 255, .88); }
.cy-h { font: 300 clamp(36px, 4.9vw, 74px)/1 var(--sans); letter-spacing: -.04em; color: #fff; }
.cy-h .two { color: rgba(255, 255, 255, .7); }

/* ---------- results: each answer is a real thing in glass. Sizes come from --mh (the media height) ---------- */
.cy-work { --mh: 288px; display: flex; flex-direction: column; gap: 14px; }
.cy-stage { position: relative; height: calc(var(--mh) + 64px); transition: opacity .5s var(--ease); }
.cy-work.cy-out .cy-stage { opacity: 0; }
.cy-r { position: absolute; right: 0; bottom: 0; padding: 8px 8px 12px; border-radius: 22px; background: rgba(14, 20, 28, .36); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%); box-shadow: var(--rim); color: #fff; opacity: 0; transform: translate3d(36px, 14px, 0) scale(.94); transform-origin: 100% 100%; transition: transform .95s var(--ease), opacity .55s var(--ease); will-change: transform, opacity; }
.cy-r::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #070a0f; opacity: var(--dim, 0); pointer-events: none; transition: opacity .8s var(--ease); }
.cy-media { position: relative; height: var(--mh); border-radius: 15px; overflow: hidden; background: #0d1117; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.45), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.32); }
.cy-media > img, .cy-media > video { width: 100%; height: 100%; object-fit: cover; }
.cy-r-film .cy-media, .cy-r-ad .cy-media { aspect-ratio: 9 / 16; }
.cy-r-car .cy-media, .cy-r-flyer .cy-media { aspect-ratio: 4 / 5; }
.cy-r .mono { display: flex; align-items: center; gap: 6px; margin: 11px 5px 0; font-size: 9.5px; line-height: 1; color: var(--sand-3); white-space: nowrap; }
.cy-t { margin: 7px 5px 0; font: 500 14px/1.15 var(--sans); letter-spacing: -.012em; white-space: nowrap; }
.cy-chip { position: absolute; left: 8px; top: 8px; padding: 5px 7px 4px; border-radius: 7px; font: 500 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #10151c; background: var(--pearl); }

.cy-track { display: flex; height: 100%; transition: transform .8s var(--ease-io); will-change: transform; }
.cy-track img { flex: none; width: 100%; height: 100%; object-fit: cover; }
.cy-dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; gap: 5px; }
.cy-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .4); transition: background-color .3s, transform .3s; }
.cy-dots i.on { background: #fff; transform: scale(1.25); }

.cy-r-cal .cy-media { height: auto; width: 318px; padding: 9px 8px 8px; background: rgba(0, 0, 0, .26); }
.cy-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 7px; }
.cy-days i { font: 500 9px/1 var(--mono); font-style: normal; letter-spacing: .1em; text-align: center; color: var(--sand-3); }
.cy-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cy-cell { position: relative; aspect-ratio: 9 / 16; border-radius: 7px; overflow: hidden; background: rgba(255, 255, 255, .05); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.32), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.22); }
.cy-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateY(-16px) scale(1.25); transition: opacity .4s var(--ease), transform .65s cubic-bezier(.2, 1.2, .3, 1); transition-delay: calc(var(--n) * 90ms + 350ms); }
.cy-r-cal.live .cy-cell img { opacity: 1; transform: none; }

.cy-meta-mark { width: 15px; height: 15px; }
.cy-live { display: flex; align-items: center; gap: 8px; }
.cy-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pearl); box-shadow: 0 0 0 0 rgba(236, 233, 226, .5); animation: cy-live 1.8s ease-out infinite; }
@keyframes cy-live { 0% { box-shadow: 0 0 0 0 rgba(236, 233, 226, .55); } 100% { box-shadow: 0 0 0 9px rgba(236, 233, 226, 0); } }

/* ---------- the composer: a real chat composer, two lines tall ---------- */
.cy-comp { position: relative; padding: 18px 12px 12px 20px; border-radius: 26px; background: rgba(14, 20, 28, .34); -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .5), inset -1px -1px 1px -1px rgba(255, 255, 255, .5); color: #fff; }
.cy-ask { min-height: 2.64em; padding-right: 8px; font: 400 19px/1.32 var(--sans); letter-spacing: -.012em; }
.cy-ask.ph .cy-ask-t { color: rgba(255, 255, 255, .42); }
.cy-caret { display: inline-block; width: 2px; height: 1.08em; margin-left: 2px; border-radius: 1px; vertical-align: -.18em; background: #0a84ff; opacity: 0; }
.cy-comp.typing .cy-caret { opacity: 1; }
.cy-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.cy-lock { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--sans); letter-spacing: -.01em; color: rgba(255, 255, 255, .92); }
.cy-lock b { font-weight: 500; }
.cy-lock i { font-style: normal; opacity: .45; margin: 0 1px; }
.cy-app { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); box-shadow: var(--rim-soft); }
.cy-app svg { width: 18px; height: 18px; overflow: visible; }
.cy-spark { width: 17px; height: 17px; fill: #d97757; }
.cy-state { margin-left: auto; font-size: 9.5px; color: var(--sand-3); opacity: 0; transition: opacity .3s; }
.cy-comp.working .cy-state { opacity: 1; }
.cy-send { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 3px; background: rgba(255, 255, 255, .1); transition: transform .2s var(--ease), background-color .25s; }
.cy-send svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.cy-comp.has .cy-send { background: var(--pearl); }
.cy-comp.has .cy-send svg { stroke: #10151c; }
.cy-send.tap { transform: scale(.86); }
.cy-send i { display: none; width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: pf-dot 1.1s ease-in-out infinite; }
.cy-send i:nth-of-type(2) { animation-delay: .18s; } .cy-send i:nth-of-type(3) { animation-delay: .36s; }
.cy-comp.working .cy-send { background: rgba(255, 255, 255, .1); }
.cy-comp.working .cy-send svg { display: none; }
.cy-comp.working .cy-send i { display: block; }

@media (max-width: 1180px) {
  .cy-work { --mh: 250px; }
  .cy-r-cal .cy-media { width: 290px; }
}
/* phones: he fills the top of the frame; the words, the composer and one result at a time sit below */
@media (max-width: 760px) {
  .cy.frame.tall { min-height: 940px; }
  .cy > video.bg { object-position: 58% 50%; }
  .cy > .shade { background:
    linear-gradient(0deg, rgba(7, 10, 15, .76) 0%, rgba(7, 10, 15, .58) 40%, rgba(7, 10, 15, .2) 58%, rgba(7, 10, 15, 0) 70%),
    linear-gradient(180deg, rgba(7, 10, 15, .3) 0%, rgba(7, 10, 15, 0) 16%); }
  .cy-pbs { --dir: 180deg; }
  .cy-pbs i:nth-child(1) { --b: 2px; --a: 30%; --z: 42%; }
  .cy-pbs i:nth-child(2) { --b: 6px; --a: 35%; --z: 54%; }
  .cy-pbs i:nth-child(3) { --b: 14px; --a: 42%; --z: 70%; }
  .cy-pbs i:nth-child(4) { display: none; }
  .cy-in { padding: 30px 8px 8px; }
  .cy-col { width: 100%; justify-content: flex-end; gap: 20px; }
  .cy-head { padding-inline: 16px; gap: 13px; }
  .cy-h { font-size: clamp(36px, 10.4vw, 44px); line-height: 1.04; }
  .cy-work { --mh: 232px; flex-direction: column-reverse; gap: 10px; }
  .cy-comp { padding: 16px 10px 10px 18px; border-radius: 22px; }
  .cy-ask { font-size: 17.5px; }
  .cy-r { top: 0; bottom: auto; transform-origin: 50% 0; }
}


/* ===== 070-library ===== */
/* 050 library: the clips, each with its prompt, and a field that turns a line into footage. Prefix: lb- */
.lb { padding-bottom: clamp(40px, 5vw, 72px); overflow: hidden; overflow: clip; }
.lb .sec-head { margin-bottom: clamp(32px, 4.4vw, 60px); }
/* what the library runs on: three marks, one line */
.lb-lock { display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.lb-lock svg { flex: none; }
.lb-mk { width: 22px; height: 22px; overflow: visible; margin-right: -2px; }
.lb-hf { width: 16px; height: 16px; fill: #fff; }
.lb-cl { width: 16px; height: 16px; fill: #d97757; }
.lb-lock i { font-style: normal; font-weight: 400; opacity: .5; margin: 0 6px; font-size: 13px; letter-spacing: 0; }

/* ---------- a clip ---------- */
.lb-tile { position: relative; flex: none; width: var(--lb-w); aspect-ratio: 9 / 16; margin: 0; border-radius: clamp(14px, 1.3vw, 20px); overflow: hidden; background: #12161c; isolation: isolate; transform: translateZ(0); }
.lb-tile > img, .lb-tile > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lb-tile > video { opacity: 0; transition: opacity .5s var(--ease); }
.lb-tile.has > video { opacity: 1; }
.lb-tile::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.45), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.32); pointer-events: none; }
.lb-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(180deg, rgba(6, 9, 13, 0), rgba(6, 9, 13, .62)); pointer-events: none; transition: opacity .4s var(--ease); }
.lb-name { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 11px; font: 500 12.5px/1.25 var(--sans); letter-spacing: -.01em; color: #fff; transition: opacity .3s var(--ease), transform .45s var(--ease); }
/* the prompt, on glass */
.lb-pr { position: absolute; z-index: 3; left: 7px; right: 7px; bottom: 7px; padding: 11px 11px 10px; border-radius: 13px; background: rgba(8, 11, 16, .5); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); box-shadow: var(--rim); opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .3s var(--ease), transform .45s var(--ease); pointer-events: none; }
.lb-tile.open .lb-pr { opacity: 1; transform: none; }
.lb-tile.open .lb-name { opacity: 0; transform: translate3d(0, -6px, 0); }
.lb-tile.open::after { opacity: 0; }
.lb-pr-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font: 500 12.5px/1.2 var(--sans); letter-spacing: -.01em; color: #fff; }
.lb-pr-h b { flex: none; font: 500 8.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .56); }
.lb-pr-t { position: relative; margin-top: 8px; font: 400 10px/1.5 var(--mono); letter-spacing: -.01em; color: rgba(255, 255, 255, .9); overflow-wrap: anywhere; }
.lb-pr-t .gh { visibility: hidden; }
.lb-pr-t .lv { position: absolute; inset: 0; }
.lb-pr-t .f1 { filter: blur(.9px); opacity: .72; }
.lb-pr-t .f2 { filter: blur(1.9px); opacity: .5; }
.lb-pr-t .f3 { filter: blur(3px); opacity: .32; }
.lb-pr-tag { display: inline-flex; align-items: center; height: 19px; margin-top: 8px; padding: 0 7px; border-radius: 6px; font: 500 8.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #10151c; background: var(--pearl); opacity: 0; transform: translate3d(0, 4px, 0); transition: opacity .35s var(--ease), transform .45s var(--ease); white-space: nowrap; }
.lb-tile.done .lb-pr-tag { opacity: 1; transform: none; }

/* ---------- the wall (pointer): two slow rows ---------- */
.lb-wall { --lb-w: clamp(158px, 14.6vw, 216px); --lb-gap: clamp(8px, .9vw, 14px); display: grid; gap: var(--lb-gap); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.lb-row { display: flex; gap: var(--lb-gap); width: max-content; will-change: transform; }
.lb-wall .lb-tile { cursor: default; }

/* ---------- the wall (touch): one row you swipe, the centred clip shows its prompt ---------- */
.lb-wall.is-rail { --lb-w: min(60vw, 250px); --lb-gap: 10px; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px calc(50% - var(--lb-w) / 2); -webkit-mask-image: none; mask-image: none; }
.lb-wall.is-rail::-webkit-scrollbar { display: none; }
.lb-wall.is-rail .lb-tile { scroll-snap-align: center; opacity: .5; transform: scale(.94); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.lb-wall.is-rail .lb-tile.mid { opacity: 1; transform: none; }
.lb-wall.is-rail .lb-pr-t { font-size: 10.5px; }

.lb-count { display: flex; justify-content: center; margin-top: clamp(22px, 2.6vw, 34px); }

/* ---------- describe a scene ---------- */
.lb-stage { margin-top: clamp(56px, 7vw, 104px); }
.lb-stage > .lb-sky { object-position: 50% 60%; animation: lb-sky 26s ease-in-out infinite alternate; }
@keyframes lb-sky { from { transform: scale(1.02); } to { transform: scale(1.12) translate3d(0, -1.2%, 0); } }
@media (prefers-reduced-motion: reduce) { .lb-stage > .lb-sky { animation: none; } }
.lb-stage-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: clamp(26px, 3.2vw, 44px); }
.lb-stage-head .label { color: rgba(255, 255, 255, .86); }
.lb-stage-head .lede { margin: 0; color: rgba(255, 255, 255, .86); }
.lb-stage-head .vo { margin-top: 6px; }
.lb-stage > .shade { background: linear-gradient(180deg, rgba(6, 9, 13, .42), rgba(6, 9, 13, .08) 34%, rgba(6, 9, 13, .1) 62%, rgba(6, 9, 13, .5)); }
.lb-stage-in { position: relative; display: flex; flex-direction: column; align-items: center; padding: clamp(40px, 5vw, 72px) clamp(14px, 3vw, 40px) clamp(30px, 4vw, 56px); }
.lb-ask { width: min(640px, 100%); padding-inline: 14px; }
.lb-ask-top { display: flex; justify-content: space-between; margin: 0 -12px 22px; }
.lb-ask-top .label { color: rgba(255, 255, 255, .88); font-size: 10.5px; }
.lb-ask .brk { color: rgba(255, 255, 255, .9); }
/* matching, then written */
.lb-match { display: inline-flex; align-items: center; gap: 12px; height: 54px; margin-top: clamp(20px, 2.2vw, 28px); padding: 0 14px 0 8px; border-radius: 16px; background: rgba(8, 11, 16, .46); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); box-shadow: var(--rim); opacity: 0; transform: translate3d(0, -8px, 0) scale(.97); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.lb-match.on { opacity: 1; transform: none; }
.lb-match-th { display: flex; gap: 4px; }
.lb-match-th i { width: 22px; height: 38px; border-radius: 6px; background: #1a1f27 center / cover no-repeat; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.63), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.45); transition: opacity .3s var(--ease), transform .45s var(--ease); }
.lb-match.done .lb-match-th i:not(:first-child) { opacity: .28; transform: scale(.9); }
.lb-match-t { display: grid; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.lb-match-t span { grid-area: 1 / 1; transition: opacity .3s var(--ease), transform .45s var(--ease); }
.lb-m1::after { content: ""; display: inline-block; width: 2.2em; letter-spacing: .1em; text-align: left; animation: lb-dots 1.1s steps(4) infinite; }
@keyframes lb-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75%, 100% { content: "..."; } }
.lb-m2 { opacity: 0; transform: translate3d(0, 6px, 0); display: inline-flex; align-items: center; gap: 8px; }
.lb-m2::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pearl); }
.lb-match.done .lb-m1 { opacity: 0; transform: translate3d(0, -6px, 0); }
.lb-match.done .lb-m2 { opacity: 1; transform: none; }
.lb-deck { --lb-w: clamp(196px, 19.5vw, 270px); position: relative; width: 100%; height: calc(var(--lb-w) * 16 / 9); margin-top: clamp(20px, 2.4vw, 32px); }
.lb-deck .lb-tile { position: absolute; left: 50%; top: 0; margin-left: calc(var(--lb-w) / -2); transform: translate3d(calc(var(--x, 0) * 1%), 0, 0) scale(var(--s, .74)); transform-origin: 50% 60%; opacity: var(--o, .6); z-index: var(--z, 1); transition: transform 1s var(--ease), opacity .7s var(--ease); will-change: transform; }
.lb-deck .lb-tile[data-pos="-1"] { --x: -96; }
.lb-deck .lb-tile[data-pos="1"] { --x: 96; }
.lb-deck .lb-tile[data-pos="0"] { --x: 0; }
.lb-deck .lb-tile.front { --s: 1; --o: 1; --z: 3; }
.lb-deck .lb-pr { left: 9px; right: 9px; bottom: 9px; padding: 13px 13px 12px; border-radius: 15px; }
.lb-deck .lb-pr-h { font-size: 14px; }
.lb-deck .lb-pr-t { font-size: 11px; }
.lb-deck .lb-name { font-size: 13.5px; left: 14px; bottom: 13px; }

@media (max-width: 760px) {
  .lb-deck { --lb-w: min(56vw, 230px); }
  .lb-deck .lb-tile[data-pos="-1"] { --x: -78; }
  .lb-deck .lb-tile[data-pos="1"] { --x: 78; }
  .lb-ask { padding-inline: 12px; }
  .lb-ask-top { margin-bottom: 20px; }
  .lb-lock { font-size: 10px; letter-spacing: .14em; gap: 6px; }
  .lb-lock i { margin: 0 3px; }
  .lb-mk { width: 19px; height: 19px; }
  .lb-hf, .lb-cl { width: 14px; height: 14px; }
  .lb-match { height: 50px; gap: 10px; }
  .lb-match-t { font-size: 9.5px; letter-spacing: .12em; }
  .lb-stage-in { padding-top: 34px; }
  .lb-deck .lb-pr { padding: 11px 11px 10px; }
  .lb-deck .lb-pr-h { font-size: 12.5px; }
  .lb-deck .lb-pr-t { font-size: 10px; }
}

/* the whole "Any shot" stage fits one screen on a laptop: the words tighten and the cards take whatever height is left */
@media (min-width: 761px) {
  .lb-stage-in { padding-top: clamp(26px, 3.6svh, 52px); padding-bottom: clamp(18px, 2.6svh, 36px); }
  .lb-stage-head { gap: 10px; margin-bottom: clamp(14px, 2.2svh, 28px); }
  .lb-stage-head .h-lg { font-size: clamp(34px, 5.6svh, 62px); }
  .lb-stage-head .vo { margin-top: 4px; }
  .lb-ask-top { margin-bottom: 16px; }
  .lb-stage .lb-match { height: 46px; margin-top: 14px; }
  .lb-stage .lb-match-th i { height: 32px; width: 19px; }
  .lb-stage .lb-deck { --lb-w: clamp(150px, min(19.5vw, calc((100svh - 590px) * .5625)), 270px); margin-top: 16px; }
}


/* ===== 080-viral ===== */
/* 080 viral. Prefix vl- for the three-beat graphic (driven by the prompt field), vlb- for the library below it (the app's Viral Lab tab). */
.vl .sec-head { margin-bottom: clamp(30px, 4vw, 56px); }

.vl-stage { position: relative; width: calc(100% - 2 * var(--frame-m)); max-width: 1520px; margin-inline: auto; padding: clamp(10px, 2.2vw, 34px); border-radius: var(--frame-r); overflow: hidden; isolation: isolate; background: #10141a; color: var(--sand); color-scheme: dark; }
.vl-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.vl-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 11, 16, .34), rgba(8, 11, 16, .2) 30%, rgba(8, 11, 16, .46)); pointer-events: none; }

.vl-ask { width: min(620px, calc(100% - 30px)); margin: clamp(22px, 2.8vw, 40px) auto clamp(30px, 3.4vw, 50px); }
.vl-ask .brk { color: rgba(255, 255, 255, .9); }

/* ---------- the flow ---------- */
.vl-flow { --ch: clamp(330px, 30.5vw, 440px); display: grid; grid-template-columns: auto 40px minmax(0, 1fr) 40px auto; column-gap: clamp(8px, 1.3vw, 20px); align-items: start; margin: 0; padding: clamp(14px, 2vw, 28px) clamp(14px, 2.2vw, 30px) clamp(16px, 2vw, 26px); border-radius: clamp(20px, 2.1vw, 28px); background: rgba(var(--tint), .44); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--rim); text-align: left; }
.vl-step { display: flex; flex-direction: column; min-width: 0; }
.vl-head { display: flex; align-items: baseline; gap: 10px; min-height: 26px; margin-bottom: 16px; opacity: .46; transition: opacity .6s var(--ease); }
.vl-step.on .vl-head { opacity: 1; }
.vl-num { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--sand-3); }
.vl-t { font: 500 clamp(16px, 1.42vw, 20.5px)/1.15 var(--sans); letter-spacing: -.018em; white-space: nowrap; }
.vl-sub { width: 0; min-width: 100%; margin-top: 14px; font: 400 13.5px/1.42 var(--sans); letter-spacing: -.003em; color: var(--sand-2); text-wrap: pretty; }
.vl-raw { opacity: 0; transform: translateY(6px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.vl-raw.on { opacity: 1; transform: none; }
.vl-arrow { align-self: center; opacity: .28; transition: opacity .6s var(--ease); }
.vl-arrow.on { opacity: .95; }
.vl-arrow svg { width: 100%; height: 16px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* cards (9:16, like the app's Viral Lab cards) */
.vl-card { position: relative; height: var(--ch); aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .05); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.54), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.38); }
.vl-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.54), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.38); pointer-events: none; }
/* a stand-in for someone else's video: a blurred figure, never a real frame */
.vl-ab { --a1: var(--a, #8490a2); --b1: var(--b, #262c36); position: absolute; inset: 0; overflow: hidden; background: linear-gradient(172deg, var(--a1), var(--b1)); background: linear-gradient(172deg, var(--a1) 0%, color-mix(in srgb, var(--a1) 45%, var(--b1)) 44%, var(--b1) 100%); }
.vl-ab::before { content: ""; position: absolute; left: 50%; top: 34%; width: 40%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: var(--c, #dccbb9); opacity: .82; filter: blur(15px); }
.vl-ab::after { content: ""; position: absolute; left: 50%; top: 80%; width: 92%; height: 56%; border-radius: 48% 48% 0 0; transform: translate(-50%, -50%); background: #14181e; background: color-mix(in srgb, var(--b1) 78%, #000); filter: blur(17px); }
.vl-ref .vl-ab { opacity: 0; transition: opacity .9s var(--ease); }
.vl-ref .vl-ab.on { opacity: 1; }
.vl-link { position: absolute; z-index: 2; left: 9px; right: 9px; top: 9px; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px 0 9px; border-radius: 999px; font: 500 12.5px/1 var(--sans); letter-spacing: -.005em; color: #fff; background: rgba(8, 11, 16, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--rim-soft); opacity: 0; transform: translateY(-10px) scale(.94); transition: opacity .45s var(--ease), transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.vl-link.on { opacity: 1; transform: none; }
.vl-link img { flex: none; width: 16px; height: 16px; }
.vl-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vl-playg { position: absolute; z-index: 2; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--rim); opacity: 0; transform: scale(.8); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.vl-playg.on { opacity: 1; transform: none; }
.vl-playg svg { width: 18px; height: 18px; margin-left: 2px; fill: #fff; }
.vl-views { position: absolute; z-index: 2; left: 14px; bottom: 13px; font: 400 12.5px/1 var(--sans); color: var(--sand-2); opacity: 0; transition: opacity .6s var(--ease); }
.vl-views b { margin-right: 3px; font: 300 clamp(26px, 2.3vw, 33px)/1 var(--sans); letter-spacing: -.035em; color: #fff; }
.vl-views.on { opacity: 1; }
.vl-tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font: 600 10.5px/1 var(--sans); color: #fffbf4; white-space: nowrap; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(12px) saturate(150%) brightness(.5); backdrop-filter: blur(12px) saturate(150%) brightness(.5); box-shadow: var(--rim); }
.vl-tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--ice); transition: background-color .5s; }
.vl-tag em { font-style: normal; }
.vl-tag-b { display: none; }
.vl-flow.studied .vl-tag-ref i { background: var(--pearl); }
.vl-flow.studied .vl-tag-ref .vl-tag-a { display: none; }
.vl-flow.studied .vl-tag-ref .vl-tag-b { display: inline; }
.vl-tag-ref { right: 9px; bottom: 12px; opacity: 0; transition: opacity .6s var(--ease); }
.vl-tag-ref.on { opacity: 1; }
.vl-scan { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 36%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .22)); border-bottom: 1.5px solid #fff; opacity: 0; pointer-events: none; }
.vl-flow.scan .vl-scan { animation: vl-scan 2.1s var(--ease-io) 2 both; }
@keyframes vl-scan { 0% { opacity: 1; transform: translateY(-100%); } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(290%); } }

/* the breakdown: why it works */
.vl-panel { display: flex; flex-direction: column; height: var(--ch); padding: 14px 18px 6px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: var(--rim); }
.vl-ptop { display: flex; align-items: center; justify-content: space-between; min-height: 26px; padding-bottom: 10px; }
.vl-ptop b { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-3); }
.vl-pstat { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font: 600 10.5px/1 var(--sans); color: var(--sand-2); background: rgba(255, 255, 255, .08); opacity: 0; transition: opacity .5s var(--ease), background-color .5s, color .5s; }
.vl-pstat i { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); }
.vl-pstat em { font-style: normal; }
.vl-pstat-b { display: none; }
.vl-flow.scan .vl-pstat, .vl-flow.studied .vl-pstat { opacity: 1; }
.vl-flow.scan .vl-pstat i { animation: pf-dot 1.1s ease-in-out infinite; }
.vl-flow.studied .vl-pstat { color: #101318; background: var(--pearl); }
.vl-flow.studied .vl-pstat i { background: #101318; }
.vl-flow.studied .vl-pstat-a { display: none; }
.vl-flow.studied .vl-pstat-b { display: inline; }
.vl-rows { flex: 1; min-height: 0; display: grid; grid-auto-rows: 1fr; }
.vl-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 128px; align-items: center; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.vl-k { font: 400 13.5px/1 var(--sans); color: var(--sand-4); transition: color .5s var(--ease); }
.vl-row.on .vl-k { color: var(--sand-3); }
.vl-v { min-height: 1.2em; font: 500 clamp(15px, 1.42vw, 20.5px)/1.2 var(--sans); letter-spacing: -.016em; color: #fff; white-space: nowrap; }
.vl-viz { position: relative; display: flex; align-items: center; height: 30px; opacity: 0; transition: opacity .5s var(--ease) .1s; }
.vl-row.on .vl-viz { opacity: 1; }
.vl-viz u { display: block; text-decoration: none; }
.vl-z-hook::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: rgba(255, 255, 255, .15); }
.vl-z-hook u { position: relative; width: 27%; height: 6px; border-radius: 3px; background: var(--pearl); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease) .25s; }
.vl-row.on .vl-z-hook u { transform: none; }
.vl-z-pace { justify-content: space-between; }
.vl-z-pace u { width: 2px; height: 16px; border-radius: 1px; background: rgba(255, 255, 255, .8); opacity: 0; transform: scaleY(.3); transition: opacity .3s, transform .4s var(--ease); transition-delay: calc(var(--n) * 70ms + 150ms); }
.vl-row.on .vl-z-pace u { opacity: 1; transform: none; }
.vl-z-cap { justify-content: flex-end; }
.vl-z-cap::before { content: ""; width: 19px; height: 30px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.vl-z-cap u { position: absolute; right: 4px; top: 6px; width: 11px; height: 3px; border-radius: 2px; background: var(--pearl); transform: scaleX(0); transition: transform .5s var(--ease) .3s; }
.vl-row.on .vl-z-cap u { transform: none; }
.vl-z-str { gap: 3px; }
.vl-z-str u { height: 8px; border-radius: 3px; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); transition-delay: calc(var(--n) * 220ms + 150ms); }
.vl-z-str u:nth-child(1) { flex: 16; background: var(--pearl); }
.vl-z-str u:nth-child(2) { flex: 50; background: rgba(255, 255, 255, .56); }
.vl-z-str u:nth-child(3) { flex: 34; background: rgba(255, 255, 255, .28); }
.vl-row.on .vl-z-str u { transform: none; }
.vl-z-snd { gap: 3px; justify-content: space-between; }
.vl-z-snd u { flex: 1; height: 34%; border-radius: 1px; background: rgba(255, 255, 255, .5); transform: scaleY(0); transition: transform .4s var(--ease); transition-delay: calc(var(--n) * 28ms + 150ms); }
.vl-z-snd u:nth-child(4n + 1) { height: 92%; background: var(--pearl); }
.vl-z-snd u:nth-child(4n + 3) { height: 54%; }
.vl-row.on .vl-z-snd u { transform: none; }
.vl-viz u:nth-child(1) { --n: 0; } .vl-viz u:nth-child(2) { --n: 1; } .vl-viz u:nth-child(3) { --n: 2; } .vl-viz u:nth-child(4) { --n: 3; }
.vl-viz u:nth-child(5) { --n: 4; } .vl-viz u:nth-child(6) { --n: 5; } .vl-viz u:nth-child(7) { --n: 6; } .vl-viz u:nth-child(8) { --n: 7; }
.vl-viz u:nth-child(9) { --n: 8; } .vl-viz u:nth-child(10) { --n: 9; } .vl-viz u:nth-child(11) { --n: 10; } .vl-viz u:nth-child(12) { --n: 11; }
.vl-viz u:nth-child(13) { --n: 12; } .vl-viz u:nth-child(14) { --n: 13; } .vl-viz u:nth-child(15) { --n: 14; } .vl-viz u:nth-child(16) { --n: 15; }

/* the remake */
.vl-you video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease), transform 1.2s var(--ease); }
.vl-s3.on .vl-you video { opacity: 1; transform: none; }
.vl-tag-you { left: 9px; top: 9px; opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.vl-tag-you.on { opacity: 1; transform: none; }
.vl-chips { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 11px; display: flex; flex-wrap: wrap; gap: 6px; }
.vl-chips span { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 8px; border-radius: 999px; font: 600 11px/1 var(--sans); color: #fffbf4; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(12px) saturate(150%) brightness(.5); backdrop-filter: blur(12px) saturate(150%) brightness(.5); box-shadow: var(--rim); opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .45s var(--ease), transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.vl-chips span::before { content: ""; width: 5px; height: 9px; margin: -3px 2px 0 3px; border: solid var(--pearl); border-width: 0 1.6px 1.6px 0; transform: rotate(42deg); }
.vl-chips span.on { opacity: 1; transform: none; }

/* ---------- the library: the app's Viral Lab tab (Studio_App web/product/viral.css: cards, chips, the open video) ---------- */
.vlb-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: clamp(20px, 4vw, 64px); margin-top: clamp(64px, 8vw, 120px); margin-bottom: clamp(26px, 3.2vw, 44px); }
.vlb-head .lede { justify-self: end; max-width: 27em; }
.vlb-head-l { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }

.vlb { --on: inset 1px 1px 1px -1px rgba(255, 255, 255, .9), inset -1px -1px 1px -1px rgba(255, 255, 255, .7), inset 2px 2px 5px -2px rgba(196, 214, 238, .62), inset -2px -2px 5px -2px rgba(242, 226, 220, .62);
  width: calc(100% - 2 * var(--frame-m)); max-width: 1520px; margin-inline: auto; color: var(--sand); color-scheme: dark; }
.vlb > .bg { object-position: 50% 30%; }
.vlb > .shade { background: linear-gradient(180deg, rgba(6, 9, 13, .2), rgba(6, 9, 13, .1) 40%, rgba(6, 9, 13, .34)); }
.vlb-in { padding: clamp(10px, 2.2vw, 34px); }
.vlb-app { border-radius: clamp(20px, 2.1vw, 28px); padding: clamp(10px, 1.3vw, 18px); text-align: left; }

/* the tab's bar */
.vlb-bar { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(10px, 1.2vw, 16px); white-space: nowrap; min-width: 0; }
.vlb-seg { flex: none; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .045); box-shadow: var(--rim); }
.vlb-seg b { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 999px; font: 500 13px/1 var(--sans); color: var(--sand-2); }
.vlb-seg b.on { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: var(--on); }
.vlb-seg i { font-style: normal; opacity: .55; font-variant-numeric: tabular-nums; }
.vlb-find { flex: 0 1 290px; min-width: 0; display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 14px; border-radius: 999px; font: 400 13px/1 var(--sans); color: var(--sand-3); overflow: hidden; background: rgba(255, 255, 255, .045); box-shadow: var(--rim); }
.vlb-find svg { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--sand-2); stroke-width: 1.5; stroke-linecap: round; }
.vlb-about { font: 400 12.5px/1 var(--sans); color: var(--sand-3); font-variant-numeric: tabular-nums; }
.vlb-about b { font-weight: 500; color: var(--sand-2); }
.vlb-add { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 14px 0 16px; border-radius: 999px; font: 500 13px/1 var(--sans); color: #fff; background: rgba(255, 255, 255, .08); box-shadow: var(--rim); transition: transform .2s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease); }
.vlb-add svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vlb-add.tap { transform: scale(.94); background: rgba(255, 255, 255, .26); box-shadow: var(--on); }

.vlb-body { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: clamp(10px, 1.2vw, 16px); align-items: stretch; }

/* saved videos: 9:16 cards with the app's status chip and view count */
.vlb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, .8vw, 11px); margin: 0; align-content: start; }
.vlb-tile { position: relative; aspect-ratio: 9 / 16; border-radius: clamp(11px, 1.15vw, 16px); overflow: hidden; background: #0d1117; box-shadow: var(--rim); }
.vlb-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vlb-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .3), transparent 28%, transparent 58%, rgba(0, 0, 0, .52)); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.45), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.32); }
.vlb-top { position: absolute; z-index: 2; left: 7px; top: 7px; right: 7px; display: flex; align-items: center; gap: 5px; }
.vlb-plat { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); box-shadow: var(--rim); }
.vlb-plat img { width: 13px; height: 13px; }
.vlb-st { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px 0 8px; border-radius: 999px; font: 500 10.5px/1 var(--sans); color: #fff; white-space: nowrap; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); box-shadow: var(--rim); }
.vlb-st i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ice); transition: background-color .4s var(--ease); }
.vlb-st.ok i { background: var(--pearl); }
.vlb-st em { font-style: normal; }
.vlb-big { position: absolute; z-index: 2; left: 10px; right: 8px; bottom: 9px; display: flex; align-items: baseline; gap: 5px; color: #fff; white-space: nowrap; }
.vlb-big b { font: 300 clamp(19px, 1.75vw, 26px)/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vlb-big em { font: 500 10.5px/1 var(--sans); font-style: normal; opacity: .9; }

/* the slot a new video lands in */
.vlb-new { background: rgba(255, 255, 255, .04); transition: box-shadow .5s var(--ease); }
.vlb-new::after { opacity: 0; transition: opacity .6s var(--ease); }
.vlb-new::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px dashed rgba(255, 255, 255, .34); transition: opacity .4s var(--ease); pointer-events: none; }
.vlb-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; transition: opacity .35s var(--ease); }
.vlb-empty i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); box-shadow: var(--rim); }
.vlb-empty svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.vlb-empty b { font: 500 13px/1.15 var(--sans); color: var(--sand-2); }
.vlb-link { position: absolute; z-index: 3; left: 5px; right: 5px; top: 50%; display: flex; align-items: center; gap: 5px; height: 32px; margin-top: -16px; padding: 0 8px 0 7px; border-radius: 999px; font: 500 10.5px/1 var(--sans); letter-spacing: -.01em; color: #fff; background: rgba(8, 11, 16, .6); box-shadow: var(--rim); opacity: 0; transform: scale(.94); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.vlb-link img { flex: none; width: 14px; height: 14px; }
.vlb-link span { min-width: 0; overflow: hidden; white-space: nowrap; }
.vlb-link span::after { content: ""; display: inline-block; width: 1.5px; height: 12px; margin-left: 1px; vertical-align: -2px; background: #0a84ff; }
.vlb-new .vlb-pic, .vlb-new .vlb-top, .vlb-new .vlb-big { opacity: 0; transition: opacity .6s var(--ease); }
.vlb-new .vlb-pic { transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.vlb-new.link .vlb-empty { opacity: 0; }
.vlb-new.link .vlb-link { opacity: 1; transform: none; }
.vlb-new.saved::before, .vlb-new.saved .vlb-empty, .vlb-new.saved .vlb-link { opacity: 0; }
.vlb-new.saved::after, .vlb-new.saved .vlb-top, .vlb-new.saved .vlb-big { opacity: 1; }
.vlb-new.saved .vlb-pic { opacity: 1; transform: none; }
.vlb-new.saved { box-shadow: var(--on), 0 0 0 2px rgba(255, 255, 255, .72); }
.vlb-new.studying .vlb-st i { animation: pf-dot 1.1s ease-in-out infinite; }
.vlb-scan { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 36%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .22)); border-bottom: 1.5px solid #fff; opacity: 0; pointer-events: none; }
.vlb-new.studying .vlb-scan { animation: vl-scan 1.9s var(--ease-io) 2 both; }

/* the open video: what Claude kept, and the remake beside it */
.vlb-open { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(12px, 1.6vw, 22px); align-items: stretch; min-width: 0; padding: clamp(12px, 1.4vw, 20px); border-radius: clamp(16px, 1.6vw, 22px); background: rgba(255, 255, 255, .05); box-shadow: var(--rim); }
.vlb-main { display: flex; flex-direction: column; min-width: 0; }
.vlb-oh { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding-bottom: 12px; }
.vlb-oh > * { transition: opacity .5s var(--ease); }
.vlb-thumb { flex: none; width: 29px; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: #0d1117; box-shadow: var(--rim); }
.vlb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vlb-ot { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.vlb-ot b { font: 600 clamp(15px, 1.25vw, 18px)/1.1 var(--sans); letter-spacing: -.012em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vlb-ot small { font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sand-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vlb-stat { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 9px; border-radius: 999px; font: 600 10.5px/1 var(--sans); color: var(--sand-2); white-space: nowrap; background: rgba(255, 255, 255, .08); transition: opacity .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease); }
.vlb-stat i { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); animation: pf-dot 1.1s ease-in-out infinite; }
.vlb-stat em { font-style: normal; }
.vlb-stat .b { display: none; }
.vlb-none { position: absolute; left: 0; top: 0; bottom: 12px; display: flex; align-items: center; font: 400 14px/1.3 var(--sans); color: var(--sand-3); }
.vlb-open:not(.open) .vlb-thumb, .vlb-open:not(.open) .vlb-ot, .vlb-open:not(.open) .vlb-stat { opacity: 0; }
.vlb-open.open .vlb-none { opacity: 0; }
.vlb-open.studied .vlb-stat { color: #101318; background: var(--pearl); }
.vlb-open.studied .vlb-stat i { background: #101318; animation: none; }
.vlb-open.studied .vlb-stat .a { display: none; }
.vlb-open.studied .vlb-stat .b { display: inline; }

.vlb-rows { flex: 1; min-height: 0; display: grid; grid-auto-rows: 1fr; margin: 0; }
.vlb-row { display: grid; grid-template-columns: minmax(0, 1fr) clamp(64px, 7.4vw, 108px); grid-template-rows: auto auto; align-content: center; column-gap: 14px; row-gap: 8px; min-height: 66px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.vlb-k { grid-column: 1; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-4); transition: color .5s var(--ease); }
.vlb-k i { font-style: normal; margin-left: 8px; opacity: 0; transition: opacity .5s var(--ease); }
.vlb-row.on .vlb-k { color: var(--sand-3); }
.vlb-row.on .vlb-k i { opacity: .8; }
.vlb-v { grid-column: 1; min-height: 1.2em; font: 500 clamp(15px, 1.32vw, 19px)/1.2 var(--sans); letter-spacing: -.016em; color: #fff; }
.vlb-viz { grid-column: 2; grid-row: 1 / span 2; align-self: center; position: relative; display: flex; align-items: center; height: 30px; opacity: 0; transition: opacity .5s var(--ease) .1s; }
.vlb-row.on .vlb-viz { opacity: 1; }
.vlb-viz u { display: block; text-decoration: none; }
.vlb-z-hook::before, .vlb-z-cut::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: rgba(255, 255, 255, .15); }
.vlb-z-hook u { position: relative; width: 33.3%; height: 6px; border-radius: 3px; background: var(--pearl); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease) .25s; }
.vlb-row.on .vlb-z-hook u { transform: none; }
.vlb-z-cut u { position: absolute; left: var(--x); top: 50%; width: 2px; height: 18px; margin: -9px 0 0 -1px; border-radius: 1px; background: #fff; opacity: 0; transform: scaleY(.3); transition: opacity .3s, transform .4s var(--ease); transition-delay: calc(var(--n) * 90ms + 150ms); }
.vlb-row.on .vlb-z-cut u { opacity: 1; transform: none; }
.vlb-z-cap { justify-content: flex-end; }
.vlb-z-cap::before { content: ""; width: 19px; height: 30px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.vlb-z-cap u { position: absolute; right: 4px; top: 13px; width: 11px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .22); }
.vlb-z-mus { gap: 3px; justify-content: space-between; }
.vlb-z-mus u { flex: 1; height: 44%; border-radius: 1px; background: rgba(255, 255, 255, .5); transform: scaleY(0); transition: transform .4s var(--ease); transition-delay: calc(var(--n) * 30ms + 150ms); }
.vlb-z-mus u:nth-child(2n + 1) { height: 92%; background: var(--pearl); }
.vlb-row.on .vlb-z-mus u { transform: none; }
.vlb-viz u:nth-child(1) { --n: 0; } .vlb-viz u:nth-child(2) { --n: 1; } .vlb-viz u:nth-child(3) { --n: 2; } .vlb-viz u:nth-child(4) { --n: 3; }
.vlb-viz u:nth-child(5) { --n: 4; } .vlb-viz u:nth-child(6) { --n: 5; } .vlb-viz u:nth-child(7) { --n: 6; } .vlb-viz u:nth-child(8) { --n: 7; }
.vlb-viz u:nth-child(9) { --n: 8; } .vlb-viz u:nth-child(10) { --n: 9; } .vlb-viz u:nth-child(11) { --n: 10; } .vlb-viz u:nth-child(12) { --n: 11; }

.vlb-acts { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.vlb-go { position: relative; flex: none; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 18px; border-radius: 999px; font: 500 14px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap; color: var(--sand-3); background: rgba(255, 255, 255, .06); box-shadow: var(--rim); transition: transform .2s var(--ease), background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease); }
.vlb-go em { font-style: normal; }
.vlb-go .b, .vlb-go .c, .vlb-go .dots, .vlb-go .ck { display: none; }
.vlb-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vlb-go .dots { gap: 3px; }
.vlb-go .dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: pf-dot 1.1s ease-in-out infinite; }
.vlb-go .dots i:nth-child(2) { animation-delay: .18s; } .vlb-go .dots i:nth-child(3) { animation-delay: .36s; }
.vlb-go.ready { color: #101318; background: var(--pearl); box-shadow: none; }
.vlb-go.tap { transform: scale(.94); background: #fff; }
.vlb-go.busy { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: var(--rim); }
.vlb-go.busy .a, .vlb-go.busy .ar, .vlb-go.done .a, .vlb-go.done .ar { display: none; }
.vlb-go.busy .b, .vlb-go.done .c { display: inline; }
.vlb-go.busy .dots { display: inline-flex; }
.vlb-go.done { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: var(--on); }
.vlb-go.done .ck { display: block; order: -1; stroke: var(--pearl); }
.vlb-kept { min-width: 0; font: 500 10px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sand-3); opacity: 0; transition: opacity .6s var(--ease); }
.vlb-open.studied .vlb-kept { opacity: 1; }

.vlb-re { position: relative; align-self: center; width: clamp(150px, 17.4vw, 250px); aspect-ratio: 9 / 16; border-radius: clamp(13px, 1.3vw, 18px); overflow: hidden; background: rgba(255, 255, 255, .035); }
.vlb-re::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px dashed rgba(255, 255, 255, .26); transition: opacity .5s var(--ease); pointer-events: none; }
.vlb-re::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .26), transparent 24%, transparent 66%, rgba(0, 0, 0, .46)); box-shadow: var(--rim); opacity: 0; transition: opacity .6s var(--ease); }
.vlb-re-l { position: absolute; inset: 0; display: grid; place-items: center; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sand-3); transition: opacity .4s var(--ease); }
.vlb-re video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.vlb-re.making::before { animation: vlb-pulse 1.1s ease-in-out infinite; }
.vlb-re.making .vlb-re-l { opacity: .5; }
@keyframes vlb-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.vlb-re.on::before, .vlb-re.on .vlb-re-l { opacity: 0; }
.vlb-re.on::after { opacity: 1; }
.vlb-re.on video { opacity: 1; transform: none; }
.vlb-re-b, .vlb-re-v { position: absolute; z-index: 2; left: 9px; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 8px; border-radius: 999px; font: 600 11px/1 var(--sans); color: #fffbf4; white-space: nowrap; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(12px) saturate(150%) brightness(.6); backdrop-filter: blur(12px) saturate(150%) brightness(.6); box-shadow: var(--rim); opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .45s var(--ease), transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.vlb-re-b { top: 9px; padding-left: 5px; transform: translateY(-6px) scale(.94); }
.vlb-re-b img { width: 16px; height: 16px; border-radius: 4.5px; }
.vlb-re-v { bottom: 10px; }
.vlb-re-v i { width: 5px; height: 5px; border-radius: 50%; background: var(--pearl); }
.vlb-re.on .vlb-re-b, .vlb-re.on .vlb-re-v { opacity: 1; transform: none; transition-delay: .35s; }
.vlb-re.on .vlb-re-v { transition-delay: .6s; }

@media (max-width: 1180px) {
  .vlb-find, .vlb-ot small span { display: none; }
  .vlb-body { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .vlb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vlb-tile:nth-child(n + 7) { display: none; }
}
@media (max-width: 900px) {
  .vlb-head { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 14px; }
  .vlb-head .lede { justify-self: center; }
  .vlb-head-l { align-items: center; }
  .vlb-body { grid-template-columns: minmax(0, 1fr); }
  .vlb-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .vlb-tile:nth-child(n + 7) { display: none; }
  .vlb-plat { display: none; }
}
@media (max-width: 760px) {
  .vlb-in { padding: 8px; }
  .vlb-app { padding: 9px; border-radius: 20px; }
  .vlb-bar { gap: 8px; margin-bottom: 9px; }
  .vlb-about { display: none; }
  .vlb-seg b { height: 30px; padding: 0 11px; font-size: 12.5px; }
  .vlb-add { height: 36px; padding: 0 12px 0 14px; font-size: 12.5px; }
  .vlb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .vlb-tile:nth-child(n + 5) { display: none; }
  .vlb-tile { border-radius: 11px; }
  .vlb-top { left: 5px; top: 5px; right: 5px; }
  .vlb-st { height: 19px; padding: 0 7px 0 6px; gap: 4px; font-size: 9.5px; }
  .vlb-st i { width: 5px; height: 5px; }
  .vlb-big { left: 7px; bottom: 7px; gap: 3px; }
  .vlb-big b { font-size: 17px; }
  .vlb-big em { display: none; }
  .vlb-empty { gap: 8px; }
  .vlb-empty i { width: 30px; height: 30px; }
  .vlb-empty b { font-size: 11px; }
  .vlb-link { left: 4px; right: 4px; height: 26px; margin-top: -13px; padding: 0 7px 0 5px; gap: 4px; font-size: 9.5px; }
  .vlb-link img { width: 12px; height: 12px; }
  .vlb-open { grid-template-columns: minmax(0, 1fr) 37%; gap: 12px; padding: 12px; border-radius: 16px; margin-top: 2px; }
  .vlb-main { display: contents; }
  .vlb-oh { grid-column: 1 / -1; min-height: 44px; padding-bottom: 10px; }
  .vlb-rows { grid-column: 1; grid-row: 2; grid-auto-rows: auto; align-content: space-between; }
  .vlb-ot small span { display: none; }
  .vlb-row { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 10px 0; row-gap: 6px; }
  .vlb-row:last-child { padding-bottom: 12px; }
  .vlb-viz { display: none; }
  .vlb-z-cut { display: flex; grid-column: 1; grid-row: 3; height: 18px; margin-top: 2px; }
  .vlb-z-cut u { height: 14px; margin-top: -7px; }
  .vlb-v { font-size: 14.5px; }
  .vlb-re { grid-column: 2; grid-row: 2; width: 100%; align-self: center; border-radius: 13px; }
  .vlb-acts { grid-column: 1 / -1; grid-row: 3; padding-top: 12px; gap: 10px; }
  .vlb-go { height: 42px; padding: 0 14px 0 16px; font-size: 13.5px; }
  .vlb-kept { font-size: 9px; letter-spacing: .1em; }
  .vlb-re-b, .vlb-re-v { left: 6px; height: 21px; padding: 0 8px 0 6px; font-size: 10px; }
  .vlb-re-b { top: 6px; padding-left: 4px; }
  .vlb-re-b img { width: 14px; height: 14px; }
  .vlb-re-v { bottom: 7px; }
}

@media (max-width: 1180px) {
  .vl-flow { grid-template-columns: auto 26px minmax(0, 1fr) 26px auto; }
  .vl-row { grid-template-columns: 80px minmax(0, 1fr) 72px; gap: 10px; }
  .vl-panel { padding-inline: 16px; }
  .vl-head { min-height: 42px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .vl-t { white-space: normal; width: 0; min-width: 100%; }
}
@media (max-width: 760px) {
  .vl-stage { padding: 10px; }
  .vl-ask { margin: 20px auto 30px; }
  .vl-flow { --ch: auto; grid-template-columns: 1fr; row-gap: 22px; padding: 16px 14px 18px; border-radius: 20px; }
  .vl-arrow { display: none; }
  .vl-s1, .vl-s3 { display: grid; grid-template-columns: 41% minmax(0, 1fr); column-gap: 14px; }
  .vl-s1 .vl-card, .vl-s3 .vl-card { grid-column: 1; grid-row: 1 / span 2; width: 100%; height: auto; border-radius: 14px; }
  .vl-s1 .vl-head, .vl-s3 .vl-head { grid-column: 2; align-self: end; margin-bottom: 10px; min-height: 0; }
  .vl-s1 .vl-sub, .vl-s3 .vl-sub { grid-column: 2; align-self: start; margin-top: 0; width: auto; min-width: 0; font-size: 13.5px; }
  .vl-head { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; margin-bottom: 12px; }
  .vl-t { font-size: 18px; white-space: normal; width: auto; min-width: 0; }
  .vl-link { left: 6px; right: 6px; top: 6px; height: 28px; padding: 0 8px 0 7px; font-size: 10.5px; gap: 5px; }
  .vl-link img { width: 13px; height: 13px; }
  .vl-playg { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
  .vl-playg svg { width: 14px; height: 14px; }
  .vl-views { left: 10px; bottom: 10px; font-size: 11px; }
  .vl-views b { font-size: 23px; }
  .vl-tag-ref { right: auto; left: 8px; bottom: 40px; height: 20px; font-size: 10px; }
  .vl-panel { height: auto; padding: 14px 14px 4px; border-radius: 16px; }
  .vl-row { grid-template-columns: 76px minmax(0, 1fr) 62px; min-height: 48px; }
  .vl-v { font-size: 15px; }
  .vl-chips { left: 7px; right: 7px; bottom: 8px; gap: 5px; }
  .vl-chips span { height: 25px; padding: 0 9px 0 7px; font-size: 11px; }
  .vl-tag-you { left: 7px; top: 7px; }
}
}

.vl-tag-you i { background: var(--pearl); }


/* ===== 090-notes ===== */
/* 070 notes: Studio's editor, drawn from the app's own styles (web/vista/editor.css, timeline.css):
   a glass top bar and three glass panels over the wallpaper: timeline, player, comments. Same tokens, same controls. */
.nt.frame { margin-block: var(--frame-m); align-items: center; }
.nt > .bg { object-position: 50% 58%; }
.nt > .shade { background: linear-gradient(180deg, rgba(7, 11, 17, .5), rgba(7, 11, 17, .2) 34%, rgba(7, 11, 17, .1) 62%, rgba(7, 11, 17, .3)); }
.nt-in { width: 100%; max-width: 1272px; margin-inline: auto; padding: clamp(68px, 6.6vw, 96px) clamp(10px, 3vw, 40px) clamp(10px, 3vw, 40px); }

.nt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px 56px; margin-bottom: clamp(24px, 3vw, 42px); padding-inline: clamp(8px, 1vw, 12px); }
.nt-head-l { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 22px); }
.nt-head .label { color: rgba(255, 255, 255, .88); }
.nt-head .two { color: rgba(255, 255, 255, .6); }
.nt-head .lede { max-width: 24.5em; padding-bottom: .45em; color: rgba(255, 255, 255, .88); }

/* ---------- the app's tokens ---------- */
.nt-ed {
  --g: 12px; --ph: clamp(276px, 26.4vw, 380px);
  --s2: rgba(245, 243, 238, .76); --s3: rgba(245, 243, 238, .46);
  --v-g: rgba(255, 255, 255, .045); --v-on: rgba(255, 255, 255, .1);
  --v-rim: inset 1px 1px 1px -1px rgba(255, 255, 255, .6), inset -1px -1px 1px -1px rgba(255, 255, 255, .5);
  --e-rim: inset 1px 1px 1px -1px rgba(255, 255, 255, .4), inset -1px -1px 1px -1px rgba(255, 255, 255, .3);
  --tl-clip: #8fb8f5; --tl-sfx: #bfe3ff; --tl-music: #8fcfe6; --tl-fx: #b9a2ff; --tl-head: #ff5a52; --ice: #bfe3ff;
  position: relative; display: flex; flex-direction: column; gap: var(--g); text-align: left; font: 400 12.5px/1 var(--sans); color: var(--sand);
}
.nt-ed p { margin: 0; }
.nt-ed svg { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- top bar ---------- */
.nt-bar { display: flex; align-items: center; gap: 6px; height: 60px; padding: 0 12px; border-radius: 24px; background: rgba(12, 19, 28, .38); -webkit-backdrop-filter: blur(30px) saturate(145%) contrast(1.06); backdrop-filter: blur(30px) saturate(145%) contrast(1.06); box-shadow: var(--v-rim); white-space: nowrap; }
.nt-bar > * { flex: none; }
.nt-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--s2); background: var(--v-g); box-shadow: var(--v-rim); }
.nt-ic svg { width: 16px; height: 16px; }
.nt-bar .nt-title { flex: 1 1 auto; min-width: 0; margin: 0 6px; font: 600 15px/1 var(--sans); letter-spacing: -.005em; overflow: hidden; text-overflow: ellipsis; }
.nt-vsel, .nt-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 999px; font: 500 12.5px/1 var(--sans); color: var(--s2); background: var(--v-g); box-shadow: var(--v-rim); }
.nt-vsel { padding: 0 10px 0 14px; transition: background-color .5s var(--ease), color .5s var(--ease); }
.nt-vsel svg { width: 13px; height: 13px; opacity: .76; }
.nt-vnum { font-weight: 500; }
.nt-ed[data-s="done"] .nt-vsel { color: #101318; background: var(--pearl); }
.nt-pill svg { width: 15px; height: 15px; }
.nt-pill i { width: 7px; height: 7px; border-radius: 50%; }
.nt-rev i { box-shadow: inset 0 0 0 1.2px var(--s3); }
.nt-stdd { color: var(--sand); }
.nt-stdd i { background: #6fb4ff; }
.nt-stdd svg { width: 12px; height: 12px; margin-left: -1px; opacity: .7; }
.nt-ad svg { width: 17px; height: 17px; color: #4f9bff; stroke-width: 1.35; }

/* Submit, here "Send to Claude" */
.nt-send { position: relative; display: inline-grid; place-items: center; height: 36px; min-width: 232px; padding: 0 16px; border-radius: 999px; overflow: hidden; font: 600 12.5px/1 var(--sans); color: #fff; white-space: nowrap; background: var(--v-on); box-shadow: var(--v-rim); transition: transform .18s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.nt-send-m { display: none; }
.nt-send.press { transform: scale(.95); background: rgba(255, 255, 255, .24); }
.nt-send-idle, .nt-send-busy, .nt-send-done { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; transition: opacity .32s var(--ease), transform .45s var(--ease); }
.nt-send small { font: inherit; margin-left: -5px; }
.nt-send small b { font-weight: inherit; }
.nt-send svg { width: 14px; height: 14px; stroke-width: 1.6; }
.nt-send .nt-orb { width: 18px; height: 18px; }
.nt-send-busy, .nt-send-done { opacity: 0; transform: translateY(9px); }
.nt-ed[data-s="busy"] .nt-send-idle, .nt-ed[data-s="done"] .nt-send-idle { opacity: 0; transform: translateY(-9px); }
.nt-ed[data-s="busy"] .nt-send-busy, .nt-ed[data-s="done"] .nt-send-done { opacity: 1; transform: none; }
.nt-ed[data-s="done"] .nt-send { color: #101318; background: var(--pearl); }

/* ---------- panels: glass, the wallpaper glows through ---------- */
.nt-panes { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(250px, 324px); gap: var(--g); }
.nt-pane { min-width: 0; border-radius: 22px; background: rgba(9, 10, 13, .55); -webkit-backdrop-filter: blur(30px) saturate(140%); backdrop-filter: blur(30px) saturate(140%); box-shadow: var(--e-rim); }

/* ---------- timeline panel ---------- */
.nt-keys { --lab: 62px; --pr: 4px; display: flex; flex-direction: column; padding: 14px 12px 14px 16px; }
.nt-khead { display: flex; align-items: center; gap: 9px; min-height: 30px; padding: 2px 4px 6px 0; white-space: nowrap; }
.nt-khead b { font: 600 14px/1 var(--sans); }
.nt-khead em { font: 500 10px/1 var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--s3); }
.nt-khead em::before { content: "✓ "; color: var(--s2); }
.nt-zoom { position: relative; flex: 0 1 96px; height: 3px; margin-left: auto; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.nt-zoom i { position: absolute; left: 22%; top: -5px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.nt-zoom2 { margin-left: 14px; }
.nt-zoom2 i { left: 12%; }
.nt-hide { height: 26px; margin-left: 10px; padding: 0 11px; border-radius: 999px; display: inline-grid; place-items: center; font: 500 11.5px/1 var(--sans); color: var(--s2); background: var(--v-g); box-shadow: var(--v-rim); }

.nt-tl { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 4px; }
.nt-ruler { display: grid; grid-template-columns: repeat(6, 1fr); height: 18px; margin: 0 var(--pr) 4px var(--lab) !important; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .3) 0 1px, transparent 1px 16.6667%) left bottom / 100% 8px no-repeat, repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 4.16667%) left bottom / 100% 4px no-repeat; }
.nt-ruler span { padding: 1px 0 0 4px; font: 500 9.5px/1 var(--mono); color: var(--s3); }
.nt-track { position: relative; flex: none; display: grid; grid-template-columns: calc(var(--lab) - 8px) minmax(0, 1fr); column-gap: 8px; padding-right: var(--pr); align-items: center; }
.nt-thin { height: 20px; }
.nt-v1 { flex: 1 1 56px; min-height: 56px; }
.nt-a1 { height: 30px; }
.nt-kl { height: 27px; }
.nt-m1 { height: 40px; }
.nt-vn { display: flex; flex-direction: column; gap: 2px; padding-left: 2px; font: 500 11px/1.05 var(--mono); letter-spacing: .04em; color: var(--sand); white-space: nowrap; }
.nt-vn small { font: 400 9px/1.1 var(--sans); letter-spacing: 0; color: var(--s3); }
.nt-thin .nt-vn { flex-direction: row; align-items: baseline; gap: 4px; }
.nt-vn-a { color: var(--tl-clip); }
.nt-vn-m { color: var(--tl-music); }
.nt-vn-n { padding-left: 34px; color: var(--s3); }
.nt-lane { position: relative; height: 100%; border-radius: 7px; background: rgba(255, 255, 255, .035); overflow: hidden; container-type: inline-size; }
.nt-lane > * { position: absolute; left: var(--l); width: var(--w); top: 0; bottom: 0; box-sizing: border-box; font-style: normal; }
.nt-chip { padding: 0 6px; border-radius: 5px; font: 500 9.5px/20px var(--mono); color: #fff; white-space: nowrap; overflow: hidden; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .5); }
.nt-fx { background: color-mix(in srgb, var(--tl-fx) 26%, transparent); box-shadow: inset 0 0 0 .5px color-mix(in srgb, var(--tl-fx) 72%, transparent); }
.nt-clip { border-radius: 5px; background: #171b20 center 26% / cover no-repeat; box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .3); }
.nt-clip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .34); }
.nt-logo { display: grid; place-items: center; background: #0d1014; }
.nt-logo b { font: 500 9px/1.2 var(--mono); color: #fff; }
.nt-hit { --hc: var(--tl-sfx); border-radius: 4px; color: var(--hc); background: color-mix(in srgb, var(--hc) 24%, transparent); box-shadow: inset 0 0 0 .5px color-mix(in srgb, var(--hc) 80%, transparent); }
.nt-a1 .nt-hit { --hc: var(--tl-clip); top: 3px; bottom: 3px; }
.nt-named { top: 4px; bottom: 4px; padding: 0 5px; font: 500 9px/19px var(--mono); color: #fff; white-space: nowrap; overflow: hidden; }
.nt-wv { display: flex; align-items: center; gap: 1px; padding: 0 3px; overflow: hidden; }
.nt-wv u { flex: 1; min-width: 1px; border-radius: 1px; background: currentColor; text-decoration: none; opacity: .9; }
.nt-voice { color: rgba(230, 235, 242, .5); top: 5px; bottom: 5px; }
.nt-kline { left: 0 !important; width: 100% !important; top: 5px !important; bottom: auto !important; height: 1.5px; background: #fff; }
.nt-mu { --hc: var(--tl-music); top: 2px; bottom: 2px; border-radius: 4px; color: color-mix(in srgb, var(--hc) 82%, #fff); background: color-mix(in srgb, var(--hc) 16%, transparent); box-shadow: inset 0 0 0 .5px color-mix(in srgb, var(--hc) 80%, transparent); padding-top: 13px; }
.nt-mu b { position: absolute; left: 0; right: 0; top: 0; height: 13px; padding: 0 5px; font: 500 8.5px/13px var(--mono); letter-spacing: .02em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--hc) 34%, rgba(13, 18, 24, .5)); }
.nt-mu-old, .nt-mu-new { transition: opacity .6s var(--ease), transform .8s var(--ease), box-shadow 1s var(--ease); }
.nt-mu-new { --hc: #e9c9a0; opacity: 0; transform: scale(.92); }
.nt-ed.v2a .nt-mu-old { opacity: 0; transform: scale(.95); }
.nt-ed.v2a .nt-mu-new { opacity: 1; transform: none; box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 2px rgba(255, 255, 255, .22); }
.nt-ed.v2c .nt-mu-new { box-shadow: inset 1px 1px 1px -1px #fff, inset -1px -1px 1px -1px rgba(255, 255, 255, .85), 0 0 12px rgba(191, 227, 255, .35); }
.nt-mv { transition: transform .9s var(--ease-io), box-shadow .6s var(--ease); }
.nt-ed.v2b .nt-mv { transform: translateX(3.5cqw); }
.nt-ed.v2b .nt-logo { box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 2px rgba(255, 255, 255, .22); z-index: 2; }
.nt-ed.v2c .nt-logo { box-shadow: inset 1px 1px 1px -1px #fff, inset -1px -1px 1px -1px rgba(255, 255, 255, .85), 0 0 12px rgba(191, 227, 255, .35); }

.nt-vol { display: flex; align-items: center; justify-content: space-between; min-height: 30px; margin-top: 5px !important; padding: 5px var(--pr) 0 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.nt-vol b { font: 600 14px/1 var(--sans); }
.nt-vol span { font: 500 11px/1 var(--sans); color: var(--s3); }
.nt-lrow { display: flex; align-items: center; gap: 3px; height: 21px; padding-right: var(--pr); white-space: nowrap; overflow: hidden; }
.nt-lrow > * { flex: none; }
.nt-lrow b { margin-right: 6px; font: 600 12px/1 var(--sans); }
.nt-lrow i { width: 19px; height: 18px; border-radius: 5px; font: 500 9.5px/18px var(--mono); font-style: normal; text-align: center; color: var(--s3); background: rgba(255, 255, 255, .07); }
.nt-db { margin-left: 6px; font: 500 11px/1 var(--mono); color: var(--sand); font-variant-numeric: tabular-nums; }
.nt-pts { margin-left: 5px; font: 400 10.5px/1 var(--sans); color: var(--s3); }
.nt-key { margin-left: auto; height: 20px; padding: 0 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 5px; font: 500 11px/1 var(--sans); color: #fff; background: rgba(255, 255, 255, .06); }
.nt-key::before { content: ""; width: 5px; height: 5px; background: #fff; transform: rotate(45deg); }

.nt-ph, .nt-scan { position: absolute; left: var(--lab); right: var(--pr); top: 0; bottom: 0; pointer-events: none; }
.nt-ph { animation: nt-run 22s linear infinite paused; }
.nt-ph::before { content: ""; position: absolute; left: -.75px; top: 10px; bottom: 0; width: 1.5px; background: var(--tl-head); }
.nt-ph::after { content: ""; position: absolute; left: -5.5px; top: 0; width: 11px; height: 12px; border-radius: 3px 3px 6px 6px; background: var(--tl-head); }
.nt-ed.live .nt-ph, .nt-ed.live .nt-scrub i { animation-play-state: running; }
@keyframes nt-run { from { transform: translateX(0); } to { transform: translateX(100%); } }
.nt-scan { top: 22px; overflow: hidden; border-radius: 7px; opacity: 0; transition: opacity .4s; }
.nt-scan::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 74%, rgba(255, 255, 255, .2)); border-right: 2px solid #fff; transform: translateX(-101%); }
.nt-ed.cut .nt-scan { opacity: 1; }
.nt-ed.cut .nt-scan::before { animation: nt-scan 2.3s var(--ease-io) forwards; }
@keyframes nt-scan { to { transform: translateX(0); } }
.nt-ed.cut .nt-ph { opacity: 0; }

/* ---------- player panel ---------- */
.nt-play { display: flex; flex-direction: column; padding: 0 12px; }
.nt-toggles { display: flex; align-items: center; gap: 5px; height: 46px; }
.nt-toggles span { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 7px; border-radius: 999px; font: 500 11px/1 var(--sans); color: var(--s2); background: var(--v-g); box-shadow: var(--v-rim); white-space: nowrap; }
.nt-toggles i { position: relative; width: 24px; height: 14px; border-radius: 14px; background: rgba(255, 255, 255, .2); }
.nt-toggles i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.nt-stage { display: flex; justify-content: center; gap: 10px; padding-left: 16px; }
.nt-screen { position: relative; flex: none; height: var(--ph); aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #000; }
.nt-screen video { width: 100%; height: 100%; object-fit: cover; }
.nt-meter { flex: none; display: flex; gap: 2px; width: 6px; margin-block: 8px; }
.nt-meter i { flex: 1; border-radius: 1px; background: linear-gradient(0deg, rgba(255, 255, 255, .5) 0 46%, rgba(255, 255, 255, .1) 46%); }
.nt-meter i:last-child { background: linear-gradient(0deg, rgba(255, 255, 255, .5) 0 38%, rgba(255, 255, 255, .1) 38%); }
.nt-pin { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--sans); color: #fff; background: var(--tl-head); box-shadow: 0 0 0 2px rgba(255, 255, 255, .94); transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.7, .5, 1), background-color .4s, opacity .35s; }
.nt-pin.on { transform: none; }
.nt-pin::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid #fff; opacity: 0; }
.nt-pin.on::after { animation: nt-ring .9s ease-out 1; }
@keyframes nt-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.3); } }
.nt-pin.done { background: #12161c; color: transparent; }
.nt-pin.done::before { content: ""; position: absolute; left: 50%; top: 46%; width: 5px; height: 10px; margin: -6px 0 0 -3px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(42deg); }
.nt-scrub { position: relative; height: 3px; margin: 22px 8px 29px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.nt-scrub i { position: absolute; inset: 0; animation: nt-run 22s linear infinite paused; }
.nt-scrub i::before { content: ""; position: absolute; left: -6px; top: -4.5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.nt-scrub b { position: absolute; left: var(--l); top: 10px; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; display: grid; place-items: center; font: 600 9px/1 var(--sans); color: #fff; background: var(--tl-head); transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.7, .5, 1), opacity .35s; }
.nt-scrub b.on { transform: none; }
.nt-ctl { display: flex; align-items: center; gap: 5px; height: 60px; padding-bottom: 12px; }
.nt-playb { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--v-on); box-shadow: var(--v-rim); }
.nt-playb svg { width: 16px; height: 16px; fill: #fff; stroke: none; }
.nt-tp { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px; display: inline-grid; place-items: center; font: 500 12px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--s2); background: var(--v-g); box-shadow: var(--v-rim); }
.nt-loop { padding: 0; }
.nt-loop svg { width: 16px; height: 16px; }
.nt-tc { margin-left: auto; padding-left: 8px; text-align: right; }
.nt-tc b { display: block; font: 500 13px/1.2 var(--mono); letter-spacing: .03em; font-variant-numeric: tabular-nums; color: var(--sand); }
.nt-tc small { display: block; margin-top: 3px; font: 500 10px/1.2 var(--mono); letter-spacing: .03em; color: var(--s3); }

/* ---------- comments panel ---------- */
.nt-side { display: flex; flex-direction: column; padding: 12px; }
.nt-tabs { display: flex; gap: 3px; margin-bottom: 10px !important; }
.nt-tabs > * { flex: 1 1 auto; height: 32px; padding: 0 10px; border-radius: 999px; display: inline-grid; place-items: center; font: 500 12px/1 var(--sans); color: var(--s3); }
.nt-tabs b { color: #fff; background: var(--v-on); box-shadow: var(--v-rim); }
.nt-ptools { display: flex; align-items: center; justify-content: space-between; min-height: 24px; padding: 0 2px 9px; font: 400 11.5px/1 var(--sans); color: var(--s3); }
.nt-list { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 9px; }
.nt-hint { position: absolute; left: 2px; right: 2px; top: 6px; font: 400 12.5px/1.5 var(--sans); color: var(--s3); transition: opacity .35s var(--ease); }
.nt-ed.has-notes .nt-hint { opacity: 0; }
.nt-item, .nt-tlog { padding: 10px 12px 12px; border-radius: 14px; background: rgba(255, 255, 255, .055); box-shadow: var(--v-rim); opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.nt-item.on, .nt-ed.v2c .nt-tlog { opacity: 1; transform: none; }
.nt-ih { display: flex; align-items: center; gap: 7px; height: 22px; font: 400 11px/1 var(--sans); color: var(--s3); }
.nt-ih b { font-weight: 500; color: var(--s2); }
.nt-ih em { font: 500 10px/1 var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #ffb0b8; }
.nt-st-b { display: none; }
.nt-item.done .nt-st-a { display: none; }
.nt-item.done .nt-st-b { display: inline; color: var(--ice); }
.nt-num { margin-left: auto; font: 500 10.5px/1 var(--mono); }
.nt-edit { padding: 0 4px; }
.nt-line { display: flex; align-items: flex-start; gap: 8px; margin-top: 5px !important; }
.nt-time { flex: none; height: 20px; padding: 0 7px; border-radius: 6px; display: inline-flex; align-items: center; font: 500 10.5px/1 var(--mono); font-variant-numeric: tabular-nums; color: #fff; background: rgba(255, 255, 255, .12); white-space: nowrap; }
.nt-text { padding-top: 1px; font: 400 13.5px/1.4 var(--sans); letter-spacing: -.003em; color: var(--sand); min-height: 1.4em; }
.nt-text.typing::after, .nt-comp.typing .nt-comp-text::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -.16em; background: #fff; }
.nt-tlog { margin-top: auto; padding: 11px 12px; }
.nt-tlh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px !important; }
.nt-tlh b { font: 600 13px/1 var(--sans); }
.nt-tlh span, .nt-tlsh span { font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--s3); }
.nt-tlsh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px !important; }
.nt-tlsh2 { margin-top: 9px !important; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .1); }
.nt-tlsh em { height: 20px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; font: 600 10.5px/1 var(--sans); font-style: normal; color: var(--ice); background: rgba(191, 227, 255, .2); }
.nt-tlp { font: 400 12.5px/1.45 var(--sans); color: var(--sand); }
.nt-comp { position: relative; margin-top: 9px; padding: 9px 9px 7px 11px; border-radius: 16px; background: rgba(255, 255, 255, .055); box-shadow: var(--v-rim); transition: background-color .3s; }
.nt-comp.typing { background: rgba(191, 227, 255, .08); }
.nt-crow { display: flex; align-items: flex-start; gap: 8px; min-height: 40px; padding: 4px 36px 0 0; }
.nt-comp-in { flex: 1; min-width: 0; padding-top: 1px; font: 400 13px/1.42 var(--sans); color: var(--sand); }
.nt-comp-ph { display: block; color: var(--s3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-comp.typing .nt-comp-ph { display: none; }
.nt-ok { position: absolute; right: 9px; top: 9px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #0d1218; background: rgba(255, 255, 255, .92); transition: transform .2s var(--ease); }
.nt-ok svg { width: 15px; height: 15px; stroke-width: 1.5; }
.nt-ok.tap { transform: scale(.82); }
.nt-crow2 { display: flex; align-items: center; gap: 1px; color: var(--s2); }
.nt-crow2 > svg { width: 15px; height: 15px; padding: 6.5px; box-sizing: content-box; }
.nt-crow2 span { display: inline-flex; align-items: center; gap: 4px; padding: 0 7px; font: 500 11px/1 var(--sans); }
.nt-crow2 span svg { width: 15px; height: 15px; }

/* ---------- the pointer ---------- */
.nt-cursor { position: absolute; z-index: 6; left: 0; top: 0; width: 27px; height: 27px; margin: -3px 0 0 -6px; pointer-events: none; opacity: 0; transition: transform .9s cubic-bezier(.45, 0, .15, 1), opacity .35s var(--ease); will-change: transform; }
.nt-cursor.on { opacity: 1; }
.nt-ed .nt-cursor svg { width: 100%; height: 100%; fill: #fff; stroke: #0b0e13; stroke-width: 1.3; transform-origin: 22% 13%; transition: transform .13s var(--ease); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4)); }
.nt-cursor.down svg { transform: scale(.8); }
.nt-cursor i { position: absolute; left: 6px; top: 3px; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .9); opacity: 0; }
.nt-cursor.down i { animation: nt-ring .55s ease-out 1; }

/* the loop resets through a short fade */
.nt-ed.fade .nt-pin, .nt-ed.fade .nt-scrub b, .nt-ed.fade .nt-item, .nt-ed.fade .nt-tlog { opacity: 0; transition: opacity .4s var(--ease); }

@media (max-width: 1240px) {
  .nt-folder, .nt-rev { display: none; }
}
@media (max-width: 1180px) {
  .nt-panes { grid-template-columns: minmax(0, 1fr) auto minmax(236px, 280px); }
  .nt-toggles span:last-child, .nt-meter, .nt-ctl .nt-tp:nth-child(2), .nt-ctl .nt-tp:nth-child(3), .nt-zoom2, .nt-pts { display: none; }
  .nt-stage { padding-left: 0; }
  .nt-play { min-width: 250px; }
  .nt-ruler span:nth-child(even) { visibility: hidden; }
  .nt-keys { --lab: 54px; padding-left: 12px; }
  .nt-vn-n { padding-left: 28px; }
}
@media (max-width: 1040px) {
  .nt-post, .nt-ad { display: none; }
}
@media (max-width: 900px) {
  .nt-head { flex-direction: column; align-items: flex-start; }
  .nt-head .lede { padding-bottom: 0; }
  .nt-keys { display: none; }
  .nt-panes { grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .nt-in { padding-top: 60px; }
  .nt-ed { --g: 8px; --ph: auto; }
  .nt-bar { height: 52px; border-radius: 20px; padding: 0 8px; }
  .nt-stdd { display: none; }
  .nt-vsel .nt-vtxt > span { display: none; }
  .nt-send-d { display: none; }
  .nt-send-m { display: grid; min-width: 0; width: 100%; height: 52px; border-radius: 20px; font-size: 15px; background: rgba(12, 19, 28, .46); -webkit-backdrop-filter: blur(30px) saturate(145%); backdrop-filter: blur(30px) saturate(145%); }
  .nt-send-m svg { width: 16px; height: 16px; }
  .nt-panes { grid-template-columns: 45% minmax(0, 1fr); }
  .nt-pane { border-radius: 18px; }
  .nt-play { min-width: 0; padding: 8px 8px 0; }
  .nt-toggles, .nt-meter, .nt-ctl, .nt-tabs, .nt-comp, .nt-edit, .nt-ptools span:last-child { display: none; }
  .nt-stage { padding: 0; }
  .nt-screen { width: 100%; height: auto; }
  .nt-scrub { margin: 14px 8px 32px; }
  .nt-side { padding: 10px 8px 8px; }
  .nt-ptools { padding: 2px 4px 8px; }
  .nt-item { padding: 8px 10px 10px; border-radius: 13px; }
  .nt-line { flex-direction: column; gap: 6px; }
  .nt-text { font-size: 13px; line-height: 1.34; }
  .nt-tlog { padding: 9px 10px; }
  .nt-tlsh2, .nt-tlsh2 + .nt-tlp { display: none; }
  .nt-pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 12px; }
  /* a touch, not an arrow */
  .nt-cursor { width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(255, 255, 255, .34); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9); }
  .nt-ed .nt-cursor svg { display: none; }
  .nt-cursor i { left: 15px; top: 15px; }
  .nt-cursor.down { background: rgba(255, 255, 255, .6); }
}
@media (prefers-reduced-motion: reduce) {
  .nt-cursor { display: none; }
  .nt-ph, .nt-scrub i { animation: none; }
}


/* ===== 100-aesthetic ===== */
/* 090 aesthetic: the app's Aesthetic tab. Nine chips, one stage, the same three slots in every look. */
.ae .sec-head { margin-bottom: clamp(30px, 4vw, 56px); }

.ae-stage { position: relative; width: calc(100% - 2 * var(--frame-m)); max-width: 1520px; margin-inline: auto; padding: clamp(12px, 2.2vw, 34px); border-radius: var(--frame-r); overflow: hidden; isolation: isolate; background: #0c1016; color: var(--sand); color-scheme: dark; }
.ae-bg { position: absolute; left: -15%; top: -15%; width: 130%; height: 130%; max-width: none; object-fit: cover; z-index: -2; filter: blur(48px) saturate(105%); }
.ae-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(9, 12, 17, .56), rgba(9, 12, 17, .8)); box-shadow: var(--rim); pointer-events: none; }

/* chips */
.ae-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px; margin: -2px; }
.ae-chips::-webkit-scrollbar { display: none; }
.ae-chips::before, .ae-chips::after { content: ""; margin: auto; }
.ae-chip { position: relative; flex: none; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 18px; border-radius: 999px; overflow: hidden; font: 500 15px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; color: var(--sand-2); background: rgba(255, 255, 255, .07); box-shadow: var(--rim-soft); transition: color .35s var(--ease), background-color .35s var(--ease); }
.ae-chip small { font: 400 13px/1 var(--sans); opacity: .62; }
.ae-chip:hover { background: rgba(255, 255, 255, .13); color: #fff; }
.ae-chip.on { color: #101318; background: var(--pearl); box-shadow: none; }
.ae-chip::after { content: ""; position: absolute; inset: 0; background: rgba(16, 19, 24, .11); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.ae-chip.on.run::after { animation: ae-run var(--ae-dwell, 4.4s) linear forwards; }
@keyframes ae-run { to { transform: scaleX(1); } }

/* body: what the style is (left), what it looks like (right) */
.ae-body { display: grid; grid-template-columns: minmax(210px, 1fr) auto; gap: clamp(20px, 3.2vw, 52px); margin-top: clamp(14px, 2.2vw, 32px); }
.ae-info { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; padding: 6px 0 4px 6px; transition: opacity .28s var(--ease), transform .4s var(--ease); }
.ae-info.swap { opacity: 0; transform: translateY(6px); }
.ae-count { font: 500 11px/1 var(--mono); letter-spacing: .2em; color: var(--sand-3); }
.ae-count b { font-weight: 500; color: var(--sand); }
.ae-name { margin-top: 18px; font: 300 clamp(40px, 4.4vw, 64px)/.98 var(--sans); letter-spacing: -.04em; }
.ae-tag { margin-top: 16px; max-width: 19em; font: 400 clamp(15px, 1.2vw, 17.5px)/1.42 var(--sans); letter-spacing: -.006em; color: var(--sand-2); text-wrap: pretty; }
.ae-facts { display: grid; gap: 0; margin: 0; }
.ae-facts > div { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 10px; min-height: 44px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.ae-facts dt { font: 500 10.5px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sand-3); }
.ae-facts dd { margin: 0; font: 400 14.5px/1.3 var(--sans); letter-spacing: -.005em; color: var(--sand); }
.ae-dots { display: flex; gap: 6px; }
.ae-dots i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

.ae-tiles { display: flex; gap: clamp(8px, 1vw, 14px); height: clamp(330px, 36.5vw, 560px); }
.ae-tile { position: relative; flex: none; height: 100%; aspect-ratio: 9 / 16; margin: 0; border-radius: clamp(12px, 1.3vw, 20px); overflow: hidden; background: #0a0d12; }
.ae-tile.ae-s { aspect-ratio: 4 / 5; }
.ae-tile video, .ae-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.ae-tile video.on, .ae-tile img.on { opacity: 1; }
.ae-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.45), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.32); pointer-events: none; }
.ae-show { display: flex; flex-direction: column; min-width: 0; }
.ae-caps { display: flex; gap: clamp(8px, 1vw, 14px); margin-top: 12px; font: 500 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--sand-3); }
.ae-caps span { flex: .5625 1 0; min-width: 0; padding-left: 4px; white-space: nowrap; }
.ae-caps span:last-child { flex-grow: .8; }

@media (max-width: 1180px) {
  .ae-body { grid-template-columns: 1fr; }
  .ae-info { flex-direction: row; align-items: flex-end; gap: 32px; padding: 8px 4px 0; }
  .ae-info-top { flex: 1; min-width: 0; }
  .ae-name { margin-top: 12px; }
  .ae-facts { flex: 0 1 380px; }
  .ae-facts > div { min-height: 38px; padding: 8px 0; }
  .ae-tiles { height: auto; }
  .ae-tile { flex: 0.5625 1 0; height: auto; min-width: 0; }
  .ae-tile.ae-s { flex-grow: .8; }
}
@media (max-width: 700px) {
  .ae-stage { padding: 12px 12px 12px; }
  .ae-chips { margin: -2px -12px; padding: 2px 12px; }
  .ae-chips::before, .ae-chips::after { content: none; }
  .ae-chip { height: 40px; padding: 0 15px; font-size: 14.5px; }
  .ae-info { flex-direction: column; align-items: stretch; gap: 14px; padding: 12px 4px 2px; }
  .ae-count { display: none; }
  .ae-name { margin-top: 0; font-size: 38px; }
  .ae-tag { margin-top: 9px; min-height: 2.84em; font-size: 15px; }
  .ae-facts { flex: none; grid-template-columns: 1fr auto; column-gap: 16px; }
  .ae-facts > div { grid-template-columns: 1fr; gap: 6px; min-height: 0; padding: 10px 0 2px; align-content: start; }
  .ae-fact-type, .ae-fact-n { display: none !important; }
  .ae-tiles { gap: 8px; }
  .ae-tile.ae-s, .ae-caps span:last-child { display: none; }
  .ae-caps { gap: 8px; margin-top: 10px; font-size: 10px; }
  .ae-caps span { flex: 1 1 0; }
  .ae-tile { flex: 1 1 0; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ae-chip.on.run::after { animation: none; }
}

.ae .vo { margin-top: 6px; }


/* ===== 110-social ===== */
/* 100-social. Prefix: soc-. The app's Social calendar filling itself, then one post becomes an ad.
   Sizes, radii and colours of the calendar follow the app (Studio_App web/vista/social.css): cells, chips, dots, mono labels. */
.soc { --v-g: rgba(255, 255, 255, .045); --v-on: rgba(255, 255, 255, .1); --pur: #c58bff;
  --rim-on: inset 1px 1px 1px -1px rgba(255, 255, 255, .9), inset -1px -1px 1px -1px rgba(255, 255, 255, .7), inset 2px 2px 5px -2px rgba(196, 214, 238, .62), inset -2px -2px 5px -2px rgba(242, 226, 220, .62); }
.soc .sec-head { margin-bottom: clamp(30px, 4vw, 56px); }

/* ---------- the stage ---------- */
.soc-stage > .bg { object-position: 50% 62%; }
.soc-stage > .shade { background: linear-gradient(180deg, rgba(6, 9, 13, .3), rgba(6, 9, 13, .06) 34%, rgba(6, 9, 13, .12) 70%, rgba(6, 9, 13, .36)); }
.soc-in { position: relative; max-width: 1260px; margin-inline: auto; padding: clamp(24px, 3vw, 42px) clamp(10px, 2.4vw, 34px) clamp(10px, 2.4vw, 34px); }

.soc-ask { width: min(640px, 100%); margin: 0 auto clamp(26px, 2.6vw, 36px); padding-inline: 14px; }
.soc-ask .ask-top { margin: 0 -12px 20px; }
.soc-ask .brk { color: rgba(255, 255, 255, .9); }

.soc-board { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; align-items: stretch; }

/* the tray the posts start in. The cards live in the calendar and are only drawn here until they fly. */
.soc-tray { position: relative; border-radius: 24px; padding: 18px 16px; min-height: 126px; background: rgba(var(--tint), .3); }
.soc-tray-t { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-2); }
.soc-tray-t b { font: 500 12px/1 var(--mono); letter-spacing: 0; color: #fff; font-variant-numeric: tabular-nums; transition: opacity .4s var(--ease); }
.soc-tray-done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font: 500 14px/1 var(--sans); letter-spacing: -.01em; color: var(--sand-2); opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.soc-tray-done i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .94); }
.soc-tray-done i::after { content: ""; position: absolute; left: 11.5px; top: 7.5px; width: 6px; height: 11px; border: solid #0d1218; border-width: 0 1.8px 1.8px 0; transform: rotate(42deg); }
.soc-tray.done .soc-tray-done { opacity: 1; transform: none; }
.soc-tray.done .soc-tray-t b { opacity: 0; }

/* the calendar */
.soc-cal { position: relative; z-index: 2; border-radius: 26px; padding: 14px 16px 16px; min-width: 0; }
.soc-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.soc-tabs { display: flex; gap: 2px; min-width: 0; }
.soc-tabs li { flex: none; display: flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 999px; font: 500 13.5px/1 var(--sans); color: var(--sand-2); white-space: nowrap; }
.soc-tabs li.on { color: #fff; background: var(--v-on); box-shadow: var(--rim-on); }
.soc-legend { display: flex; gap: 16px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-3); white-space: nowrap; }
.soc-legend span { display: inline-flex; align-items: center; gap: 7px; }
.soc-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--pur); }
.soc-legend .p i { background: var(--pearl); }

.soc-calh { display: flex; align-items: center; gap: 6px; margin: 10px 0 10px; min-width: 0; }
.soc-chip { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; font: 400 13px/1 var(--sans); color: var(--sand); white-space: nowrap; background: var(--v-g); box-shadow: var(--rim); }
.soc-chip.sq { width: 38px; padding: 0 0 2px; font: 300 19px/1 var(--sans); }
.soc-chip.on { font-weight: 500; font-size: 13.5px; background: var(--v-on); box-shadow: var(--rim-on); }
.soc-chip img { width: 16px; height: 16px; border-radius: 4.5px; object-fit: cover; }
.soc-chip em { font-style: normal; }
.soc-month { flex: none; min-width: 132px; padding: 0 6px; text-align: center; font: 600 15px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; }
.soc-brands { display: inline-flex; gap: 2px; margin-left: 12px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .12); }
.soc-nets { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.soc-nets li { width: 18px; height: 18px; opacity: .26; filter: grayscale(1); transition: opacity .5s var(--ease), filter .5s var(--ease), transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.soc-nets li.on { opacity: 1; filter: none; }
.soc-nets li.pop { transform: scale(1.3); }
.soc-nets img { width: 100%; height: 100%; }
.soc-count { flex: none; min-width: 23ch; margin-left: 8px; text-align: right; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-3); white-space: nowrap; }
.soc-count b { font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.soc-count i { font-style: normal; }

.soc-dow, .soc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.soc-dow li { height: 24px; padding: 0 9px 6px; display: flex; align-items: center; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--sand-3); }

.soc-day { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px 4px; align-content: start; min-width: 0; min-height: 106px; padding: 8px 6px 8px; border-radius: 14px; background: rgba(255, 255, 255, .035); }
.soc-day.today { background: rgba(255, 255, 255, .09); box-shadow: var(--rim); }
.soc-day.out > * { opacity: .36; }
.soc-d { grid-column: 1 / -1; justify-self: start; height: 18px; padding: 0 4px; border-radius: 9px; font: 500 10.5px/18px var(--mono); color: var(--sand-2); white-space: nowrap; }
.soc-day.today .soc-d { padding: 0 7px; color: #0d1218; background: rgba(255, 255, 255, .92); }

/* one post. Three nested boxes so the flight can ease sideways, down and "hop" on separate curves (a real arc, transforms only). */
.soc-post { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.soc-post.pile { z-index: 5; }
.soc-fx, .soc-fy { display: block; width: 100%; }
.soc-card { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: #0b0e13; }
.soc-card > img { width: 100%; height: 100%; object-fit: cover; }
.soc-card > .br { position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 3.5px; transition: opacity .4s var(--ease); }
.soc-post.pile .soc-card > .br { opacity: 0; }
.soc-post.pile .soc-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 1), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.83); }
.soc-dot { position: absolute; right: 3px; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--pur); box-shadow: 0 1px 2px rgba(8, 12, 18, 0.08), 0 10px 28px -16px rgba(8, 12, 18, .28); opacity: 0; transform: scale(.3); transition: opacity .35s var(--ease), transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.soc-post.was .soc-dot { background: var(--pearl); }
.soc-time { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-align: center; font: 500 9px/1 var(--mono); color: var(--sand-2); opacity: 0; transition: opacity .45s var(--ease); }
.soc-post.in .soc-time, .soc-post.was .soc-time { opacity: 1; }
.soc-post.in .soc-dot, .soc-post.was .soc-dot { opacity: 1; transform: none; }
.soc-post.sched { transition: opacity .45s var(--ease); }
.soc-grid.clearing .soc-post.sched { opacity: 0; }

/* ---------- any post can be an ad: the week (from the calendar), the ad as people see it, the app's Ads tab.
   Ads tab sizes follow the app (Studio_App web/product/empties.css .ex-kpi / .ex-ad); the app's lime "on" is pearl here. ---------- */
.sad-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: clamp(20px, 4vw, 64px); margin-top: clamp(72px, 9vw, 136px); margin-bottom: clamp(26px, 3.2vw, 44px); }
.sad-head .lede { justify-self: end; max-width: 26em; }
.sad-head-l { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.sad-lock { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.sad-lock b { font-weight: 500; }
.sad-lock i { font-style: normal; color: rgba(255, 255, 255, .45); margin: 0 2px; }
.sad-lock .sad-mk { width: 22px; height: 22px; overflow: visible; }
.sad-lock img { width: 22px; height: 22px; object-fit: contain; }

.sad > .bg { object-position: 50% 38%; }
.sad > .shade { background: linear-gradient(180deg, rgba(6, 9, 13, .34), rgba(6, 9, 13, .12) 36%, rgba(6, 9, 13, .2) 70%, rgba(6, 9, 13, .44)); }
.sad-in { position: relative; max-width: 1260px; margin-inline: auto; padding: clamp(24px, 3vw, 42px) clamp(10px, 2.4vw, 34px) clamp(10px, 2.4vw, 34px); }
.sad-ask { width: min(640px, 100%); margin: 0 auto clamp(26px, 2.6vw, 36px); padding-inline: 14px; }
.sad-ask .ask-top { margin: 0 -12px 20px; white-space: nowrap; }
.sad-ask .brk, .sad-pbrk { color: rgba(255, 255, 255, .9); }

.sad-board { --ph: clamp(380px, 31.4vw, 452px); display: grid; grid-template-columns: minmax(170px, .44fr) auto minmax(0, 1.5fr); gap: clamp(22px, 2.4vw, 34px) ; align-items: stretch; }
.sad-h { display: flex; align-items: baseline; gap: 10px; min-height: 22px; margin: 2px 4px 10px; white-space: nowrap; }
.sad-h b { font: 600 15px/1 var(--sans); letter-spacing: -.01em; }
.sad-h small, .sad-safe { font: 500 10px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--sand-3); }
.sad-h small i, .sad-at small i { font-style: normal; opacity: .6; }

/* this week: one post a day, the way the calendar files them */
.sad-week { border-radius: 24px; padding: 14px 10px 10px; display: flex; flex-direction: column; min-width: 0; }
.sad-days { flex: 1; display: grid; grid-auto-rows: 1fr; gap: 4px; margin: 0; }
.sad-day { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 11px; padding: 5px 12px 5px 7px; border-radius: 13px; background: rgba(255, 255, 255, .035); transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.sad-day.pick { background: rgba(255, 255, 255, .11); box-shadow: var(--rim-on); }
.sad-dt { position: relative; display: block; width: 23px; aspect-ratio: 9 / 16; border-radius: 5px; overflow: hidden; background: #0b0e13; }
.sad-dt img { width: 100%; height: 100%; object-fit: cover; }
.sad-dn { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sad-dn b { font: 500 13px/1.1 var(--sans); letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sad-dn small { font: 500 9.5px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--sand-3); white-space: nowrap; }
.sad-dn small i { font-style: normal; }
.sad-day .sad-ck { position: absolute; right: 8px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: rgba(255, 255, 255, .94); opacity: 0; transform: scale(.5); transition: opacity .35s var(--ease), transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.sad-day .sad-ck::after { content: ""; position: absolute; left: 6.5px; top: 3.5px; width: 4px; height: 8px; border: solid #0d1218; border-width: 0 1.6px 1.6px 0; transform: rotate(42deg); }
.sad-day.pick .sad-ck { opacity: 1; transform: none; }

/* the ad preview */
.sad-prev { display: flex; flex-direction: column; min-width: 0; padding-inline: 12px; }
.sad-tag { display: flex; justify-content: space-between; align-items: center; height: 14px; margin: 0 -10px 16px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .92); }
.sad-tag b { font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.sad-tag b::before { content: ""; width: 4px; height: 11px; background: currentColor; }
.sad-tag span { display: inline-flex; gap: 6px; }
.sad-tag img { width: 14px; height: 14px; }
.sad-pbrk { height: calc(var(--ph) - 42px); aspect-ratio: 9 / 16; }
.sad-slot, .sad-pc { position: absolute; inset: 0; border-radius: 18px; }
.sad-slot { display: grid; place-items: center; border: 1.5px dashed rgba(255, 255, 255, .4); background: rgba(8, 12, 18, .22); font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sand-2); transition: opacity .4s var(--ease); }
.sad-prev.has .sad-slot { opacity: 0; }
.sad-pc { overflow: hidden; background: #0d1117 center / cover no-repeat; opacity: 0; transform-origin: 50% 50%; }
.sad-pc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sad-pc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .2), transparent 20%, transparent 56%, rgba(0, 0, 0, .58)); box-shadow: var(--rim); opacity: 0; transition: opacity .6s var(--ease); }
.sad-pc > span { position: absolute; z-index: 2; opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.sad-pv-top { left: 9px; top: 9px; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 7px; border-radius: 999px; font: 600 11px/1 var(--sans); color: #fff; white-space: nowrap; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px) saturate(150%) brightness(.7); backdrop-filter: blur(14px) saturate(150%) brightness(.7); box-shadow: var(--rim); }
.sad-pv-top img { width: 13px; height: 13px; }
.sad-pv-ic { right: 9px; bottom: 62px; display: flex; flex-direction: column; gap: 13px; }
.sad-pv-ic svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sad-pv-who { left: 11px; right: 44px; bottom: 60px; display: flex; align-items: center; gap: 8px; transform: translateY(6px); }
.sad-pv-who img { flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 2px 10px -3px rgba(0, 0, 0, .45); }
.sad-pv-who span { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sad-pv-who b { font: 600 12.5px/1 var(--sans); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sad-pv-who em { font: 400 11px/1 var(--sans); font-style: normal; color: rgba(255, 255, 255, .86); }
.sad-pv-cta { left: 9px; right: 9px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 12px 0 14px; border-radius: 11px; font: 600 13px/1 var(--sans); color: #101318; background: rgba(255, 255, 255, .94); transform: translateY(8px); }
.sad-pv-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sad-prev.ad .sad-pc::after { opacity: 1; }
.sad-prev.ad .sad-pc > span { opacity: 1; transform: none; }
.sad-prev.ad .sad-pv-who { transition-delay: .15s; }
.sad-prev.ad .sad-pv-ic { transition-delay: .25s; }
.sad-prev.ad .sad-pv-cta { transition-delay: .35s; }

/* the Ads tab */
.sad-ads { border-radius: 26px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sad-ah { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 2px; }
.sad-meta { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: #f6f5f1; }
.sad-meta img { width: 30px; height: 30px; }
.sad-at { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.sad-at b { font: 600 18px/1 var(--sans); letter-spacing: -.015em; }
.sad-at small { font: 500 10px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--sand-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sad-ex i { font-style: normal; white-space: pre; }
.sad-ex { flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font: 500 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-2); background: rgba(255, 255, 255, .06); box-shadow: var(--rim); white-space: nowrap; }
.sad-live { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px 0 11px; border-radius: 999px; font: 500 13px/1 var(--sans); color: #fff; white-space: nowrap; background: rgba(255, 255, 255, .1); box-shadow: var(--rim-on); transition: background-color .5s var(--ease), color .5s var(--ease); }
.sad-live b { font-weight: 600; font-variant-numeric: tabular-nums; }
.sad-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--pearl); animation: pf-dot 1.6s ease-in-out infinite; }
.sad-live.bump { color: #101318; background: var(--pearl); }
.sad-live.bump i { background: #101318; }

.sad-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sad-kpi { display: flex; flex-direction: column; gap: 9px; padding: 14px 15px 13px; border-radius: 18px; background: rgba(255, 255, 255, .045); box-shadow: var(--rim); white-space: nowrap; min-width: 0; }
.sad-kpi span, .sad-c em { font: 500 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--sand-3); overflow: hidden; text-overflow: ellipsis; }
.sad-kpi b { font: 300 clamp(24px, 2.2vw, 31px)/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sad-kpi small { font: 400 11.5px/1 var(--sans); color: var(--sand-2); }

.sad-camp { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 12px 8px 8px; border-radius: 20px; background: rgba(255, 255, 255, .03); box-shadow: var(--rim); }
.sad-camp .sad-h { margin: 0 6px 10px 8px; }
.sad-safe { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--sand-2); }
.sad-safe svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.sad-rows { flex: 1; display: grid; grid-auto-rows: 1fr; gap: 6px; }
.sad-row { position: relative; display: grid; grid-template-columns: 34px 27px minmax(0, 1.7fr) minmax(30px, .6fr) 50px 54px 114px; align-items: center; gap: 12px; min-height: 58px; padding: 6px 14px 6px 12px; border-radius: 16px; background: rgba(255, 255, 255, .045); box-shadow: var(--rim); white-space: nowrap; }
.sad-tg { position: relative; width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, .16); transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.sad-tg::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1), background-color .35s var(--ease); }
.sad-tg.on { background: var(--pearl); }
.sad-tg.on::after { transform: translateX(14px); background: #12161c; }
.sad-tg.tap { box-shadow: 0 0 0 6px rgba(255, 255, 255, .22); }
.sad-th { display: block; width: 27px; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: #0b0e13; }
.sad-th img { width: 100%; height: 100%; object-fit: cover; }
.sad-an { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sad-an b { font: 600 13.5px/1.2 var(--sans); letter-spacing: -.005em; overflow: hidden; text-overflow: ellipsis; }
.sad-an small { font: 400 11.5px/1 var(--sans); color: var(--sand-3); overflow: hidden; text-overflow: ellipsis; }
.sad-sp { width: 100%; height: 26px; overflow: visible; }
.sad-sp polyline { fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sad-c { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.sad-c b { font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums; }
.sad-c em u { text-decoration: none; }
/* the row a new ad lands in */
.sad-new > * { transition: opacity .5s var(--ease); }
.sad-new::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px dashed rgba(255, 255, 255, .3); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.sad-next { position: absolute; inset: 0; display: grid; place-items: center; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sand-3); opacity: 0; }
.sad-new:not(.in) { background: rgba(255, 255, 255, .02); box-shadow: none; }
.sad-new:not(.in) > :not(.sad-next) { opacity: 0; }
.sad-new:not(.in)::before, .sad-new:not(.in) .sad-next { opacity: 1; }
.sad-new { transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.sad-new.go { background: rgba(255, 255, 255, .1); box-shadow: var(--rim-on); }
.sad-new #sad-n-sp polyline { stroke: #fff; stroke-dasharray: 100; stroke-dashoffset: 100; }
.sad-new:not(.go) .sad-c b { color: var(--sand-3); }

@media (max-width: 1180px) {
  .sad-board { grid-template-columns: minmax(150px, .5fr) auto minmax(0, 1.5fr); gap: 20px; }
  .sad-row { grid-template-columns: 34px 27px minmax(0, 1fr) 50px 82px; }
  .sad-row .sad-c.re, .sad-c.cp em u { display: none; }
  .sad-row .sad-sp { display: none; }
  .sad-ex i { display: none; }
  .sad-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sad-kpi { padding: 11px 14px 10px; gap: 7px; }
  .sad-kpi b { font-size: 24px; }
  .sad-board { --ph: 470px; }
}
@media (max-width: 980px) {
  .sad-head { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 14px; }
  .sad-head .lede { justify-self: center; }
  .sad-head-l { align-items: center; }
  /* the week turns into a strip; the preview sits beside the four numbers; the Ads tab's parts each become their own glass */
  .sad-board { --ph: auto; grid-template-columns: minmax(0, 262px) minmax(0, 1fr); grid-template-areas: "week week" "head head" "prev kpis" "camp camp"; gap: 8px; }
  .sad-week { grid-area: week; padding: 12px 8px 8px; border-radius: 20px; }
  .sad-days { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 4px; }
  .sad-day { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 6px; padding: 7px 0 8px; border-radius: 11px; }
  .sad-dn { order: -1; }
  .sad-dn b, .sad-dn small i { display: none; }
  .sad-dt { width: min(27px, 62%); }
  .sad-day .sad-ck { right: 50%; top: auto; bottom: 4px; width: 16px; height: 16px; margin: 0 -8px 0 0; }
  .sad-day .sad-ck::after { left: 5.5px; top: 3px; }
  .sad-ads { display: contents; }
  .sad-g { background: rgba(var(--tint), .52); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--rim); }
  .sad-ah { grid-area: head; padding: 9px 12px 9px 9px; border-radius: 20px; }
  .sad-kpis { grid-area: kpis; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sad-kpi { justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 16px; }
  .sad-kpi small { display: none; }
  .sad-prev { grid-area: prev; padding: 12px 12px 12px; }
  .sad-tag { margin-bottom: 14px; }
  .sad-pbrk { height: auto; width: 100%; }
  .sad-camp { grid-area: camp; padding: 12px 8px 8px; border-radius: 20px; }
  .sad-row:not(.sad-new) { display: none; }
}
@media (max-width: 700px) {
  .sad-head { margin-top: 64px; }
  .sad-in { padding: 22px 8px 8px; }
  .sad-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sad-ask { margin-bottom: 24px; padding-inline: 16px; }
  .sad-ask .ask-top { margin-bottom: 18px; }
  .sad-meta { width: 38px; height: 38px; border-radius: 11px; }
  .sad-meta img { width: 24px; height: 24px; }
  .sad-at b { font-size: 16px; }
  .sad-at small { font-size: 9px; letter-spacing: .1em; }
  .sad-at small span { display: none; }
  .sad-ex { height: 22px; padding: 0 8px; font-size: 9px; letter-spacing: .1em; }
  .sad-live { height: 28px; font-size: 12.5px; }
  .sad-kpi b { font-size: 23px; }
  .sad-row { grid-template-columns: 34px 24px minmax(0, 1fr) auto; gap: 10px; padding: 6px 12px 6px 10px; }
  .sad-th { width: 24px; }
  .sad-row .sad-c:not(.cp) { display: none; }
  .sad-c.cp em { display: none; }
  .sad-safe { font-size: 9px; letter-spacing: .1em; }
  .sad-camp .sad-h small { display: none; }
  .sad-pc > .sad-pv-ic { display: none; }
  .sad-pv-who { left: 8px; right: 8px; bottom: 52px; gap: 6px; }
  .sad-pv-who img { width: 24px; height: 24px; }
  .sad-pv-who b { font-size: 11px; }
  .sad-pv-who em { font-size: 10px; }
  .sad-pv-cta { left: 7px; right: 7px; bottom: 8px; height: 34px; font-size: 12px; border-radius: 10px; }
  .sad-pv-top { left: 7px; top: 7px; height: 22px; font-size: 10px; }
  .sad-slot, .sad-pc { border-radius: 15px; }
}

/* ---------- mid: tray becomes a strip above the calendar ---------- */
@media (max-width: 1240px) {
  .soc-chip em { display: none; }
  .soc-count { min-width: 0; }
}
@media (max-width: 1100px) {
  .soc-board { grid-template-columns: minmax(0, 1fr); }
  .soc-tray { min-height: 118px; }
  .soc-tray-t { justify-content: flex-start; }
  .soc-tray-done { flex-direction: row; }
  .soc-tray-done i { width: 22px; height: 22px; }
  .soc-tray-done i::after { left: 8px; top: 4.5px; width: 5px; height: 9px; }
  .soc-chip em { display: inline; }
}
@media (max-width: 900px) {
  .soc-nav .soc-legend { display: none; }
  .soc-chip.soc-now { display: none; }
}

/* ---------- phone: one post a day, still a full month ---------- */
@media (max-width: 700px) {
  .soc-in { padding: 22px 8px 8px; }
  .soc-ask { margin-bottom: 24px; padding-inline: 16px; }
  .soc-ask .ask-top { margin-bottom: 18px; }
  .soc-board { gap: 8px; }
  .soc-tray { min-height: 96px; padding: 12px 12px; border-radius: 20px; }
  .soc-cal { padding: 8px 8px 8px; border-radius: 22px; }
  .soc-tabs { width: 100%; justify-content: space-between; gap: 0; }
  .soc-tabs li { height: 36px; padding: 0 9px; font-size: 12px; }
  .soc-calh { flex-wrap: wrap; gap: 8px 4px; margin: 8px 0 8px; }
  .soc-chip { height: 34px; padding: 0 11px; font-size: 12.5px; }
  .soc-chip.on { font-size: 12.5px; }
  .soc-chip.sq { width: 34px; }
  .soc-month { min-width: 0; font-size: 14px; }
  .soc-brands { order: 5; margin: 0; padding: 0; border: 0; }
  .soc-brands .soc-chip { width: 40px; padding: 0; font-size: 0; gap: 0; }
  .soc-count { margin-left: auto; font-size: 9.5px; letter-spacing: .1em; }
  .soc-nets { order: 6; gap: 6px; }
  .soc-nets li { width: 15px; height: 15px; }
  .soc-dow, .soc-grid { gap: 3px; }
  .soc-dow li { height: 20px; padding: 0 0 5px; justify-content: center; font-size: 9px; letter-spacing: .08em; }
  .soc-day { grid-template-columns: minmax(0, 27px); justify-content: center; gap: 5px 0; min-height: 84px; padding: 5px 0 6px; border-radius: 11px; }
  .soc-d { justify-self: center; font-size: 9.5px; padding: 0 3px; }
  .soc-day.today .soc-d { padding: 0 6px; }
  .soc-card > .br { width: 9px; height: 9px; left: 1.5px; top: 1.5px; border-radius: 2.5px; }
  .soc-dot { width: 6px; height: 6px; right: 2px; top: 2px; }
  .soc-time { font-size: 8.5px; }

}


/* ===== 120-sound ===== */
/* 110-sound. Prefix: snd-. The app's Music list, the editor's sound track, and the saved Voices, alive.
   Row, chip, play button and waveform values follow the app (Studio_App web/vista/audio.css, timeline.css). */
.snd { --v-g: rgba(255, 255, 255, .045); --v-g-h: rgba(255, 255, 255, .075); --v-on: rgba(255, 255, 255, .1); --wv: #bfe3ff; --wv-on: #fbe0b0; --red: #ff5466;
  --rim-on: inset 1px 1px 1px -1px rgba(255, 255, 255, .9), inset -1px -1px 1px -1px rgba(255, 255, 255, .7), inset 2px 2px 5px -2px rgba(196, 214, 238, .62), inset -2px -2px 5px -2px rgba(242, 226, 220, .62); }
.snd.frame { margin-block: var(--frame-m); }
.snd > .bg { object-position: 50% 30%; }
.snd > .shade { background: linear-gradient(180deg, rgba(5, 8, 12, .5), rgba(5, 8, 12, .2) 32%, rgba(5, 8, 12, .2) 70%, rgba(5, 8, 12, .42)); }
.snd-in { position: relative; max-width: 1320px; margin-inline: auto; padding: clamp(44px, 5.4vw, 84px) clamp(10px, 2.6vw, 40px) clamp(10px, 2.6vw, 40px); }

.snd-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 60px; margin: 0 clamp(8px, 1vw, 14px) clamp(30px, 3.6vw, 52px); }
.snd-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 1.6vw, 24px); }
.snd-head .label { color: rgba(255, 255, 255, .86); }
.snd-head .lede { max-width: 27em; color: rgba(245, 243, 238, .86); }

.snd-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "music voices" "fx voices"; gap: 12px; }
.snd-music { grid-area: music; }
.snd-fx { grid-area: fx; }
.snd-voices { grid-area: voices; }
.snd-p { border-radius: 26px; padding: 14px 14px 14px; min-width: 0; }
.snd-ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; margin: 0 4px 10px 6px; }
.snd-ph h3 { font: 600 15px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; }
.snd-ph h3 span { margin-left: 6px; font: 400 11.5px/1 var(--sans); color: var(--sand-2); font-variant-numeric: tabular-nums; }
.snd-note { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-3); white-space: nowrap; }
.snd-chips { display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.snd-chips li { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 999px; font: 500 13.5px/1 var(--sans); color: var(--sand-2); white-space: nowrap; }
.snd-chips li span { font: 400 11.5px/1 var(--sans); font-variant-numeric: tabular-nums; }
.snd-chips li.on { color: #fff; background: var(--v-on); box-shadow: var(--rim-on); }

/* the round play button the app uses everywhere */
.snd-play { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--sand); background: var(--v-g-h); box-shadow: var(--rim); transition: background-color .3s var(--ease), color .3s var(--ease); }
.snd-play svg { width: 11px; height: 11px; fill: currentColor; }
.snd-play .pa { display: none; }
.on > .snd-play, .snd-v.on .snd-play { color: #0d1218; background: rgba(255, 255, 255, .94); box-shadow: none; }
.on > .snd-play .pl, .snd-v.on .snd-play .pl { display: none; }
.on > .snd-play .pa, .snd-v.on .snd-play .pa { display: block; }

/* ---------- music rows ---------- */
.snd-list { display: grid; gap: 2px; }
.snd-row { position: relative; display: grid; grid-template-columns: 38px minmax(112px, 1fr) minmax(0, 1.9fr) 84px 38px; column-gap: 14px; align-items: center; height: 60px; padding: 0 16px 0 12px; border-radius: 20px; transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.snd-row.on { background: var(--v-on); box-shadow: var(--rim-on); }
.snd-t { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.snd-t b { font: 600 14px/1.25 var(--sans); letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snd-t span { font: 400 12.5px/1.25 var(--sans); color: var(--sand-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snd-wave { position: relative; display: flex; align-items: center; gap: 1px; height: 34px; min-width: 0; }
.snd-wave i { flex: 1 1 0; min-width: 1px; min-height: 2px; border-radius: 1px; background: rgba(191, 227, 255, .5); }
.snd-wave i.on { background: var(--wv-on); }
.snd-wave em { position: absolute; left: 0; top: -3px; bottom: -3px; width: 1.5px; background: var(--red); opacity: 0; transition: opacity .3s; will-change: transform; }
.snd-row.on .snd-wave em { opacity: 1; }
.snd-genre { justify-self: start; max-width: 100%; padding: 5px 7px 4px; border-radius: 6px; font: 500 9.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--sand); background: rgba(255, 255, 255, .09); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snd-dur { justify-self: end; font: 500 12px/1 var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- sound: the editor's tracks ---------- */
.snd-tl { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 0 8px; padding: 2px 6px 4px; --r0: 18px; --r1: 24px; --r2: 54px; --r3: 34px; --rg: 6px; }
.snd-lab { display: grid; grid-template-rows: var(--r0) var(--r1) var(--r2) var(--r3); row-gap: var(--rg); }
.snd-lab span { display: flex; align-items: center; gap: 5px; font: 400 9.5px/1 var(--mono); color: var(--sand-3); white-space: nowrap; }
.snd-lab b { font: 500 11px/1 var(--mono); color: var(--sand); }
.snd-tracks { position: relative; display: grid; grid-template-rows: var(--r0) var(--r1) var(--r2) var(--r3) 14px; row-gap: var(--rg); min-width: 0; }
.snd-ruler { position: relative; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.snd-ruler span { position: absolute; bottom: 4px; padding-left: 5px; border-left: 1px solid rgba(255, 255, 255, .22); font: 400 9.5px/1 var(--mono); color: var(--sand-3); }
.snd-lane { position: relative; border-radius: 7px; background: rgba(255, 255, 255, .03); }
.snd-lane > * { position: absolute; top: 0; bottom: 0; }
/* caption chips: one per word typed on screen, and the logo */
.snd-text { background: none; }
.snd-word { display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 6px; padding: 0 4px; overflow: hidden; font: 500 11.5px/1 var(--sans); letter-spacing: -.005em; color: var(--sand); background: rgba(255, 255, 255, .08); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.45), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.32); opacity: .5; transition: opacity .25s var(--ease), background-color .25s var(--ease); white-space: nowrap; }
.snd-word svg { width: 15px; height: 15px; flex: none; overflow: visible; }
.snd-word.on { opacity: 1; background: rgba(255, 255, 255, .2); }
/* shots: a filmstrip per shot, a seam at every cut */
.snd-shot { border-radius: 6px; overflow: hidden; background: #0f141b left center / auto 100% repeat-x; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.63), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.45); }
.snd-shot.end { background: linear-gradient(120deg, #10161f, #1b2430); display: grid; place-items: center; }
.snd-shot.end svg { position: static; width: 26px; height: 26px; overflow: visible; opacity: .2; transform: scale(.8); transition: opacity .35s var(--ease), transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.snd-shot.end.on svg { opacity: 1; transform: none; }
/* sound clips, coloured like the editor's SFX track */
.snd-clip { display: flex; align-items: center; gap: 1px; padding: 0 3px; border-radius: 6px; background: rgba(191, 227, 255, .14); box-shadow: inset 1px 1px 1px -1px rgba(191, 227, 255, 1), inset -1px -1px 1px -1px rgba(191, 227, 255, 1); transition: background-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.snd-clip i { flex: 1 1 0; min-width: 1px; border-radius: 1px; background: var(--wv); opacity: .8; }
.snd-clip.tick { padding: 0 2px; min-width: 7px; }
.snd-clip.hit { background: rgba(191, 227, 255, .5); box-shadow: inset 1px 1px 1px -1px #fff, inset -1px -1px 1px -1px rgba(255, 255, 255, .85), 0 0 12px rgba(191, 227, 255, .35), 0 0 0 4px rgba(191, 227, 255, .16); transform: scaleY(1.16); transition-duration: .08s; }
.snd-names { position: relative; }
.snd-names span { position: absolute; top: 2px; transform: translateX(-50%); font: 500 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sand-3); white-space: nowrap; transition: color .3s; }
.snd-names span.hit { color: #fff; }
.snd-guides { position: absolute; left: 0; right: 0; top: calc(var(--r0) + var(--rg)); height: calc(var(--r1) + var(--r2) + var(--r3) + var(--rg) * 2); pointer-events: none; }
.snd-guides i { position: absolute; top: 0; bottom: 0; width: 1px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .5) 0 3px, transparent 3px 6px); opacity: .28; transition: opacity .6s var(--ease); }
.snd-guides i.hit { opacity: 1; transition-duration: .06s; }
.snd-playhead { position: absolute; left: -1px; top: 4px; height: calc(var(--r0) + var(--r1) + var(--r2) + var(--r3) + var(--rg) * 3); width: 1.5px; background: var(--red); will-change: transform; transition: opacity .4s var(--ease); }
.snd-playhead::before { content: ""; position: absolute; left: -4.5px; top: -4px; width: 10.5px; height: 9px; border-radius: 2.5px 2.5px 5px 5px; background: var(--red); }
.snd-playhead.rest { opacity: 0; }

/* ---------- voices ---------- */
.snd-voices { display: flex; flex-direction: column; }
.snd-vs { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: stretch; }
.snd-v { display: flex; flex-direction: column; gap: 10px; padding: 7px 7px 11px; border-radius: 20px; background: var(--v-g); box-shadow: var(--rim); transition: background-color .5s var(--ease), box-shadow .5s var(--ease); min-width: 0; }
.snd-v.on { background: var(--v-on); box-shadow: var(--rim-on); }
.snd-face { position: relative; display: block; flex: 1 1 auto; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #3a4656, #161c25); }
.snd-face > b { position: absolute; inset: 0; display: grid; place-items: center; font: 300 clamp(34px, 3.6vw, 52px)/1 var(--sans); letter-spacing: -.03em; color: rgba(245, 243, 238, .7); }
.snd-face > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.snd-face::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(6, 9, 13, .62)); }
.snd-vw { position: absolute; z-index: 1; left: 11px; right: 52px; bottom: 15px; height: 18px; display: flex; align-items: center; gap: 2px; }
.snd-vw i { flex: 1 1 0; min-width: 1px; border-radius: 1px; background: rgba(255, 255, 255, .62); transform-origin: 50% 50%; }
.snd-v.on .snd-vw i { background: #fff; animation: snd-talk .9s ease-in-out infinite; animation-delay: calc(var(--d) * -1s); }
@keyframes snd-talk { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1.25); } }
.snd-face .snd-play { position: absolute; z-index: 1; right: 8px; bottom: 8px; width: 34px; height: 34px; background: rgba(12, 16, 22, .46); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.snd-vt { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 0 5px; }
.snd-vt b { font: 600 14.5px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snd-vt em { font: 400 12.5px/1.2 var(--sans); font-style: normal; color: var(--sand-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- narrower ---------- */
@media (max-width: 1180px) {
  .snd-chips li:nth-child(n+5) { display: none; }
  .snd-row { grid-template-columns: 38px minmax(104px, 1fr) minmax(0, 1.6fr) auto 38px; column-gap: 12px; }
}
@media (max-width: 1000px) {
  .snd-head { grid-template-columns: minmax(0, 1fr); }
  .snd-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "music" "fx" "voices"; }
  .snd-chips li:nth-child(n+5) { display: inline-flex; }
  .snd-vs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .snd-vs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .snd-in { padding: 40px 8px 8px; }
  .snd-head { margin: 0 12px 28px; }
  .snd-grid { gap: 8px; }
  .snd-p { border-radius: 22px; padding: 10px 8px 10px; }
  .snd-ph { margin: 0 4px 8px 6px; }
  .snd-chips li { height: 34px; padding: 0 10px; font-size: 12.5px; }
  .snd-chips li:nth-child(n+4) { display: none; }
  .snd-note { font-size: 9px; letter-spacing: .1em; }
  .snd-row { grid-template-columns: 34px minmax(86px, 1fr) minmax(0, 1.25fr) 30px; column-gap: 10px; height: 56px; padding: 0 12px 0 8px; border-radius: 18px; }
  .snd-row .snd-play { width: 34px; height: 34px; }
  .snd-genre { display: none; }
  .snd-t b { font-size: 13.5px; }
  .snd-t span { font-size: 12px; }
  .snd-dur { font-size: 11px; }
  .snd-tl { grid-template-columns: 20px minmax(0, 1fr); gap: 0 6px; padding: 2px 4px 4px 2px; --r2: 46px; }
  .snd-lab span { font-size: 0; gap: 0; }
  .snd-lab b { font-size: 9.5px; }
  .snd-word { font-size: 9.5px; padding: 0 1px; border-radius: 5px; }
  .snd-word svg { width: 12px; height: 12px; }
  .snd-names span { font-size: 8.5px; letter-spacing: .06em; }
  .snd-vs { gap: 6px; }
  .snd-v { padding: 5px 5px 9px; border-radius: 17px; gap: 8px; }
  .snd-face { border-radius: 12px; }
  .snd-face .snd-play { right: 6px; bottom: 6px; width: 28px; height: 28px; }
  .snd-face .snd-play svg { width: 9px; height: 9px; }
  .snd-vt { padding: 0 3px; }
  .snd-vt b { font-size: 13px; }
  .snd-vt em { font-size: 11px; }
  .snd-vw { left: 8px; right: 40px; bottom: 13px; height: 14px; }
}


/* ===== 130-steps ===== */
/* 130 steps: download, tell Claude about the brand, ask for the first film. Each stage is a small live piece of the app that
   loops by itself while it is on screen (section.js), each on its own clock so the three are never still together. Prefix: gs- */
.gs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px);  }
.gs-card { display: flex; flex-direction: column; padding: 10px; border-radius: 28px; }
.gs-copy { padding: 22px 14px 18px; }
.gs-copy .mono { display: block; color: rgba(21, 23, 27, .42); margin-bottom: 12px; }
.gs-copy .h-sm { font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.02em; }
.gs-copy p { margin-top: 7px; font: 400 16px/1.4 var(--sans); letter-spacing: -.008em; color: rgba(21, 23, 27, .62); text-wrap: pretty; }
.gs-cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }

/* ---------- a stage: the wallpaper with the app's dark glass on top ---------- */
.gs-stage { --tint: 12, 18, 27; position: relative; height: 344px; border-radius: 19px; overflow: hidden; isolation: isolate; background: #5d7391; color: #fff; color-scheme: dark; }
.gs-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transform: scale(1.06); }
.gs-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 12, 20, .2), rgba(8, 12, 20, .36)); }
.gs-g, .gs-dmg, .gs-app, .gs-dock, .gs-kit, .gs-lib, .gs-b.claude { background: rgba(var(--tint), .5); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); box-shadow: var(--rim); }
.gs-icon { position: relative; flex: none; width: 62px; height: 62px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(160deg, #1c222b, #07090d); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.63), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.45); }
.gs-icon svg { width: 42px; height: 42px; overflow: visible; }
.gs-icon.sm { width: 40px; height: 40px; border-radius: 11px; }
.gs-icon.sm svg { width: 28px; height: 28px; }
.gs-icon.xs svg { width: 16px; height: 16px; }
.gs-icon.xs { width: 22px; height: 22px; border-radius: 7px; }

/* 1 · install and open */
.gs-dmg { position: absolute; left: 50%; top: 42px; width: min(300px, calc(100% - 36px)); margin-left: max(-150px, calc(-50% + 18px)); border-radius: 18px; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.gs-winbar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; font: 500 12.5px/1 var(--sans); color: var(--sand-2); }
.gs-winbar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .24); }
.gs-winbar span { flex: 1; text-align: center; margin-right: 39px; }
.gs-dmg-in { display: flex; align-items: flex-start; justify-content: center; gap: 20px; padding: 16px 12px 22px; }
.gs-arrow { width: 56px; height: 12px; margin-top: 25px; fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3 4; }
.gs-folder { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 74px; }
.gs-folder i { position: relative; width: 66px; height: 50px; margin-top: 10px; border-radius: 4px 9px 9px 9px; background: linear-gradient(180deg, #a9c3e6, #7598c9); display: grid; place-items: center; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.gs-folder i::before { content: ""; position: absolute; left: 0; top: -8px; width: 28px; height: 12px; border-radius: 5px 6px 0 0; background: #8fb0dc; }
.gs-folder b { position: relative; font: 500 22px/1 var(--sans); color: rgba(255, 255, 255, .78); }
.gs-folder em { font: 500 11px/1 var(--sans); font-style: normal; color: var(--sand-2); }
.gs-drag { transition: transform .95s var(--ease-io), opacity .3s var(--ease) .7s; z-index: 2; }
.gs-s1.a1 .gs-drag { transform: translate3d(140px, 4px, 0) scale(.5); opacity: 0; }
.gs-s1.a1 .gs-folder i { transform: scale(1.1); transition-delay: .75s; }
.gs-s1.a2 .gs-dmg { opacity: 0; transform: scale(.94); }
/* starting over: the disk image fades back with its icon already in place (nothing flies backwards) */
.gs-s1.rs .gs-drag, .gs-s1.rs .gs-folder i, .gs-s1.rs .gs-dock .gs-icon { transition: none; }

.gs-dock { position: absolute; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 19px; transform: translate3d(-50%, 90px, 0); transition: transform .8s var(--ease); }
.gs-dock > i { width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .16); }
.gs-dock > i:nth-child(2) { background: rgba(191, 227, 255, .3); } .gs-dock > i:nth-child(3) { background: rgba(255, 255, 255, .26); } .gs-dock > i:nth-child(5) { background: rgba(255, 255, 255, .1); }
.gs-dock .gs-icon { transform: translateY(-64px) scale(.6); opacity: 0; transition: transform .7s cubic-bezier(.3, 1.5, .5, 1) .35s, opacity .3s var(--ease) .35s; }
.gs-dock .gs-icon b { position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity .3s; }
.gs-s1.a2 .gs-dock { transform: translate3d(-50%, 0, 0); }
.gs-s1.a2 .gs-dock .gs-icon { transform: none; opacity: 1; }
.gs-s1.a3 .gs-dock .gs-icon b { opacity: .9; }

.gs-app { position: absolute; left: 18px; right: 18px; top: 22px; bottom: 82px; display: flex; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(var(--tint), .34); opacity: 0; transform: translate3d(0, 60px, 0) scale(.5); transform-origin: 56% 100%; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.gs-s1.a3 .gs-app { opacity: 1; transform: none; }
.gs-app-side { width: 44px; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 9px 0; border-radius: 12px; background: rgba(var(--tint), .5); box-shadow: var(--rim-soft); }
.gs-app-side > i { width: 20px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.gs-app-side > i:nth-of-type(1) { background: rgba(255, 255, 255, .7); margin-top: 6px; }
.gs-app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 12px 8px 4px 10px; }
.gs-app-main .mono { font-size: 8.5px; color: var(--sand-2); }
.gs-hello { margin-top: 8px; font: 300 clamp(26px, 2.5vw, 34px)/1 var(--sans); letter-spacing: -.035em; white-space: nowrap; }
.gs-app-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: auto; height: 42%; }
.gs-app-cards i { border-radius: 10px; background: rgba(var(--tint), .46); box-shadow: var(--rim-soft); }
/* once open, the window fills in: the greeting, then the shelves, one after another */
.gs-app-main .mono, .gs-hello, .gs-app-cards i, .gs-app-side > i { opacity: 0; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.gs-s1.a4 .gs-app-main .mono, .gs-s1.a4 .gs-hello, .gs-s1.a4 .gs-app-cards i, .gs-s1.a4 .gs-app-side > i { opacity: 1; transform: none; transition: opacity .45s var(--ease) calc(var(--n, 0) * 120ms), transform .6s var(--ease) calc(var(--n, 0) * 120ms); }
.gs-hello { --n: 1; } .gs-app-side > i:nth-of-type(1) { --n: 2; } .gs-app-side > i:nth-of-type(2) { --n: 3; } .gs-app-side > i:nth-of-type(3) { --n: 4; } .gs-app-side > i:nth-of-type(4) { --n: 5; }
.gs-app-cards i:nth-child(1) { --n: 3; } .gs-app-cards i:nth-child(2) { --n: 4; } .gs-app-cards i:nth-child(3) { --n: 5; }

/* 2 · the brand */
.gs-chat { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px 0; font: 400 14.5px/1.36 var(--sans); }
.gs-b { max-width: 84%; padding: 10px 14px; border-radius: 17px; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.gs-b.on { opacity: 1; transform: none; }
.gs-b.claude { align-self: flex-start; border-bottom-left-radius: 6px; }
.gs-b.you { align-self: flex-end; background: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)), rgba(var(--tint), .42); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); border-bottom-right-radius: 6px; }
.gs-who { display: flex; align-items: center; gap: 6px; font: 500 9.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sand-2); margin-bottom: 6px; }
.gs-who svg { width: 13px; height: 13px; fill: #d97757; }
.gs-say { display: flex; align-items: center; gap: 8px; min-height: 1.36em; }
.gs-dots { display: inline-flex; gap: 4px; flex: none; }
.gs-dots i { width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .5; animation: pf-dot 1.1s ease-in-out infinite; }
.gs-dots i:nth-child(2) { animation-delay: .18s; } .gs-dots i:nth-child(3) { animation-delay: .36s; }
/* Claude is writing: only the dots; then the words */
.gs-b:not(.gs-b3) .gs-dots { display: none; }
.gs-b.wait:not(.gs-b3) .gs-dots { display: inline-flex; margin: 7px 0; }
.gs-b.wait:not(.gs-b3) .gs-t { display: none; }
.gs-b3 { padding-block: 9px; color: var(--sand-2); }
.gs-b3.done { color: #fff; }
.gs-b3.done .gs-dots { display: none; }
.gs-kit { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px; border-radius: 18px; opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.gs-kit.on { opacity: 1; transform: none; }
.gs-kit-top { display: flex; align-items: center; gap: 11px; }
.gs-logo { flex: none; width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; padding-bottom: 5px; background: #15130f; color: #f1ede6; font: italic 400 36px/1 "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.54), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.38); }
.gs-kit-name { flex: 1; min-width: 0; font: 500 17px/1.1 var(--sans); letter-spacing: -.02em; }
.gs-kit-name .mono { font-size: 9px; color: var(--sand-3); margin-bottom: 6px; white-space: nowrap; }
.gs-font { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); box-shadow: var(--rim-soft); font: 400 20px/1 var(--sans); letter-spacing: -.03em; }
.gs-f1 { font: italic 400 22px/1 "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif; }
.gs-sw { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 11px; }
.gs-sw i { height: 34px; border-radius: 9px; background: var(--c); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.54), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.38); }
.gs-kit .gs-logo, .gs-kit .gs-kit-name, .gs-kit .gs-font, .gs-kit .gs-sw i { opacity: 0; transform: scale(.8); transition: opacity .4s var(--ease), transform .55s cubic-bezier(.3, 1.5, .5, 1); transition-delay: calc(var(--n, 0) * 140ms + 300ms); }
.gs-kit.on .gs-logo, .gs-kit.on .gs-kit-name, .gs-kit.on .gs-font, .gs-kit.on .gs-sw i { opacity: 1; transform: none; }
.gs-kit:not(.on) .gs-logo, .gs-kit:not(.on) .gs-kit-name, .gs-kit:not(.on) .gs-font, .gs-kit:not(.on) .gs-sw i { transition-delay: 0s; transition-duration: .25s; }
.gs-kit .gs-kit-name { --n: 1; } .gs-kit .gs-sw i:nth-child(1) { --n: 2; } .gs-kit .gs-sw i:nth-child(2) { --n: 3; } .gs-kit .gs-sw i:nth-child(3) { --n: 4; } .gs-kit .gs-sw i:nth-child(4) { --n: 5; } .gs-kit .gs-sw i:nth-child(5) { --n: 6; } .gs-kit .gs-f1 { --n: 7; } .gs-kit .gs-f2 { --n: 8; }

/* 3 · the first film */
.gs-s3 { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 14px; }
.gs-lib { padding: 11px 12px 12px; border-radius: 18px; background: rgba(var(--tint), .4); }
.gs-lib-top { display: flex; align-items: center; justify-content: space-between; font: 500 15px/1 var(--sans); letter-spacing: -.015em; padding: 2px 2px 10px; }
.gs-lib-top b { font-weight: 500; }
.gs-new { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; color: var(--sand-2); opacity: 0; transition: opacity .4s; }
.gs-new::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pearl); }
.gs-s3.on .gs-new { opacity: 1; }
.gs-lib-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gs-film { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .05); box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.36), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.26); transition: box-shadow .4s var(--ease); }
.gs-film video, .gs-film img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.gs-chip { position: absolute; left: 7px; top: 7px; padding: 4px 6px 3px; border-radius: 6px; font: 500 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #10151c; background: var(--pearl); opacity: 0; transition: opacity .3s; }
/* Claude is making this one: a light sweeps the empty slot */
.gs-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, 0) 70%); transform: translateX(-100%); opacity: 0; }
.gs-film.mk { box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 1), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.9); }
.gs-film.mk::after { opacity: 1; animation: gs-sweep .9s var(--ease-io) infinite; }
@keyframes gs-sweep { to { transform: translateX(100%); } }
/* it lands */
.gs-film.on { box-shadow: 0 0 0 1.5px var(--pearl); }
.gs-film.on video, .gs-film.on img { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform 1s var(--ease); }
.gs-film.on .gs-chip { opacity: 1; }
/* the newest one keeps its ring; the earlier ones settle */
.gs-film.on.old { box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, 0.63), inset -1px -1px 1px -1px rgba(255, 255, 255, 0.45); }

@media (max-width: 1020px) {
  .gs-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .gs-stage { height: 348px; }
}
@media (max-width: 760px) {
  .gs-card { border-radius: 24px; padding: 8px; }
  .gs-copy { padding: 18px 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .gs-dots { display: none !important; }
}


/* ===== 140-views ===== */
/* 140 views: the frame is the wallpaper. Pick one and the whole studio changes. Prefix: vw- */
.vw.frame { --tint: 15, 22, 31; margin-block: var(--frame-m); background: linear-gradient(180deg, #5f7892, #9fb2c4 60%, #cfd6dc); }
.vw-bg { overflow: hidden; }
.vw-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0; transition: opacity 1.5s var(--ease); will-change: transform, opacity; }
.vw-img.on { opacity: 1; }
.vw-img.top { z-index: 1; }
/* a slow push-in with a gentle drift, only while the section is on screen */
.vw-img.on { animation: vw-drift 26s ease-in-out infinite alternate; animation-play-state: paused; }
.vw.live .vw-img.on { animation-play-state: running; }
@keyframes vw-drift { from { transform: scale(1.03) translate3d(-1%, 0, 0); } to { transform: scale(1.11) translate3d(1%, -.6%, 0); } }
.vw > .shade { background:
  radial-gradient(90% 80% at 0% 0%, rgba(var(--tint), .5), rgba(var(--tint), 0) 62%),
  linear-gradient(0deg, rgba(var(--tint), .5) 0%, rgba(var(--tint), 0) 34%); transition: background-color .8s; }

.vw-in { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; gap: clamp(22px, 3vw, 40px) clamp(20px, 3vw, 48px); padding: clamp(30px, 4.2vw, 60px); min-width: 0; }
.vw-head { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 1.5vw, 22px); }
.vw-head .label { color: rgba(255, 255, 255, .9); }
.vw-h { font-size: clamp(36px, 4.9vw, 74px); color: #fff; }
.vw-h .two { color: rgba(255, 255, 255, .72); }
.vw-head .lede { color: rgba(255, 255, 255, .9); }

/* ---------- the Home echo ---------- */
.vw-home { align-self: center; width: min(500px, 40vw); padding: 20px 22px 22px; border-radius: 28px; background: rgba(var(--tint), .3); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%); box-shadow: var(--rim); color: #fff; transition: background-color 1.2s var(--ease); }
.vw-top { display: flex; justify-content: space-between; gap: 14px; }
.vw-top .mono { font-size: 9.5px; letter-spacing: .2em; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.vw-geo { display: flex; align-items: center; gap: 10px; }
.vw-geo i { width: 6px; height: 6px; border: solid rgba(255, 255, 255, .8); border-width: 1.5px 0 0 1.5px; }
.vw-elev { opacity: .6; }
.vw-hello { margin-top: clamp(26px, 3.4vw, 46px); font: 300 clamp(38px, 4vw, 58px)/1 var(--sans); letter-spacing: -.04em; white-space: nowrap; }
.vw-pick { display: flex; align-items: center; gap: 8px; margin-top: clamp(20px, 2.2vw, 30px); }
.vw-arrow, .vw-pill { height: 44px; border-radius: 22px; background: rgba(var(--tint), .42); box-shadow: var(--rim-soft); transition: background-color .25s, transform .2s var(--ease); }
.vw-arrow { flex: none; width: 44px; display: grid; place-items: center; }
.vw-arrow:hover { background: rgba(255, 255, 255, .16); }
.vw-arrow:active { transform: scale(.92); }
.vw-arrow svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vw-pill { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 7px; font: 500 15px/1 var(--sans); letter-spacing: -.01em; }
.vw-pill-th { flex: none; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.vw-pill-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- the wallpapers ---------- */
.vw-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.vw-chip { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 15px 0 5px; border-radius: 21px; background: rgba(var(--tint), .36); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); box-shadow: var(--rim-soft); color: rgba(255, 255, 255, .92); font: 500 14px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; transition: background-color .3s var(--ease), color .3s, transform .2s var(--ease); }
.vw-chip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 10px -3px rgba(0, 0, 0, .45); }
.vw-chip:hover { background: rgba(255, 255, 255, .2); }
.vw-chip:active { transform: scale(.96); }
.vw-chip.on { background: var(--pearl); color: #10151c; box-shadow: none; }

@media (max-width: 1240px) {
  .vw-date { display: none; }
}
@media (max-width: 900px) {
  .vw-in { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; }
  .vw-home { justify-self: start; align-self: end; width: min(500px, 100%); }
}
@media (max-width: 760px) {
  .vw > .shade { background:
    linear-gradient(180deg, rgba(var(--tint), .56) 0%, rgba(var(--tint), .2) 30%, rgba(var(--tint), 0) 46%),
    linear-gradient(0deg, rgba(var(--tint), .5) 0%, rgba(var(--tint), 0) 30%); }
  .vw-in { padding: 30px 8px 12px; gap: 14px; }
  .vw-head { padding-inline: 16px; gap: 13px; }
  .vw-h { font-size: clamp(34px, 9.6vw, 42px); line-height: 1.04; }
  .vw-home { width: 100%; padding: 16px 16px 16px; border-radius: 24px; }
  .vw-date { display: none; }
  .vw-hello { margin-top: 20px; font-size: 40px; }
  .vw-pick { margin-top: 18px; }
  /* one row you can swipe */
  .vw-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -8px; padding: 2px 16px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent); }
  .vw-chips::-webkit-scrollbar { display: none; }
  .vw-chip { flex: none; scroll-snap-align: start; scroll-margin-left: 16px; -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(var(--tint), .58); }
}


/* ===== 150-integrations ===== */
/* 150-integrations. Prefix: con-. The app's connection tiles around the Studio mark, wired to it; one wire pulses at a time.
   Tile, logo and status chip values follow the app (Studio_App web/vista/integrations.css). */
.con { --v-g: rgba(255, 255, 255, .045); --v-on: rgba(255, 255, 255, .1);
  --rim-on: inset 1px 1px 1px -1px rgba(255, 255, 255, .9), inset -1px -1px 1px -1px rgba(255, 255, 255, .7), inset 2px 2px 5px -2px rgba(196, 214, 238, .62), inset -2px -2px 5px -2px rgba(242, 226, 220, .62); }
.con .sec-head { margin-bottom: clamp(30px, 4vw, 56px); }
.con-map { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(46px, 5vw, 68px); isolation: isolate; }
/* a quiet glow behind the hub so the glass tiles have light to catch */
.con-map::before { content: ""; position: absolute; z-index: -2; left: 8%; right: 8%; top: 6%; bottom: 6%; background: radial-gradient(46% 50% at 50% 50%, rgba(191, 227, 255, .2), rgba(191, 227, 255, .05) 58%, transparent 76%), radial-gradient(30% 34% at 30% 22%, rgba(236, 233, 226, .08), transparent 70%), radial-gradient(30% 34% at 72% 80%, rgba(236, 233, 226, .07), transparent 70%); pointer-events: none; }
.con-wires { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.con-wires path { fill: none; stroke: rgba(255, 255, 255, .17); stroke-width: 1; vector-effect: non-scaling-stroke; }
.con-wires path.p { stroke: #fff; stroke-width: 1.6; stroke-linecap: round; opacity: 0; }
.con-wires circle { fill: rgba(255, 255, 255, .5); }

.con-row { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.con-t { min-width: 0; padding: 16px; border-radius: 20px; display: flex; flex-direction: column; gap: 6px; background: rgba(var(--tint), .46); transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.con-t.on { background: rgba(26, 34, 46, .62); box-shadow: var(--rim-on); }
.con-tt { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.con-logo { flex: none; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: rgba(8, 11, 16, .62); box-shadow: var(--rim); }
/* one calm family: every mark on the same dark glass square, white unless its own colour is coral or blue */
.con-logo svg, .con-logo img { width: 56%; height: 56%; fill: #fff; overflow: visible; }
.con-logo .c-claude { fill: #d97757; }
.con-logo .c-dropbox { fill: #0061ff; }
.con-logo .c-line { fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; width: 62%; height: 62%; }
.con-st { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; font: 500 11.5px/1 var(--sans); color: #fff; white-space: nowrap; background: rgba(255, 255, 255, .06); box-shadow: var(--rim); }
.con-st em { font-style: normal; }
.con-st i { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ice); }
.con-st i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 2px 10px -3px rgba(0, 0, 0, .45); opacity: 0; transform: scale(.4); }
.con-t.on .con-st i { background: #fff; }
.con-t.on .con-st i::after { animation: con-ping 1.1s var(--ease) 1; }
@keyframes con-ping { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.7); } }
.con-t > b { font: 600 15px/1.2 var(--sans); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.con-t > p { font: 400 12.5px/1.35 var(--sans); color: var(--sand-2); }

.con-hub { position: relative; flex: none; width: 104px; height: 104px; border-radius: 30px; display: grid; place-items: center; background: rgba(var(--tint), .7); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--rim); }
.con-hub .mark { width: 60px; height: 60px; overflow: visible; }
.con-foot { margin-top: clamp(30px, 3.4vw, 48px); text-align: center; font: 400 clamp(15px, 1.2vw, 18px)/1.45 var(--sans); letter-spacing: -.008em; color: var(--sand-2); }

@media (max-width: 1000px) {
  .con-st { height: 18px; padding: 0 3px; background: none; box-shadow: none; }
  .con-st em { display: none; }
}
@media (max-width: 700px) {
  .con-map { gap: 0; padding-top: 0; }
  .con-hub { order: -1; width: 84px; height: 84px; border-radius: 24px; margin-bottom: 34px; }
  .con-hub .mark { width: 48px; height: 48px; }
  .con-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; }
  .con-top { margin-bottom: 12px; }
  .con-t { padding: 12px 12px 13px; border-radius: 18px; gap: 4px; }
  .con-tt { margin-bottom: 7px; }
  .con-logo { width: 38px; height: 38px; border-radius: 10.5px; }
  .con-t > b { font-size: 14.5px; }
  .con-t > p { font-size: 12px; }
}


/* ===== 155-creator ===== */
/* 155 the creator: the approved canvas "Creator B" (cr.css, B blocks, with A and C taken out), then the site's own frame:
   on desktop the 1404 x 1010 board is scaled to the frame's width (section.js sets --crk); under 1100px it stacks. */
/* The creator, round 4. Studio's own language: a wallpaper frame, soft dark glass with the plain rim, Hanken 300, mono brackets.
   The phone is the Custom Esignature site's iPhone asset (978x2000, screen inset 2.15% 5.05%, radius 11.5%/5.6%) with Evan's
   real MIRRA profile inside: his clip on top, the real app screen below it. The orb is thinking-orbs "working" (orbs.js). */
.cr { --sand: #f5f3ee; --sand2: rgba(245, 243, 238, .76); --sand3: rgba(245, 243, 238, .5);
  --rim: inset 1px 1px 1px -1px rgba(255, 255, 255, .5), inset -1px -1px 1px -1px rgba(255, 255, 255, .5);
  --glass: rgba(18, 22, 30, .46); --blur: blur(40px) saturate(115%);
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color: var(--sand); }
.cr *, .cr *::before, .cr *::after { box-sizing: border-box; }
:where(.cr) p, :where(.cr) h2, :where(.cr) h3, :where(.cr) ul { margin: 0; padding: 0; }
:where(.cr) ul { list-style: none; }
.cr-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cr-feather { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; z-index: 5; pointer-events: none; background: linear-gradient(0deg, rgba(7, 8, 10, .92) 0, rgba(7, 8, 10, .6) 40%, rgba(7, 8, 10, 0)); }
.cr-glass { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--rim); border-radius: 26px; }
.cr-label { font: 500 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--sand2); }
.cr-label::before { content: "[ "; opacity: .55; } .cr-label::after { content: " ]"; opacity: .55; }
.cr-mono { font: 500 10.5px/1.35 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand3); }
.cr-h { font: 300 54px/1.03 var(--sans); letter-spacing: -.04em; text-wrap: balance; }
.cr-h span { opacity: .6; }
.cr-p { font: 400 17px/1.5 var(--sans); letter-spacing: -.005em; color: var(--sand2); text-wrap: pretty; }

/* ---------- the phone ---------- */
.cr-phone { position: absolute; z-index: 3; aspect-ratio: 978 / 2000; }
.cr-scr { position: absolute; inset: 2.15% 5.05%; border-radius: 11.5% / 5.6%; overflow: hidden; background: #000; }
.cr-scr video { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.cr-ui { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask: linear-gradient(180deg, #000 0, #000 11%, transparent 12.6%, transparent 53.6%, #000 56.6%); mask: linear-gradient(180deg, #000 0, #000 11%, transparent 12.6%, transparent 53.6%, #000 56.6%); }
.cr-pframe { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Ask Evan: typeable, Enter opens his Digital Persona ---------- */
.cr-q { position: relative; padding: 22px 18px 18px; }
.cr-br { position: absolute; width: 16px; height: 16px; border: solid rgba(255, 255, 255, .72); border-width: 0; }
.cr-br.tl { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.cr-br.tr { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.cr-br.bl { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.cr-br.br { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.cr-qhead, .cr-qfoot { display: flex; align-items: center; justify-content: space-between; }
.cr-qhead { margin-bottom: 10px; }
.cr-qhead .cr-mono { color: var(--sand); }
.cr-qhead .cr-mono::before { content: ""; display: inline-block; width: 3px; height: 10px; margin-right: 7px; vertical-align: -1px; background: #fff; }
.cr-qfoot { margin-top: 10px; }
.cr-field { position: relative; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 16px; border-radius: 26px; isolation: isolate;
  background: rgba(5, 7, 11, .72); -webkit-backdrop-filter: blur(26px) saturate(130%); backdrop-filter: blur(26px) saturate(130%); box-shadow: var(--rim); }
.cr-field > :not(.cr-beam) { position: relative; z-index: 4; }
.cr-beam { position: absolute !important; inset: 0; z-index: 0; overflow: hidden; border-radius: 26px; pointer-events: none; --beam-strength: .9; }
.cr-field canvas { flex: none; display: block; }
.cr-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 400 17px/1 var(--sans); letter-spacing: -.01em; color: #fff; }
.cr-field input::placeholder { color: rgba(255, 255, 255, .5); }
.cr-go { width: 40px; height: 40px; border: 0; border-radius: 18px; display: grid; place-items: center; background: var(--sand); cursor: pointer; }
.cr-go svg { width: 15px; height: 15px; stroke: #0b0c0e; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the matched pair: his voice note, and the way to his MIRRA ---------- */
.cr-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cr-pair.col { grid-template-columns: 1fr; }
.cr-pill { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 12px; height: 56px; padding: 0 8px; border-radius: 18px; background: rgba(255, 255, 255, .09); box-shadow: var(--rim); min-width: 0; }
.cr-pill > img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; object-position: 50% 20%; }
.cr-pill .t { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.cr-pill .t small { font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sand3); white-space: nowrap; }
.cr-pill .t b { font: 500 13.5px/1 var(--sans); white-space: nowrap; }
.cr-pill .t .wv { display: block; width: 100%; height: 13px; fill: rgba(255, 255, 255, .58); }
.cr-pill .t .wm { display: block; height: 12px; width: auto; align-self: flex-start; }
.cr-pill .sq { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); }
.cr-pill .sq svg { width: 13px; height: 13px; }
.cr-pill .sq .pl { fill: #0b0c0e; stroke: #0b0c0e; stroke-width: 2.4; stroke-linejoin: round; margin-left: 2px; }
.cr-pill .sq .ar { stroke: #0b0c0e; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 15px; height: 15px; }

/* ---------- credentials and tools ---------- */
.cr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cr-stat { padding: 14px 16px 15px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: var(--rim); }
.cr-stat b { display: block; font: 300 34px/1 var(--sans); letter-spacing: -.035em; }
.cr-stat span { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.3; color: var(--sand2); }
.cr-tools { display: flex; align-items: center; gap: 18px; }
.cr-tools .cr-mono { flex: none; }
.cr-tools ul { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; }
.cr-tools svg { display: block; width: 22px; height: 22px; fill: var(--sand); opacity: .8; }
.cr-tools.col { flex-direction: column; align-items: flex-start; gap: 14px; }

/* ---------- A: Pale dunes. Glass story left, phone right with the live field popping out of it ---------- */

/* ---------- B: Rockies. Phone centre, credentials in glass either side ---------- */
.crb .crb .cr-shade { background: linear-gradient(180deg, rgba(8, 9, 11, .5), rgba(8, 9, 11, .28) 45%, rgba(8, 9, 11, .55)); }
.crb-head { position: absolute; z-index: 4; left: 0; right: 0; top: 62px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.crb .cr-phone { width: 400px; left: 50%; margin-left: -200px; top: 232px; }
.crb .cr-q { position: absolute; z-index: 7; width: 540px; left: 50%; margin-left: -270px; top: 676px; }
.crb-side { position: absolute; z-index: 4; top: 262px; width: 330px; display: flex; flex-direction: column; gap: 10px; }
.crb-side.l { left: 84px; } .crb-side.r { right: 84px; }
.crb-side .cr-stats { grid-template-columns: 1fr 1fr; }
.crb-box { padding: 20px 20px 22px; border-radius: 22px; }
.crb-side .cr-stat { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.crb-side .cr-pill { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }

/* ---------- C: Sea stacks. "Ask him." with the field first, phone right ---------- */
/* round 4b: on the phone, the live field sits exactly on the profile's own "Ask me anything" row and runs out past the
   phone's left edge; no brackets or labels there, so it never covers the location line or the profile card */
.cr-q.bare { padding: 0; }
.cr-q.bare .cr-br, .cr-q.bare .cr-qhead, .cr-q.bare .cr-qfoot { display: none; }
.crb .cr-q { left: 50%; margin-left: -268px; top: 705px; width: 536px; }
/* the voice note pill: real clip, play / pause, a thin progress line under the waveform */
.cr-pill.vn { cursor: pointer; }
.cr-pill .t { position: relative; }
.cr-pill .t b .tm { margin-left: 6px; font: 500 10px/1 var(--mono); font-style: normal; color: var(--sand3); }
.cr-pill .t .prog { position: absolute; left: 0; bottom: -5px; height: 1.5px; border-radius: 1px; background: var(--sand); transition: width .25s linear; }
.cr-pill .sq .pa { width: 12px; height: 12px; fill: #0b0c0e; }

/* ---------- round 5: calmer glass, balance, a bracketed field, a wallpaper switcher (canvas only) ---------- */
/* stats and the two pills: a quiet fill, no rim */
.cr-stat { background: rgba(255, 255, 255, .07); box-shadow: none; }
.cr-pill { background: rgba(255, 255, 255, .08); box-shadow: none; }
.crb-side .cr-stat, .crb-side .cr-pill { background: rgba(14, 17, 23, .42); box-shadow: none; }
.cr-tools svg { opacity: .72; }
/* the field: only the brackets around it, no labels above or below */
.cr-q { padding: 9px; }
.cr-q .cr-qhead, .cr-q .cr-qfoot { display: none; }
.cr-br { width: 14px; height: 14px; }
/* A and C: panel and phone share one top line, equal outer margins, the gap between them is the same as the margins */
/* wallpaper switcher */
.cr-wp { position: absolute; z-index: 9; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 4px; height: 40px; padding: 0 4px; border-radius: 999px;
  background: rgba(10, 13, 18, .5); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); box-shadow: var(--rim); }
.cr-wp button { width: 32px; height: 32px; border: 0; border-radius: 50%; display: grid; place-items: center; background: none; color: #fff; cursor: pointer; }
.cr-wp button:hover { background: rgba(255, 255, 255, .1); }
.cr-wp button svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-wp span { min-width: 190px; text-align: center; font: 500 12.5px/1 var(--sans); color: var(--sand); white-space: nowrap; }
.cr-wp span i { font: 500 10px/1 var(--mono); font-style: normal; color: var(--sand3); margin-left: 6px; }
.crb-box.cr-glass { background: rgba(14, 17, 23, .42); box-shadow: none; }

/* ---------- B, final (approved 2026-11-18): voice note centred in the header with the Ask Claude beam; Studio leads what he founded ---------- */
.crb .crb-head { top: 58px; gap: 16px; }
.cr-pill.vn.head { position: relative; isolation: isolate; width: 380px; margin-top: 6px; border-radius: 26px; background: rgba(10, 13, 18, .5);
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%); text-align: left; }
.cr-pill.vn.head > :not(.cr-beam) { position: relative; z-index: 4; }
.cr-pill.vn.head .cr-beam { border-radius: 26px; --beam-strength: 1.2; }
.crb .cr-phone { top: 300px; }
.crb-side { top: 330px; }
.crb .cr-q { top: 773px; }


/* ---------- the site frame ---------- */
.cr.frame { margin-top: clamp(40px, 6vw, 96px); aspect-ratio: 1404 / 1010; }
.cr .cr-shade { background: linear-gradient(180deg, rgba(8, 9, 11, .5), rgba(8, 9, 11, .28) 45%, rgba(8, 9, 11, .55)); }
.cr .cr-feather { z-index: 5; }
.cr-art { position: absolute; left: 0; top: 0; width: 1404px; height: 1010px; transform-origin: 0 0; transform: scale(var(--crk, 1)); }
.cr-stage { position: absolute; z-index: 3; left: 50%; top: 300px; width: 536px; margin-left: -268px; }
.cr .cr-stage .cr-phone { position: relative; left: auto; top: auto; margin: 0 auto; width: 400px; }
.cr .cr-stage .cr-q { position: absolute; z-index: 7; left: 0; top: 473px; margin: 0; width: 536px; }
button.cr-pill { border: 0; color: inherit; font: inherit; cursor: pointer; }
a.cr-mirra { color: inherit; text-decoration: none; }
.cr-pill.vn .sq .pa { display: none; }
.cr-pill.vn.playing .sq .pa { display: block; }
.cr-pill.vn.playing .sq .pl { display: none; }
.cr-pill.vn .t .prog { width: var(--prog, 0%); }
.cr-pill.vn:focus-visible, a.cr-mirra:focus-visible, .cr-go:focus-visible, .cr-wp button:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.cr .cr-field input { font-size: 17px; }

/* ---------- narrow screens: stacked ---------- */
@media (max-width: 1099px) {
  .cr.frame { aspect-ratio: auto; }
  .cr-art { position: relative; width: auto; height: auto; transform: none; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: clamp(56px, 9vw, 80px) 16px 84px; }
  .crb-head { position: static; padding: 0 4px; }
  .cr-h { font-size: clamp(34px, 7vw, 48px); }
  .cr-p { font-size: 16px; max-width: 30em; }
  .cr-pill.vn.head { width: min(380px, 100%); }
  .cr-stage { position: relative; left: auto; top: auto; margin: 6px 0 0; --pw: min(320px, 76vw); width: var(--pw); clip-path: inset(0 -100vw 13% -100vw); margin-bottom: calc(var(--pw) * -0.266); order: 1; }
  .cr .cr-stage .cr-phone { width: 100%; }
  .cr .cr-stage .cr-q { left: 50%; top: 57.8%; width: min(calc(100vw - 32px), 420px); transform: translateX(-50%); }
  .crb-side { position: static; width: 100%; max-width: 520px; top: auto; order: 2; }
  .crb-side.r { order: 3; }
  .cr .cr-feather { height: 90px; }
  .cr-wp { right: 50%; transform: translateX(50%); bottom: 16px; height: 36px; }
  .cr-wp span { min-width: 150px; font-size: 12px; }
  /* phones: the profile phone fades out under the Ask field instead of being cut flat; Meet Evan on MIRRA sits right under it
     (his profile, then the way to it), then the numbers, the tools, and what he founded */
  .cr .cr-stage { clip-path: none; }
  .cr .cr-stage .cr-phone { -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 87%); mask-image: linear-gradient(180deg, #000 74%, transparent 87%); }
  .crb-side.r { display: contents; }
  .crb-side.r > .cr-pair { order: 2; width: 100%; max-width: 520px; margin-top: -4px; }
  .crb-side.l { order: 3; }
  .crb-side.r > .crb-box { order: 4; width: 100%; max-width: 520px; }
  .cr-tools.col { align-items: stretch; }
  .cr-tools ul { display: grid; grid-template-columns: repeat(10, 1fr); justify-items: center; gap: 18px 6px; }
  .crc-cred { gap: 16px; }
}
@media (max-width: 560px) {
  .cr-tools ul { grid-template-columns: repeat(5, 1fr); }
  .cr-tools svg { width: 24px; height: 24px; }
  .cr-stat b { font-size: 32px; }
  .cr-stat span { font-size: 13px; }
}

/* what he founded (the canvas's .crc-cred list, used by B) */
.crc-cred { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.crc-cred li b { display: block; font: 500 16px/1.2 var(--sans); }
.crc-cred li span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--sand2); }
.crc-cred li.st b { display: flex; align-items: center; gap: 8px; }
.crc-cred .mk { width: 20px; height: 20px; flex: none; overflow: visible; }


/* ===== 160-pricing ===== */
/* 160 pricing: Pricing D (approved canvas "Pricing D · Approved to ship"). Orange dune wallpaper; glass is a fill, a blur and the
   plain rim light, never a solid line. Plans, rows, prices and the sales switch come from the app's pricing.json (pricing.py). */
.pr { --rim: inset 1px 1px 1px -1px rgba(255, 255, 255, .6), inset -1px -1px 1px -1px rgba(255, 255, 255, .5);
  --rim-plain: inset 1px 1px 1px -1px rgba(255, 255, 255, .5), inset -1px -1px 1px -1px rgba(255, 255, 255, .5);
  --rim-on: inset 1px 1px 1px -1px rgba(255, 255, 255, .9), inset -1px -1px 1px -1px rgba(255, 255, 255, .7), inset 2px 2px 5px -2px rgba(196, 214, 238, .62), inset -2px -2px 5px -2px rgba(242, 226, 220, .62);
  --g: rgba(255, 255, 255, .06); --pd-blur: blur(40px) saturate(115%); }
.pr.frame { margin-top: clamp(40px, 6vw, 96px); padding: clamp(56px, 4.5vw, 64px) 0 34px; }
.pr .pr-bg { object-position: 50% 0; animation: pr-push 40s linear infinite alternate; transform-origin: 50% 0; }
@keyframes pr-push { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.pr .shade { background: linear-gradient(180deg, rgba(8, 9, 11, .24) 0%, rgba(8, 9, 11, .08) 20%, rgba(8, 9, 11, .2) 50%, rgba(8, 9, 11, .5) 100%); }
.pd-glass { background: rgba(18, 22, 30, .42); -webkit-backdrop-filter: var(--pd-blur); backdrop-filter: var(--pd-blur); box-shadow: var(--rim); border-radius: 26px; }
.pd-mono { font: 500 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-3); }
.pd-num { display: inline-block; transition: opacity .25s var(--ease), transform .35s var(--ease); }
.pr.swap .pd-num { opacity: 0; transform: translateY(6px); }

/* ---------- head ---------- */
.pd-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.pd-head .vo { margin-top: 8px; }
.pd-head .vo-nudge { display: none; } /* Evan: the "Tap to listen" tag crowded the heading here */
.pd-h2 { font: 300 clamp(40px, 4.4vw, 62px)/1 var(--sans); letter-spacing: -.04em; }
.pd-h2 span { opacity: .7; }

/* ---------- the anchor ---------- */
.pd-anchor { max-width: 1000px; margin: 26px auto 0; padding: 24px clamp(18px, 2.4vw, 34px); background: rgba(14, 17, 23, .5); }
.pd-a-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pd-a-head h3 { font: 500 clamp(18px, 1.5vw, 21px)/1.2 var(--sans); letter-spacing: -.015em; }
.pd-a-head .pd-mono { white-space: nowrap; }
/* the floating Kayla player steps aside while Pricing is on screen (it has its own pills here), unless she is talking */
html.kp-away .kp:not(.playing) { transform: translate3d(-50%, 140%, 0); opacity: 0; pointer-events: none; }
.pd-rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 110px; align-items: center; gap: 16px; padding: 5px 0; }
.pd-rows b { font: 500 clamp(16px, 1.3vw, 18px)/1.2 var(--sans); letter-spacing: -.012em; }
.pd-rows .d { font-size: 15px; font-weight: 300; color: rgba(245, 243, 238, .7); }
.pd-rows em { font: 400 clamp(17px, 1.4vw, 20px)/1 var(--sans); font-style: normal; font-variant-numeric: tabular-nums; text-align: right; }
.pd-vs { margin-top: 16px; display: grid; gap: 8px; }
.pd-bar { display: grid; grid-template-columns: 104px 1fr 210px; align-items: center; gap: 18px; }
.pd-bar-l { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--sans); color: var(--sand-2); white-space: nowrap; }
.pd-bar-l svg { width: 24px; height: 24px; overflow: visible; }
.pd-track { height: 16px; border-radius: 5px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.pd-fill { display: block; height: 100%; border-radius: 5px; width: 0; transition: width 1.5s cubic-bezier(.65, 0, .35, 1); }
.pd-bar.team .pd-fill { background: linear-gradient(90deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .28)); }
.pd-bar.team.on .pd-fill { width: 100%; }
.pd-bar.studio .pd-fill { background: var(--pearl); transition: width .6s var(--ease); }
.pd-bar.studio.on .pd-fill { width: var(--bar, .8%); }
.pd-bar strong { font: 400 clamp(28px, 2.6vw, 36px)/1 var(--sans); letter-spacing: -.035em; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.pd-bar strong small { display: block; margin-top: 4px; font: 400 12.5px/1 var(--sans); letter-spacing: 0; color: var(--sand-3); }
.pd-bar.team strong s { color: var(--sand-3); text-decoration-thickness: 1.5px; }
.pd-bar.studio .pd-bar-l { color: #fff; }
.pd-punch { margin-top: 16px; font: 300 clamp(28px, 2.9vw, 40px)/1.05 var(--sans); letter-spacing: -.035em; }
.pd-shim { background: linear-gradient(100deg, rgba(245, 243, 238, .5) 0%, rgba(245, 243, 238, .5) 30%, #fff 44%, #fff 52%, #dfe9ff 56%, rgba(245, 243, 238, .5) 70%, rgba(245, 243, 238, .5) 100%);
  background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .28)); animation: pd-shim 2.6s cubic-bezier(.45, 0, .25, 1) infinite; }
@keyframes pd-shim { 0% { background-position: 110% 0; } 65%, 100% { background-position: -40% 0; } }
.pr.off .pd-shim { animation-play-state: paused; }
.pd-agency { margin-top: 8px; color: var(--sand-2); font-size: 14px; }

/* ---------- Monthly | Yearly ---------- */
.pd-switch { display: flex; justify-content: center; margin: 56px 0 18px; }
.pr-period { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--g); box-shadow: var(--rim); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.pr-period button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0; border: 0; border-radius: 999px; background: none;
  font: 500 14.5px/1 var(--sans); color: var(--sand-2); cursor: pointer; transition: color .3s var(--ease); }
.pr-period button.mo { width: 106px; } .pr-period button.yr { width: 156px; }
.pr-period button:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
.pr[data-period="month"] .pr-period .mo, .pr[data-period="year"] .pr-period .yr { color: #0b0c0e; }
.pr-save { font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: var(--sand); box-shadow: var(--rim); transition: background .3s, color .3s; }
.pr[data-period="year"] .pr-save { background: rgba(11, 12, 14, .08); color: #0b0c0e; box-shadow: none; }
.pr-knob { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: 106px; border-radius: 999px; background: var(--sand); transition: transform .45s var(--ease), width .45s var(--ease); }
.pr[data-period="year"] .pr-knob { width: 156px; transform: translateX(106px); }

/* ---------- the plans ---------- */
.pd-plans { max-width: 1180px; margin-inline: auto; }
/* one panel on wide screens: rows read straight across; the best plan is one dark beamed column, in the app composer's glass */
.pd-panel { position: relative; display: grid; grid-template-columns: 318px repeat(var(--n, 3), minmax(0, 1fr)); grid-template-rows: auto repeat(var(--rows, 10), 44px); padding: 0 0 22px; isolation: isolate; }
.pd-pro { position: relative; margin: 10px 6px -12px; border-radius: 26px; background: rgba(5, 7, 11, .62); -webkit-backdrop-filter: blur(26px) saturate(130%); backdrop-filter: blur(26px) saturate(130%); box-shadow: var(--rim-plain); isolation: isolate; z-index: 0; }
.pd-pbeam { position: absolute !important; inset: 0; z-index: 0; overflow: hidden; border-radius: 26px; pointer-events: none; --beam-strength: 1.6; } /* Most popular: the beam at full strength */
.pd-h { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; padding: 30px 22px 24px; }
.pd-h.lead { padding-left: 34px; }
.pd-h.lead .pd-mono { margin-top: auto; margin-bottom: 12px; }
.pd-h.lead p { font: 400 25px/1.15 var(--sans); letter-spacing: -.02em; }
.pd-h.lead p span { color: var(--sand-3); }
.pd-brand { display: inline-flex; align-items: center; gap: 12px; padding-top: 4px; font: 500 24px/1 var(--sans); letter-spacing: -.02em; color: #fff; }
.pd-brand svg { width: 44px; height: 44px; overflow: visible; }
.pd-nm { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-2); }
.pd-nm .nmx { display: inline-flex; align-items: center; gap: 8px; }
.pd-mk { width: 20px; height: 20px; overflow: visible; }
.pd-tag { position: relative; display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 13px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--rim-plain); }
.pd-tag .tx { position: relative; z-index: 4; font: 500 10px/1 var(--mono); letter-spacing: .1em; color: var(--sand); }
.pd-pr { display: flex; align-items: baseline; margin-top: 18px; font: 400 clamp(46px, 3.9vw, 56px)/1 var(--sans); letter-spacing: -.04em; white-space: nowrap; }
.pd-pr .was { margin-right: 10px; font-size: .46em; font-weight: 300; letter-spacing: -.02em; color: var(--sand-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.pd-pr .was:empty, .pd-save:empty { display: none; }
.pd-pr small { margin-left: 8px; font: 400 14px/1 var(--sans); letter-spacing: 0; color: var(--sand-3); }
.pd-billed { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--sand-2); font-variant-numeric: tabular-nums; }
.pd-save { margin-left: 8px; padding: 3px 8px; border-radius: 999px; font-size: 12px; color: var(--sand); background: rgba(255, 255, 255, .07); }
.pd-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; width: 100%; margin-top: 18px; border-radius: 999px; font: 500 15px/1 var(--sans); color: var(--sand); background: rgba(255, 255, 255, .1); box-shadow: var(--rim); text-decoration: none; }
.pd-btn.go { color: #0b0c0e; background: var(--sand); box-shadow: none; }
.pd-btn.soon { opacity: .62; cursor: default; }
.pd-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Kayla on each plan: "Why Pro?" over the clip's waveform, a sand play square */
.pd-k { display: flex; align-items: center; width: 100%; height: 48px; gap: 10px; margin-top: 16px; padding: 0 6px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, .09); box-shadow: var(--rim-plain); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pd-k[hidden] { display: none; }
.pd-k img { width: 36px; height: 36px; border-radius: 12px; object-fit: cover; object-position: 50% 20%; flex: none; }
.pd-k .t { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.pd-k .t b { font: 500 13px/1 var(--sans); letter-spacing: -.005em; color: var(--sand); }
.pd-k svg.wv { display: block; width: 100%; height: 16px; fill: rgba(255, 255, 255, .62); }
.pd-k svg.wv rect.on { fill: #fff; }
.pd-k .pl { flex: none; width: 36px; height: 36px; margin-left: 2px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); }
.pd-k .pl svg { width: 11px; height: 11px; fill: #0b0c0e; stroke: #0b0c0e; stroke-width: 2.6; stroke-linejoin: round; }
.pd-k .pl svg.p1 { margin-left: 2px; }
.pd-k .p2, .pd-k.playing .p1 { display: none; }
.pd-k.playing .p2 { display: block; stroke-width: 0; }
.pd-k:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
/* rows: zebra, round on the ends, never a line */
.pd-c { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 26px; font-size: 15px; color: var(--sand-2); white-space: nowrap; }
.pd-c svg, .pd-cr > svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--sand); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pd-c.n svg, .pd-cr.n > svg { stroke: rgba(245, 243, 238, .3); }
.pd-c.lab { padding-left: 34px; color: var(--sand); }
.pd-c.big { color: var(--sand); font-weight: 500; }
.pd-c.z { background: rgba(255, 255, 255, .04); }
.pd-c.z.first { border-radius: 14px 0 0 14px; margin-left: 18px; padding-left: 16px; }
.pd-c.z.last { border-radius: 0 14px 14px 0; margin-right: 18px; }
.pd-c .lg, .pd-cr .lg { width: 16px; height: 16px; flex: none; filter: brightness(0) invert(1); opacity: .9; }
.pd-c .lg.g, .pd-cr .lg.g { filter: grayscale(1) brightness(1.4); border-radius: 4px; }
.pd-c span + .lg, .pd-cr span + .lg { margin-left: 4px; }
.pd-soon { font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 7px 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--sand-2); }
/* cards on narrower screens: every row in the same place on every card */
.pd-cards { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pd-card { position: relative; display: flex; flex-direction: column; isolation: isolate; box-shadow: var(--rim-plain); }
.pd-card.best { background: rgba(5, 7, 11, .62); -webkit-backdrop-filter: blur(26px) saturate(130%); backdrop-filter: blur(26px) saturate(130%); }
.pd-card > :not(.pd-pbeam) { position: relative; z-index: 4; }
.pd-ch { display: flex; flex-direction: column; padding: 26px 24px 22px; }
.pd-clist { padding: 6px 12px 18px; }
.pd-cr { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.3; color: var(--sand-2); }
.pd-cr:nth-child(odd) { background: rgba(255, 255, 255, .04); }
.pd-cr.n { color: rgba(245, 243, 238, .32); }
.pd-cr.n .lg { opacity: .35; }
.pd-cr.big { color: var(--sand); font-weight: 500; }
.pd-cr.s .pd-soon { margin-left: auto; }
@media (max-width: 1180px) { .pd-panel { display: none; } .pd-cards { display: grid; } }
@media (max-width: 1000px) { .pd-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
@media (max-width: 760px) { .pd-card.best { background: rgba(5, 7, 11, .82); } } /* alone on a phone, without the panel glass under it, Pro needs a deeper fill to read as the dark column */
.pd-trial { margin: 18px auto 0; max-width: 60em; text-align: center; font-size: 14px; color: var(--sand-2); text-wrap: balance; }

/* ---------- Private beta, founders edition ---------- */
.pd-founders { position: relative; display: grid; grid-template-columns: 1fr auto 380px; align-items: center; gap: 34px; max-width: 1000px; margin: 22px auto 0; padding: 28px 30px 28px 34px; border-radius: 26px; isolation: isolate;
  background: rgba(8, 10, 14, .62); -webkit-backdrop-filter: var(--pd-blur); backdrop-filter: var(--pd-blur); box-shadow: var(--rim-on); }
.pd-fbeam { position: absolute !important; inset: 0; z-index: 0; overflow: hidden; border-radius: 26px; pointer-events: none; --beam-strength: 1.6; }
.pd-founders > :not(.pd-fbeam) { position: relative; z-index: 1; min-width: 0; }
.pd-fe { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.pd-founders h3 { margin-top: 12px; font: 400 clamp(24px, 2vw, 28px)/1.1 var(--sans); letter-spacing: -.02em; }
.pd-founders .fl p { margin-top: 8px; font-size: 14.5px; color: var(--sand-2); }
.pd-founders .fp { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.pd-founders .fp s { font: 300 26px/1 var(--sans); color: var(--sand-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.pd-founders .fp b { font: 400 64px/1 var(--sans); letter-spacing: -.04em; }
.pd-founders .fp small { font-size: 14px; color: var(--sand-3); }
/* Early access (shown while sign-ups are on, 900-early): the founders card's shape, above the plans */
.pd-early { position: relative; display: grid; grid-template-columns: 1fr auto 300px; align-items: center; gap: 34px; max-width: 1000px; margin: 34px auto 6px; padding: 30px 30px 30px 34px; border-radius: 26px; isolation: isolate;
  background: rgba(8, 10, 14, .58); -webkit-backdrop-filter: var(--pd-blur); backdrop-filter: var(--pd-blur); box-shadow: var(--rim-on); }
.pd-early[hidden] { display: none; }
.pd-early > :not(.pd-fbeam) { position: relative; z-index: 1; min-width: 0; }
.pd-early h3 { margin-top: 12px; font: 400 clamp(24px, 2vw, 28px)/1.1 var(--sans); letter-spacing: -.02em; text-wrap: balance; }
.pd-early .el p { margin-top: 8px; max-width: 30em; font-size: 14.5px; line-height: 1.5; color: var(--sand-2); text-wrap: pretty; }
.pd-early .ep { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.pd-early .ep b { font: 400 64px/1 var(--sans); letter-spacing: -.04em; }
.pd-early .ep span { font: 500 10.5px/1.35 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.pd-early .ep.pd-shim, .pd-early .ep.pd-shim * { color: transparent; } /* one shimmer across "14 days free" */
.pd-early .er { display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
.pd-ebtn { width: 100%; height: 58px; font-size: 16px; }
.pd-ebtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.pd-ebtn:hover svg { transform: translateX(3px); }
@media (max-width: 900px) { .pd-early { grid-template-columns: 1fr auto; } .pd-early .er { grid-column: 1 / -1; } }
@media (max-width: 760px) { .pd-early { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; margin-top: 26px; } .pd-early .ep { display: none; } .pd-early .er { grid-column: auto; } }
/* the plans' "Coming soon" becomes "Get early access" while sign-ups are on */
button.pd-btn { cursor: pointer; transition: background-color .25s var(--ease), transform .25s var(--ease); }
button.pd-btn:hover { background: rgba(255, 255, 255, .16); }
button.pd-btn.go:hover { background: #fff; }
button.pd-btn:active { transform: scale(.98); }
.pd-founders .pr-form { margin-top: 0; }
.pd-founders .pr-field { height: 54px; }
.pd-founders .pr-msg { min-height: 0; margin-top: 6px; }
.pd-founders .pr-msg:empty { display: none; }
.pd-founders .pr-open { margin-top: 0; }
.pd-send-help { display: none; }
@media (max-width: 700px) { .pd-send-help { display: block; margin-top: 12px; font: 500 10.5px/1.5 var(--mono); letter-spacing: .06em; color: var(--sand-3); } }
.pd-founders .pr-fine { margin-top: 10px; padding-top: 0; text-align: center; }
.pr-field { display: flex; align-items: center; gap: 8px; height: 58px; padding: 0 7px 0 20px; border-radius: 999px; background: rgba(0, 0, 0, .26); box-shadow: var(--rim); transition: background-color .2s; }
.pr-field:focus-within { background: rgba(255, 255, 255, .06); }
.pr-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 500 16px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.pr-field input::placeholder { color: rgba(255, 255, 255, .42); letter-spacing: .14em; }
.pr-field .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.pr-field.bad { animation: pr-shake .4s var(--ease); box-shadow: var(--rim), inset 0 1px 2px rgba(255, 150, 140, 0.08), 0 10px 28px -16px rgba(255, 150, 140, .28); }
@keyframes pr-shake { 20% { transform: translateX(-7px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-3px); } }
.pr-msg { min-height: 22px; margin-top: 10px; font-size: 14px; color: var(--sand-2); }
.pr-dl { height: 58px; padding: 0 30px 0 26px; font-size: 17px; }
.pr-steps { margin-top: 22px; display: grid; gap: 12px; font-size: 15px; color: var(--sand-2); }
.pr-steps li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.pr-steps b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 500 11px/1 var(--mono); color: var(--sand); background: rgba(255, 255, 255, .09); }

/* ---------- the whole bill: who you pay ---------- */
.pd-bill { max-width: 1000px; margin: clamp(52px, 5vw, 68px) auto 0; text-align: center; }
.pd-bill h3 { font: 400 clamp(30px, 3vw, 42px)/1.06 var(--sans); letter-spacing: -.03em; }
.pd-bill > p { margin: 12px auto 0; max-width: 36em; color: var(--sand-2); }
.pd-billbox { margin-top: 28px; padding: 14px clamp(16px, 2.2vw, 30px) 18px; text-align: left; background: rgba(14, 17, 23, .5); }
.pd-brows li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 128px; align-items: center; gap: 14px; padding: 7px 0; }
.pd-brows li.us { margin: 6px -16px 4px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .07); box-shadow: var(--rim); }
.pd-brows b { display: block; font: 500 17px/1.2 var(--sans); letter-spacing: -.01em; }
.pd-brows small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.35; color: var(--sand-2); }
.pd-brows em { font: 400 clamp(17px, 1.5vw, 20px)/1 var(--sans); font-style: normal; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pd-brows li.opt em { color: var(--sand-3); }
.pd-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); box-shadow: var(--rim); overflow: hidden; }
.pd-ico svg { width: 24px; height: 24px; overflow: visible; }
.pd-ico-claude svg { width: 19px; height: 19px; fill: var(--sand); }
.pd-ico img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.pd-ico img.full { width: 40px; height: 40px; filter: grayscale(1) contrast(1.1); }
.pd-ico img.raw { width: 40px; height: 40px; filter: grayscale(1) brightness(1.6) contrast(1.1); }
.pd-who { font: 500 9.5px/1 var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px 5px; border-radius: 999px; white-space: nowrap; color: var(--sand-2); background: rgba(255, 255, 255, .09); }
.pd-who.us { color: #0b0c0e; background: var(--sand); }
.pd-split { margin: 14px 0 2px; }
.pd-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: 12px; padding: 16px 16px 4px; }
.pd-sum p { font-size: 15px; color: var(--sand-2); }
.pd-sum strong { font: 400 30px/1 var(--sans); letter-spacing: -.03em; white-space: nowrap; }
.pd-sum strong small { margin-left: 6px; font: 400 14px/1 var(--sans); letter-spacing: 0; color: var(--sand-3); }
.pd-note { max-width: 52em; margin: 34px auto 0; text-align: center; font-size: 12px; color: var(--sand-3); text-wrap: balance; }

/* ---------- tablets and phones ---------- */
@media (max-width: 900px) {
  .pd-founders { grid-template-columns: 1fr auto; }
  .pd-founders .fr { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .pd-rows li { grid-template-columns: 1fr auto; gap: 3px 12px; padding: 8px 0; }
  .pd-rows .d { grid-column: 1; grid-row: 2; font-size: 13.5px; }
  .pd-rows em { grid-row: 1 / span 2; align-self: center; }
  .pd-bar { grid-template-columns: 1fr; gap: 8px; }
  .pd-bar strong { text-align: left; }
  .pd-bar strong small { display: inline; margin: 0 0 0 6px; }
  .pd-founders { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .pd-founders .fr { grid-column: auto; }
  .pd-brows li { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 6px 12px; }
  .pd-brows .pd-who { grid-column: 2; grid-row: 2; justify-self: start; }
  .pd-brows em { grid-column: 3; grid-row: 1 / span 2; }
  .pd-brows li.us { margin-inline: -8px; padding-inline: 8px; }
  .pd-ico { width: 38px; height: 38px; }
  .pd-sum { flex-direction: column; gap: 8px; padding-inline: 4px; }
  .pd-c, .pd-cr { white-space: normal; }
}

/* the composer's border beam ("cx") lives in base.css now: the waitlist, the glass buttons and the creator use it too */


/* ===== 900-early ===== */
/* Early access: the full-screen sign-up (section.js), laid out like the app's opening film: the question big on the left, the live
   Studio app on the right using the whole screen, the film's bar at the bottom with Kayla beside it. The glass is the app's own
   (Studio_App vista/shell.css): a light tint, a 30px frost, the plain rim; the bevel only on the selected row, as in the app.
   Colour beyond pearl comes from the brand references: vampire black, chinese black, jet stream, platinum, celadon, blue slate. Prefix wl-. */
.wl { --tint: 12, 19, 28; --v-g: rgba(255, 255, 255, .045); --v-g-h: rgba(255, 255, 255, .075); --v-on: rgba(255, 255, 255, .1);
  --v-rim: inset 1px 1px 1px -1px rgba(255, 255, 255, .6), inset -1px -1px 1px -1px rgba(255, 255, 255, .5);
  --v-rim-on: inset 1px 1px 1px -1px rgba(255, 255, 255, .9), inset -1px -1px 1px -1px rgba(255, 255, 255, .7), inset 2px 2px 5px -2px rgba(196, 214, 238, .62), inset -2px -2px 5px -2px rgba(242, 226, 220, .62);
  --vglass: rgba(var(--tint), .46); --vblur: blur(30px) saturate(145%) contrast(1.06);
  --vampire: #05090A; --chinese: #0E191E; --jet: #BBC9C7; --platinum: #DFEAE8; --celadon: #BED2C3; --slate: #536878;
  --wl-l2: rgba(245, 243, 238, .82); --wl-l3: rgba(245, 243, 238, .6); --pad: clamp(20px, 5.5vw, 110px);
  position: fixed; inset: 0; z-index: 95; overflow: hidden; color: var(--sand); opacity: 0; transition: opacity .45s var(--ease); }
.wl[hidden] { display: none; }
.wl.open { opacity: 1; }
html.wl-open, html.wl-open body { overflow: hidden; }
.wl .gx[hidden], .wl [hidden] { display: none !important; }
.wl-bg { position: absolute; inset: 0; overflow: hidden; background: var(--vampire); }
.wl-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; transform: scale(1.08); transition: transform 2s var(--ease); }
.wl.open .wl-sky { transform: scale(1); }
/* the next step's wallpaper, already decoded, drifts in over the last one: the same sky feel, a new place */
.wl .wl-sky.nx { opacity: 0; transform: scale(1.05); transition: opacity 1.2s var(--ease), transform 2.6s var(--ease); }
.wl .wl-sky.nx.in { opacity: 1; transform: scale(1); }
.wl { --wl-dim: 0; }
.wl[data-step="roles"]:not(.done) { --wl-dim: .26; } .wl[data-step="brands"]:not(.done) { --wl-dim: .2; } .wl[data-step="claude"]:not(.done) { --wl-dim: .12; }
.wl-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 9, 10, .5), rgba(5, 9, 10, .14) 46%, rgba(5, 9, 10, 0) 70%), linear-gradient(180deg, rgba(5, 9, 10, .3), rgba(5, 9, 10, 0) 26%, rgba(5, 9, 10, 0) 70%, rgba(5, 9, 10, .4)); background-color: rgba(5, 9, 10, var(--wl-dim)); transition: background-color 1.2s var(--ease); }

/* Fading without breaking the glass. backdrop-filter only sees up to the nearest ancestor with opacity below 1, so a panel inside a
   fading column was clear (no frost) until the fade ended. The columns, steps and scenes fade these numbers instead, and only the
   leaves (the glass itself and the plain text beside it) take the product as their opacity. The first frame is already frosted. */
@property --wl-dim { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --wl-o0 { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --wl-o1 { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --wl-o2 { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --wl-o3 { syntax: "<number>"; inherits: false; initial-value: 1; }
.wl-q > :not(.wl-opts):not(.wl-fields):not(.wl-other):not(.wl-count), .wl-f > span:first-child, .wl-tel > label, .wl-fly, .wl-sc > .p3 { opacity: calc(var(--wl-o0) * var(--wl-o1) * var(--wl-o2) * var(--wl-o3)); }
/* the glass itself comes up 3x faster than the fade, so the clear-sky blend lasts a blink, then it is all frost */
.wl-ref, .wl-count, .wl-opt, .wl-f input:not(.wl-hp), .wl-ccv, .wl-dock > *, .wl-sc > .wl-comp, .wl-appwin > *, .wl-cl2 > * { opacity: min(1, calc(var(--wl-o0) * var(--wl-o1) * var(--wl-o2) * var(--wl-o3) * 3)); }

/* ---------- top: the app's mark, then sound and close ---------- */
.wl-top { position: absolute; z-index: 8; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: max(18px, env(safe-area-inset-top)) var(--pad) 0; pointer-events: none; }
.wl-top > * { pointer-events: auto; }
.wl-brand { display: inline-flex; align-items: center; gap: 11px; font: 500 17px/1 var(--sans); letter-spacing: -.01em; }
.wl-app { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; background: var(--vampire); box-shadow: var(--v-rim); }
.wl-app svg { width: 24px; height: 24px; overflow: visible; }
.wl-app.sm { width: 28px; height: 28px; border-radius: 8px; }
.wl-app.sm svg { width: 18px; height: 18px; }
.wl-app.xs { width: 22px; height: 22px; border-radius: 7px; }
.wl-app.xs svg { width: 14px; height: 14px; }
.wl-brand em { margin-left: 4px; padding: 5px 9px; border-radius: 999px; font: 500 9.5px/1 var(--mono); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--wl-l2); background: var(--vglass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--v-rim); }
.wl-tr { display: flex; align-items: center; gap: 10px; }
.wl-x, .wl-snd { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--vglass); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--v-rim); transition: background-color .2s; }
.wl-x:hover, .wl-snd:hover, .wl-restart:hover { background: rgba(var(--tint), .62); }
.wl-x svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.wl-snd svg { width: 18px; height: 18px; fill: #fff; }
.wl-snd svg .w { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.wl-snd .off, .wl-snd[aria-pressed="false"] .on { display: none; }
.wl-snd[aria-pressed="false"] .off { display: block; }
.wl-restart { height: 36px; padding: 0 14px; border-radius: 999px; font: 500 12.5px/1 var(--sans); color: #fff; background: var(--vglass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--v-rim); }

/* ---------- the stage: question left, the app right, the whole screen ---------- */
.wl-in { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3.5vw, 72px); padding: 96px 0 118px var(--pad); transition: --wl-o0 .5s var(--ease), transform .7s var(--ease); }
.wl.done .wl-in { --wl-o0: 0; transform: scale(.97); pointer-events: none; }
.wl-left { position: relative; z-index: 2; min-width: 0; --wl-o1: 0; transform: translateY(22px); transition: transform .8s var(--ease) .1s, --wl-o1 .6s var(--ease) .1s; }
.wl.open .wl-left { --wl-o1: 1; transform: none; }
.wl-count { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; height: 30px; padding: 0 13px 0 11px; border-radius: 999px; font: 400 13px/1 var(--sans); color: var(--wl-l2); background: var(--vglass); -webkit-backdrop-filter: var(--vblur); backdrop-filter: var(--vblur); box-shadow: var(--v-rim); }
.wl-count b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.wl-count span { margin-left: -4px; }
.wl-count i { width: 7px; height: 7px; border-radius: 50%; background: #5fd68a; box-shadow: 0 0 0 0 rgba(95, 214, 138, .55); animation: wl-live 2s ease-out infinite; }
@keyframes wl-live { 0% { box-shadow: 0 0 0 0 rgba(95, 214, 138, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(95, 214, 138, 0); } }
.wl-ref { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 7px 14px 7px 7px; border-radius: 16px; font: 500 14.5px/1.3 var(--sans); background: var(--vglass); -webkit-backdrop-filter: var(--vblur); backdrop-filter: var(--vblur); box-shadow: var(--v-rim); }
.wl-ri { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; flex: none; font: 600 14px/1 var(--sans); color: var(--vampire); background: linear-gradient(140deg, var(--platinum), var(--jet)); }
.wl-steps { position: relative; transition: height .5s var(--ease); }
.wl-q { position: absolute; left: 0; right: 0; top: 0; --wl-o2: 0; visibility: hidden; transform: translateX(70px); transition: --wl-o2 .3s var(--ease), transform .55s var(--ease), visibility 0s linear .55s; }
.wl-q.past { transform: translateX(-90px); }
.wl-q.on { position: relative; --wl-o2: 1; visibility: visible; transform: none; transition: --wl-o2 .5s var(--ease) .12s, transform .7s var(--ease) .08s, visibility 0s; }
.wl-k { font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--wl-l2); }
/* the film's two-tone headline: what it is, then the question */
.wl-qh { margin: 16px 0 0; font: 300 clamp(40px, 4.3vw, 70px)/1 var(--sans); letter-spacing: -.045em; color: #fff; text-wrap: balance; text-shadow: 0 2px 30px rgba(5, 9, 10, .25); }
.wl-qh b { font-weight: 300; }
/* the hero's word reveal (hx-bw): each word from a 20px blur into focus, 60ms apart */
.wl-bw { display: inline-block; transition: opacity .6s cubic-bezier(.2, .8, .2, 1), filter .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--n, 0) * 60ms + 80ms); }
.wl-q.w0 .wl-bw { opacity: 0; filter: blur(20px); transform: translate3d(-.32em, 0, 0); transition: none; }
.wl-qh > span:not(.wl-bw) { display: block; color: rgba(245, 243, 238, .6); }
.wl-qs { margin: 18px 0 26px; max-width: 30em; font-size: clamp(15.5px, 1.15vw, 17.5px); line-height: 1.5; color: var(--wl-l2); text-wrap: pretty; text-shadow: 0 1px 16px rgba(5, 9, 10, .35); }

/* answers: the app's glass on the sky; the chosen one is pearl */
.wl-opts { display: grid; gap: 10px; }
.wl-opts.two { grid-template-columns: 1fr 1fr; }
.wl-opts.three { grid-template-columns: repeat(3, 1fr); }
.wl-opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 46px 10px 18px; border-radius: 18px; text-align: left; color: #fff; background: var(--vglass); -webkit-backdrop-filter: var(--vblur); backdrop-filter: var(--vblur); box-shadow: var(--v-rim); transition: background-color .2s var(--ease), color .2s var(--ease), transform .25s var(--ease); }
.wl-opt b { font: 500 15.5px/1.25 var(--sans); letter-spacing: -.01em; }
.wl-opt small { margin-left: auto; font-size: 12.5px; color: var(--wl-l3); }
.wl-opt:hover { background: rgba(var(--tint), .6); }
.wl-opt:active { transform: scale(.975); }
.wl-opt::after { content: ""; position: absolute; right: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); transition: box-shadow .2s, background-color .2s; }
[data-multi] .wl-opt::after { border-radius: 7px; }
.wl-opt.sel { color: var(--vampire); background: var(--pearl); box-shadow: none; }
.wl-opt.sel small { color: rgba(5, 9, 10, .55); }
.wl-opt.sel::after { box-shadow: none; background: var(--vampire) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6 5.4-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.wl-opt.big { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; min-height: 132px; padding: 16px 18px; }
.wl-opt.big b { font: 300 48px/1 var(--sans); letter-spacing: -.045em; }
.wl-opt.big small { margin-left: 0; font-size: 13.5px; }
.wl-opt.big::after { top: 16px; margin-top: 0; }
.wl-opt.row { min-height: 62px; padding-right: 50px; }
.wl-q.past .wl-opt.sel { transform: translateX(-30px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.wl-other { margin-top: 12px; }
.wl-other:not([hidden]) { animation: wl-rise .5s var(--ease) both; }
@keyframes wl-rise { from { transform: translateY(16px) scale(.94); } }

/* fields: the composer's glass; its border beam runs round the one you're in, and turns auburn when one needs you */
.wl-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.wl-f { display: block; min-width: 0; }
.wl-f.wide { grid-column: 1 / -1; }
.wl-f > span:first-child, .wl-tel > label { display: block; margin: 0 0 8px 4px; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--wl-l2); }
.wl-box { position: relative; display: block; border-radius: 18px; isolation: isolate; }
.wl-box > .wl-fb { position: absolute !important; inset: 0; z-index: 2; border-radius: inherit !important; pointer-events: none; opacity: 0; transition: opacity .3s, filter .3s; --beam-strength: 1.3; }
.wl-box > .wl-fb::after, .wl-box > .wl-fb::before, .wl-box > .wl-fb [data-beam-bloom] { border-radius: inherit !important; clip-path: none !important; }
.wl-box:focus-within > .wl-fb { opacity: 1; }
.wl-f.bad .wl-fb { opacity: 1; filter: hue-rotate(165deg) saturate(1.6) brightness(1.05); --beam-strength: 1.6; }
.wl-f input, .wl-ccv { position: relative; z-index: 1; display: block; width: 100%; height: 60px; padding: 0 20px; border: 0; outline: 0; border-radius: 18px; font: 400 17px/1 var(--sans); letter-spacing: -.005em; color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .06)), rgba(var(--tint), .38); -webkit-backdrop-filter: blur(26px) saturate(130%); backdrop-filter: blur(26px) saturate(130%); box-shadow: var(--v-rim), inset 0 8px 16px -10px rgba(0, 0, 0, .42), inset 0 -1px 0 rgba(255, 255, 255, .05); transition: background-color .2s; -webkit-appearance: none; appearance: none; caret-color: #4aa3ff; }
.wl-f input::placeholder { color: rgba(245, 243, 238, .38); }
.wl-f input:focus { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03)), rgba(5, 7, 11, .62); }
/* the placeholder that types itself, like the hero's prompt: left to right with a caret. In the field, the real caret replaces
   the drawn one; the first letter you type clears it */
.wl-ty { position: absolute; z-index: 3; left: 20px; right: 16px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; font: 400 17px/1 var(--sans); letter-spacing: -.005em; color: rgba(245, 243, 238, .46); white-space: nowrap; overflow: hidden; pointer-events: none; transition: opacity .2s; }
.wl-ty i { flex: none; width: 2px; height: 1.1em; margin-left: 2px; border-radius: 1px; background: #4aa3ff; animation: wl-blink 1.06s steps(1) infinite; }
.wl-ty.still i { display: none; }
.wl-box.filled .wl-ty { opacity: 0; }
.wl-f input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: var(--v-rim), inset 0 0 0 60px #10151c; caret-color: #fff; }
.wl-f.bad { animation: wl-shake .4s var(--ease); }
@keyframes wl-shake { 25% { transform: translateX(-5px); } 60% { transform: translateX(4px); } }
.wl-telrow { display: flex; gap: 8px; }
.wl-telrow > .wl-box:last-child { flex: 1; min-width: 0; }
.wl-cc { flex: none; width: 112px; }
.wl-ccv { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 16px; pointer-events: none; white-space: nowrap; }
.wl-ccv::after { content: ""; width: 7px; height: 7px; margin: -4px 0 0 8px; border-right: 1.5px solid rgba(255, 255, 255, .7); border-bottom: 1.5px solid rgba(255, 255, 255, .7); transform: rotate(45deg); }
.wl-cc select { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-err { margin-top: 12px; font-size: 14px; line-height: 1.45; color: #ffcfa8; }
.wl-err:empty { display: none; }
.wl-fine { margin-top: 16px; max-width: 34em; font-size: 12.5px; line-height: 1.5; color: var(--wl-l3); text-wrap: pretty; }

/* ---------- the film's bar at the bottom, Kayla beside it ---------- */
.wl-dock { position: fixed; z-index: 7; left: 50%; bottom: max(clamp(18px, 3.2vh, 30px), env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; transform: translate(-50%, 30px); --wl-o1: 0; transition: transform .9s var(--ease) .35s, --wl-o1 .7s var(--ease) .35s; }
.wl.open .wl-dock { transform: translate(-50%, 0); --wl-o1: 1; }
.wl.done .wl-bar { display: none; }
.wl-bar { display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 8px; border-radius: 999px; background: var(--vglass); -webkit-backdrop-filter: var(--vblur); backdrop-filter: var(--vblur); box-shadow: var(--v-rim); }
.wl-back { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .08); box-shadow: var(--v-rim); transition: background-color .2s, transform .2s var(--ease), opacity .2s; }
.wl-back:hover { background: rgba(255, 255, 255, .16); }
.wl-back:active { transform: scale(.95); }
.wl-back[disabled] { opacity: .32; cursor: default; }
.wl-back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wl-seg { display: flex; gap: 7px; margin: 0 4px; }
.wl-seg i { position: relative; width: clamp(28px, 3.4vw, 54px); height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.wl-seg i b { position: absolute; inset: 0; border-radius: 4px; background: #fffbf4; transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.wl-seg i.ok b { transform: scaleX(1); }
.wl-seg i.on b { transform: scaleX(.5); }
.wl-next { height: 46px; min-width: 150px; padding: 0 20px 0 22px; font-size: 15px; }
.wl-go { height: 46px; padding: 0 6px 0 22px; font-size: 15.5px; gap: 14px; }
.wl-go .go { position: relative; width: 36px; height: 36px; margin: 0; }
.wl-go .spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(11, 12, 14, .2); border-top-color: #0b0c0e; animation: wl-spin .8s linear infinite; }
.wl-go.busy { pointer-events: none; }
.wl-go.busy .t { opacity: .7; }
.wl-go.busy .go svg { display: none; }
.wl-go.busy .spin { display: block; }
@keyframes wl-spin { to { transform: rotate(360deg); } }
/* Kayla: her face, play, her voice as a waveform; what she says floats above the bar, like a film's subtitle */
.wl-kay { position: relative; display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 16px 0 9px; border-radius: 22px; text-align: left; background: var(--vglass); -webkit-backdrop-filter: var(--vblur); backdrop-filter: var(--vblur); box-shadow: var(--v-rim); }
.wl-kay img { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; object-position: 50% 20%; flex: none; }
.wl-kp { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, .14); box-shadow: var(--v-rim); }
.wl-kp svg { width: 13px; height: 13px; fill: #fff; }
.wl-kp .pa, .wl-kay.talk .wl-kp .pl { display: none; }
.wl-kay.talk .wl-kp .pa { display: block; }
.wl-kw { display: flex; align-items: center; gap: 2px; width: 150px; height: 28px; }
.wl-kw i { flex: 1; min-width: 1px; border-radius: 1px; background: rgba(255, 255, 255, .34); transition: background-color .12s; }
.wl-kw i.on { background: #fff; }
.wl-kt { position: absolute; left: 50%; bottom: calc(100% + 16px); width: max-content; max-width: min(620px, 80vw); transform: translateX(-50%); font: 400 15.5px/1.4 var(--sans); text-align: center; color: #fff; text-shadow: 0 1px 14px rgba(5, 9, 10, .7), 0 0 2px rgba(5, 9, 10, .5); pointer-events: none; }
.wl-kt span { opacity: .3; transition: opacity .25s; }
.wl-kt span.on { opacity: 1; }
.wl-dock .wl-kt { left: 50%; }

/* ---------- the app, on the right: drawn at 980 x 680 and scaled to the space (section.js sets --s) ---------- */
.wl-stage { position: relative; align-self: stretch; min-width: 0; --wl-o1: 0; transform: translateX(40px); transition: transform 1s var(--ease) .5s, --wl-o1 .8s var(--ease) .5s; }
.wl.open .wl-stage { --wl-o1: 1; transform: none; }
.wl-fit { position: absolute; left: 0; top: 50%; width: 980px; height: 680px; margin-top: -340px; transform: scale(var(--s, 1)); transform-origin: 0 50%; }
.wl-sc { position: absolute; inset: 0; --wl-o2: 0; visibility: hidden; transform: translateX(110px) scale(.97); transition: --wl-o2 .45s var(--ease), transform .9s var(--ease), visibility 0s linear .9s; }
.wl-sc.past { transform: translateX(-140px) scale(.95); }
.wl-sc.on { --wl-o2: 1; visibility: visible; transform: none; transition: --wl-o2 .7s var(--ease) .15s, transform 1s var(--ease) .1s, visibility 0s; }
.wl-mono { font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(245, 243, 238, .74); white-space: nowrap; }
.wl-mono.dim { color: rgba(245, 243, 238, .5); }
.wl-in-a { animation: wl-pop .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes wl-pop { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
.wl-out-a { animation: wl-out .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes wl-out { to { opacity: 0; transform: translateY(-10px) scale(.95); } }

/* the app window: sidebar and Home, the app's panel glass */
.wl-appwin { position: absolute; inset: 0 -40px 0 0; display: flex; gap: 16px; }
.wl-sb { flex: none; width: 236px; padding: 18px 12px; border-radius: 26px; background: var(--vglass); -webkit-backdrop-filter: var(--vblur); backdrop-filter: var(--vblur); box-shadow: var(--v-rim); }
.wl-sbh { display: flex; align-items: center; gap: 10px; margin: 2px 6px 16px; font: 500 18px/1 var(--sans); }
.wl-sbh .pin { width: 14px; height: 14px; margin-left: auto; fill: rgba(255, 255, 255, .85); }
.wl-allb { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 13px; font-size: 13.5px; background: var(--v-g); box-shadow: var(--v-rim); transition: background-color .3s, box-shadow .3s; }
.wl-allb svg { width: 15px; height: 15px; fill: #fff; }
.wl-allb .car { width: 13px; height: 13px; margin-left: auto; fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 1.6; stroke-linecap: round; transition: transform .3s var(--ease); }
.wl-sc.menu .wl-allb { background: var(--v-on); box-shadow: var(--v-rim-on); }
.wl-sc.menu .wl-allb .car { transform: rotate(180deg); }
.wl-ni { display: flex; align-items: center; gap: 12px; height: 40px; margin-top: 4px; padding: 0 12px; border-radius: 13px; font-size: 14px; color: rgba(245, 243, 238, .84); }
.wl-ni svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.wl-ni em { margin-left: auto; font-style: normal; font-size: 12px; color: rgba(245, 243, 238, .5); font-variant-numeric: tabular-nums; }
.wl-ni.on { color: #fff; background: var(--v-on); box-shadow: var(--v-rim-on); }
.wl-ng { margin: 16px 12px 4px; font-size: 12px; color: rgba(245, 243, 238, .5); }
.wl-hm { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 30px 34px 22px; border-radius: 30px; background: rgba(var(--tint), .32); -webkit-backdrop-filter: var(--vblur); backdrop-filter: var(--vblur); box-shadow: var(--v-rim); }
.wl-hr { display: flex; justify-content: space-between; }
.wl-hi { margin-top: 18px; min-height: 1em; font: 300 64px/1 var(--sans); letter-spacing: -.045em; overflow-wrap: anywhere; }
.wl-hi b { font-weight: 300; }
.wl-hi i { display: inline-block; width: 3px; height: .8em; margin-left: 4px; vertical-align: -.04em; border-radius: 1px; background: #4aa3ff; animation: wl-blink 1.06s steps(1) infinite; }
.wl-tag { margin-top: 14px; font-size: 17px; color: rgba(245, 243, 238, .9); }
.wl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; min-height: 36px; }
.wl-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 5px; border-radius: 999px; font-size: 13.5px; background: var(--v-g); box-shadow: var(--v-rim); }
.wl-chip .bm { width: 26px; height: 26px; border-radius: 50%; font-size: 12px; }
.wl-panels { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; }
.wl-pan { padding: 16px; border-radius: 22px; background: var(--vglass); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: var(--v-rim); }
.wl-pt { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 15px; }
.wl-pt b { font-weight: 500; }
.wl-pt .wl-mono { margin-left: auto; }
.wl-made { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.wl-ph { aspect-ratio: 9 / 13; border-radius: 14px; background: linear-gradient(110deg, rgba(255, 255, 255, .03) 30%, rgba(255, 255, 255, .09) 50%, rgba(255, 255, 255, .03) 70%) 0 0 / 240% 100%, var(--v-g); box-shadow: var(--v-rim); animation: wl-skel 2.2s linear infinite; }
@keyframes wl-skel { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.wl-mc { position: relative; display: block; aspect-ratio: 9 / 13; border-radius: 14px; overflow: hidden; background: var(--chinese); box-shadow: var(--v-rim); isolation: isolate; }
.wl-mc img, .wl-mc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.wl-mc::after { content: ""; position: absolute; inset: 40% 0 0; z-index: 1; background: linear-gradient(180deg, transparent, rgba(5, 9, 10, .82)); }
.wl-mc > span { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; }
.wl-mc em { display: block; font: 500 8.5px/1 var(--mono); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.wl-mc b { display: block; margin-top: 5px; font: 500 12.5px/1.15 var(--sans); letter-spacing: -.01em; }
.wl-mc i { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 4px 6px; border-radius: 6px; font: 500 8.5px/1 var(--mono); font-style: normal; letter-spacing: .1em; background: rgba(5, 9, 10, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.wl-crush { display: grid; gap: 10px; }
.wl-crush li { display: flex; align-items: center; gap: 11px; }
.wl-crush img { width: 38px; height: 50px; border-radius: 9px; object-fit: cover; flex: none; }
.wl-crush span b { display: block; font: 500 14px/1.2 var(--sans); }
.wl-crush span small { font-size: 11.5px; color: rgba(245, 243, 238, .55); }
.wl-crush i { margin-left: auto; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-style: normal; background: var(--v-g); box-shadow: var(--v-rim); white-space: nowrap; }
/* All brands, open over Home on question 3 */
.wl-menu { position: absolute; left: 12px; top: 116px; z-index: 3; width: 380px; padding: 14px 10px 10px; border-radius: 22px; background: rgba(var(--tint), .84); -webkit-backdrop-filter: var(--vblur); backdrop-filter: var(--vblur); box-shadow: var(--v-rim), 0 30px 60px -20px rgba(0, 0, 0, .5); --wl-o3: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 20% 0; transition: --wl-o3 .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
.wl-menu > .wl-mono { margin: 0 8px 10px; }
.wl-sc.menu .wl-menu { --wl-o3: 1; visibility: visible; transform: none; transition: --wl-o3 .35s var(--ease), transform .5s var(--ease), visibility 0s; }
.wl-bl { display: grid; gap: 4px; }
.wl-br { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 10px; border-radius: 15px; }
.wl-br.on { background: var(--v-on); box-shadow: var(--v-rim-on); }
.bm { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none; overflow: hidden; font: 500 16px/1 var(--sans); letter-spacing: -.02em; box-shadow: var(--v-rim); }
.bm img { width: 100%; height: 100%; object-fit: cover; }
.wl-bt { flex: 1; min-width: 0; }
.wl-bt b { display: block; font: 500 14.5px/1.2 var(--sans); }
.wl-bt span { display: block; margin-top: 3px; font-size: 12px; color: rgba(245, 243, 238, .6); }
.wl-sw { display: flex; gap: 3px; }
.wl-sw i { width: 12px; height: 20px; border-radius: 5px; box-shadow: inset 1px 1px 1px -1px rgba(255, 255, 255, .7); }
.wl-more { padding: 8px 10px 4px; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(245, 243, 238, .6); }

/* Studio × Claude: clips dragged into the composer, a request, the launch film builds itself, v01 lands */
.wl-comp { position: absolute; left: 0; right: 40px; top: 0; padding: 20px 16px 16px 24px; border-radius: 28px; background: rgba(5, 7, 11, .62); -webkit-backdrop-filter: blur(26px) saturate(130%); backdrop-filter: blur(26px) saturate(130%); box-shadow: var(--v-rim); transition: transform .35s var(--ease), background-color .3s; }
.wl-comp > :not(.wl-cbeam):not(.wl-drop) { position: relative; z-index: 4; }
.wl-cbeam { position: absolute !important; inset: 0; border-radius: 28px; pointer-events: none; --beam-strength: 1.1; }
.wl-comp.over { transform: scale(1.015); background: rgba(20, 30, 42, .72); }
.wl-comp.over .wl-cbeam { --beam-strength: 2; }
.wl-drop { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: inherit; font: 500 15px/1 var(--sans); color: #fff; background: rgba(12, 19, 28, .55); opacity: 0; transition: opacity .25s; }
.wl-drop svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wl-comp.over .wl-drop { opacity: 1; }
.wl-att { display: flex; align-items: flex-end; gap: 8px; }
.wl-att:not(:empty) { margin-bottom: 14px; }
.wl-att span { width: 48px; height: 62px; border-radius: 11px; overflow: hidden; box-shadow: var(--v-rim); animation: wl-pop .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.wl-att span img { width: 100%; height: 100%; object-fit: cover; }
.wl-att b { margin-left: 4px; font: 500 11px/1 var(--mono); letter-spacing: .08em; color: rgba(245, 243, 238, .6); }
.wl-cq { min-height: 1.35em; margin: 0; font: 400 22px/1.35 var(--sans); letter-spacing: -.012em; white-space: nowrap; overflow: hidden; }
.wl-cq i { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; border-radius: 1px; vertical-align: -.17em; background: #0a84ff; animation: wl-blink 1.06s steps(1) infinite; }
@keyframes wl-blink { 50% { opacity: 0; } }
.wl-crow { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.wl-lockmini { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--sans); color: rgba(255, 255, 255, .92); }
.wl-lockmini em { font-style: normal; opacity: .55; }
.wl-lockmini .cl { width: 20px; height: 20px; fill: #d97757; }
.wl-cst { margin-left: auto; font: 500 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(245, 243, 238, .55); opacity: 0; transition: opacity .3s; }
.wl-comp.work .wl-cst { opacity: 1; }
.wl-cgo { display: flex; align-items: center; justify-content: center; gap: 3px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background-color .25s, transform .2s var(--ease); }
.wl-cgo .up { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wl-cgo i { display: none; width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: wl-dot 1.1s ease-in-out infinite; }
.wl-cgo i:nth-of-type(2) { animation-delay: .18s; } .wl-cgo i:nth-of-type(3) { animation-delay: .36s; }
@keyframes wl-dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.wl-comp.has .wl-cgo { background: var(--pearl); }
.wl-comp.has .wl-cgo .up { stroke: #10151c; }
.wl-comp.tap .wl-cgo { transform: scale(.84); }
.wl-comp.work .wl-cgo { background: rgba(255, 255, 255, .12); }
.wl-comp.work .wl-cgo .up { display: none; }
.wl-comp.work .wl-cgo i { display: block; }
.wl-cl2 { position: absolute; left: 0; right: 40px; top: 186px; bottom: 0; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 16px; align-items: start; }
.wl-cl2 .wl-v01 { order: -1; } /* the finished film on the side you can always see; the plan runs off the edge */
.wl-plan { padding: 18px 18px 8px; border-radius: 26px; background: var(--vglass); -webkit-backdrop-filter: var(--vblur); backdrop-filter: var(--vblur); box-shadow: var(--v-rim); --wl-o3: 0; transform: translateY(20px); transition: --wl-o3 .6s var(--ease), transform .8s var(--ease); }
.wl-plan.on { --wl-o3: 1; transform: none; }
.wl-plan ul { display: grid; }
.wl-plan li { display: grid; grid-template-columns: 40px 140px minmax(0, 1fr) 22px; align-items: center; gap: 12px; min-height: 66px; padding: 6px 0; }
.wl-plan li + li { box-shadow: 0 -1px 0 rgba(255, 255, 255, .07); }
.wl-plan .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--v-g); box-shadow: var(--v-rim); font: 500 14px/1 var(--sans); }
.wl-plan .ic svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.wl-plan .t b { display: block; font: 400 16px/1.2 var(--sans); }
.wl-plan .t small { display: block; margin-top: 4px; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; color: rgba(245, 243, 238, .55); }
.wl-plan .v { display: flex; gap: 6px; min-width: 0; opacity: .18; transition: opacity .5s; }
.wl-plan li.ok .v { opacity: 1; }
.wl-plan .v small { display: block; font: 400 11px/1.4 var(--mono); color: rgba(245, 243, 238, .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-plan li[data-row="0"] .v { flex-direction: column; gap: 0; }
.wl-plan .v.thumbs span { width: 40px; height: 52px; border-radius: 8px; overflow: hidden; box-shadow: var(--v-rim); }
.wl-plan .v.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.wl-plan .v.slots em { flex: 1; height: 44px; border-radius: 10px; background: var(--v-g) center / cover; box-shadow: var(--v-rim); }
.wl-plan .v.wave { height: 30px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .6) 0 2px, transparent 2px 5px); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); clip-path: polygon(0 40%, 6% 20%, 12% 55%, 18% 10%, 24% 45%, 30% 25%, 36% 60%, 42% 15%, 48% 40%, 54% 5%, 60% 50%, 66% 20%, 72% 45%, 78% 15%, 84% 55%, 90% 25%, 96% 45%, 100% 35%, 100% 65%, 96% 55%, 90% 75%, 84% 45%, 78% 85%, 72% 55%, 66% 80%, 60% 50%, 54% 95%, 48% 60%, 42% 85%, 36% 40%, 30% 75%, 24% 55%, 18% 90%, 12% 45%, 6% 80%, 0 60%); }
.wl-plan .v.ticks { height: 28px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 1.5px, transparent 1.5px 34px); }
.wl-plan .v.gfx { height: 40px; border-radius: 10px; background: linear-gradient(110deg, #0E191E, #536878 45%, #BBC9C7 75%, #DFEAE8); box-shadow: var(--v-rim); }
.wl-plan li > i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); transition: background-color .3s, box-shadow .3s; }
.wl-plan li.ok > i { box-shadow: none; background: var(--pearl) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6 5.4-6' fill='none' stroke='%2305090A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.wl-plan li.run > i { box-shadow: inset 0 0 0 1.5px #fff; animation: wl-wait 1s ease-in-out infinite; }
@keyframes wl-wait { 50% { opacity: .4; } }
.wl-v01 { padding: 12px 12px 12px; border-radius: 26px; background: rgba(var(--tint), .5); -webkit-backdrop-filter: var(--vblur); backdrop-filter: var(--vblur); box-shadow: var(--v-rim); --wl-o3: 0; transform: translateY(40px) scale(.94); transition: --wl-o3 .7s var(--ease), transform 1s cubic-bezier(.2, 1.2, .3, 1); }
.wl-v01.on { --wl-o3: 1; transform: none; }
.wl-v01 .wl-pt { margin: 2px 4px 10px; font-size: 14px; }
.wl-vid { position: relative; aspect-ratio: 9 / 15; border-radius: 18px; overflow: hidden; background: var(--chinese); }
.wl-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wl-vid p { position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%); font: 500 22px/1.15 var(--sans); letter-spacing: -.02em; text-align: center; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .6s .5s; }
.wl-v01.on .wl-vid p { opacity: 1; }
.wl-fly { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.wl-fly .stack { position: absolute; left: 0; top: 0; width: 130px; height: 150px; transition: transform 1.1s cubic-bezier(.45, 0, .2, 1), opacity .3s; }
.wl-fly .stack span { position: absolute; left: 0; top: 0; width: 92px; height: 120px; border-radius: 14px; overflow: hidden; box-shadow: var(--v-rim), 0 14px 30px -12px rgba(0, 0, 0, .6); }
.wl-fly .stack span img { width: 100%; height: 100%; object-fit: cover; }
.wl-fly .stack span:nth-child(2) { transform: translate(16px, 8px) rotate(6deg); }
.wl-fly .stack span:nth-child(3) { transform: translate(32px, 16px) rotate(12deg); }
.wl-fly .stack .ptr { position: absolute; left: 70px; top: 78px; width: 24px; height: 24px; }
.wl-fly .stack .ptr svg { width: 100%; height: 100%; fill: #fff; stroke: var(--vampire); stroke-width: 1.2; }
.wl-fly .stack .n { position: absolute; left: 80px; top: -8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 600 12px/1 var(--sans); color: var(--vampire); background: var(--pearl); }
.wl-sc[data-sc="you"] .p3 { position: absolute; inset: 0; }
.wl-sc[data-sc="you"] .pass { --w: 560px; }

/* ---------- the pass: the clean card (deep glass, the composer's beam round its edge), as a 3D object. A glow plate behind it,
   and the mark, words and barcode each lifted off it in Z, so they part as it turns. It follows the mouse (or a finger), flips on a
   tap, and spins in once. The light on it is soft and wide, moving with the turn. ---------- */
.p3 { perspective: 1500px; perspective-origin: 50% 42%; display: grid; place-items: center; }
.pass { --w: 460px; position: relative; width: var(--w); height: calc(var(--w) * .62); transform-style: preserve-3d; will-change: transform; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: 0; }
.pass:active { cursor: grabbing; }
.pass .side { position: absolute; inset: 0; transform-style: preserve-3d; }
.pass .side.back { transform: rotateY(180deg); }
.pass .side * { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pass .plate { position: absolute; inset: 10% 6%; border-radius: 40px; transform: translateZ(-80px); background: radial-gradient(ellipse at 50% 60%, rgba(83, 104, 120, .7), rgba(14, 25, 30, 0) 70%); filter: blur(34px); opacity: .8; }
.pass .card { position: absolute; inset: 0; border-radius: calc(var(--w) * .066); overflow: hidden; background: linear-gradient(150deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05) 46%, rgba(160, 200, 255, .12)), rgba(14, 19, 28, .78); box-shadow: var(--v-rim), 0 40px 90px -36px rgba(0, 0, 0, .75); }
.pass .card .frost { position: absolute; inset: -20%; width: 140%; height: 140%; object-fit: cover; filter: blur(26px) saturate(150%); opacity: .38; }
.pass .card .pbeam { position: absolute !important; inset: 0; z-index: 2; border-radius: inherit !important; pointer-events: none; --beam-strength: 1.25; }
.pass .card .pbeam::after, .pass .card .pbeam::before, .pass .card .pbeam [data-beam-bloom] { border-radius: inherit !important; clip-path: none !important; }
/* the light: wide and soft, a long gentle band that slides across as it turns */
.pass .card .foil { position: absolute; inset: 0; background: radial-gradient(140% 110% at calc(var(--mx, .3) * 100%) calc(var(--my, .2) * 100%), rgba(255, 255, 255, .11), rgba(255, 255, 255, .035) 42%, rgba(255, 255, 255, 0) 72%), linear-gradient(112deg, rgba(255, 255, 255, 0) calc(var(--mx, .3) * 100% - 34%), rgba(255, 255, 255, .055) calc(var(--mx, .3) * 100%), rgba(255, 255, 255, 0) calc(var(--mx, .3) * 100% + 34%)); }
.pass .card .sweep { position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .14) 49%, rgba(255, 255, 255, .03) 54%, transparent 60%); transform: translateX(-70%); }
.pass.sweep .card .sweep { animation: wl-sweep 1.8s var(--ease) both; }
@keyframes wl-sweep { to { transform: translateX(70%); } }
.pass .lift { position: absolute; }
.pass .top { left: 7%; right: 7%; top: 9%; display: flex; align-items: center; justify-content: space-between; gap: 10px; transform: translateZ(26px); }
.pass .mark { display: inline-flex; align-items: center; gap: calc(var(--w) * .02); font: 600 calc(var(--w) * .038) / 1 var(--sans); }
.pass .mark svg { width: calc(var(--w) * .058); height: calc(var(--w) * .058); overflow: visible; }
.pass .mono { font: 500 calc(var(--w) * .023) / 1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(245, 243, 238, .78); white-space: nowrap; }
.pass .mono.dim { color: rgba(245, 243, 238, .52); }
.pass .who { left: 7%; right: 7%; top: 24%; transform: translateZ(52px); }
.pass .who .mono { display: block; margin-bottom: calc(var(--w) * .022); }
.pass .name { min-height: 1em; font: 300 calc(var(--w) * .1) / 1 var(--sans); letter-spacing: -.035em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pass .name .ph { color: rgba(245, 243, 238, .4); }
.pass .mail { margin-top: calc(var(--w) * .014); font-size: calc(var(--w) * .032); color: rgba(245, 243, 238, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pass .row { left: 7%; right: 7%; top: 61.5%; display: grid; grid-template-columns: auto 1fr auto; gap: calc(var(--w) * .06); transform: translateZ(34px); }
.pass .row b { display: block; margin-top: calc(var(--w) * .018); font: 500 calc(var(--w) * .044) / 1 var(--mono); letter-spacing: .02em; }
.pass .row b.s { font: 500 calc(var(--w) * .034) / 1.1 var(--sans); letter-spacing: 0; }
.pass .cut { left: 0; right: 0; top: 78%; height: 1px; transform: translateZ(10px); background-image: linear-gradient(90deg, rgba(255, 255, 255, .34) 50%, transparent 0); background-size: 10px 1px; }
.pass .bars { left: 7%; right: 7%; top: 83%; height: 9%; transform: translateZ(20px); display: flex; gap: 2px; }
.pass .bars i { flex: none; height: 100%; background: rgba(245, 243, 238, .86); border-radius: 1px; }
.pass .back .what { left: 8%; right: 8%; top: 12%; transform: translateZ(40px); }
.pass .back h4 { margin: calc(var(--w) * .026) 0 calc(var(--w) * .04); font: 300 calc(var(--w) * .06) / 1.06 var(--sans); letter-spacing: -.03em; }
.pass .back ul { margin: 0; padding: 0; list-style: none; display: grid; gap: calc(var(--w) * .022); }
.pass .back li { display: flex; align-items: center; gap: 12px; font-size: calc(var(--w) * .032); color: var(--sand); }
.pass .back li i { width: calc(var(--w) * .044); height: calc(var(--w) * .044); border-radius: 50%; flex: none; background: var(--pearl) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6 5.4-6' fill='none' stroke='%2305090A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.pass .back .sig { left: 8%; right: 8%; bottom: 9%; display: flex; justify-content: space-between; align-items: flex-end; transform: translateZ(26px); }
.pass .back .big { right: -5%; bottom: -12%; width: 46%; height: auto; transform: translateZ(4px); opacity: .08; }

/* ---------- You're in: the words and the share on the left, the pass big on the right ---------- */
.wl-done { position: absolute; inset: 0; z-index: 5; display: none; overflow-y: auto; padding: 96px var(--pad) 120px; outline: 0; }
.wl.done .wl-done { display: block; }
.wl-dwrap { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: center; gap: clamp(30px, 4vw, 80px); min-height: 100%; }
.wl-dstage { display: grid; place-items: center; gap: 22px; min-height: 520px; }
.wl-dstage .pass { --w: min(640px, 44vw); }
.wl-dl > *, .wl-dstage .wl-hint { opacity: 0; transform: translateY(20px); }
.wl.done.shown .wl-dl > *, .wl.done.shown .wl-dstage .wl-hint { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
.wl.done.shown .wl-dl > :nth-child(2) { transition-delay: .1s; } .wl.done.shown .wl-dl > :nth-child(3) { transition-delay: .2s; } .wl.done.shown .wl-dl > :nth-child(4) { transition-delay: .32s; } .wl.done.shown .wl-dl > :nth-child(5) { transition-delay: .44s; } .wl.done.shown .wl-dstage .wl-hint { transition-delay: .6s; }
.wl-dh { margin-top: 16px; font: 300 clamp(44px, 5vw, 80px)/.98 var(--sans); letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 2px 30px rgba(5, 9, 10, .25); }
.wl-dh > span { display: block; }
.wl-dpos { color: rgba(245, 243, 238, .6); }
.wl-dpos b { font-weight: 300; color: #fff; }
.wl-dsub { margin-top: 18px; max-width: 30em; font-size: 17px; line-height: 1.5; color: var(--wl-l2); text-wrap: pretty; text-shadow: 0 1px 16px rgba(5, 9, 10, .35); }
.wl-hint { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 999px; font-size: 13px; color: var(--wl-l2); background: var(--vglass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--v-rim); }
.wl-hint svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wl-refbox { margin-top: 26px; padding: 20px; border-radius: 28px; background: rgba(var(--tint), .56); -webkit-backdrop-filter: var(--vblur); backdrop-filter: var(--vblur); box-shadow: var(--v-rim); }
.wl-rtop b { display: block; font: 500 18px/1.25 var(--sans); letter-spacing: -.015em; }
.wl-rhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
/* 0/3: a pill that fills as friends join; full (pearl) at the front */
.wl-goal { --p: 0; position: relative; flex: none; display: inline-grid; place-items: center; min-width: 58px; height: 28px; padding: 0 12px; border-radius: 999px; overflow: hidden; background: var(--v-g); box-shadow: var(--v-rim); }
.wl-goal i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p)); background: linear-gradient(90deg, rgba(190, 210, 195, .55), rgba(223, 234, 232, .9)); transition: transform .9s var(--ease); }
.wl-goal em { position: relative; font: 500 12px/1 var(--mono); font-style: normal; letter-spacing: .08em; color: #fff; }
.wl-goal.full em, .wl-goal[style*="--p: 1"] em { color: var(--vampire); }
.wl-rtop span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--wl-l2); }
.wl-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.wl-slots li { display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 12px; border-radius: 14px; font-size: 13.5px; color: var(--wl-l3); background: var(--v-g); }
.wl-slots li i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); flex: none; }
.wl-slots li.got { color: var(--vampire); background: var(--pearl); }
.wl-slots li.got i { background: var(--vampire) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6 5.4-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }
.wl-link { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(5, 7, 11, .62); -webkit-backdrop-filter: blur(26px) saturate(130%); backdrop-filter: blur(26px) saturate(130%); box-shadow: var(--v-rim); }
.wl-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px/1 var(--mono); color: #fff; }
.wl-url.wait { color: var(--wl-l3); animation: wl-wait 1.4s ease-in-out infinite; }
.wl-copy { height: 44px; padding: 0 20px; font-size: 14.5px; }
.wl-share { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.wl-sh { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 2px 10px; border-radius: 16px; font-size: 12px; color: var(--wl-l2); background: var(--v-g); transition: background-color .2s, color .2s, transform .2s var(--ease); }
.wl-sh:hover { background: var(--v-g-h); color: #fff; transform: translateY(-2px); }
.wl-sh:active { transform: scale(.96); }
.wl-sh .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; }
.wl-sh .ic svg { width: 21px; height: 21px; fill: currentColor; }
.wl-sh[data-sh="sms"] .ic { background: linear-gradient(180deg, #5df27a, #2bc84d); }
.wl-sh[data-sh="wa"] .ic { background: linear-gradient(180deg, #4be37b, #1fae55); }
.wl-sh[data-sh="x"] .ic { background: #000; }
.wl-sh[data-sh="ig"] .ic { background: radial-gradient(circle at 30% 110%, #ffd776 0%, #f9813a 25%, #e3335f 50%, #b72ea6 75%, #6a3ad1 100%); }
.wl-sh[data-sh="mail"] .ic { background: linear-gradient(180deg, #4fa8ff, #1f6fe8); }
.wl-sh[data-sh="more"] .ic { background: rgba(255, 255, 255, .18); }
.wl-dfoot { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.wl-home { flex: none; height: 48px; padding: 0 22px 0 18px; font-size: 15px; }
.wl-over { padding: 4px 2px; font-size: 13.5px; color: var(--wl-l3); text-decoration: underline; text-decoration-color: rgba(245, 243, 238, .3); text-underline-offset: 3px; transition: color .2s; }
.wl-over:hover { color: #fff; }
.wl-toast { position: fixed; left: 50%; bottom: 110px; z-index: 9; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; font-size: 14px; color: var(--vampire); background: var(--pearl); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.wl-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- the buttons that open it ---------- */
.ea-ic { width: 16px; height: 16px; flex: none; fill: currentColor; }

/* ---------- the floating Get early access: bottom right, or centred when Kayla's pill is closed. Phones: beside Kayla. ---------- */
.ea-float { position: fixed; z-index: 71; right: max(clamp(14px, 1.8vw, 24px), env(safe-area-inset-right)); bottom: max(clamp(12px, 1.8vw, 24px), env(safe-area-inset-bottom)); height: 56px; padding: 0 10px 0 22px; transform: translate3d(0, 0, 0); transition: transform .6s var(--ease), opacity .45s var(--ease), right .5s var(--ease); }
.ea-float.away { transform: translate3d(0, 150%, 0); opacity: 0; pointer-events: none; }
html.kp-off .ea-float { right: 50%; transform: translate3d(50%, 0, 0); }
html.kp-off .ea-float.away { transform: translate3d(50%, 150%, 0); }
html.wl-open .ea-float { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .ea-float { height: 56px; padding: 0 8px 0 18px; font-size: 15px; }
  .ea-float .go { width: 38px; height: 38px; margin-right: -2px; }
  html.ea-on:not(.kp-off) .kp { left: max(12px, env(safe-area-inset-left)); transform: translate3d(0, 0, 0); }
  html.ea-on:not(.kp-off) .kp.hide, html.ea-on:not(.kp-off).kp-away .kp:not(.playing) { transform: translate3d(0, 140%, 0); }
  html.ea-on:not(.kp-off) .kp .kp-tag { display: none; }
}

/* ---------- smaller laptops: a little tighter ---------- */
@media (max-height: 820px) and (min-width: 961px) {
  .wl-qh { font-size: clamp(38px, 3.8vw, 58px); }
  .wl-qs { margin: 14px 0 20px; }
  .wl-opt { min-height: 52px; }
  .wl-opt.big { min-height: 112px; }
  .wl-f input, .wl-ccv { height: 54px; }
}

/* ---------- phones and narrow windows: the app small on top, the question, the bar fixed at the bottom ---------- */
@media (max-width: 960px) {
  .wl { --pad: 16px; }
  .wl-top { padding-top: max(14px, env(safe-area-inset-top)); }
  .wl-brand em { display: none; }
  .wl-app { width: 36px; height: 36px; }
  .wl-in { display: block; padding: 70px 16px 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .wl-in::after { content: ""; display: block; height: 196px; }
  .wl-stage { height: 220px; margin: 0 -16px 18px; overflow: hidden; transition: height .5s var(--ease), --wl-o1 .4s, margin .5s var(--ease); }
  .wl[data-step="name"] .wl-stage, .wl[data-step="you"] .wl-stage { height: 0; --wl-o1: 0; margin-bottom: 0; }
  .wl-fit { left: 50%; margin-left: -490px; transform-origin: 50% 50%; }
  .wl-qh { font-size: clamp(34px, 9.6vw, 44px); }
  .wl-qs { margin: 12px 0 18px; font-size: 15px; }
  .wl-opt { min-height: 54px; padding-left: 15px; padding-right: 40px; }
  .wl-opt b { font-size: 15px; }
  .wl-opt::after { right: 12px; }
  .wl-opt.big { min-height: 100px; padding: 12px 14px; }
  .wl-opt.big b { font-size: 36px; }
  .wl-opt.big::after { top: 12px; }
  .wl-opt.row small { display: none; }
  .wl-f input, .wl-ccv { height: 56px; }
  /* the dock: Kayla above, the bar the full width */
  .wl-dock { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); flex-direction: column-reverse; align-items: stretch; gap: 8px; transform: translateY(30px); }
  .wl.open .wl-dock { transform: none; }
  .wl-bar { height: 60px; gap: 10px; }
  .wl-seg { flex: 1; gap: 5px; margin: 0; }
  .wl-seg i { flex: 1; width: auto; }
  .wl-next { min-width: 0; padding: 0 16px 0 18px; }
  .wl-go { padding-left: 16px; }
  .wl-kay { height: 54px; padding-right: 12px; }
  .wl-kay img { width: 38px; height: 38px; border-radius: 12px; }
  .wl-kp { width: 32px; height: 32px; }
  .wl-kw { flex: 1; width: auto; }
  .wl-kt { position: static; transform: none; width: auto; max-width: none; flex: 2.2; min-width: 0; font-size: 13px; line-height: 1.3; text-align: left; text-shadow: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .wl-kw { display: none; }
  .wl-done { padding: 70px 16px 110px; }
  .wl-dwrap { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .wl-dstage { order: -1; min-height: 0; gap: 12px; padding: 10px 0 6px; }
  .wl-dstage .pass { --w: min(350px, 88vw); }
  .wl-dh { font-size: clamp(38px, 10.6vw, 52px); }
  .wl-dsub { font-size: 15.5px; }
  .wl-refbox { margin-top: 18px; padding: 16px 14px; border-radius: 24px; }
  .wl-share { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wl-slots li { padding: 0 9px; font-size: 12.5px; gap: 7px; }
  .wl.done .wl-dock { left: 50%; right: auto; transform: translateX(-50%); }
  .wl.done .wl-kay { width: min(366px, calc(100vw - 24px)); }
}
@media (max-width: 380px) { .wl-fields { grid-template-columns: 1fr; } .wl-f { grid-column: 1 / -1; } .wl-opts.two { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .wl, .wl-left, .wl-stage, .wl-sky, .wl-q, .wl-sc, .wl-steps, .wl-in, .wl-dock { transition: none !important; transform: none !important; }
  .wl-dl > *, .wl-dstage .wl-hint { opacity: 1; transform: none; }
  .wl-ph { animation: none; }
}
