/* Bith.AI · Company Profile 2026
   Layout and motion inspired by webangles.framer.website; colours are Bith's own
   (purple #6D5DD3, blue #5DA8D3, periwinkle buttons) and Poppins keeps it a sibling of the bith.ai app. */
:root {
  --bg: #000;
  --card: #0B0B0F;
  --card-2: #121218;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .14);
  --text: #fff;
  --text-2: rgba(255, 255, 255, .62);
  --text-3: rgba(255, 255, 255, .4);
  --purple: #6D5DD3;
  --purple-l: #9C8FF0;
  --blue: #5DA8D3;
  --peri: #6A80E8;
  --peri-d: #4E63D2;
  --brand: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  --glow: 109, 93, 211;
  --glow-b: 93, 168, 211;

  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "Noto Kufi Arabic", "Segoe UI", sans-serif;
  --pad: clamp(20px, 3vw, 40px);
  --radius: 22px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; scrollbar-color: #2A2A33 #000; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--purple); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
[lang="ar"], .ar { font-family: var(--arabic); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(1200px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--text-2); }

/* ---------- Type ---------- */
.h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.light { font-weight: 300; color: rgba(255, 255, 255, .78); }
.sub { max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.center-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-bottom: 56px; }
.center-head .h2 { max-width: 14em; }

/* ---------- Pills, chips, buttons ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: rgba(255, 255, 255, .85); }
.pill--lg { gap: 12px; padding: 8px 22px 8px 10px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; color: #fff; }
.pill--lg .pill__dot { width: 22px; height: 22px; }
.pill__dot { width: 18px; height: 18px; border-radius: 50%; flex: none; background: radial-gradient(circle at 50% 50%, #fff 0 2px, var(--purple) 3px 60%, var(--blue) 100%); box-shadow: 0 0 12px rgba(var(--glow), .9); }
.pill__tag { padding: 3px 10px; border-radius: 999px; background: var(--brand); font-size: 12px; font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: rgba(255, 255, 255, .85); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 10px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color .25s ease, box-shadow .25s ease, filter .25s ease; }
.btn .ic { width: 16px; height: 16px; }
.btn:active { transform: scale(.97); }
.btn--light { background: #EFEEEC; color: #131313; }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--brand { background: linear-gradient(180deg, var(--peri), var(--peri-d)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 24px rgba(106, 128, 232, .45); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: #fff; box-shadow: 0 0 28px rgba(255, 255, 255, .25); }
  .btn--glass:hover { background: rgba(255, 255, 255, .18); }
  .btn--brand:hover { filter: brightness(1.1); }
}

/* ---------- Cards: dark with a lit top edge ---------- */
.card, .flow-card, .tile, .stat, .training, .presets, .team__card { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.card::before, .flow-card::before, .stat::before, .training::before, .presets::before, .team__card::before {
  content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(156, 143, 240, .9), rgba(var(--glow-b), .8), transparent);
}

/* ---------- Placeholders ---------- */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; text-align: center; color: var(--text-3); background: linear-gradient(180deg, #16161D, #0D0D12); }
.ph .ic { width: 26px; height: 26px; stroke-width: 1.5; }
.ph__label { color: var(--text); font-size: 15px; font-weight: 500; }
.ph__note { font-size: 13px; color: var(--text-2); }
.t1 { background: radial-gradient(120% 120% at 25% 0%, #33287A 0%, #0E0C1C 100%); }
.t2 { background: radial-gradient(120% 120% at 75% 0%, #1D4466 0%, #0B1220 100%); }
.t3 { background: radial-gradient(120% 120% at 30% 10%, #2B2A6E 0%, #0B0B1A 100%); }
.t4 { background: radial-gradient(120% 120% at 70% 0%, #3E2A78 0%, #120C1C 100%); }
.t5 { background: radial-gradient(120% 120% at 40% 0%, #1E4A72 0%, #0B121E 100%); }
.t6 { background: radial-gradient(120% 120% at 60% 0%, #352C80 0%, #0E0B1E 100%); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal-blur { opacity: 0; transform: translateY(18px); filter: blur(14px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in, .js .reveal-blur.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s ease, box-shadow .3s ease; }
.nav.is-scrolled { background: rgba(0, 0, 0, .7); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; max-width: calc(1200px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.nav__logo img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 30px; font-size: 15px; color: var(--text-2); }
.nav__links a { transition: color .2s ease; }
.nav__links a:hover { color: var(--text); }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.menu { display: flex; flex-direction: column; padding: 8px var(--pad) 22px; background: rgba(0, 0, 0, .94); font-size: 18px; transition: opacity .2s ease, transform .25s var(--ease-out); }
.menu[hidden] { display: none; }
@starting-style { .menu { opacity: 0; transform: translateY(-6px); } }
.menu a { padding: 10px 0; color: var(--text-2); }


/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: clamp(110px, 14vh, 150px) 0 0; overflow: hidden; isolation: isolate; text-align: center; }
.hero::before { content: ""; position: absolute; left: 50%; bottom: -30%; z-index: -1; width: 120%; height: 80%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--glow), .3), rgba(var(--glow-b), .08) 60%, transparent); filter: blur(30px); pointer-events: none; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__title { margin-top: 26px; font-size: clamp(38px, 6.2vw, 84px); font-weight: 600; line-height: 1.04; letter-spacing: -.05em; }
.hero__title span { display: block; }
.hero__title .light { font-size: .68em; font-weight: 300; letter-spacing: -.04em; color: #fff; margin-bottom: .1em; }
.hero__sub { max-width: 580px; margin: 24px auto 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* Gallery wheel: main.js places each card on a large circle and turns it; drag or scroll to spin */
.gallery { --cw: clamp(150px, 17vw, 250px); position: relative; flex: 1; min-height: calc(var(--cw) * 1.25 + 120px); margin-top: clamp(28px, 5vh, 56px); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.gallery.is-dragging { cursor: grabbing; }
.g-card { position: absolute; left: 50%; top: 0; width: var(--cw); aspect-ratio: 4 / 5; margin-left: calc(var(--cw) / -2); overflow: hidden; border-radius: 20px; transform-origin: 50% 50%; box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 60px -24px rgba(0, 0, 0, .95); will-change: transform; }
.g-card img, .g-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.g-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .07) 50%, transparent 65%); background-size: 250% 100%; animation: sheen 5s ease-in-out infinite; pointer-events: none; }
.g-card:nth-child(odd)::after { animation-delay: -2.5s; }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.g-card .ph__label { font-size: 13px; color: var(--text-2); font-weight: 400; }

/* ---------- Logo walls ---------- */
.logos { position: relative; padding-top: clamp(40px, 5vw, 64px); }
.logos__title { text-align: center; font-size: 15px; font-weight: 400; color: var(--text-2); }
.logos__grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 34px 52px; margin-top: 34px; }
.logos__grid img { height: 36px; width: auto; max-width: 130px; object-fit: contain; opacity: .6; filter: grayscale(1); transition: opacity .25s ease; }
.logos__grid li:hover img { opacity: 1; }
.logos--investors { padding-top: clamp(120px, 12vw, 170px); }
.logos__grid--investors img { height: 42px; max-width: 150px; }
.logos__more { margin-top: 28px; text-align: center; color: var(--text-3); font-size: 14px; }

.section { padding-top: clamp(120px, 12vw, 180px); }

/* ---------- 800K: pinned, placeholders drift past ---------- */
.visuals { position: relative; height: 240vh; margin-top: clamp(80px, 8vw, 120px); }
.visuals__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.visuals__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 620px; padding: 0 24px; text-align: center; }
.visuals__count { margin-top: 18px; font-size: clamp(76px, 12vw, 172px); font-weight: 600; line-height: 1; letter-spacing: -.06em; background: linear-gradient(180deg, #fff 35%, var(--purple-l) 70%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.visuals__copy .h2 { margin-top: 4px; }
.visuals__copy .sub { margin-top: 14px; }
.visuals__field { position: absolute; inset: 0; }
.float { position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: var(--ar, 3 / 4); background: #0E0E14; object-fit: cover; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -20px rgba(0, 0, 0, .9); will-change: transform; }
.float.ph .ic { opacity: .7; }

/* ---------- Story: pinned; year rolls, mini UI changes ---------- */
.story { position: relative; height: 300vh; }
.story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.story__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story__left .h2 { margin-top: 18px; font-size: clamp(30px, 3.4vw, 46px); }
.year { height: 1em; overflow: hidden; margin-top: 22px; font-size: clamp(72px, 9vw, 132px); font-weight: 600; line-height: 1; letter-spacing: -.06em; }
.year__strip { display: flex; flex-direction: column; transition: transform .8s var(--ease-out); }
.year__strip span { display: block; height: 1em; background: linear-gradient(180deg, #fff 25%, var(--purple-l) 70%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps { display: grid; margin-top: 18px; }
.step { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s var(--ease-out); }
.step.is-active { opacity: 1; transform: none; }
.step h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.step p { margin-top: 6px; max-width: 42ch; color: var(--text-2); }
.story__progress { width: 200px; height: 3px; margin-top: 26px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.story__progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--brand); }

/* ---------- Mini UI kit: separated, minimal pieces of the product ---------- */
.minis { position: relative; aspect-ratio: 5 / 4; }
.minis::before { content: ""; position: absolute; inset: 8% 4%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--glow), .4), rgba(var(--glow-b), .12) 60%, transparent); filter: blur(30px); }
.mini { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(20px) scale(.97); transition: opacity .6s ease, transform .8s var(--ease-out), visibility 0s linear .6s; }
.mini.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .8s var(--ease-out), visibility 0s; }
.m-card { position: absolute; padding: 14px; border-radius: 16px; background: linear-gradient(180deg, #17171F, #0E0E14); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 50px -20px rgba(0, 0, 0, .95); font-size: 12px; animation: m-float 7s ease-in-out infinite; }
.m-card:nth-child(2) { animation-delay: -2.3s; }
.m-card:nth-child(3) { animation-delay: -4.6s; }
@keyframes m-float { 50% { transform: translateY(-6px); } }
.m-title { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-size: 12px; font-weight: 500; color: var(--text-2); }
.m-title .ic { width: 14px; height: 14px; color: var(--purple-l); }
.m-badge { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .65); font-size: 10px; }
.m-btn { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; background: linear-gradient(180deg, var(--peri), var(--peri-d)); font-size: 12px; font-weight: 500; box-shadow: 0 0 24px rgba(106, 128, 232, .5); animation: m-float 6s ease-in-out infinite -1s; }
.m-btn .ic { width: 14px; height: 14px; }
.m-typing { min-height: 3.2em; overflow: hidden; line-height: 1.6; color: #fff; font-size: 12.5px; clip-path: inset(0 100% 0 0); animation: type 6s steps(40, end) infinite; }
.m-typing[dir="rtl"] { clip-path: inset(0 0 0 100%); animation-name: type-rtl; }
@keyframes type { 0% { clip-path: inset(0 100% 0 0); } 55%, 90% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes type-rtl { 0% { clip-path: inset(0 0 0 100%); } 55%, 90% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
/* Waveform as an audio player: a dim row of bars across the card, and a lit copy that fills left to right as if playing.
   main.js draws the bars (same shape every time) */
.m-wave { position: relative; width: 100%; min-width: 0; height: 20px; }
.m-wave__bars { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; }
.m-wave__bars i { flex: none; width: 2px; height: var(--h); border-radius: 2px; background: rgba(255, 255, 255, .2); }
.m-wave__bars--fill { clip-path: inset(0 100% 0 0); animation: wave-play var(--dur, 7s) linear infinite; animation-delay: var(--delay, 0s); }
.m-wave__bars--fill i { background: linear-gradient(180deg, var(--purple-l), var(--blue)); }
@keyframes wave-play { 0% { clip-path: inset(0 100% 0 0); } 92%, 100% { clip-path: inset(0 0 0 0); } }
.m-select { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.m-select span { font-size: 13px; }
.m-select small { color: var(--text-3); font-size: 11px; }
.m-select .ic { width: 14px; height: 14px; margin-left: auto; color: var(--text-3); }

/* editor */
.mini--editor .m-preview { left: 33%; top: 2%; width: 27%; aspect-ratio: 9 / 16; padding: 0; overflow: hidden; }
.mini--editor .m-preview img, .mini--editor .m-preview video { width: 100%; height: 100%; object-fit: cover; }
.mini--editor .m-subs { left: 0; top: 10%; width: 30%; }
.m-subs__win { height: 196px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.m-subs__list { display: grid; gap: 7px; padding: 1px; transition: transform .5s var(--ease-out); }
.m-row { display: grid; gap: 3px; padding: 7px 8px; border-radius: 8px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s ease, box-shadow .3s ease; }
.m-row.is-on { background: rgba(var(--glow), .16); box-shadow: inset 0 0 0 1px rgba(156, 143, 240, .8); }
.m-time { font-size: 10px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.m-text { font-size: 11.5px; line-height: 1.5; text-align: right; color: var(--text-2); }
.m-row.is-on .m-text { color: #fff; }

/* caption style settings */
.mini--editor .m-style { right: 0; top: 15%; width: 36%; padding: 16px; }
.m-style .m-title { margin-bottom: 6px; }
.m-set { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 0; }
.m-set + .m-set { border-top: 1px solid var(--line); }
.m-set > span:first-child { width: 4.6em; flex: none; color: var(--text-3); font-size: 11px; }
.m-field { flex: 1; display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 7px; background: rgba(255, 255, 255, .05); font-size: 11px; font-weight: 500; }
.m-field .ic { width: 12px; height: 12px; margin-left: auto; color: var(--text-3); }
.m-slider { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.m-slider i { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; border-radius: 2px; background: var(--brand); }
.m-slider i::after { content: ""; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(var(--glow), .9); }
.m-val { width: 2.2em; font-size: 11px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.m-swatches { display: flex; gap: 11px; }
.m-swatches i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
.m-swatches .is-on { box-shadow: 0 0 0 2px #0E0E14, 0 0 0 3.5px var(--purple-l); }
.m-seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: 8px; background: rgba(255, 255, 255, .05); }
.m-seg i { display: grid; place-items: center; min-width: 24px; height: 22px; padding: 0 4px; border-radius: 6px; color: var(--text-3); font-size: 10.5px; font-style: normal; }
.m-seg .ic { width: 13px; height: 13px; }
.m-seg .is-on { background: var(--brand); color: #fff; }
.mini--editor .m-timeline { left: 6%; right: 0; bottom: 4%; padding: 12px 14px 14px; }
.m-tools { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.m-tools span { width: 18px; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.m-tools b { margin-left: auto; font-size: 10px; font-weight: 500; color: var(--purple-l); }
.m-track { height: 26px; border-radius: 6px; }
.m-track--video { background: repeating-linear-gradient(90deg, #3B3550 0 22px, #2B2A3F 22px 24px); box-shadow: inset 0 0 0 1px rgba(156, 143, 240, .5); }
.m-track--subs { display: flex; gap: 6px; margin-top: 8px; height: 16px; }
.m-track--subs i { flex: var(--f, 1); border-radius: 4px; background: rgba(240, 180, 70, .45); transition: background-color .3s ease, box-shadow .3s ease; }
.m-track--subs i.is-on { background: rgba(255, 200, 90, .95); box-shadow: 0 0 10px rgba(255, 200, 90, .6); }
/* main.js moves the playhead with the video (--p from 0 to 1) */
.m-playhead { position: absolute; top: 34px; bottom: 10px; width: 2px; left: calc(14px + (100% - 30px) * var(--p, 0)); background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .8); }
.mini--editor .m-export { right: 2%; top: 2%; }

/* shorts: a video idea typed into an input, a voice, the finished vertical video */
.m-input { position: relative; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(156, 143, 240, .45), 0 0 18px -6px rgba(var(--glow), .6); }
.m-input .m-typing { min-height: 0; }
.m-idea .m-opts { margin-top: 10px; }
.mini--shorts .m-idea { left: 0; top: 6%; width: 52%; }
.mini--shorts .m-voice { left: 6%; top: 56%; width: 42%; }
.mini--shorts .m-vertical { right: 6%; top: 0; width: 30%; aspect-ratio: 9 / 16; padding: 0; overflow: hidden; }
.mini--shorts .m-vertical img, .mini--shorts .m-vertical video { width: 100%; height: 100%; object-fit: cover; }

/* playground: an open model picker; the selection moves through the top video models */
.mini--playground .m-picker { left: 0; top: 4%; width: 31%; padding: 8px; z-index: 2; }
.m-model__head { display: flex; align-items: center; gap: 8px; padding: 6px 6px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.m-model__head b { font-size: 13px; font-weight: 500; white-space: nowrap; }
.m-model__head .ic { width: 14px; height: 14px; margin-left: auto; color: var(--text-3); transform: rotate(180deg); }
.m-picker img { width: 16px; height: 16px; flex: none; filter: invert(1); }
.m-model__list { display: grid; gap: 2px; }
.m-model__list li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--text-2); transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.m-model__list b { font-size: 12px; font-weight: 500; white-space: nowrap; }
.m-model__list .is-on { background: rgba(var(--glow), .2); color: #fff; box-shadow: inset 0 0 0 1px rgba(156, 143, 240, .55); }
.mini--playground .m-results { left: 35%; right: 0; top: 4%; }
.mini--playground .m-prompt { left: 8%; right: 12%; bottom: 4%; }
.m-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.m-opts span { padding: 5px 9px; border-radius: 7px; background: rgba(255, 255, 255, .06); font-size: 11px; color: var(--text-2); }
.m-opts .m-go { margin-left: auto; padding: 7px 14px; background: linear-gradient(180deg, var(--peri), var(--peri-d)); color: #fff; font-weight: 500; }
.m-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
.m-results span { position: relative; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #15151D; }
.m-results img, .m-results video, .m-results .ph { width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: reveal-img 6s infinite; animation-delay: var(--d); }
.m-results .ph { padding: 0; }
.m-results .ph .ic { width: 18px; height: 18px; }
.m-results span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(156, 143, 240, .25) 50%, transparent 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes reveal-img { 0%, 25% { opacity: 0; filter: blur(8px); } 40%, 92% { opacity: 1; filter: none; } 100% { opacity: 0; } }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* ---------- Team ---------- */
.team { padding-top: clamp(100px, 10vw, 150px); }
.lit-text { max-width: 22em; margin: 0 auto; text-align: center; font-size: clamp(26px, 3.2vw, 44px); font-weight: 500; line-height: 1.3; letter-spacing: -.03em; }
.lit-text .w { color: rgba(255, 255, 255, .16); transition: color .3s ease; }
.lit-text .w.is-lit { color: #fff; }
.team__card { margin-top: 64px; overflow: hidden; }
.team__photo { position: relative; aspect-ratio: 16 / 9; }
.team__photo .ph, .team__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(60px, 8vw, 120px) clamp(20px, 3vw, 40px) clamp(18px, 2.6vw, 34px); background: linear-gradient(transparent, rgba(0, 0, 0, .85)); font-size: clamp(24px, 3.4vw, 48px); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; }

/* ---------- What we do: the journey slider ---------- */
.journey { max-width: 980px; margin: 0 auto; }
.journey__rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); }
.journey__step { display: grid; justify-items: start; gap: 4px; padding: 0 0 4px; text-align: left; color: var(--text-3); transition: color .4s ease; }
.journey__step.is-on, .journey__step.is-done { color: #fff; }
.journey__num { font-size: 13px; font-weight: 500; color: var(--purple-l); font-variant-numeric: tabular-nums; }
.journey__name { font-size: clamp(22px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.journey__bar { width: 100%; height: 3px; margin-top: 12px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.journey__bar i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--brand); }
.journey__step.is-done .journey__bar i { transform: scaleX(1); }
.journey__step.is-on .journey__bar i { animation: journey-fill var(--dur, 4.5s) linear forwards; }
.journey.is-paused .journey__step.is-on .journey__bar i { animation-play-state: paused; }
@keyframes journey-fill { to { transform: scaleX(1); } }
.journey__panes { display: grid; margin-top: clamp(22px, 3vw, 34px); }
.journey__pane { grid-area: 1 / 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: clamp(20px, 3vw, 30px); border-radius: var(--radius); background: radial-gradient(70% 140% at 0% 0%, rgba(var(--glow), .16), transparent 60%), var(--card); box-shadow: inset 0 0 0 1px var(--line); animation: pane-in .6s var(--ease-out); }
.journey__pane[hidden] { display: none; }
@keyframes pane-in { from { opacity: 0; transform: translateX(18px); } }
.journey__pane p { flex: 1 1 340px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; letter-spacing: -.02em; }
.journey__go { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .25s ease, transform 160ms var(--ease-out); }
.journey__go:active { transform: scale(.97); }
.journey__go .ic { width: 15px; height: 15px; transform: rotate(90deg); }
@media (hover: hover) and (pointer: fine) { .journey__step:hover { color: #fff; } .journey__go:hover { background: rgba(255, 255, 255, .14); } }

/* Chapter heads inside What we do */
.chapter { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: clamp(100px, 10vw, 140px) 0 40px; text-align: center; scroll-margin-top: 140px; }

/* Follow bar: stays under the nav while you're inside What we do */
.follow { position: fixed; left: 50%; top: 80px; z-index: 40; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(12, 12, 18, .78); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px -10px rgba(0, 0, 0, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: translate(-50%, -10px); opacity: 0; visibility: hidden; transition: opacity .35s ease, transform .45s var(--ease-out), visibility 0s linear .35s; }
.follow.is-shown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .35s ease, transform .45s var(--ease-out), visibility 0s; }
.follow__label { padding: 0 12px 0 10px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.follow__step { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; overflow: hidden; font-size: 13px; color: var(--text-3); white-space: nowrap; transition: color .3s ease, background-color .3s ease; }
.follow__num { font-size: 11px; color: var(--purple-l); }
.follow__step.is-on { color: #fff; background: rgba(var(--glow), .22); }
.follow__step i { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--brand); }

/* ---------- Workflow cards stack ---------- */
.stack { display: grid; gap: 28px; }
.flow-card { position: sticky; top: calc(140px + var(--n, 0) * 16px); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center; min-height: min(560px, calc(100svh - 200px)); padding: clamp(24px, 3.5vw, 48px); border-radius: 28px; background: linear-gradient(180deg, #0F0F15 0%, #08080B 100%); box-shadow: inset 0 0 0 1px var(--line), 0 -20px 60px -20px rgba(0, 0, 0, .95); transform-origin: 50% 0; will-change: transform; overflow: hidden; }
.flow-card::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(var(--glow), .18), transparent); pointer-events: none; }
.flow-card h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.flow-card p { color: var(--text-2); }
.flow-card__text > p:not(.pill) { margin-top: 14px; font-size: 17px; }
.flow-card__visual { position: relative; z-index: 1; min-width: 0; }
.ticks { display: grid; gap: 10px; margin-top: 22px; }
.ticks li { position: relative; padding-left: 26px; color: rgba(255, 255, 255, .8); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 13px; height: 7px; border-left: 2px solid var(--purple-l); border-bottom: 2px solid var(--purple-l); transform: rotate(-45deg); }

.phone { position: relative; width: 30%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 4px #0A0A0E, 0 0 0 5px var(--line-2), 0 30px 60px -20px rgba(0, 0, 0, .95); }
.phone video, .phone .ph { width: 100%; height: 100%; object-fit: cover; }
.ugc { display: flex; justify-content: center; align-items: center; gap: 14px; }
.phone--lead { width: 36%; z-index: 1; box-shadow: 0 0 0 4px #0A0A0E, 0 0 0 5px rgba(156, 143, 240, .6), 0 0 60px -10px rgba(var(--glow), .6), 0 30px 60px -20px rgba(0, 0, 0, .95); }

.shorts-flow { position: relative; aspect-ratio: 5 / 4; }
.shorts-flow .m-idea { left: 0; top: 6%; width: 54%; }
.shorts-flow .m-voice { left: 6%; top: 56%; width: 44%; }
.shorts-flow__phone { position: absolute; right: 4%; top: 0; width: 38%; z-index: 1; box-shadow: 0 0 0 4px #0A0A0E, 0 0 0 5px rgba(156, 143, 240, .6), 0 0 60px -10px rgba(var(--glow), .6); }

.resize { display: grid; grid-template-columns: 1.7fr .62fr 1fr; align-items: end; gap: 12px; }
.resize__f { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px -20px rgba(0, 0, 0, .9); transition: box-shadow .5s ease, transform .5s var(--ease-out); }
.resize__f video { width: 100%; height: 100%; object-fit: cover; }
.resize__f--wide { aspect-ratio: 16 / 9; }
.resize__f--tall { aspect-ratio: 9 / 16; }
.resize__f--square { aspect-ratio: 1; }
.resize__f.is-on { box-shadow: 0 0 0 2px var(--purple-l), 0 0 40px -6px rgba(var(--glow), .8); transform: translateY(-6px); }
.resize__f figcaption { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .7); font-size: 11px; font-weight: 500; }
.resize__sub { position: absolute; left: 6px; right: 6px; bottom: 8px; text-align: center; font-size: 11px; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, .9); }
.resize__sub[lang="ar"] { font-size: 11px; }

.clipper { display: grid; grid-template-columns: 1fr .42fr; align-items: center; gap: 16px; }
.clipper__long { position: relative; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); }
.clipper__long video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.clipper__crop { position: absolute; top: 0; height: calc(100% - 44px); left: 52%; width: 31.6%; border-radius: 6px; box-shadow: 0 0 0 2px var(--purple-l), 0 0 0 9999px rgba(0, 0, 0, .5), 0 0 24px rgba(var(--glow), .7); }
.clipper__crop b { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); padding: 2px 8px; border-radius: 6px; background: var(--purple); font-size: 10px; font-weight: 500; }
.clipper__tag { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 8px; background: rgba(0, 0, 0, .7); font-size: 12px; }
.clipper__tag .ic { width: 13px; height: 13px; }
.clipper__track { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: #0A0A0E repeating-linear-gradient(90deg, #26262E 0 3px, transparent 3px 7px); background-clip: content-box; padding: 10px; }
.clipper__track i { position: absolute; top: 7px; bottom: 7px; left: var(--l); width: var(--w); border-radius: 5px; background: rgba(var(--glow), .35); box-shadow: inset 0 0 0 2px var(--purple-l); }
.clipper__head { position: absolute; top: 4px; bottom: 4px; width: 2px; background: #fff; animation: playhead 6s linear infinite; }
@keyframes playhead { from { left: 10px; } to { left: calc(100% - 10px); } }
.clipper__out { width: 100%; }
.clipper__out video { object-position: 68% 50%; }
.clipper__out figcaption { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 7px; background: rgba(0, 0, 0, .7); font-size: 11px; }
.clipper__out figcaption .ic { width: 12px; height: 12px; }
.clipper__cap { position: absolute; left: 8px; right: 8px; bottom: 22%; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.5; text-shadow: 0 2px 6px rgba(0, 0, 0, .9); }
.clipper__cap span { opacity: .25; animation: word 4s infinite; }
.clipper__cap span:nth-child(2) { animation-delay: .5s; } .clipper__cap span:nth-child(3) { animation-delay: 1s; } .clipper__cap span:nth-child(4) { animation-delay: 1.5s; }
@keyframes word { 0%, 8% { opacity: .25; color: #fff; } 12%, 80% { opacity: 1; color: #FFE27A; } 100% { opacity: .25; } }

/* ---------- Presets as moving tags ---------- */
.presets { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center; margin-top: 28px; padding: clamp(24px, 3.5vw, 44px); overflow: hidden; }
.presets__head .muted { margin-top: 10px; }
.tags { display: grid; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tags__row { display: flex; overflow: hidden; }
.tags__track { display: flex; gap: 12px; padding-right: 12px; flex: none; animation: slide 28s linear infinite; }
.tags__row--rev .tags__track { animation-direction: reverse; animation-duration: 32s; }
@keyframes slide { to { transform: translateX(-100%); } }
.tag { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 12px; border-radius: 14px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 16px; font-weight: 500; white-space: nowrap; }

/* ---------- Playground bento ---------- */
.pg-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-bento > .card { padding: 24px; }
/* the two lower cards line their titles up at the bottom, so neither has a hole in the middle */
.pg-bento > .modes, .pg-bento > .mcp { display: flex; flex-direction: column; }
.pg-bento h3 { margin-top: auto; padding-top: 20px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.m-model__list[hidden] { display: none; }
.pg-bento .card > p { margin-top: 6px; color: var(--text-2); font-size: 15px; }

.hub { grid-column: 1 / -1; aspect-ratio: 1000 / 380; padding: 0 !important; overflow: hidden; background: radial-gradient(40% 70% at 50% 50%, rgba(var(--glow), .3), rgba(var(--glow-b), .08) 60%, transparent 80%), var(--card); }
.hub__rings { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.hub__rings ellipse { stroke: rgba(156, 143, 240, .14); stroke-width: 1; stroke-dasharray: 3 6; }
.hub__rings .wire { stroke: rgba(156, 143, 240, .22); stroke-width: 1.5; }
.hub__rings .flow { stroke: #D6D2FF; stroke-width: 2.2; stroke-dasharray: 16 520; animation: wire 3.2s linear infinite; filter: drop-shadow(0 0 5px rgba(var(--glow), 1)); }
.hub__rings .flow--b { animation-delay: 1.1s; stroke: #BFE3F7; filter: drop-shadow(0 0 5px rgba(var(--glow-b), 1)); }
.hub__rings .flow--c { animation-delay: 2.2s; }
@keyframes wire { from { stroke-dashoffset: 536; } to { stroke-dashoffset: 0; } }
.model {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 4px; min-width: clamp(84px, 9vw, 116px); padding: 12px 12px 10px;
  border-radius: 18px; background: linear-gradient(160deg, #23232E, #0F0F15); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px var(--line-2), 0 18px 40px -16px rgba(0, 0, 0, .9);
  animation: bob 6s ease-in-out infinite;
}
.model:nth-of-type(even) { animation-delay: -3s; }
@keyframes bob { 50% { transform: translate(-50%, calc(-50% - 6px)); } }
.model img { width: clamp(22px, 2.4vw, 30px); height: clamp(22px, 2.4vw, 30px); margin-bottom: 4px; filter: invert(1); }
.model b { font-size: 13px; font-weight: 600; white-space: nowrap; }
.model small { font-size: 11px; color: var(--text-2); white-space: nowrap; }
.hub__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: clamp(96px, 12vw, 150px); aspect-ratio: 1; border-radius: 30%;
  background: linear-gradient(150deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05));
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), inset 0 0 0 1px rgba(255, 255, 255, .25), 0 0 50px rgba(var(--glow), .6), 0 0 120px rgba(var(--glow-b), .3);
}
.hub__core::before { content: ""; position: absolute; inset: -30%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--glow), .7), rgba(var(--glow-b), .2) 70%, transparent); filter: blur(10px); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; transform: scale(.9); } }
.hub__core img { width: 46%; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .5)); }
.hub__more { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); font-size: 13px; color: var(--text-2); white-space: nowrap; }

/* image / video / audio card */
.modes__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.modes__tabs span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; font-size: 13px; color: var(--text-2); transition: background-color .3s ease, color .3s ease; }
.modes__tabs .ic { width: 14px; height: 14px; }
.modes__tabs .is-on { background: var(--brand); color: #fff; }
.modes__panes { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; margin-top: 14px; }
.pane-m { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s ease, transform .6s var(--ease-out), visibility 0s linear .5s; }
.pane-m.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .6s var(--ease-out), visibility 0s; }
/* one stage size for all three panes */
.modes__stage { position: relative; aspect-ratio: 16 / 6; border-radius: 12px; overflow: hidden; }
.modes__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; border-radius: 0; }
.modes__grid > * { min-height: 0; border-radius: 10px; object-fit: cover; width: 100%; height: 100%; }
.modes__grid > .m-badge { width: auto; height: auto; border-radius: 6px; z-index: 1; }
.modes__video { background: #000; }
.modes__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.modes__audio { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 2px; border-radius: 0; }
.voice { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.voice .m-wave { justify-self: stretch; }
.model .ic { width: clamp(22px, 2.4vw, 30px); height: clamp(22px, 2.4vw, 30px); margin-bottom: 4px; stroke-width: 1.6; }
.m-model .ic { width: 13px; height: 13px; }
.voice__play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); }
.voice__play .ic { width: 13px; height: 13px; fill: #fff; stroke: none; }
.voice b { display: block; font-size: 14px; font-weight: 600; }
.voice small { color: var(--text-3); font-size: 11px; }
.modes__prompt { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.m-model { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 7px; background: rgba(255, 255, 255, .07); color: #fff; font-size: 12px; flex: none; }
.m-model img { width: 13px; height: 13px; filter: invert(1); }
.modes__prompt .m-model__head { gap: 6px; padding: 0; margin: 0; border: 0; }
.modes__prompt .m-model__head b { font-size: 12px; font-weight: 400; }
.modes__prompt .m-model__head .ic { width: 12px; height: 12px; transform: none; }

/* MCP card */
.mcp__chat { display: grid; gap: 10px; }
.mcp__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mcp__logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #1A1A22; box-shadow: inset 0 0 0 1px var(--line-2); }
.mcp__logo img { width: 22px; height: 22px; filter: invert(56%) sepia(46%) saturate(860%) hue-rotate(332deg) brightness(95%); }
.mcp__logo--gpt img { filter: invert(1); }
.mcp__logo--bith { background: var(--brand); box-shadow: 0 0 24px rgba(var(--glow), .6); }
.mcp__logo--bith img { width: 20px; height: 20px; filter: none; }
.mcp__plus { color: var(--text-3); }
.mcp__link { flex: 1; display: flex; justify-content: space-around; height: 2px; border-radius: 2px; background: rgba(156, 143, 240, .25); }
.mcp__link i { width: 6px; height: 6px; margin-top: -2px; border-radius: 50%; background: #D6D2FF; box-shadow: 0 0 8px rgba(var(--glow), 1); animation: link 1.6s linear infinite; }
.mcp__link i:nth-child(2) { animation-delay: .53s; } .mcp__link i:nth-child(3) { animation-delay: 1.06s; }
@keyframes link { 0% { opacity: 0; transform: translateX(-30px); } 30%, 70% { opacity: 1; } 100% { opacity: 0; transform: translateX(30px); } }
.bubble { max-width: 88%; padding: 10px 12px; border-radius: 14px; font-size: 13px; opacity: 0; animation: chat 9s infinite; }
.bubble--me { justify-self: end; background: rgba(255, 255, 255, .08); border-bottom-right-radius: 4px; }
.bubble--tool { display: flex; align-items: center; gap: 10px; background: rgba(var(--glow), .14); box-shadow: inset 0 0 0 1px rgba(156, 143, 240, .4); animation-delay: 1.2s; }
.bubble--result { display: flex; align-items: center; gap: 12px; padding: 8px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); animation-delay: 3.2s; }
.bubble__thumb { display: block; flex: none; width: 58px; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: #000; }
.bubble__thumb video { width: 100%; height: 100%; object-fit: cover; }
.bubble--result span { font-size: 12px; color: var(--text-2); }
@keyframes chat { 0% { opacity: 0; transform: translateY(8px); } 6%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.tool__dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE9B; box-shadow: 0 0 8px #4ADE9B; }
.tool__bar { flex: 1; min-width: 60px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.tool__bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; background: var(--brand); animation: fillbar 9s infinite 1.2s; }
@keyframes fillbar { 0% { transform: scaleX(0); } 20%, 100% { transform: scaleX(1); } }

/* ---------- Agency bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { overflow: hidden; min-height: 300px; }
.tile--legends { grid-column: span 2; grid-row: span 2; }
.tile--reels { grid-column: span 2; }
.tile--full { grid-column: 1 / -1; min-height: 360px; }
.reels { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 2px; }
.reels > * { min-height: 0; }
.reels video, .reels img { width: 100%; height: 100%; object-fit: cover; }
.tile__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .9)); pointer-events: none; }
.tile__label b { display: block; font-size: 17px; font-weight: 600; }
.tile__label span { display: block; font-size: 13px; color: var(--text-2); }
.tile__logos { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; z-index: 1; }
.tile__logos > img { height: 40px; width: auto; padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .7); object-fit: contain; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.icon-chip { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(0, 0, 0, .7); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.icon-chip img { width: 26px; height: 26px; object-fit: contain; }
.icon-chip--light { background: rgba(255, 255, 255, .94); }

.trailer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #000; }
.trailer img, video.trailer { width: 100%; height: 100%; object-fit: cover; }
video.trailer { object-fit: contain; }
.trailer img { transition: transform 1.2s var(--ease-out); }
.trailer__play { position: absolute; left: 50%; top: 46%; width: 84px; height: 84px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 40px rgba(var(--glow), .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .3s var(--ease-out), background-color .3s ease; }
.trailer__play::after { content: ""; position: absolute; left: 34px; top: 27px; width: 22px; height: 30px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.trailer__hint { position: absolute; left: 50%; top: calc(46% + 62px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.trailer__hint .ic { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) {
  .trailer:hover img { transform: scale(1.04); }
  .trailer:hover .trailer__play { transform: translate(-50%, -50%) scale(1.08); background: rgba(255, 255, 255, .22); }
}

/* ---------- Training ---------- */
.training { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 4vw, 56px); background: radial-gradient(70% 90% at 0% 0%, rgba(var(--glow), .14), transparent 60%), var(--card); }
.training__big { margin: 20px 0 28px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; line-height: 1.35; letter-spacing: -.03em; }
.training__points { display: grid; gap: 14px; }
.training__points li { display: flex; gap: 18px; align-items: flex-start; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--line); }
.training__points .icon-tile { margin: 0; flex: none; }
.training__points h4 { font-size: 16px; font-weight: 600; }
.training__points p { margin-top: 4px; font-size: 14px; color: var(--text-2); }
.trained { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.trained__label { font-size: 13px; color: var(--text-3); }
.trained__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin-top: 16px; }
.trained__logos img { height: 34px; width: auto; max-width: 120px; object-fit: contain; opacity: .85; }

/* ---------- Icon tiles ---------- */
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 12px; color: #fff; background: var(--brand); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 24px rgba(var(--glow), .5); flex: none; }
.icon-tile .ic { width: 20px; height: 20px; }
.icon-tile--type { gap: 3px; font-size: 16px; font-weight: 600; line-height: 1; }
.icon-tile--type .ar { font-size: 17px; transform: translateY(-2px); }

/* ---------- Numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: 200px; padding: 26px; }
.stat--wide { grid-column: span 2; background: radial-gradient(80% 120% at 100% 0%, rgba(var(--glow), .22), transparent 60%), var(--card); }
.stat--accent { background: var(--brand); box-shadow: 0 0 40px -10px rgba(var(--glow), .7); }
.stat__num { font-size: clamp(40px, 4.4vw, 62px); font-weight: 600; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 15px; color: var(--text-2); max-width: 26ch; }
.stat--accent .stat__label { color: rgba(255, 255, 255, .88); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why__card { padding: 28px 24px; }
.why__card h4 { font-size: 18px; font-weight: 600; }
.why__card p { margin-top: 6px; font-size: 15px; color: var(--text-2); }

/* ---------- Founder ---------- */
/* Two photos across the top (Omar with The Garage sign, then the full room), then the name on the left and his story on the right */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px clamp(28px, 4vw, 56px); padding: 20px; align-items: start; }
.founder__photos { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; height: clamp(240px, 30vw, 400px); }
.founder__photo { position: relative; min-height: 0; overflow: hidden; border-radius: 16px; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__photo--main img { object-position: 92% 40%; }
.founder__photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 8px; background: rgba(0, 0, 0, .7); font-size: 13px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.founder__head { padding: 0 0 16px 16px; }
.founder__head .h2 { margin-top: 18px; font-size: clamp(30px, 3.4vw, 46px); }
.founder__head .btn { margin-top: 26px; }
.founder__role { margin-top: 8px; font-size: 17px; color: var(--purple-l); }
.founder__copy { padding: 4px 16px 16px 0; }
.founder__bio { font-size: 17px; color: #fff; max-width: 38em; }
.founder__more { margin-top: 14px; max-width: 38em; font-size: 16px; color: var(--text-2); }

/* ---------- Finale: a soft glow rises behind the contact cards ---------- */
.finale { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; margin-top: clamp(120px, 12vw, 180px); min-height: 100vh; min-height: 100svh; padding: clamp(110px, 14vh, 160px) 0; text-align: center; }
.finale::before, .finale::after { content: ""; position: absolute; left: 50%; z-index: -1; border-radius: 50%; pointer-events: none; transform: translateX(-50%); }
.finale::before { bottom: -45%; width: min(1400px, 150%); height: 90%; background: radial-gradient(closest-side, rgba(var(--glow), .42), rgba(var(--glow-b), .12) 55%, transparent); filter: blur(40px); animation: breathe 9s ease-in-out infinite; }
.finale::after { top: 8%; width: min(700px, 90%); height: 40%; background: radial-gradient(closest-side, rgba(var(--glow-b), .1), transparent); filter: blur(30px); }
@keyframes breathe { 50% { opacity: .7; transform: translateX(-50%) scale(.94); } }
.finale > .wrap { position: relative; }
.finale__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.finale__title { font-size: clamp(44px, 6.8vw, 92px); font-weight: 600; line-height: 1.02; letter-spacing: -.05em; }
.finale__title span { display: block; }
.finale .sub { max-width: 540px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(900px, 100%); margin-top: 22px; }
.contact-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; text-align: left; background: rgba(14, 14, 22, .72); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .3s var(--ease-out), box-shadow .3s ease; }
.contact-card .icon-tile { margin: 0; }
.contact-card small { display: block; font-size: 12px; color: var(--text-3); }
.contact-card b { display: block; font-size: 15px; font-weight: 500; }
.contact-card__go { margin-left: auto; width: 16px; height: 16px; color: var(--text-3); transition: transform .3s var(--ease-out), color .3s ease; }
.contact-card:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .contact-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(156, 143, 240, .6), 0 0 40px -10px rgba(var(--glow), .7); }
  .contact-card:hover .contact-card__go { color: #fff; transform: translate(2px, -2px); }
}

/* Small confirmation that slides up from the bottom, e.g. "Email copied" (main.js) */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: rgba(14, 14, 22, .92); box-shadow: inset 0 0 0 1px rgba(156, 143, 240, .5), 0 12px 40px -10px rgba(0, 0, 0, .9), 0 0 30px -8px rgba(var(--glow), .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 14px; font-weight: 500; text-align: center; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .35s var(--ease-out); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 32px; font-size: 14px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer__brand img { height: 28px; width: auto; }
.footer__brand p { margin-top: 14px; color: var(--text-2); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h2 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.footer__col a { color: var(--text-2); width: fit-content; transition: color .2s ease; }
.footer__col a:hover { color: var(--text); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; color: var(--text-3); font-size: 13px; }
.footer__base a:hover { color: var(--text); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__links { gap: 20px; }
}
@media (max-width: 960px) {
  .flow-card { grid-template-columns: minmax(0, 1fr); top: calc(130px + var(--n, 0) * 12px); min-height: 0; }
  .presets, .training, .founder { grid-template-columns: minmax(0, 1fr); }
  .story__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .minis { max-width: 560px; width: 100%; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat--wide { grid-column: auto; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--legends { grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .pg-bento { grid-template-columns: minmax(0, 1fr); }
  .hub { aspect-ratio: 1000 / 520; }
  .founder__photos { grid-template-columns: minmax(0, 1fr); height: auto; }
  .founder__photo { aspect-ratio: 3 / 2; }
  .founder__head { padding: 0 8px; }
  .founder__copy { padding: 0 8px 12px; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); width: min(420px, 100%); }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero__sub, .sub { font-size: 16px; }
  .logos__grid { gap: 26px 30px; }
  .logos__grid img { height: 28px; max-width: 104px; }
  .float { width: calc(var(--w) * 1.9); opacity: .55; }
  .float--more { display: none; }
  .visuals__copy { text-shadow: 0 2px 24px rgba(0, 0, 0, .9); }
  .year { margin-top: 10px; font-size: 64px; }
  .story__left .h2 { font-size: 26px; }
  .step p { font-size: 14px; }
  .m-card { padding: 9px; border-radius: 12px; font-size: 10px; }
  .m-title { margin-bottom: 6px; font-size: 10px; }
  .m-typing { font-size: 10px; }
  .m-row { padding: 4px 6px; margin-top: 5px; }
  .m-select { padding: 5px 7px; margin-bottom: 6px; }
  .m-btn { padding: 6px 9px; font-size: 10px; }
  .m-opts span { padding: 3px 6px; font-size: 9px; }
  .flow-card { padding: 20px; border-radius: 22px; }
  .flow-card h3 { font-size: 26px; }
  .ticks { display: none; }
  .resize { grid-template-columns: 1.7fr .62fr 1fr; gap: 6px; }
  .resize__sub { font-size: 8px; }
  .clipper { grid-template-columns: 1fr .42fr; gap: 8px; }
  .clipper__cap { font-size: 11px; }
  .tag { height: 42px; font-size: 14px; }
  .pg-bento > .card { padding: 18px; }
  .hub { aspect-ratio: 1 / 1; }
  .model { min-width: 0; padding: 8px 8px 6px; border-radius: 14px; }
  .model b { font-size: 10px; }
  .model small { display: none; }
  .modes__prompt { font-size: 11px; }
  .why, .stats { grid-template-columns: minmax(0, 1fr); }
  .follow { top: 78px; }
  .follow__label { display: none; }
  .follow__step { height: 32px; padding: 0 11px; font-size: 12px; }
  .follow__num { display: none; }
  .journey__name { font-size: 17px; letter-spacing: -.03em; }
  .journey__pane p { font-size: 17px; }
  .m-idea .m-opts { display: none; }
  .shorts-flow .m-idea, .mini--shorts .m-idea { width: 56%; }
  .journey__go { width: 100%; justify-content: center; }
  .m-model__head { padding: 3px 4px 6px; margin-bottom: 3px; }
  .m-model__head b, .m-model__list b { font-size: 9px; }
  .m-model__list li { gap: 5px; padding: 4px 5px; }
  .m-picker img { width: 11px; height: 11px; }
  .m-subs__win { height: 80px; }
  .mini--editor .m-timeline { padding: 6px 8px 8px; }
  .m-tools { margin-bottom: 5px; }
  .m-tools span { width: 12px; height: 12px; }
  .m-track { height: 16px; }
  .m-track--subs { height: 10px; margin-top: 5px; gap: 3px; }
  .m-playhead { top: 23px; bottom: 6px; left: calc(8px + (100% - 18px) * var(--p, 0)); }
  .m-set:nth-of-type(1) { display: none; }
  .m-subs__list { gap: 4px; }
  .m-text { font-size: 9px; }
  .m-time { font-size: 8px; }
  .m-set { gap: 5px; min-height: 23px; padding: 1px 0; }
  .mini--editor .m-style { padding: 9px; }
  .m-set:last-child { display: none; }
  .m-set > span:first-child { width: 3.6em; font-size: 8.5px; }
  .m-field, .m-val { font-size: 8.5px; }
  .m-field { padding: 2px 5px; }
  .m-swatches { gap: 4px; }
  .m-swatches i { width: 10px; height: 10px; }
  .m-seg i { min-width: 16px; height: 16px; }
  .m-seg .ic { width: 10px; height: 10px; }
  .voice { gap: 8px; padding: 8px; }
  .voice__play { width: 28px; height: 28px; }
  .modes__stage { aspect-ratio: 16 / 9; }
  .m-input { padding: 6px 8px; }
  .trained__logos img { height: 28px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--legends, .tile--reels, .tile--full { grid-column: auto; }
  .tile--reels { min-height: 340px; }
  .tile--full .reels { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .tile--full { min-height: 520px; }
  .training { padding: 22px; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .m-card, .m-btn, .m-wave__bars--fill, .m-row, .m-playhead, .g-card::after, .journey__pane, .m-results img, .m-results video, .m-results span::after, .m-typing,
  .hub__rings .flow, .model, .hub__core::before, .finale::before, .clipper__head, .clipper__cap span, .tags__track, .mcp__link i, .bubble, .tool__bar i { animation: none !important; }
  .m-typing, .m-results img, .m-results video, .bubble { clip-path: none; opacity: 1; }
  .js .reveal, .js .reveal-blur { transform: none; filter: none; transition: opacity .4s ease; }
  .visuals, .story { height: auto; }
  .visuals__stage, .story__stage { position: relative; height: auto; padding: 120px 0; }
  .visuals__field { display: none; }
  .step { grid-area: auto; opacity: 1; transform: none; }
  .steps { gap: 16px; }
  .year__strip { transform: none !important; }
  .flow-card { position: relative; top: auto; }
  .lit-text .w { color: #fff; }
  .journey__step.is-on .journey__bar i { animation: none; transform: scaleX(1); }
  .m-wave__bars--fill { clip-path: inset(0 55% 0 0); }
}
