:root {
  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #98a2b3;
  --paper: #f6f6f3;
  --paper-2: #ffffff;
  --night: #0a0b0f;
  --night-2: #14161c;
  --snow: #f5f5f7;
  --snow-2: #a1a7b3;
  --snow-3: #6b7280;
  --a1: #f5af19;
  --a2: #f12711;
  --grad: linear-gradient(100deg, var(--a1), var(--a2));
  --line-l: rgba(16, 24, 40, .1);
  --line-d: rgba(255, 255, 255, .12);
  --pad: clamp(20px, 5.2vw, 104px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --fs-display: clamp(44px, 7vw, 132px);
  --fs-h1: clamp(32px, 4vw, 78px);
  --fs-h2: clamp(28px, 3.3vw, 62px);
  --fs-lead: clamp(17px, 1.45vw, 26px);
  --fs-small: clamp(13px, .95vw, 16px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--night);
  color: var(--snow);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  font-feature-settings: 'ss01', 'tnum';
}
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* ---------- deck ---------- */
.deck {
  height: 100vh; height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}
.deck::-webkit-scrollbar { display: none; }
.slide {
  position: relative;
  height: 100vh; height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  isolation: isolate;
}
.slide.dark { background: var(--night); color: var(--snow); }
.slide.light { background: var(--paper); color: var(--ink); }
.wrap {
  position: relative;
  height: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: clamp(72px, 9vh, 120px) var(--pad);
  display: grid;
  align-content: center;
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--snow-2); margin-bottom: clamp(16px, 2.4vh, 28px);
}
.light .eyebrow { color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
.display { font-size: var(--fs-display); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.h1 { text-wrap: balance; font-size: var(--fs-h1); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--snow-2); margin-top: clamp(16px, 2.6vh, 32px); max-width: 30ch; font-weight: 500; }
.light .lead { color: var(--ink-2); }
.muted { color: var(--snow-3); }
.light .muted { color: var(--ink-3); }
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.small { font-size: var(--fs-small); color: var(--snow-2); line-height: 1.6; margin-top: clamp(16px, 2.6vh, 28px); max-width: 46ch; }
.light .small { color: var(--ink-2); }
code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .92em; color: var(--snow); }
.url {
  margin-top: clamp(18px, 3vh, 36px); font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: var(--fs-small); color: var(--a1); letter-spacing: .02em;
}
.bignum {
  font-size: clamp(96px, 15vw, 280px); font-weight: 800; line-height: .86; letter-spacing: -.05em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}

/* ---------- reveal ---------- */
.r { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 120ms); }
.slide.in .r { opacity: 1; transform: none; }

/* ---------- chrome ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 50; background: rgba(128, 128, 128, .15); }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .6s var(--ease); }
.hud {
  position: fixed; top: 22px; left: var(--pad); right: var(--pad); z-index: 40;
  display: flex; justify-content: space-between; align-items: center; pointer-events: none;
  color: #fff; transition: color .4s;
}
body[data-theme="light"] .hud { color: var(--ink); }
body[data-theme="light"] .navbtns button { background: rgba(255,255,255,.7); border-color: var(--line-l); }
body[data-theme="light"] .navbtns svg { stroke: var(--ink); }
.hud-logo { width: 32px; height: 32px; border-radius: 8px; }
.hud-count { font-size: 13px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; opacity: .85; }
.hud-count i { font-style: normal; opacity: .55; }
.navbtns { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; flex-direction: column; gap: 8px; }
.navbtns button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(128, 128, 128, .35);
  background: rgba(20, 22, 28, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: grid; place-items: center; transition: transform .2s, background .2s;
}
.navbtns button:hover { transform: scale(1.06); background: rgba(40, 42, 50, .8); }
.navbtns svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- cover ---------- */
.bgvid { position: absolute; inset: -6% 0; z-index: -2; overflow: hidden; }
.bgvid video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); transform-origin: 96% 50%; }
.glow { position: absolute; inset: -10%; z-index: -2; background: url(../media/v/hero-loop.jpg) center / cover; filter: blur(48px) saturate(1.2); opacity: .55; }
.cover-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 11, 15, .97) 0%, rgba(10, 11, 15, .86) 36%, rgba(10, 11, 15, .15) 78%),
    linear-gradient(0deg, rgba(10, 11, 15, .85) 0%, rgba(10, 11, 15, 0) 40%);
}
.closing .cover-shade { background: radial-gradient(ellipse at center, rgba(10, 11, 15, .55), rgba(10, 11, 15, .92) 70%); }
.cover-in { align-content: end; padding-bottom: clamp(64px, 12vh, 150px); }
.cover .lead { font-size: clamp(20px, 1.9vw, 34px); color: var(--snow); opacity: .82; }
.row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(24px, 4vh, 48px); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px;
  padding: 14px 24px 14px 20px; background: #fff; color: var(--ink); font-weight: 600; font-size: 16px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(241, 39, 17, .35); }
.btn svg { width: 18px; height: 18px; fill: var(--a2); }
.hint { font-size: 14px; color: var(--snow-2); }

/* ---------- centered column ---------- */
.center-col { justify-items: center; text-align: center; }
.center-col .lead { margin-inline: auto; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); margin-top: clamp(40px, 7vh, 88px); width: min(1200px, 100%); text-align: left; }
.why div { border-top: 1px solid var(--line-l); padding-top: 20px; font-size: clamp(18px, 1.6vw, 28px); line-height: 1.35; color: var(--ink-2); font-weight: 500; }
.why b { color: var(--ink); font-weight: 700; }
.why-n { display: block; font-size: var(--fs-small); font-weight: 700; color: var(--a2); margin-bottom: 10px; letter-spacing: .06em; }

.products { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(36px, 6vh, 72px); max-width: 1200px; }
.products li {
  display: flex; align-items: center; gap: 12px; padding: 14px 22px 14px 16px; border-radius: 999px;
  border: 1px solid var(--line-d); background: rgba(255, 255, 255, .03);
  font-size: clamp(16px, 1.35vw, 24px); font-weight: 600;
}
.products span { font-size: 12px; color: var(--a1); font-weight: 700; letter-spacing: .06em; }

/* ---------- split ---------- */
.split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 110px); align-items: center; }
.split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.rev.even { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split.rev .copy { order: 2; }
.split.rev .media { order: 1; }
.copy { min-width: 0; }
.media { position: relative; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(20px, 3.4vh, 40px); }
.chips span {
  font-size: var(--fs-small); font-weight: 500; padding: 8px 14px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--line-l); color: var(--ink);
}
.chips.dark span { background: rgba(255, 255, 255, .05); border-color: var(--line-d); color: var(--snow); }
kbd { font-family: inherit; font-size: .85em; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-d); margin-right: 2px; }

.ticks { list-style: none; margin-top: clamp(22px, 3.6vh, 44px); display: grid; gap: clamp(8px, 1.4vh, 14px); }
.ticks li { position: relative; padding-left: 30px; font-size: clamp(16px, 1.3vw, 22px); font-weight: 500; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 16px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ---------- frames ---------- */
.vframe { border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); aspect-ratio: 16 / 9; background: #000; }
.vframe video { width: 100%; height: 100%; object-fit: cover; }
.browser {
  border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 80px rgba(16, 24, 40, .22), 0 0 0 1px rgba(16, 24, 40, .08);
}
.dark .browser { box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.bbar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f2f2f0; border-bottom: 1px solid #e6e6e3; }
.bbar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d9d6; }
.bbar span {
  margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: #667085; background: #fff; border-radius: 7px;
  padding: 3px 14px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bbody { position: relative; background: #fff; }
.bbody img, .bbody video { width: 100%; height: auto; }

.phone {
  position: relative; border-radius: 42px; padding: 9px; background: #0b0b0d;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45), inset 0 0 0 1.5px #2a2b30;
  aspect-ratio: 603 / 1311;
}
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #fff; }

/* ---------- specific slides ---------- */
.stack { display: grid; }
.stack .browser { grid-area: 1 / 1; }
.stack .browser:first-child { width: 88%; }
.stack .browser.float { width: 52%; justify-self: end; align-self: end; margin-bottom: -8%; margin-right: -2%; }

.web-media { display: grid; }
.web-media .browser { grid-area: 1 / 1; width: 90%; }
.web-media .phone { grid-area: 1 / 1; width: 23%; justify-self: end; align-self: end; margin-bottom: -10%; border-radius: 30px; padding: 6px; }
.web-media .phone img { border-radius: 25px; }

.manage-media { display: grid; }
.shot { border-radius: 16px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.shot.s1 { grid-area: 1 / 1; width: 88%; }
.shot.s2 { grid-area: 1 / 1; width: 50%; justify-self: end; align-self: end; margin-bottom: -12%; }

.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.minis img { border-radius: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); aspect-ratio: 720 / 560; object-fit: cover; }

.emails { position: relative; height: min(70vh, 760px); }
.emails img { position: absolute; border-radius: 14px; box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
.emails .e2 { width: 58%; left: 21%; top: 4%; z-index: 2; }
.emails .e1 { width: 46%; left: 0; top: 18%; transform: rotate(-5deg); z-index: 1; filter: brightness(.8); }
.emails .e3 { width: 46%; right: 0; top: 22%; transform: rotate(5deg); z-index: 1; filter: brightness(.8); }
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 3.6vh, 44px); font-weight: 600; font-size: clamp(15px, 1.15vw, 19px); }
.flow span { padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-d); }
.flow i { width: 22px; height: 2px; background: var(--grad); border-radius: 2px; position: relative; }
.flow i::after { content: ''; position: absolute; right: -2px; top: -3px; border: 4px solid transparent; border-left: 5px solid var(--a2); }

.phones { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 32px); }
.phones .main { width: min(31%, 34vh); z-index: 2; }
.phones .side { width: min(25%, 27vh); opacity: .9; }

/* wall */
.wall-slide { display: grid; }
.wall { position: absolute; inset: 0; display: grid; align-content: center; gap: 18px; transform: rotate(-6deg) scale(1.18); }
.wall-row { display: flex; gap: 18px; width: max-content; animation: slide 70s linear infinite; }
.wall-row.rev { animation-direction: reverse; animation-duration: 80s; }
.wall-row img { width: clamp(220px, 21vw, 400px); aspect-ratio: 480 / 269; object-fit: cover; object-position: top; border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 24, 40, .16); background: #fff; }
@keyframes slide { to { transform: translateX(-50%); } }
.wall-over { position: relative; display: grid; place-items: center; padding: var(--pad); }
.wall-card {
  text-align: center; padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 80px); border-radius: 28px;
  background: rgba(246, 246, 243, .82); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 30px 80px rgba(16, 24, 40, .18), 0 0 0 1px rgba(255, 255, 255, .6) inset;
}
.wall-card .eyebrow { margin-bottom: 18px; }

/* demo */
.demo { grid-template-rows: auto minmax(0, 1fr); align-content: stretch; gap: clamp(18px, 3vh, 36px); padding-top: clamp(64px, 8vh, 100px); padding-bottom: clamp(36px, 5vh, 64px); }
.demo-head { display: block; }
.demo-head .eyebrow { margin-bottom: 10px; }
.browser.big { justify-self: center; align-self: start; width: min(100%, calc((100dvh - 290px) * 16 / 9 + 0px)); }
.vctl { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.vctl button {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 0;
  background: rgba(16, 24, 40, .78); color: #fff; font-size: 14px; font-weight: 600; backdrop-filter: blur(8px);
}
.vctl svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* data */
.data { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 110px); align-items: center; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-l); border-radius: 20px; overflow: hidden; border: 1px solid var(--line-l); margin-top: 8px; }
.dark .tiles { background: var(--line-d); border-color: var(--line-d); }
.tiles.three { grid-template-columns: 1fr; }
.tiles.two { grid-template-columns: 1fr 1fr; margin-top: clamp(24px, 4vh, 48px); }
.tile { background: var(--paper-2); padding: clamp(18px, 2.4vw, 36px); display: grid; gap: 6px; }
.dark .tile { background: var(--night-2); }
.tile b { font-size: clamp(34px, 3.8vw, 72px); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.tiles.three .tile b { font-size: clamp(30px, 3.2vw, 60px); }
.tiles.two .tile b { font-size: clamp(26px, 2.6vw, 48px); }
.tile > span { font-size: var(--fs-small); color: var(--ink-2); font-weight: 500; }
.dark .tile > span { color: var(--snow-2); }
.tiles.three .tile { grid-template-columns: auto 1fr; align-items: baseline; gap: 20px; }

.chart { min-width: 0; }
.chart figcaption { font-size: clamp(15px, 1.2vw, 20px); font-weight: 600; margin-bottom: clamp(14px, 2.4vh, 28px); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.src { font-size: 12px; color: var(--ink-3); margin-top: 16px; line-height: 1.5; }
.dark .src { color: var(--snow-3); }
.c-label { font-size: 15px; fill: var(--ink-2); font-weight: 500; }
.c-val { font-size: 15px; fill: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.dark .c-label { fill: var(--snow-2); }
.dark .c-val { fill: var(--snow); }
.c-axis { stroke: var(--line-l); stroke-width: 1; }
.dark .c-axis { stroke: var(--line-d); }
.c-bar { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.c-col { transform-box: fill-box; transform-origin: center bottom; transform: scaleY(0); transition: transform 1.1s var(--ease); }
.slide.in .c-bar, .slide.in .c-col { transform: none; }
.c-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.slide.in .c-line { stroke-dashoffset: 0; }
.c-ref { stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 6 6; }
.c-hit { fill: transparent; }
.c-g:hover .c-bar, .c-g:hover .c-col { filter: brightness(1.12); }

/* gallery strip */
.strip { position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vh, 36px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip-in { display: flex; gap: 14px; width: max-content; animation: slide 90s linear infinite; }
.strip-in img { width: clamp(150px, 12vw, 230px); border-radius: 8px; box-shadow: 0 10px 24px rgba(16, 24, 40, .14); aspect-ratio: 16 / 9; }
.slide:has(.strip) .data { padding-bottom: clamp(150px, 20vh, 220px); }

/* loop */
.loop-svg { width: min(100%, 64vh); margin: 0 auto; }
.loop-track { fill: none; stroke: var(--line-l); stroke-width: 2; }
.draw { fill: none; stroke: url(#lg); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 290; stroke-dashoffset: 290; transition: stroke-dashoffset 1s var(--ease); transition-delay: calc(var(--d, 0s) + .4s); }
.slide.in .draw { stroke-dashoffset: 58; }
.loop-node circle { fill: var(--paper-2); stroke: var(--line-l); stroke-width: 1.5; filter: drop-shadow(0 8px 18px rgba(16, 24, 40, .12)); }
.loop-node text { text-anchor: middle; font-size: 17px; font-weight: 700; fill: var(--ink); }
.loop-c1, .loop-c2 { text-anchor: middle; font-weight: 800; font-size: 30px; fill: var(--ink); letter-spacing: -.02em; }
.loop-c2 { fill: var(--a2); }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.2vw, 20px); margin-top: clamp(36px, 6vh, 72px); width: min(1400px, 100%); text-align: left; }
.pillar { background: var(--paper-2); border: 1px solid var(--line-l); border-radius: 22px; padding: clamp(20px, 2vw, 32px); min-height: clamp(200px, 30vh, 320px); display: flex; flex-direction: column; }
.pillar svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }
.pillar h3 { font-size: clamp(22px, 1.9vw, 34px); font-weight: 800; letter-spacing: -.02em; margin: 24px 0 10px; }
.pillar p { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.7; }
.pillar.hot { background: var(--ink); color: var(--snow); border-color: var(--ink); }
.pillar.hot svg { stroke: var(--a1); }
.pillar.hot p { color: var(--snow-2); }

/* flywheel */
.fly .media { display: block; }
.split.even2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fw { width: min(100%, 84vh); margin: 0 auto; }
.fw-track { fill: none; stroke: var(--line-d); stroke-width: 1.5; }
.fw-arc { fill: none; stroke: url(#fwg); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset .7s var(--ease); }
.slide.in .fw-arc { stroke-dashoffset: 0; }
.fw-node rect { fill: var(--night-2); stroke: rgba(255, 255, 255, .16); }
.fw-node text { font-size: 19px; font-weight: 600; fill: var(--snow); text-anchor: middle; }
.fw-node .fw-n { font-size: 12px; fill: var(--a1); font-weight: 700; letter-spacing: .08em; }
.fw-node { opacity: 0; transition: opacity .6s var(--ease); }
.slide.in .fw-node { opacity: 1; }
.fw-center { font-size: 20px; font-weight: 800; fill: var(--snow); text-anchor: middle; }

/* reposition */
.from { font-size: clamp(22px, 2.2vw, 40px); font-weight: 600; color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--a2); }
.arrow-down { width: 34px; height: 34px; margin: clamp(14px, 2.4vh, 28px) auto; fill: none; stroke: var(--a2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.repo .to { max-width: 24ch; text-wrap: balance; }
.quote { margin-top: clamp(32px, 6vh, 72px); font-size: clamp(18px, 1.6vw, 28px); font-weight: 500; line-height: 1.45; color: var(--ink-2); font-style: italic; }
.quote cite { display: block; margin-top: 12px; font-size: var(--fs-small); font-style: normal; font-weight: 600; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }

/* closing */
.next { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(36px, 7vh, 80px); }
.next span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-d); background: rgba(10, 11, 15, .5); font-size: var(--fs-small); font-weight: 500; backdrop-filter: blur(10px); }
.end-logo { width: 64px; height: 64px; border-radius: 16px; margin-top: clamp(32px, 6vh, 64px); }

/* film dialog */
.film { border: 0; padding: 0; background: transparent; width: min(92vw, 1400px); max-height: 92vh; margin: auto; overflow: visible; }
.film::backdrop { background: rgba(5, 6, 8, .9); backdrop-filter: blur(6px); }
.film video { width: 100%; border-radius: 16px; background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, .8); }
.film-x { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; line-height: 1; }

/* ---------- tablet / phone ---------- */
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  .deck { scroll-snap-type: y proximity; }
  .slide { height: auto; min-height: 100vh; min-height: 100svh; scroll-snap-stop: normal; }
  .wrap { padding: 88px 20px 64px; height: auto; min-height: 100svh; }
  .split, .split.rev, .split.rev.even, .split.even2, .data { grid-template-columns: 1fr; gap: 36px; align-content: center; }
  .split.rev .copy { order: 0; }
  .split.rev .media { order: 1; }
  .why { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { min-height: 0; }
  .pillar h3 { margin-top: 16px; }
  .pillars .pillar:last-child { grid-column: span 2; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles.three .tile { grid-template-columns: 1fr; gap: 6px; }
  .stack .browser.float { margin-bottom: -4%; }
  .emails { height: 330px; }
  .flow { font-size: 13px; gap: 6px; }
  .flow span { padding: 7px 10px; }
  .flow i { width: 12px; }
  .phones .main { width: 44%; }
  .phones .side { width: 30%; }
  .browser.big { width: 100%; }
  .strip { position: relative; bottom: auto; margin: -20px 0 40px; }
  .slide:has(.strip) .data { padding-bottom: 32px; }
  .bgvid video { transform: scale(1.8); transform-origin: 72% 50%; }
  .cover-shade { background: linear-gradient(0deg, rgba(10, 11, 15, .95) 10%, rgba(10, 11, 15, .45) 60%, rgba(10, 11, 15, .2)); }
  .cover-in { min-height: 100svh; }
  .hud { top: 16px; }
  .navbtns { display: none; }
  .wall { transform: rotate(-6deg) scale(1.4); }
  .wall-slide { min-height: 100svh; }
  .loop-svg { width: 100%; }
  .fw { width: 100%; }
  .demo-head { display: block; }
  .bbar span { font-size: 10px; }
  .c-label, .c-val { font-size: 22px; }
  .chart svg { margin-left: -4px; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .r, .c-bar, .c-col, .c-line, .draw, .fw-arc, .fw-node { transition: none !important; }
  .r { opacity: 1; transform: none; }
  .wall-row, .strip-in { animation: none; }
  .c-bar, .c-col { transform: none; }
  .c-line, .fw-arc { stroke-dashoffset: 0; }
  .draw { stroke-dashoffset: 58; }
  .fw-node { opacity: 1; }
  .deck { scroll-behavior: auto; }
}
