/* ==========================================================================
   KIN Studio — design system
   Light  = "Studio": paper white, ink black, editorial serif accents.
   Dark   = "Signal": deep-space navy, cyan light, HUD/monospace details.
   ========================================================================== */

:root {
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-serif: "Instrument Serif", "Times New Roman", serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  /* ---- light (default) ---- */
  color-scheme: light;
  --bg: #f5f5f2;
  --bg-2: #ecece7;
  --surface: #ffffff;
  --surface-2: #fafaf8;
  --ink: #0b0c0e;
  --ink-2: #3b3d43;
  --muted: #74767d;
  --line: rgba(11, 12, 14, .09);
  --line-2: rgba(11, 12, 14, .16);
  --accent: #2747f5;
  --accent-ink: #ffffff;
  --accent-soft: rgba(39, 71, 245, .08);
  --live: #1fb46a;

  --btn-bg: #0b0c0e;
  --btn-ink: #ffffff;
  --btn-hover: #2747f5;
  --btn-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 24px -10px rgba(11,12,14,.45);

  --card-shadow: 0 1px 2px rgba(11,12,14,.04), 0 12px 40px -18px rgba(11,12,14,.18);
  --card-shadow-hover: 0 1px 2px rgba(11,12,14,.05), 0 30px 60px -24px rgba(11,12,14,.28);
  --nav-bg: rgba(245, 245, 242, .72);

  --accent-font: var(--font-serif);
  --accent-style: italic;
  --accent-weight: 400;
  --accent-track: -0.02em;
  --accent-fill: var(--ink);
  --label-font: var(--font-sans);
  --head-font: var(--font-sans);
  --head-weight: 500;
  --label-track: .14em;

  --orb: linear-gradient(180deg, #ffffff 0%, #f1f1ed 26%, #e9e9e4 60%, #e6e6e1 100%);
  --orb-shadow: inset 0 1px 0 #fff, 0 -1px 0 rgba(11,12,14,.05), 0 -60px 120px -60px rgba(39,71,245,.22);
  --grid-opacity: 0;
  --hud: none;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #03050b;
  --bg-2: #070b17;
  --surface: #0a1020;
  --surface-2: #0d1428;
  --ink: #eef4ff;
  --ink-2: #b9c4dc;
  --muted: #7c89a8;
  --line: rgba(120, 170, 255, .13);
  --line-2: rgba(120, 170, 255, .24);
  --accent: #3fe0ff;
  --accent-ink: #02040a;
  --accent-soft: rgba(63, 224, 255, .09);
  --live: #3fe0ff;

  --btn-bg: linear-gradient(135deg, #6af0ff 0%, #3fb8ff 45%, #4f6bff 100%);
  --btn-ink: #02040a;
  --btn-hover: #ffffff;
  --btn-shadow: 0 0 0 1px rgba(160, 235, 255, .5) inset, 0 10px 40px -8px rgba(63, 200, 255, .55);

  --card-shadow: 0 0 0 1px rgba(120,170,255,.10) inset;
  --card-shadow-hover: 0 0 0 1px rgba(63,224,255,.28) inset, 0 30px 80px -30px rgba(63,160,255,.45);
  --nav-bg: rgba(5, 8, 18, .62);

  --accent-font: var(--font-serif);
  --accent-style: italic;
  --accent-weight: 400;
  --accent-track: -0.02em;
  --accent-fill: transparent;
  --label-font: var(--font-sans);
  --label-track: .16em;

  --orb: linear-gradient(180deg, #b9d2ff 0px, #4f74ec 5px, #1d3387 22px, #0b1640 70px, #050a1d 150px, #02040b 320px, #000 520px);
  --orb-shadow: inset 0 2px 0 rgba(190, 225, 255, .75), 0 -30px 140px -30px rgba(63, 200, 255, .55), 0 -2px 30px -6px rgba(120, 190, 255, .6);
  --grid-opacity: 1;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
[data-lenis-prevent] { overscroll-behavior: contain; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, video, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* page-wide grid texture (dark only) */
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: var(--grid-opacity);
  background-image:
    linear-gradient(rgba(120,170,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  transition: opacity .6s var(--ease);
}
main, header, footer { position: relative; z-index: 1; }

/* ---------- type ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--label-font);
  font-size: 12px; font-weight: 500;
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--muted);
}
[data-theme="dark"] .label::before { content: "["; color: var(--accent); }
[data-theme="dark"] .label::after { content: "]"; color: var(--accent); }

.h1, .h2, .h3 { margin: 0; font-family: var(--head-font); font-weight: var(--head-weight); color: var(--ink); text-wrap: balance; }
.h1 { font-size: clamp(52px, 9vw, 132px); line-height: .92; letter-spacing: -0.055em; }
.h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: .98; letter-spacing: -0.045em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.03em; }

.accent {
  font-family: var(--accent-font);
  font-style: var(--accent-style);
  font-weight: var(--accent-weight);
  letter-spacing: var(--accent-track);
  color: var(--accent-fill);
  padding-right: .04em;
}
[data-theme="dark"] .accent {
  background: linear-gradient(100deg, #e9fbff 0%, #6aeeff 35%, #3fb8ff 65%, #6f7dff 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 28px rgba(63, 200, 255, .35));
}
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 620px; margin: 0; text-wrap: pretty; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  --h: 50px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: var(--btn-shadow); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: var(--btn-hover); opacity: 0; transition: opacity .4s var(--ease);
}
.btn-primary:hover::after { opacity: 1; }
[data-theme="dark"] .btn-primary::after { background: linear-gradient(135deg, #b8f7ff, #7fd8ff 50%, #8f9dff); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: color-mix(in srgb, var(--surface) 50%, transparent); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--ink); }
[data-theme="dark"] .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.play-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); margin-left: -6px; }
.play-dot svg { width: 9px; height: 9px; margin-left: 1px; }
[data-theme="dark"] .play-dot { background: var(--accent); color: #02040a; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px var(--gutter);
  transition: padding .5s var(--ease);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  height: 60px; padding: 0 10px 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s;
}
.nav.is-scrolled .nav-inner {
  background: var(--nav-bg);
  border-color: var(--line);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.brand-mark { width: 36px; height: 36px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--line); transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.04); }
[data-theme="dark"] .brand-mark { box-shadow: 0 0 0 1px rgba(140,180,255,.35), 0 0 24px -4px rgba(79,107,255,.7); }
.brand-name { white-space: nowrap; }
.brand-name span { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: color .3s, background .3s;
}
.nav-links a:hover { color: var(--ink); background: var(--accent-soft); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent);
}
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links + .nav-right { margin-left: 0; }

.theme-toggle {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  color: var(--ink);
  transition: border-color .3s, transform .6s var(--ease);
}
.theme-toggle:hover { border-color: var(--ink); transform: rotate(18deg); }
[data-theme="dark"] .theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; position: absolute; transition: transform .7s var(--ease), opacity .4s; }
.theme-toggle .i-moon { opacity: 1; transform: rotate(0); }
.theme-toggle .i-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
[data-theme="dark"] .theme-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
[data-theme="dark"] .theme-toggle .i-sun { opacity: 1; transform: rotate(0) scale(1); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 168px 0 0; text-align: center; overflow: hidden; }
.hero-orb {
  position: absolute; left: 50%; top: 610px;
  width: max(1500px, 130vw); aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%;
  background: var(--orb);
  box-shadow: var(--orb-shadow);
  pointer-events: none;
  transition: background .6s var(--ease), box-shadow .6s var(--ease);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 260px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 14px 0 12px; border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--live); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.hero .h1 { margin: 28px 0 0; }
.hero .lede { margin: 28px auto 0; text-align: center; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.format-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.format-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  border: 1px solid var(--line);
  transition: color .3s, border-color .3s, background .3s;
}
.format-chip:hover { color: var(--ink); border-color: var(--line-2); background: var(--accent-soft); }
.format-chip i { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.format-sep { width: 1px; height: 18px; background: var(--line-2); align-self: center; margin: 0 4px; }

/* headline reveal: each word eases in from a soft blur (no masks, no hard edges) */
.split .w { display: inline-block; }
.split .w > span {
  display: inline-block; opacity: 0;
  filter: blur(10px); transform: translate3d(0, .22em, 0) scale(.99);
  transition: opacity .8s cubic-bezier(.33, 0, .2, 1), filter .9s cubic-bezier(.33, 0, .2, 1), transform 1.05s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--i) * 70ms + 60ms);
  will-change: opacity, filter, transform;
}
.is-ready .split .w > span { opacity: 1; filter: blur(0); transform: none; }
.split-done .split .w > span { will-change: auto; }
.hero-fade {
  opacity: 0; filter: blur(6px); transform: translate3d(0, 12px, 0);
  transition: opacity .7s cubic-bezier(.33, 0, .2, 1), filter .8s cubic-bezier(.33, 0, .2, 1), transform .95s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.is-ready .hero-fade { opacity: 1; filter: blur(0); transform: none; }
.stage-wrap.hero-fade { filter: none; } /* the showreel is big: fade it without a blur pass */

/* showreel stage */
.stage-wrap { perspective: 1600px; margin-top: 80px; padding-bottom: 40px; }
.stage {
  position: relative; display: block; max-width: 1080px; margin: 0 auto;
  transform-origin: 50% 0;
  transform: rotateX(var(--tilt, 0deg)) scale(var(--scale, 1));
  will-change: transform;
}
.screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px var(--line-2), 0 50px 100px -40px rgba(11,12,14,.45), 0 20px 40px -30px rgba(11,12,14,.3);
}
[data-theme="dark"] .screen { box-shadow: 0 0 0 1px rgba(120,190,255,.28), 0 0 80px -20px rgba(63,160,255,.5), 0 60px 120px -40px #000; }
.screen video, .phone video, .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen video, .phone video { transition: opacity .6s var(--ease); }
.screen video.is-off, .phone video.is-off { opacity: 0; }
.screen-grad { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); pointer-events: none; }
.screen-meta {
  position: absolute; left: 20px; bottom: 18px; right: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: #fff; font-size: 13px; font-weight: 500; text-align: left;
}
.tag-glass {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px;
  background: rgba(10, 12, 20, .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 12.5px; font-weight: 500;
  transition: opacity .5s var(--ease);
}
.tag-glass b { font-weight: 600; }
.tag-glass .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
[data-theme="dark"] .tag-glass { border-color: rgba(63,224,255,.3); }
[data-theme="dark"] .tag-glass .dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.watch-cta { display: inline-flex; align-items: center; gap: 8px; }
.watch-cta .tag-glass { transition: background .3s; }
.stage:hover .watch-cta .tag-glass { background: rgba(255,255,255,.92); color: #0b0c0e; }

.timecode { display: none; }
[data-theme="dark"] .timecode {
  display: inline-flex; position: absolute; top: 16px; right: 18px; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; color: rgba(220,245,255,.9);
}
.timecode .rec { width: 7px; height: 7px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 10px #ff4d5e; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* HUD corner brackets (dark) */
.hud::before, .hud::after, .hud > .hud-b::before, .hud > .hud-b::after {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 3;
  border-color: var(--accent); border-style: solid; border-width: 0; opacity: 0; transition: opacity .6s var(--ease);
}
.hud::before { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.hud::after { top: 10px; right: 10px; border-top-width: 1.5px; border-right-width: 1.5px; }
.hud > .hud-b::before { bottom: 10px; left: 10px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.hud > .hud-b::after { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
[data-theme="dark"] .hud::before, [data-theme="dark"] .hud::after,
[data-theme="dark"] .hud > .hud-b::before, [data-theme="dark"] .hud > .hud-b::after { opacity: .9; }

.phone {
  position: absolute; right: -2.5%; bottom: -9%;
  width: 21%; aspect-ratio: 9 / 16;
  border-radius: 26px; overflow: hidden; background: #000;
  border: 5px solid #0b0c0e;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 40px 80px -30px rgba(11,12,14,.6);
  transform: translateY(var(--phoneY, 0px)) rotate(3deg);
}
[data-theme="dark"] .phone { border-color: #0b1226; box-shadow: 0 0 0 1px rgba(120,190,255,.35), 0 0 60px -10px rgba(63,160,255,.45), 0 40px 80px -30px #000; }
.phone .tag-glass { position: absolute; left: 10px; bottom: 10px; height: 26px; font-size: 11px; padding: 0 10px; }
.phone .screen-grad { background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.5)); }

/* stats */
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; max-width: 820px; margin: 72px auto 0; border-top: 1px solid var(--line); }
.stat { padding: 26px 16px 8px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-v { font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
[data-theme="dark"] .stat-v { color: var(--accent); text-shadow: 0 0 30px rgba(63,224,255,.35); }
.stat-l { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* brand strip: names our edits ran for, credited to the partner agencies */
.logo-wall { max-width: 980px; margin: 60px auto 0; text-align: center; }
.lw-label { margin: 0; font-family: var(--label-font); font-size: 12px; font-weight: 500; letter-spacing: var(--label-track); text-transform: uppercase; color: var(--muted); }
.lw-marquee { margin-top: 20px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lw-track { display: flex; align-items: center; gap: 56px; width: max-content; will-change: transform; animation: lwScroll var(--dur, 40s) linear infinite; }
.lw-marquee:hover .lw-track { animation-play-state: paused; }
@keyframes lwScroll { to { transform: translateX(calc(-50% - 28px)); } }
.lw-item { display: flex; align-items: center; height: 40px; flex: none; opacity: .5; transition: opacity .3s; }
.lw-item:hover { opacity: .95; }
.lw-item img { height: 24px; width: auto; max-width: 180px; filter: brightness(0); }
[data-theme="dark"] .lw-item img { filter: brightness(0) invert(1); }
.lw-name { font-size: 23px; font-weight: 700; letter-spacing: -0.04em; white-space: nowrap; color: var(--ink); }
.lw-credit { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.lw-credit b { color: var(--ink-2); font-weight: 600; }
.via { opacity: .85; }
.player-client em.via { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 2px; }
@media (max-width: 640px) { .lw-track { gap: 36px; } .lw-item img { height: 20px; } .lw-name { font-size: 19px; } .logo-wall { margin-top: 44px; } }

/* "What we do": the whole offer as one pipeline, then what changes for the client */
.flow { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: step; }
.flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent); }
.flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px; text-align: center; counter-increment: step; }
.flow-ic {
  position: relative; z-index: 1; width: 68px; height: 68px; margin-bottom: 10px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); color: var(--ink);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.flow li:hover .flow-ic { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.flow-ic svg { width: 26px; height: 26px; }
.flow li b { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.flow li b::before { content: counter(step, decimal-leading-zero); margin-right: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--muted); vertical-align: 2px; }
.flow li > span:last-child { max-width: 170px; font-size: 13.5px; line-height: 1.4; color: var(--muted); text-wrap: balance; }
.flow li.you .flow-ic { background: var(--ink); color: var(--bg); border-color: transparent; box-shadow: 0 0 0 8px var(--accent-soft); }
.flow .rec { fill: #ff4b4b; stroke: none; animation: rec-blink 1.6s ease-in-out infinite; }
@keyframes rec-blink { 50% { opacity: .25; } }
.flow-you {
  position: absolute; z-index: 2; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
[data-theme="dark"] .flow-you { color: #02040a; }
[data-theme="dark"] .flow-ic { background: #081124; border-color: rgba(120,170,255,.16); }
[data-theme="dark"] .flow li.you .flow-ic { background: var(--accent); color: #02040a; box-shadow: 0 0 0 8px var(--accent-soft), 0 0 30px rgba(63,224,255,.35); }

.wins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.wins > div { padding: 24px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
[data-theme="dark"] .wins > div { background: linear-gradient(180deg, #081124, #050913); border-color: rgba(120,170,255,.16); }
.wins b { display: block; font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.wins span { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); }

@media (max-width: 860px) {
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow::before { display: none; }
  .wins { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  /* a vertical checklist on phones: icon left, text right, a thin line joining the steps */
  .flow { grid-template-columns: 1fr; row-gap: 18px; }
  .flow::before { display: block; left: 27px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; background: var(--line-2); }
  .flow li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; row-gap: 2px; align-items: center; padding: 0; text-align: left; }
  .flow-ic { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
  .flow-ic svg { width: 23px; height: 23px; }
  .flow li b { align-self: end; }
  .flow li > span:last-child { align-self: start; max-width: none; }
  .flow-you { top: -9px; left: 28px; font-size: 9.5px; padding: 2px 7px; }
  .wins > div { padding: 20px 22px; }
  .wins b { font-size: 18px; }
}

/* "Built in": three small animated tool cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); overflow: hidden; display: flex; flex-direction: column; }
[data-theme="dark"] .svc { background: linear-gradient(180deg, #081124, #050913); border-color: rgba(120,170,255,.16); }
.svc-vis { position: relative; height: 270px; padding: 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); overflow: hidden; }
[data-theme="dark"] .svc-vis { background: rgba(3,6,14,.6); }
.svc-body { padding: 22px 24px 26px; }
.svc-body h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.035em; }
.svc-body p { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }

/* 1 · portal */
.pt-win { height: 100%; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 16px 36px -24px rgba(0,0,0,.35); }
[data-theme="dark"] .pt-win { background: #0a1020; }
.pt-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }
.pt-need { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); transition: opacity .4s; }
.pt-item { display: flex; gap: 10px; align-items: center; }
.pt-thumb { width: 74px; aspect-ratio: 16/9; border-radius: 7px; background: #000 center/cover; flex: none; }
.pt-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.pt-sub { font-size: 11.5px; color: var(--muted); }
.pt-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pt-step { font-size: 10.5px; color: var(--muted); }
.pt-step i { display: block; height: 4px; border-radius: 4px; background: var(--line-2); margin-bottom: 5px; transition: background .5s var(--ease); }
.pt-step.done i { background: var(--accent); }
.pt-step.done { color: var(--ink-2); }
.pt-actions { display: flex; gap: 8px; margin-top: auto; transition: opacity .4s, transform .5s var(--ease); }
.pt-actions span { flex: 1; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.pt-ok { background: var(--btn-bg); color: var(--btn-ink); transition: transform .25s; }
.pt-ok.tap { transform: scale(.94); }
.pt-chg { border: 1px solid var(--line-2); color: var(--ink-2); }
.pt-actions.hide { opacity: 0; transform: translateY(6px); }
.pt-done { position: absolute; left: 50%; bottom: 34px; transform: translate(-50%, 10px); opacity: 0; font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); transition: opacity .4s, transform .5s var(--ease); white-space: nowrap; }
[data-theme="dark"] .pt-done { background: var(--accent); color: #02040a; }
.pt-done.show { opacity: 1; transform: translate(-50%, 0); }

/* 2 · growth */
.gr-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.gr-head b { color: var(--ink); font-weight: 600; }
.gr-svg { width: 100%; height: 150px; margin-top: 8px; overflow: visible; }
.gr-grid line { stroke: var(--line); }
.gr-line { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.gr-fill { fill: url(#grFill); opacity: 0; transition: opacity .8s; }
.gr-drop { opacity: 0; transition: opacity .4s; }
.gr-drop circle { fill: #ff4d5e; }
.gr-drop .ring { fill: none; stroke: #ff4d5e; stroke-width: 1.5; transform-origin: center; transform-box: fill-box; animation: drop-ring 1.6s ease-out infinite; }
@keyframes drop-ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.gr-tip { position: absolute; left: 40%; top: 74px; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 7px; background: #ff4d5e; color: #fff; opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .5s var(--ease); }
.gr-fix { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; gap: 8px; }
.gr-fix span { opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .55s var(--ease); font-size: 11.5px; font-weight: 600; padding: 7px 10px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); white-space: nowrap; }
[data-theme="dark"] .gr-fix span { background: #0a1020; }
.gr-fix span b { color: var(--accent); }
.growth.play .gr-line { animation: draw 1.6s var(--ease-io) forwards; }
.growth.play .gr-fill { opacity: 1; transition-delay: 1.2s; }
.growth.play .gr-drop, .growth.play .gr-tip { opacity: 1; transform: none; transition-delay: 1.5s; }
.growth.play .gr-fix span { opacity: 1; transform: none; }
.growth.play .gr-fix span:nth-child(1) { transition-delay: 2.1s; }
.growth.play .gr-fix span:nth-child(2) { transition-delay: 2.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* 3 · automation */
.au { position: relative; height: 100%; }
.au-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.au-svg path { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.au-svg path.flow { stroke: var(--accent); stroke-dasharray: 4 10; animation: flow 1.2s linear infinite; opacity: .9; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.au-in { position: absolute; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 6px 0; }
.au-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2); box-shadow: 0 8px 20px -14px rgba(0,0,0,.4); }
[data-theme="dark"] .au-ic { background: #0a1020; }
.au-ic svg { width: 19px; height: 19px; }
.au-hub { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 0 0 8px var(--accent-soft); animation: hub 2.4s ease-in-out infinite; }
[data-theme="dark"] .au-hub { background: var(--btn-bg); color: #02040a; box-shadow: 0 0 0 8px rgba(63,224,255,.12), 0 0 40px -6px rgba(63,224,255,.7); }
@keyframes hub { 50% { box-shadow: 0 0 0 14px var(--accent-soft); } }
.au-out { position: absolute; right: 0; top: 0; bottom: 0; width: 40%; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.au-out span { display: flex; align-items: center; gap: 6px; font-size: 11px; line-height: 1.25; font-weight: 600; padding: 7px 9px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); opacity: 0; transform: translateX(-8px); transition: opacity .45s, transform .55s var(--ease); }
[data-theme="dark"] .au-out span { background: #0a1020; }
.au-out span i { font-style: normal; color: var(--live); }
.au-out span.on { opacity: 1; transform: none; }

@media (max-width: 1020px) { .svc-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* founder (quiet presence: stats row, testimonials note, footer) */
.stat-founder { display: flex; align-items: center; justify-content: center; }
.f-chip {
  display: inline-flex; align-items: center; gap: 12px; text-align: left;
  padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid var(--line);
  transition: border-color .3s, background .3s;
}
a.f-chip:hover { border-color: var(--line-2); background: var(--accent-soft); }
.f-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; object-fit: cover;
  font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #2747f5, #0b0c0e);
}
[data-theme="dark"] .f-avatar { color: #02040a; background: linear-gradient(135deg, #3fe0ff, #4f6bff); }
.f-txt b { display: flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.f-txt > span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.i-ext { width: 13px; height: 13px; opacity: .55; transition: transform .4s var(--ease), opacity .3s; }
a:hover > .i-ext, a:hover .f-txt .i-ext { opacity: 1; transform: translate(2px, -2px); }
.founder-note { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.founder-note .f-avatar { width: 28px; height: 28px; font-size: 12px; }
.f-link { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
a.f-link:hover { color: var(--accent); border-color: var(--accent); }

/* progressive blur along the bottom edge of the screen */
.edge-blur { position: fixed; left: 0; right: 0; bottom: 0; height: 96px; z-index: 35; pointer-events: none; transition: opacity .6s var(--ease); }
.edge-blur.off { opacity: 0; }
/* phones & tablets: one light blur layer instead of six (stacked backdrop blur is costly on mobile GPUs) */
@media (hover: none), (max-width: 860px) {
  .edge-blur { height: 72px; }
  .edge-blur i { display: none; }
  .edge-blur::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 75%); mask-image: linear-gradient(to bottom, transparent, #000 75%); }
}
.edge-blur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 55%, transparent)); }
.edge-blur i { position: absolute; inset: 0; }
.edge-blur i:nth-child(1) { backdrop-filter: blur(.5px); -webkit-backdrop-filter: blur(.5px); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 33%, transparent 50%); mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 33%, transparent 50%); }
.edge-blur i:nth-child(2) { backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); -webkit-mask-image: linear-gradient(to bottom, transparent 16%, #000 33%, #000 50%, transparent 66%); mask-image: linear-gradient(to bottom, transparent 16%, #000 33%, #000 50%, transparent 66%); }
.edge-blur i:nth-child(3) { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); -webkit-mask-image: linear-gradient(to bottom, transparent 33%, #000 50%, #000 66%, transparent 83%); mask-image: linear-gradient(to bottom, transparent 33%, #000 50%, #000 66%, transparent 83%); }
.edge-blur i:nth-child(4) { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); -webkit-mask-image: linear-gradient(to bottom, transparent 50%, #000 66%, #000 83%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 50%, #000 66%, #000 83%, transparent 100%); }
.edge-blur i:nth-child(5) { backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); -webkit-mask-image: linear-gradient(to bottom, transparent 66%, #000 83%, #000 100%); mask-image: linear-gradient(to bottom, transparent 66%, #000 83%, #000 100%); }
.edge-blur i:nth-child(6) { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); -webkit-mask-image: linear-gradient(to bottom, transparent 83%, #000 100%); mask-image: linear-gradient(to bottom, transparent 83%, #000 100%); }

/* ---------- sections ---------- */
.section { padding: clamp(96px, 12vw, 160px) 0; position: relative; }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { align-items: center; text-align: center; }
.section-head.split-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head .lede { max-width: 480px; }

/* edit bay (home work showcase): an editing-app window, one "See all work" choice */
[data-cat] { --clip: var(--accent); }
[data-cat="talking-head"] { --clip: #2747f5; }
[data-cat="podcast"] { --clip: #7c4dff; }
[data-cat="vsl"] { --clip: #e8890c; }
[data-cat="ugc"] { --clip: #e5487d; }
[data-cat="reels"] { --clip: #0f9f7b; }
[data-theme="dark"] [data-cat="talking-head"] { --clip: #4f8bff; }
[data-theme="dark"] [data-cat="podcast"] { --clip: #a27bff; }
[data-theme="dark"] [data-cat="vsl"] { --clip: #ffb547; }
[data-theme="dark"] [data-cat="ugc"] { --clip: #ff6fa3; }
[data-theme="dark"] [data-cat="reels"] { --clip: #3fe0c5; }

.bay {
  --wave: #0f9f7b;
  position: relative; display: block; border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.bay:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
[data-theme="dark"] .bay { --wave: #3fe0ff; background: linear-gradient(180deg, #081124, #04070f); border-color: rgba(120,170,255,.18); }

.bay-bar { display: flex; align-items: center; gap: 16px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: 13px; color: var(--muted); }
[data-theme="dark"] .bay-bar { background: rgba(10,16,32,.7); }
.bay-dots { display: flex; gap: 7px; }
.bay-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.bay-dots i:nth-child(2) { background: #febc2e; }
.bay-dots i:nth-child(3) { background: #28c840; }
[data-theme="dark"] .bay-dots i { background: transparent; border: 1.5px solid rgba(63,224,255,.55); }
.bay-title { margin: 0 auto; font-weight: 500; color: var(--ink-2); }
.bay-bar::after { content: ""; width: 47px; } /* balances the dots so the title sits centred */

.bay-top { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; padding: 18px; }
.bay-mons { display: grid; grid-template-columns: 3.16fr 1fr; gap: 12px; align-items: stretch; }
.mon { position: relative; border-radius: 14px; overflow: hidden; background: #000; }
.mon-long { aspect-ratio: 16 / 9; }
.mon-short { min-height: 100%; }
[data-theme="dark"] .mon { box-shadow: 0 0 0 1px rgba(120,190,255,.22), 0 0 40px -16px rgba(63,160,255,.5); }
.mon-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.mon-layer.on { opacity: 1; }
.mon-layer img, .mon-layer video, .mon-layer .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.5)); pointer-events: none; z-index: 1; }
.mon-tag { position: absolute; left: 12px; bottom: 12px; z-index: 2; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mon-short .mon-tag { left: 8px; bottom: 8px; height: 26px; padding: 0 9px; font-size: 11px; }

.bay-side { display: flex; flex-direction: column; gap: 22px; padding: 4px 2px 2px; }
.bay-h { margin-bottom: 10px; font-family: var(--head-font); font-size: 22px; font-weight: var(--head-weight); letter-spacing: -0.035em; line-height: 1; }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.tile {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--surface-2);
  font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
}
[data-theme="dark"] .tile { border-color: rgba(120,170,255,.2); background: rgba(63,160,255,.05); }
@media (max-width: 640px) {
  .mon-short .mon-tag { display: none; }
  .bay .bay-cta { --h: 54px; padding: 0 10px 0 8px; gap: 10px; font-size: 15.5px; }
  .bay .bay-cta-play { width: 38px; height: 38px; }
  .bay .bay-cta .i-arrow { margin-right: 2px; }
}
.bay-side { justify-content: center; }

/* AI assist: status pill in the window bar + an "AI" lane in the timeline (optional markup) */
.bay-bar:has(.bay-ai) { display: grid; grid-template-columns: 1fr auto 1fr; }
.bay-bar:has(.bay-ai)::after { display: none; }
.bay-ai { justify-self: end; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--accent-soft); color: var(--ink-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.bay-ai b { color: var(--accent); font-weight: 600; display: inline-block; }
.bay-ai.swap b { animation: aiSwap .5s var(--ease); }
@keyframes aiSwap { from { opacity: 0; filter: blur(4px); transform: translateY(3px); } }
.ai-spark { font-style: normal; color: var(--accent); display: inline-block; animation: sparkle 2.2s ease-in-out infinite; }
@keyframes sparkle { 50% { opacity: .45; transform: scale(.82) rotate(20deg); } }
[data-theme="dark"] .bay-ai { border: 1px solid rgba(63,224,255,.28); }
[data-theme="dark"] .bay-ai b { text-shadow: 0 0 12px rgba(63,224,255,.6); }
.tl-h-ai, .tl-ai { height: 38px; }
.tl-h-ai { color: var(--accent); }
.tl-ai { padding: 8px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.tl-ai .strip { gap: 0; }
.ai-slot { flex: none; display: flex; justify-content: center; }
.ai-tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 999px; white-space: nowrap;
  font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); transition: background .35s, color .35s, box-shadow .35s;
}
.ai-tag.on { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 18px -2px var(--accent); }
.bay-tl:has(.tl-ai) .bay-cta-wrap { padding-top: 38px; background: radial-gradient(ellipse 32% 52% at 50% 60%, var(--surface-2) 30%, transparent 100%); }
[data-theme="dark"] .bay-tl:has(.tl-ai) .bay-cta-wrap { background: radial-gradient(ellipse 32% 52% at 50% 60%, rgba(4,8,18,.92) 30%, transparent 100%); }

/* the one thing to click: a big button parked on the playhead, over a quiet timeline */
.bay-tl { position: relative; }
.bay-tl .tl-heads > :not(.tl-h-ai), .bay-tl .tl-area > :not(.tl-ai) { opacity: .34; filter: saturate(.35); transition: opacity .8s var(--ease), filter .8s var(--ease); }
.bay:hover .bay-tl .tl-heads > :not(.tl-h-ai), .bay:hover .bay-tl .tl-area > :not(.tl-ai) { opacity: .5; }
.bay-cta-wrap {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; pointer-events: none;
  background: radial-gradient(ellipse 34% 70% at 50% 50%, var(--surface-2) 30%, transparent 100%);
}
[data-theme="dark"] .bay-cta-wrap { background: radial-gradient(ellipse 34% 70% at 50% 50%, rgba(4,8,18,.92) 30%, transparent 100%); }
.bay-cta { --h: 66px; padding: 0 14px 0 10px; gap: 14px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; pointer-events: auto; }
.bay-cta::before {
  content: ""; position: absolute; inset: -7px; border-radius: inherit; z-index: -2;
  border: 1.5px solid var(--accent); opacity: 0; animation: ctaRing 2.8s var(--ease) infinite;
}
@keyframes ctaRing { 0% { transform: scale(.94); opacity: .55; } 70%, 100% { transform: scale(1.12); opacity: 0; } }
.bay-cta-play { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-ink); color: var(--accent); flex: none; }
.bay-cta-play svg { width: 15px; height: 15px; margin-left: 2px; }
[data-theme="dark"] .bay-cta-play { background: #02040a; }
.bay-count { font-family: var(--font-mono); font-size: 12px; font-weight: 500; padding: 5px 9px; border-radius: 8px; background: color-mix(in srgb, var(--btn-ink) 16%, transparent); }
.bay-cta .i-arrow { width: 18px; height: 18px; margin-right: 6px; }
.bay:hover .bay-cta { transform: scale(1.04); }
.bay:hover .bay-cta::after { opacity: 1; }
.bay:hover .bay-cta .i-arrow { transform: translateX(4px); }
@media (max-width: 1020px) { .bay-side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } }

.bay-tl { display: grid; grid-template-columns: 76px minmax(0, 1fr); border-top: 1px solid var(--line); background: var(--surface-2); }
[data-theme="dark"] .bay-tl { background: rgba(3,6,14,.75); }
.tl-heads { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.tl-h { height: 58px; display: flex; align-items: center; gap: 5px; padding: 0 12px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.tl-h b { font-weight: 500; color: var(--ink-2); }
.tl-h-ruler, .tl-ruler { height: 26px; }
.tl-h-audio, .tl-audio { height: 44px; }
.tl-h:last-child, .tl-track:last-of-type { border-bottom: 0; }
.tl-area { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.tl-ruler {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 12px);
  background-size: 100% 6px; background-repeat: repeat-x; background-position: 0 100%;
}
.tl-ruler span { position: absolute; left: 0; top: 5px; padding-left: 5px; border-left: 1px solid var(--line-2); height: 21px; font-family: var(--font-mono); font-size: 10px; color: var(--muted); will-change: transform; }
.tl-track { height: 58px; padding: 7px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.strip { display: flex; gap: 6px; height: 100%; width: max-content; will-change: transform; }
.clip {
  position: relative; flex: none; height: 100%; border-radius: 7px; overflow: hidden;
  background-color: color-mix(in srgb, var(--clip) 22%, var(--surface));
  background-size: auto 100%; background-repeat: repeat-x; background-position: left center;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--clip) 45%, transparent);
  filter: saturate(.8) brightness(.9); transition: filter .4s var(--ease), box-shadow .4s var(--ease);
}
.clip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--clip); z-index: 2; }
.clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.1) 70%); }
.clip.on { filter: none; box-shadow: inset 0 0 0 2px var(--clip); }
[data-theme="dark"] .clip.on { box-shadow: inset 0 0 0 2px var(--clip), 0 0 18px -4px var(--clip); }
.clip-label { position: absolute; left: 9px; top: 50%; z-index: 2; transform: translateY(-50%); display: flex; align-items: center; gap: 6px; color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; letter-spacing: -0.005em; }
.clip-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--clip); }
.clip-audio { background: color-mix(in srgb, var(--wave) 12%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wave) 32%, transparent); color: var(--wave); filter: none; }
.clip-audio::before, .clip-audio::after { display: none; }
.clip-audio.on { box-shadow: inset 0 0 0 1.5px var(--wave); }
.clip-audio svg { width: 100%; height: 100%; display: block; }
.clip-audio path { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; fill: none; opacity: .75; }
.playhead { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--ink); z-index: 3; pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: 0; left: -6px; width: 14px; height: 14px; background: inherit; clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
[data-theme="dark"] .playhead { background: var(--accent); box-shadow: 0 0 14px var(--accent); }

/* spotlight border on hover (dark) */
.spot { --mx: 50%; --my: 50%; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 4; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(63,224,255,.9), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s var(--ease);
}
[data-theme="dark"] .spot:hover::before { opacity: 1; }

/* testimonials marquee */
/* video testimonials */
.vt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); justify-content: center; gap: 18px; margin-bottom: 44px; }
.vt { position: relative; display: block; text-align: left; border-radius: var(--r-lg); }
.vt-media {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-2); box-shadow: var(--card-shadow); transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.vt:hover .vt-media { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.vt-media img, .vt-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vt-media .ph-in { display: none; }
.vt-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.62)); pointer-events: none; }
.vt .card-play { opacity: 1; left: auto; top: 12px; right: 12px; width: 42px; height: 42px; margin: 0; transform: scale(.92); }
.vt .card-play svg { width: 15px; height: 15px; }
.vt:hover .card-play { transform: scale(1.06); }
.vt-who { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 3; color: #fff; }
.vt-who b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.vt-who span { display: block; font-size: 13px; opacity: .8; }

.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; will-change: transform; animation: marquee var(--dur, 60s) linear infinite; padding: 6px 0 16px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.quote {
  position: relative; width: 380px; flex: none; margin: 0; padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; gap: 22px;
}
.quote-stars { display: flex; gap: 3px; color: var(--ink); }
[data-theme="dark"] .quote-stars { color: var(--accent); }
.quote-stars svg { width: 15px; height: 15px; }
.quote p { margin: 0; font-size: 18px; line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; color: #fff; background: linear-gradient(135deg, #2747f5, #0b0c0e); object-fit: cover; flex: none; }
[data-theme="dark"] .avatar { background: linear-gradient(135deg, #3fe0ff, #4f6bff); color: #02040a; }
.quote-name { font-weight: 600; font-size: 14.5px; }
.quote-role { font-size: 13px; color: var(--muted); }

/* booking */
.book {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start;
  padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow);
  position: relative; overflow: hidden;
}
[data-theme="dark"] .book { background: radial-gradient(120% 80% at 0% 0%, rgba(63,160,255,.10), transparent 50%), var(--surface); }
.book-copy { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 110px; }
.checks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent); }
.book-alt { font-size: 14px; color: var(--muted); }
.book-alt a { color: var(--ink); border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.book-alt a:hover { border-color: var(--accent); }
.book-embed { min-height: 560px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.book-embed iframe { width: 100%; height: 680px; border: 0; }

/* built-in scheduler (used until a Cal.com link is added) */
.sched { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sched-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sched-head .brand-mark { width: 44px; height: 44px; }
.sched-title { font-weight: 600; letter-spacing: -0.02em; }
.sched-sub { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.sched-sub span { display: inline-flex; align-items: center; gap: 6px; }
.sched-sub svg { width: 14px; height: 14px; }
.cal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-month { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.cal-nav { display: flex; gap: 4px; }
.cal-nav button { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-2); transition: background .2s; }
.cal-nav button:hover:not(:disabled) { background: var(--accent-soft); }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal-nav svg { width: 16px; height: 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font-size: 11px; color: var(--muted); padding: 4px 0 8px; font-family: var(--font-mono); letter-spacing: .06em; }
.cal-day { aspect-ratio: 1; border-radius: 10px; font-size: 14px; font-weight: 500; display: grid; place-items: center; color: var(--muted); opacity: .45; cursor: default; }
.cal-day.open { opacity: 1; color: var(--ink); background: var(--accent-soft); cursor: pointer; transition: background .25s, color .25s, transform .3s var(--ease); }
.cal-day.open:hover { transform: scale(1.06); }
.cal-day.sel { background: var(--ink); color: var(--bg); }
[data-theme="dark"] .cal-day.sel { background: var(--accent); color: #02040a; box-shadow: 0 0 20px -4px var(--accent); }
.slots-day { font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.slots { display: flex; flex-direction: column; gap: 8px; max-height: 330px; overflow: auto; padding-right: 4px; }
.slot {
  height: 44px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 500; font-size: 14.5px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: border-color .25s, background .25s, color .25s;
}
.slot:hover { border-color: var(--ink); }
[data-theme="dark"] .slot:hover { border-color: var(--accent); color: var(--accent); }
.slot.sel { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .slot.sel { background: var(--accent); border-color: var(--accent); color: #02040a; }
.sched-confirm { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.sched-confirm .muted { font-size: 14px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; text-align: left; font-size: 18px; font-weight: 500; letter-spacing: -0.02em;
}
.faq-q .plus { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: transform .6s var(--ease), background .3s, border-color .3s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: currentColor; }
.faq-q .plus::after { transform: rotate(90deg); }
.faq-item.open .plus { transform: rotate(45deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .faq-item.open .plus { background: var(--accent); border-color: var(--accent); color: #02040a; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 48px 24px 0; color: var(--ink-2); font-size: 16px; }

/* final CTA + footer */
.final { text-align: center; padding: clamp(96px, 12vw, 160px) 0 clamp(64px, 8vw, 100px); position: relative; overflow: hidden; }
.final .h2 { font-size: clamp(44px, 7.5vw, 112px); }
.final .hero-ctas { margin-top: 40px; }
.final-orb { position: absolute; left: 50%; bottom: -1180px; width: 1400px; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--orb); box-shadow: var(--orb-shadow); pointer-events: none; opacity: .9; }
.footer { border-top: 1px solid var(--line); padding: 40px 0 36px; position: relative; z-index: 1; background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer small { color: var(--muted); font-size: 13px; }

/* mobile sticky CTA */
.mobile-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; display: none;
  transform: translateY(140%); transition: transform .7s var(--ease);
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.show { transform: none; }

/* ---------- work page ---------- */
.work-hero { padding: 160px 0 0; }
.work-hero .h1 { font-size: clamp(56px, 10vw, 150px); }
.work-head { display: flex; flex-direction: column; gap: 22px; }

.filters {
  position: sticky; top: 88px; z-index: 30;
  margin-top: 48px; padding: 10px 0 14px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.filters::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: linear-gradient(var(--bg) 60%, transparent);
  opacity: 0; transition: opacity .4s;
}
.filters.is-stuck::before { opacity: 1; }
.seg {
  position: relative; display: inline-flex; padding: 5px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow);
}
.seg-thumb { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--ink); transition: transform .7s var(--ease), width .7s var(--ease); z-index: 0; }
[data-theme="dark"] .seg-thumb { background: var(--btn-bg); box-shadow: 0 0 30px -6px rgba(63,200,255,.6); }
.seg button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; color: var(--ink-2);
  transition: color .5s var(--ease);
}
.seg button[aria-selected="true"] { color: var(--bg); }
[data-theme="dark"] .seg button[aria-selected="true"] { color: #02040a; }
.seg .ratio-ic { border: 1.6px solid currentColor; border-radius: 3px; opacity: .9; }
.seg .ratio-ic.l { width: 20px; height: 12px; }
.seg .ratio-ic.s { width: 11px; height: 18px; }
.seg .n { font-family: var(--font-mono); font-size: 12px; opacity: .6; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px;
  transition: color .3s, border-color .3s, background .3s;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.chip i { font-style: normal; font-family: var(--font-mono); font-size: 11px; opacity: .6; }

.grid { display: grid; gap: 28px 22px; margin-top: 26px; }
.grid.long { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.grid.short { grid-template-columns: repeat(auto-fill, minmax(min(46%, 230px), 1fr)); }

.card { position: relative; display: block; text-align: left; width: 100%; }
.card-media {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background: var(--bg-2); box-shadow: var(--card-shadow);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease), border-radius .8s var(--ease);
}
.grid.long .card-media { aspect-ratio: 16/9; }
.grid.short .card-media { aspect-ratio: 9/16; border-radius: var(--r-lg); }
.card:hover .card-media { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.card-media img, .card-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media img { transition: transform 1.4s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), transparent 30%, transparent 65%, rgba(0,0,0,.45)); pointer-events: none; }
.card-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.card-dur { position: absolute; right: 12px; bottom: 12px; z-index: 2; font-family: var(--font-mono); font-size: 11.5px; color: #fff; background: rgba(0,0,0,.55); padding: 3px 7px; border-radius: 6px; letter-spacing: .02em; }
.card-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; color: #0b0c0e; background: rgba(255,255,255,.92);
  transform: scale(.7); opacity: 0; transition: transform .6s var(--ease), opacity .4s var(--ease);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
}
.card-play svg { width: 20px; height: 20px; margin-left: 3px; }
.card:hover .card-play, .card:focus-visible .card-play { transform: scale(1); opacity: 1; }
[data-theme="dark"] .card-play { background: rgba(63,224,255,.92); box-shadow: 0 0 40px -4px rgba(63,224,255,.8); }
.card-body { padding: 16px 4px 0; }
.card-title { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); }
.card-client { margin-top: 4px; font-size: 14px; color: var(--muted); }
.grid.short .card-title { font-size: 15.5px; }

/* client brand badge (white rounded plate with the logo) */
.brand-tag {
  display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 9px; border-radius: 8px;
  background: #fff; color: #111; font-size: 12px; font-weight: 600; letter-spacing: -0.01em;
  box-shadow: 0 0 0 1px rgba(11,12,14,.08), 0 6px 16px -8px rgba(0,0,0,.35);
}
.brand-tag img { height: 13px; width: auto; max-width: 92px; object-fit: contain; display: block; }
.brand-tag.on-card { position: absolute; left: 12px; bottom: 12px; z-index: 2; }
.card-media .brand-tag img, .card:hover .card-media .brand-tag img { position: static; inset: auto; width: auto; height: 13px; transform: none; transition: none; }
.grid.short .card-media .brand-tag img { height: 12px; }
.grid.short .brand-tag.on-card { height: 24px; padding: 0 8px; }
.grid.short .brand-tag img { height: 12px; max-width: 78px; }
[data-theme="dark"] .brand-tag { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 6px 16px -8px #000; }

/* placeholder art for empty/sample slots */
.ph {
  display: grid; place-items: center; text-align: center; color: var(--muted);
  background:
    radial-gradient(80% 60% at 30% 20%, var(--accent-soft), transparent 70%),
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--ink) 3.5%, transparent) 14px 15px),
    var(--bg-2);
}
.ph-in { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; font-size: 13px; }
.ph-in svg { width: 28px; height: 28px; opacity: .6; }
.ph-in b { color: var(--ink-2); font-weight: 600; font-size: 13.5px; }

.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }

/* grid enter animation */
.grid .card { animation: cardIn .3s ease-out both; }
@keyframes cardIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- player modal ---------- */
.player { --pad: clamp(12px, 4vw, 56px); position: fixed; inset: 0; z-index: 100; display: none; padding: var(--pad); }
.player.open { display: grid; place-items: center; }
.player-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 12, .72); backdrop-filter: blur(16px) saturate(120%); -webkit-backdrop-filter: blur(16px) saturate(120%); opacity: 0; transition: opacity .3s var(--ease); }
[data-theme="dark"] .player-backdrop { background: rgba(1, 3, 8, .82); }
.player.show .player-backdrop { opacity: 1; }
.player-shell {
  position: relative; display: flex; flex-direction: column; max-width: 100%;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(12px) scale(.985);
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
[data-theme="dark"] .player-shell { background: #060a16; border-color: rgba(120,170,255,.18); box-shadow: 0 0 0 1px rgba(63,224,255,.06), 0 0 120px -40px rgba(63,160,255,.4); }
.player.show .player-shell { opacity: 1; transform: none; }
.player.long .player-shell { width: min(1180px, calc((100vh - 2 * var(--pad) - 130px) * 16 / 9)); width: min(1180px, calc((100dvh - 2 * var(--pad) - 130px) * 16 / 9)); }
.player-frame { position: relative; background: #000; flex: none; }
.player.long .player-frame { width: 100%; aspect-ratio: 16 / 9; }
.player.short .player-frame { height: min(calc(100vh - 2 * var(--pad) - 130px), 820px); height: min(calc(100dvh - 2 * var(--pad) - 130px), 820px); aspect-ratio: 9 / 16; }
.player-frame video, .player-frame iframe, .player-frame .ph { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player-frame video { object-fit: contain; }
.player-info { padding: 18px 24px 22px; display: flex; flex-direction: column; gap: 6px; }
.player.short .player-info { width: 0; min-width: 100%; padding: 16px 20px 18px; }
.player.short .player-title { font-size: 19px; }
.player-kicker { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .01em;
  background: var(--accent-soft); color: var(--accent);
}
.badge.neutral { background: var(--bg-2); color: var(--ink-2); font-weight: 500; }
[data-theme="dark"] .badge { border: 1px solid rgba(63,224,255,.25); }
[data-theme="dark"] .badge.neutral { border-color: var(--line); background: transparent; }
.badge-light { background: rgba(255,255,255,.92); color: #0b0c0e; }
[data-theme="dark"] .badge-light { background: rgba(3,6,14,.65); color: var(--accent); backdrop-filter: blur(8px); }
.player-title { margin: 0; font-family: var(--head-font); font-size: clamp(20px, 2vw, 26px); font-weight: var(--head-weight); letter-spacing: -0.03em; line-height: 1.2; }
.player-client { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; }
.player-client span { font-family: var(--label-font); font-size: 10.5px; font-weight: 500; letter-spacing: var(--label-track); text-transform: uppercase; color: var(--muted); padding: 3px 7px; border: 1px solid var(--line-2); border-radius: 6px; }
.player-close {
  position: absolute; top: 16px; right: 16px; z-index: 6; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px); transition: transform .5s var(--ease), background .3s;
}
.player-close:hover { transform: rotate(90deg); background: rgba(255,255,255,.22); }
.player-close svg { width: 18px; height: 18px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 50ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- view transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
html.theme-vt::view-transition-old(root), html.theme-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .bay-top { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1fr; }
  .book-copy { position: static; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { margin: 0 0 0 auto; }
  .nav-links a:nth-child(n+3) { display: none; }
  .format-sep { display: none; }
  .mobile-cta { display: block; }
  .nav .nav-cta { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .nav { padding: 10px 12px; }
  .nav-inner { height: 56px; padding: 0 8px 0 8px; gap: 6px; }
  .nav-links a { padding: 8px 10px; }
  .hero { padding-top: 128px; }
  .hero-orb { top: 560px; width: 1100px; }
  .stage-wrap { margin-top: 56px; }
  .phone { width: 30%; right: -1%; bottom: -14%; border-width: 3px; border-radius: 16px; }
  .phone .tag-glass { display: none; }
  .screen { border-radius: var(--r-md); }
  .screen-meta { left: 12px; bottom: 12px; right: 12px; }
  .screen-meta .watch-cta { display: none; }
  /* one short line that stays clear of the phone: "● Podcast — Behind The Brand…" */
  .screen-meta { right: 34%; }
  .screen-meta [data-stage-label] { display: block; max-width: 100%; height: 24px; line-height: 24px; padding: 0 10px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .screen-meta [data-stage-label] .dot { display: inline-block; width: 5px; height: 5px; margin-right: 6px; vertical-align: middle; }
  .screen-meta .lbl-fmt { display: none; }
  /* stats side by side, founder underneath */
  .stats { grid-auto-flow: row; grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .stat { padding: 18px 8px 16px; }
  .stat + .stat { border-left: 1px solid var(--line); border-top: 0; }
  .stat-v { font-size: 30px; }
  .stat-l { margin-top: 6px; font-size: 12.5px; }
  .stats .stat-founder { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 14px 8px 0; }
  .bay-top { padding: 12px; gap: 16px; }
  .bay-title { display: none; }
  .bay-bar { justify-content: space-between; }
  .bay-tl { grid-template-columns: 52px minmax(0, 1fr); }
  .tl-h { padding: 0 8px; font-size: 10px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
  .tl-track { height: 50px; }
  .tl-h:not(.tl-h-ruler):not(.tl-h-audio) { height: 50px; }
  .vt-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; justify-content: start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1) 36px; padding: 4px var(--gutter) 8px; scrollbar-width: none; }
  .vt { scroll-snap-align: start; }
  .quote { width: 300px; padding: 22px; }
  .quote p { font-size: 16.5px; }
  .sched { grid-template-columns: 1fr; padding: 18px; }
  .book { padding: 20px; }
  .filters { top: 74px; }
  .seg button { height: 44px; padding: 0 14px; font-size: 14.5px; gap: 8px; }
  .seg .n { display: none; }
  .player { --pad: 12px; }
  .player.long .player-shell { width: 100%; }
  .player.short .player-frame { height: min(calc(100vh - 200px), calc((100vw - 24px) * 16 / 9)); height: min(calc(100dvh - 200px), calc((100vw - 24px) * 16 / 9)); }
  .player.short .player-info, .player-info { width: 0; min-width: 100%; padding: 16px 18px 18px; }
  .player-close { top: 10px; right: 10px; }
  .faq-q { font-size: 16.5px; padding: 20px 0; }
  .faq-a p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track, .lw-track { animation: none; }
}
