/* fizzify.co — "Instrument Panel"
   ink / graphite / bone, one accent (signal amber), cold teal for data only. */

@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #07090B;
  --graphite: #12161A;
  --graphite-2: #191E23;
  --bone: #E9E7DF;
  --bone-2: rgba(233, 231, 223, .66);
  --bone-3: rgba(233, 231, 223, .42);
  --rule: rgba(233, 231, 223, .12);
  --rule-2: rgba(233, 231, 223, .22);
  --amber: #FFB020;
  --amber-dim: rgba(255, 176, 32, .14);
  --teal: #5FD4C4;
  --sans: "Switzer", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gut: clamp(20px, 4vw, 64px);
  --max: 1440px;
  --hud: 34px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); color-scheme: dark; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 17px/1.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.display, .h1, .h2, .h3, .pull, .band__t, .sys__name, .next__name, .num__v, .thesis__text, .goal__q, .status__col h3, .scene__steps li b, .prose h3 { font-family: var(--display, var(--sans)); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--amber); color: var(--ink); padding: 10px 14px; font: 500 13px var(--mono); }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.mono { font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: .01em; font-weight: 400; }
.label { font-family: var(--mono); font-size: 12px; color: var(--bone-3); letter-spacing: .01em; display: flex; gap: 12px; align-items: baseline; }
.label b { color: var(--amber); font-weight: 400; }
.display { font-size: clamp(54px, 10.2vw, 176px); line-height: .9; letter-spacing: -.055em; font-weight: 500; }
.h1 { font-size: clamp(44px, 7.4vw, 124px); line-height: .92; letter-spacing: -.05em; }
.h2 { font-size: clamp(36px, 5vw, 80px); line-height: .96; letter-spacing: -.045em; }
.h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -.03em; }
.lede { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; color: var(--bone-2); letter-spacing: -.012em; max-width: 34em; }
.body { color: var(--bone-2); max-width: 36em; }
.body p + p { margin-top: .2em; }
.dim { color: var(--bone-3); }
.amber { color: var(--amber); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec { position: relative; padding: clamp(96px, 14vw, 200px) 0; }
.sec--tight { padding: clamp(64px, 9vw, 128px) 0; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.sec-head .label { grid-column: 1 / span 3; align-self: start; padding-top: .6em; }
.sec-head h1, .sec-head h2 { grid-column: 4 / span 9; }
.sec-head .lede { grid-column: 4 / span 7; margin-top: 28px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: transform .5s var(--ease), background .4s; }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav.is-scrolled { background: color-mix(in srgb, var(--ink) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 22px; width: auto; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); align-items: center; font-size: 14px; }
.nav__links a { position: relative; color: var(--bone-2); padding: 6px 0; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--bone); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links .nav__cta { color: var(--ink); background: var(--bone); padding: 8px 14px; border-radius: 2px; font-weight: 500; }
.nav__links .nav__cta::after { display: none; }
.nav__links .nav__cta:hover, .nav__links .nav__cta[aria-current="page"] { background: var(--amber); color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--bone); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 55; background: var(--ink); padding: 110px var(--gut) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mmenu a.big { display: flex; justify-content: space-between; align-items: baseline; font-size: 44px; letter-spacing: -.045em; line-height: 1.15; border-bottom: 1px solid var(--rule); padding: 10px 0; }
.mmenu a.big span { font: 12px var(--mono); color: var(--bone-3); }

/* ---------- HUD ---------- */
.hud { position: fixed; inset: auto 0 0; z-index: 58; height: var(--hud); border-top: 1px solid var(--rule); background: color-mix(in srgb, var(--ink) 86%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 11px/1 var(--mono); color: var(--bone-3); }
.hud__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.hud__cell { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.hud__cell b { color: var(--bone); font-weight: 400; }
.hud__sec { margin-right: auto; }
.hud__sec b { color: var(--amber); }
.hud__bar { position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--amber); transform-origin: left; transform: scaleX(0); }
.hud__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px var(--amber-dim); }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 22px; border: 1px solid var(--rule-2); border-radius: 2px; font-size: 15px; font-weight: 500; position: relative; overflow: hidden; transition: color .35s, border-color .35s; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--amber); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover { color: var(--ink); border-color: var(--amber); }
.btn:hover::before { transform: translateY(0); }
.btn--solid { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn svg, .tlink svg { width: 14px; height: 14px; flex: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border: 1px solid var(--rule-2); border-radius: 13px; font: 11px/1 var(--mono); color: var(--bone-2); white-space: nowrap; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--bone-3); }
.chip--live i { background: var(--teal); box-shadow: 0 0 0 3px rgba(95, 212, 196, .16); }
.chip--dev i { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-dim); animation: blink 2.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.tlink { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--rule-2); padding-bottom: 4px; transition: border-color .3s, color .3s; }
.tlink:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 calc(var(--hud) + clamp(32px, 5vw, 72px)); overflow: hidden; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__field:not(.is-live) { background:
  radial-gradient(circle at 70% 40%, rgba(255, 176, 32, .10), transparent 40%),
  repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 28px),
  repeating-linear-gradient(0deg, rgba(233, 231, 223, .05) 0 1px, transparent 1px 28px); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 20%, transparent) 0%, transparent 30%, transparent 55%, color-mix(in srgb, var(--ink) 92%, transparent) 100%); }
.hero .wrap { position: relative; z-index: 2; }
.hero__top { position: absolute; z-index: 2; top: 104px; left: 0; right: 0; }
.hero__read { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--rule); padding-top: 14px; }
.hero__read dt { font: 11px var(--mono); color: var(--bone-3); margin-bottom: 4px; }
.hero__read dd { margin: 0; font: 13px/1.4 var(--mono); color: var(--bone); }
.hero h1 { max-width: 11.5ch; }
.hero__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; margin-top: clamp(28px, 3.5vw, 48px); align-items: end; }
.hero__foot .lede { grid-column: 1 / span 6; margin: 0; }
.hero__foot .hero__act { grid-column: 9 / span 4; justify-self: end; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- thesis ---------- */
.thesis__text { font-size: clamp(30px, 4.1vw, 66px); line-height: 1.06; letter-spacing: -.04em; max-width: 19ch; grid-column: 4 / span 9; }
.thesis__text .w { transition: none; }
.drivers { margin-top: clamp(72px, 9vw, 140px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.driver { padding: 28px 28px 8px 0; border-right: 1px solid var(--rule); position: relative; }
.driver + .driver { padding-left: 28px; }
.driver:last-child { border-right: 0; }
.driver svg { width: 56px; height: 56px; margin-bottom: 40px; color: var(--amber); }
.driver h3 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 10px; }
.driver p { color: var(--bone-2); font-size: 15px; max-width: 24ch; }

/* ---------- systems (pinned horizontal) ---------- */
.systems { position: relative; background: var(--graphite); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.systems__intro { padding-top: clamp(96px, 12vw, 180px); }
.systems__pin { position: relative; overflow: hidden; }
.systems__track { display: flex; width: max-content; will-change: transform; }
.sys { width: 100vw; min-height: 100svh; padding: 96px var(--gut) calc(var(--hud) + 40px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-content: center; position: relative; border-right: 1px solid var(--rule); }
.sys__no { position: absolute; top: 96px; right: var(--gut); font: 12px var(--mono); color: var(--bone-3); }
.sys__no b { color: var(--amber); font-weight: 400; }
.sys__meta { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 22px; align-self: center; }
.sys__mark { display: flex; align-items: center; gap: 12px; height: 32px; }
.sys__mark img { height: 28px; width: auto; }
.sys__name { font-size: clamp(56px, 7vw, 120px); letter-spacing: -.055em; line-height: .88; }
.sys__line { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; color: var(--bone); max-width: 20ch; }
.sys__desc { color: var(--bone-2); font-size: 15px; max-width: 34ch; margin: 0; }
.spec { border-top: 1px solid var(--rule); width: 100%; }
.spec div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font: 12px/1.45 var(--mono); }
.spec dt { color: var(--bone-3); }
.spec dd { margin: 0; color: var(--bone); }
.spec dd.n { color: var(--teal); }
.sys__fig { grid-column: 6 / span 7; align-self: center; position: relative; }
.sys__fig .diagram { width: 100%; height: auto; }
.sys__shot { position: absolute; right: 0; bottom: -10px; width: 30%; border: 1px solid var(--rule-2); overflow: hidden; background: var(--ink); }
.sys__shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85); }
.sys__shot--tall img { aspect-ratio: 9 / 16; object-position: top; }
.systems__progress { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(var(--hud) + 18px); height: 1px; background: var(--rule); z-index: 3; display: none; }
.systems__progress i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(0); }

/* ---------- diagrams ---------- */
.diagram { overflow: visible; font-family: var(--mono); }
.diagram .box { fill: var(--ink); stroke: var(--rule-2); stroke-width: 1; }
.diagram .box--hi { stroke: var(--amber); }
.diagram .box--data { stroke: var(--teal); }
.diagram .box--dev { stroke: var(--amber); stroke-dasharray: 4 4; }
.diagram .wire { fill: none; stroke: var(--bone-3); stroke-width: 1.2; }
.diagram .wire--hi { stroke: var(--amber); stroke-width: 1.5; }
.diagram .wire--data { stroke: var(--teal); }
.diagram .wire--back { stroke-dasharray: 3 5; }
.diagram .t { fill: var(--bone); font-size: 12px; }
.diagram .t--s { fill: var(--bone-3); font-size: 10.5px; }
.diagram .t--a { fill: var(--amber); font-size: 10.5px; }
.diagram .t--d { fill: var(--teal); font-size: 10.5px; }
.diagram .t--h { fill: var(--bone); font-size: 15px; font-family: var(--sans); font-weight: 500; letter-spacing: -.01em; }
.diagram .node { fill: var(--amber); }
.diagram .pulse { fill: var(--amber); }
.diagram .grid-bg line { stroke: rgba(233, 231, 223, .05); }
.fig-cap { font: 11px/1.5 var(--mono); color: var(--bone-3); margin-top: 18px; display: flex; gap: 22px; flex-wrap: wrap; }
.fig-cap span { display: inline-flex; gap: 8px; align-items: center; }
.fig-cap i { width: 18px; height: 0; border-top: 1.5px solid var(--bone-3); }
.fig-cap i.a { border-color: var(--amber); }
.fig-cap i.d { border-color: var(--teal); }
.fig-cap i.dash { border-top-style: dashed; border-color: var(--amber); }
.fig-cap i.dash2 { border-top-style: dashed; }

/* ---------- stack ---------- */
.stack { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.stack__fig { grid-column: 1 / span 7; }
.stack__list { grid-column: 9 / span 4; align-self: center; }
.layer { border-top: 1px solid var(--rule); padding: 22px 0; display: grid; grid-template-columns: 44px 1fr; gap: 8px; }
.layer:last-child { border-bottom: 1px solid var(--rule); }
.layer .n { font: 12px var(--mono); color: var(--amber); padding-top: 5px; }
.layer h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.layer p { color: var(--bone-2); font-size: 15px; margin: 0; }

/* ---------- numbers ---------- */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.num { padding: 32px 24px 36px 0; border-bottom: 1px solid var(--rule); }
.num:not(:nth-child(4n)) { border-right: 1px solid var(--rule); }
.num:not(:nth-child(4n+1)) { padding-left: 24px; }
.num__v { font-size: clamp(48px, 5.4vw, 88px); letter-spacing: -.05em; line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; }
.num__v small { font-size: .32em; letter-spacing: 0; font-family: var(--mono); color: var(--bone-3); font-weight: 400; }
.num__l { margin-top: 18px; font-size: 14px; color: var(--bone-2); max-width: 22ch; line-height: 1.45; }
.num__s { margin-top: 6px; font: 11px var(--mono); color: var(--bone-3); }

/* ---------- goal + founder ---------- */
.goal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.goal__q { grid-column: 1 / span 8; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.08; letter-spacing: -.04em; }
.goal__q cite { display: block; margin-top: 28px; font: normal 12px var(--mono); color: var(--bone-3); }
.founder { margin-top: clamp(80px, 10vw, 160px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: end; }
.founder__img { grid-column: 1 / span 4; position: relative; overflow: hidden; }
.founder__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); }
.founder__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--ink) 55%, transparent)); }
.founder__txt { grid-column: 6 / span 6; }
.founder__txt .h3 { margin-bottom: 22px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-top: 1px solid var(--rule); }
.cta__img { position: absolute; inset: 0; opacity: .5; }
.cta__img img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink) 25%, color-mix(in srgb, var(--ink) 30%, transparent)); }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { max-width: 13ch; }
.cta .lede { margin: 28px 0 40px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule); padding: 0 0 calc(var(--hud) + 32px); position: relative; }
.marquee { overflow: hidden; border-bottom: 1px solid var(--rule); padding: clamp(24px, 3vw, 40px) 0; white-space: nowrap; }
.marquee__t { display: inline-flex; will-change: transform; animation: mq 38s linear infinite; }
.marquee__t span { font-size: clamp(56px, 9vw, 150px); letter-spacing: -.055em; line-height: 1; padding-right: .5em; display: inline-flex; align-items: center; gap: .5em; color: var(--bone); }
.marquee__t span::after { content: ""; width: .16em; height: .16em; border-radius: 50%; background: var(--amber); display: inline-block; }
.marquee__t span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--bone-3); }
@keyframes mq { to { transform: translateX(-50%); } }
.js-on .marquee__t { animation: none; }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; padding-top: 56px; }
.foot__brand { grid-column: 1 / span 4; }
.foot__brand img { height: 24px; width: auto; margin-bottom: 18px; }
.foot__brand p { color: var(--bone-3); font-size: 14px; max-width: 30ch; }
.foot__col { grid-column: span 2; }
.foot__col h4 { font: 11px var(--mono); color: var(--bone-3); margin-bottom: 14px; letter-spacing: .01em; }
.foot__col a { display: block; font-size: 14px; color: var(--bone-2); padding: 3px 0; transition: color .25s; }
.foot__col a:hover { color: var(--amber); }
.foot__inception { display: inline-block; margin: 14px 0 0 -8px; line-height: 0; }
.foot__inception img { display: block; height: 64px; width: auto; }
.foot__inception:focus-visible { outline-offset: 2px; }
.foot__legal { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font: 11px var(--mono); color: var(--bone-3); }

/* ---------- product pages ---------- */
.phero { position: relative; min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 130px 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.phero__img { position: absolute; inset: 0; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 60%, transparent) 0%, color-mix(in srgb, var(--ink) 15%, transparent) 35%, color-mix(in srgb, var(--ink) 95%, transparent) 100%); }
.phero .wrap { position: relative; z-index: 2; }
.phero__top { display: flex; gap: 14px; align-items: center; margin-bottom: 36px; flex-wrap: wrap; }
.phero__top img { height: 30px; width: auto; }
.phero h1 { max-width: 13ch; }
.phero .lede { margin-top: 30px; }
.crumbs { font: 12px var(--mono); color: var(--bone-3); display: flex; gap: 10px; }
.crumbs a:hover { color: var(--amber); }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.split__l { grid-column: 1 / span 3; }
.split__l .stick { position: sticky; top: 110px; }
.split__r { grid-column: 4 / span 8; }
.prose { max-width: 40em; }
.prose p { color: var(--bone-2); font-size: 18px; line-height: 1.65; }
.prose p strong { color: var(--bone); font-weight: 500; }
.prose p.big { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; letter-spacing: -.025em; color: var(--bone); }
.prose h3 { font-size: 24px; letter-spacing: -.025em; margin: 56px 0 18px; color: var(--bone); }
.prose h3:first-child { margin-top: 0; }

.figure { border: 1px solid var(--rule); background: var(--graphite); padding: clamp(20px, 3vw, 48px); position: relative; }
.figure__head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 28px; font: 11px var(--mono); color: var(--bone-3); flex-wrap: wrap; }
.figure__head b { color: var(--bone); font-weight: 400; }
.figure .diagram { width: 100%; height: auto; }
.figure--m { display: none; }

.steps { counter-reset: s; border-top: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); color: var(--bone-2); font-size: 17px; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 12px var(--mono); color: var(--amber); padding-top: 5px; }

.status { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); }
.status__col { padding: clamp(24px, 3vw, 44px); }
.status__col + .status__col { border-left: 1px solid var(--rule); }
.status__col h3 { display: flex; gap: 12px; align-items: center; font-size: 22px; margin-bottom: 24px; }
.status__col li { padding: 12px 0; border-top: 1px solid var(--rule); color: var(--bone-2); font-size: 15.5px; line-height: 1.5; }

.media { position: relative; overflow: hidden; border: 1px solid var(--rule); }
.media img { width: 100%; height: auto; }
.media--clip { clip-path: inset(0 0 0 0); }
.media-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: end; }
.media-row .a { grid-column: 1 / span 7; }
.media-row .b { grid-column: 9 / span 4; }
.media-cap { font: 11px var(--mono); color: var(--bone-3); margin-top: 12px; }
.phones { display: flex; gap: clamp(12px, 2vw, 28px); justify-content: flex-end; }
.phones figure { margin: 0; width: 30%; }
.phones img { border-radius: 22px; border: 1px solid var(--rule-2); }
.phones figure:nth-child(2) { transform: translateY(-48px); }

.next { display: block; border-top: 1px solid var(--rule); padding: clamp(56px, 8vw, 120px) 0; position: relative; overflow: hidden; }
.next .label { margin-bottom: 18px; }
.next__name { font-size: clamp(64px, 12vw, 200px); letter-spacing: -.06em; line-height: .85; transition: color .4s; }
.next:hover .next__name { color: var(--amber); }

/* ---------- about ---------- */
.bio { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.bio__img { grid-column: 1 / span 5; }
.bio__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; filter: grayscale(1); }
.bio__txt { grid-column: 7 / span 6; }
.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.method { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--rule); }
.method:not(:nth-child(3n)) { border-right: 1px solid var(--rule); }
.method:not(:nth-child(3n+1)) { padding-left: 28px; }
.method h3 { font-size: 22px; letter-spacing: -.025em; margin: 22px 0 10px; }
.method p { color: var(--bone-2); font-size: 15px; margin: 0; }
.method svg { width: 40px; height: 40px; color: var(--amber); }
.facts { border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.facts dt { font: 12px/1.9 var(--mono); color: var(--bone-3); }
.facts dd { margin: 0; color: var(--bone-2); }

/* ---------- contact ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font: 12px var(--mono); color: var(--bone-3); }
.field input, .field textarea, .field select { background: transparent; border: 0; border-bottom: 1px solid var(--rule-2); color: var(--bone); font: 400 19px/1.4 var(--sans); padding: 10px 0 12px; border-radius: 0; transition: border-color .3s; width: 100%; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.topics { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.topics legend { margin-bottom: 12px; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; inset: 0; }
.topics span { display: inline-flex; height: 40px; align-items: center; padding: 0 16px; border: 1px solid var(--rule-2); border-radius: 20px; font-size: 14px; color: var(--bone-2); cursor: pointer; transition: all .25s; }
.topics input:checked + span { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.topics input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.form__status { font: 13px var(--mono); color: var(--bone-2); min-height: 1.5em; }
.form__status.ok { color: var(--teal); }
.form__status.err { color: var(--amber); }
.contact-side { border-top: 1px solid var(--rule); }
.contact-side div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact-side dt { font: 11px var(--mono); color: var(--bone-3); margin-bottom: 6px; }
.contact-side dd { margin: 0; color: var(--bone-2); font-size: 15px; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: flex; align-items: center; padding: 120px 0; }
.nf__code { font-size: clamp(120px, 26vw, 420px); letter-spacing: -.07em; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--bone-3); }

/* ---------- legal shell ---------- */
.legal { padding: 140px 0 120px; }
.legal section { padding: 0 !important; background: none !important; }
.legal .legal-content, .legal section > div { max-width: 46rem; margin: 0 auto; }
.legal h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.045em; line-height: 1; margin-bottom: 14px; font-weight: 500; }
.legal h2 { font-size: 26px; letter-spacing: -.025em; margin: 56px 0 16px; padding-top: 22px; border-top: 1px solid var(--rule); line-height: 1.15; font-weight: 500; }
.legal h3 { font-size: 19px; letter-spacing: -.015em; margin: 32px 0 10px; line-height: 1.25; font-weight: 500; }
.legal p, .legal li { color: var(--bone-2); font-size: 16px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 6px 0 18px 1.3em; }
.legal ul { list-style: disc; } .legal ol { list-style: decimal; }
.legal li { margin: 4px 0; padding-left: 4px; }
.legal li::marker { color: var(--amber); }
.legal strong { color: var(--bone); font-weight: 500; }
.legal a { color: var(--amber); text-decoration: underline; text-decoration-color: rgba(255, 176, 32, .4); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--amber); }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--rule); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--bone-2); }
.legal th { color: var(--bone); font-weight: 500; background: var(--graphite); }
.legal code { font-family: var(--mono); font-size: .9em; color: var(--teal); }
.legal [class*="bg-white/"], .legal [class*="bg-amber"] { background: var(--graphite); border: 1px solid var(--rule); border-radius: 2px; padding: 20px 22px; margin: 18px 0; }
.legal [class*="bg-amber"] { border-color: rgba(255, 176, 32, .45); }
.legal [class*="text-white/40"] { color: var(--bone-3); }
.legal .mt-1 { margin-top: 4px; } .legal .mt-2 { margin-top: 8px; } .legal .mt-4 { margin-top: 16px; } .legal .mb-8 { margin-bottom: 32px; }
.legal .text-sm, .legal .text-sm li { font-size: 15px; }
.legal [class*="bg-white/"] p { margin: 0; }

/* ---------- transitions ---------- */
.xfer { position: fixed; inset: 0; z-index: 90; background: var(--graphite); pointer-events: none; }
.xfer::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--amber); }
.boot { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: 28px var(--gut) 32px; font: 12px/1.7 var(--mono); color: var(--bone-3); cursor: pointer; }
.boot__log { min-height: 10em; }
.boot__log div b { color: var(--teal); font-weight: 400; }
.boot__log div em { color: var(--amber); font-style: normal; }
.boot__bot { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.boot__n { font: 500 clamp(88px, 16vw, 260px)/.8 var(--sans); letter-spacing: -.06em; color: var(--bone); font-variant-numeric: tabular-nums; }
.boot__skip { color: var(--bone-3); }

/* reveal helpers: only hidden when JS is running and motion is allowed */
/* SplitText line masks clip overflow: give descenders room without moving the baseline */
.ln-mask { padding-bottom: .14em; margin-bottom: -.14em; }
.js-on [data-split="hero"], .js-on [data-fade] { visibility: hidden; }
.js-on .split-lines .ln { overflow: hidden; }
.reveal-img { clip-path: inset(0 0 0 0); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .sys__meta { grid-column: 1 / span 5; }
  .sys__fig { grid-column: 6 / span 7; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num:not(:nth-child(4n)) { border-right: 0; }
  .num:nth-child(odd) { border-right: 1px solid var(--rule); }
  .num:not(:nth-child(4n+1)) { padding-left: 0; }
  .num:nth-child(even) { padding-left: 24px; }
}
@media (max-width: 899px) {
  body { font-size: 16px; }
  :root { --hud: 0px; }
  .hud { display: none; }
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__in { height: 64px; }
  .sec-head { display: block; }
  .sec-head .label { margin-bottom: 22px; }
  .sec-head .lede { margin-top: 22px; }
  .hero { padding-bottom: 48px; }
  .hero__top { top: 84px; }
  .hero__read { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .hero__foot { display: block; }
  .hero__foot .hero__act { justify-content: flex-start; margin-top: 28px; }
  .thesis__text { grid-column: 1 / -1; }
  .drivers { grid-template-columns: 1fr 1fr; }
  .driver, .driver + .driver { padding: 24px 16px 12px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .driver:nth-child(odd) { border-right: 1px solid var(--rule); }
  .driver:nth-child(even) { padding-left: 16px; }
  .driver svg { margin-bottom: 24px; width: 44px; height: 44px; }
  .driver h3 { font-size: 22px; }
  .systems__track { display: block; width: auto; }
  .sys { width: auto; min-height: 0; display: flex; flex-direction: column; gap: 28px; padding: 72px var(--gut); border-right: 0; border-top: 1px solid var(--rule); }
  .sys__no { position: static; order: -1; }
  .grid { display: block; }
  .grid > * + * { margin-top: 24px; }
  .sys__fig { order: 2; }
  .sys__shot { position: relative; width: 60%; margin: 20px 0 0 auto; bottom: 0; }
  .stack__fig, .stack__list { grid-column: 1 / -1; }
  .stack__list { margin-top: 40px; }
  .goal__q { grid-column: 1 / -1; }
  .founder { display: block; }
  .founder__img { width: 70%; margin-bottom: 32px; }
  .foot__grid { display: grid; grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__col { grid-column: span 1; }
  .split { display: block; }
  .split__l { margin-bottom: 28px; }
  .split__l .stick { position: static; }
  .status { grid-template-columns: 1fr; }
  .status__col + .status__col { border-left: 0; border-top: 1px solid var(--rule); }
  .media-row { display: block; }
  .media-row .b { margin-top: 32px; }
  .phones { justify-content: center; }
  .phones figure:nth-child(2) { transform: translateY(-24px); }
  .figure--d { display: none; }
  .figure--m { display: block; }
  .bio { display: block; }
  .bio__img { margin-bottom: 40px; }
  .methods { grid-template-columns: 1fr; }
  .method, .method:not(:nth-child(3n+1)) { padding: 28px 0; border-right: 0 !important; }
  .form { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .spec div { grid-template-columns: 8.5em 1fr; }
  .steps li { grid-template-columns: 40px 1fr; font-size: 16px; }
  .legal { padding-top: 110px; }
}
@media (max-width: 520px) {
  .nums { grid-template-columns: 1fr; }
  .num, .num:nth-child(even) { border-right: 0 !important; padding-left: 0 !important; }
  .hero__read dd { font-size: 12px; }
  .drivers { grid-template-columns: 1fr; }
  .driver, .driver:nth-child(even) { border-right: 0 !important; padding-left: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__t { animation: none; }
}

/* =================== fix round: big visual moments =================== */

/* full-bleed cinematic band with an oversized statement */
.band { position: relative; height: clamp(520px, 92svh, 1000px); overflow: hidden; display: flex; align-items: flex-end; }
.band__img { position: absolute; inset: -8% 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 0%, transparent) 22%, color-mix(in srgb, var(--ink) 0%, transparent) 55%, color-mix(in srgb, var(--ink) 90%, transparent) 100%), linear-gradient(90deg, color-mix(in srgb, var(--ink) 70%, transparent) 0%, color-mix(in srgb, var(--ink) 0%, transparent) 60%); }
.band .wrap { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 112px); }
.band__t { font-size: clamp(44px, 7.6vw, 132px); line-height: .92; letter-spacing: -.055em; font-weight: 500; max-width: 12ch; }
.band__s { margin-top: 24px; font: 12px var(--mono); color: var(--bone-2); }
.band--warm .band__img img { filter: saturate(.9) brightness(.85); }

/* oversized pull statement */
.pull { font-size: clamp(40px, 6.2vw, 108px); line-height: .96; letter-spacing: -.05em; font-weight: 500; max-width: 15ch; }
.pull + .lede { margin-top: 32px; }
.pull-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.pull-wrap .label { grid-column: 1 / span 3; padding-top: .8em; }
.pull-wrap > div { grid-column: 4 / span 9; }

/* big media with clip reveal */
.shot { position: relative; overflow: hidden; border: 1px solid var(--rule); background: var(--graphite); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 176, 32, .04); }
.shot img { width: 100%; height: auto; }
.shot-glow { position: relative; }
.shot-glow::before { content: ""; position: absolute; inset: 10% 5% -5%; background: radial-gradient(closest-side, rgba(255, 176, 32, .16), transparent); filter: blur(40px); z-index: -1; }

/* duo: two big images */
.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.duo .a { grid-column: 1 / span 7; }
.duo .b { grid-column: 8 / span 5; margin-top: 22vh; }

/* pinned scene: visual stage + steps */
.scene { position: relative; background: var(--ink); }
.scene__in { min-height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; padding-top: 88px; padding-bottom: calc(var(--hud) + 24px); }
.scene__steps { grid-column: 1 / span 4; position: relative; }
.scene__steps .label { margin-bottom: 28px; }
.scene__steps ol { counter-reset: st; }
.scene__steps li { position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--rule); color: var(--bone-3); font-size: 17px; line-height: 1.35; transition: color .4s; }
.scene__steps li:last-child { border-bottom: 1px solid var(--rule); }
.scene__steps li::before { counter-increment: st; content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 17px; font: 11px var(--mono); color: var(--bone-3); transition: color .4s; }
.scene__steps li b { display: block; font-weight: 500; font-size: 24px; letter-spacing: -.025em; color: inherit; margin-bottom: 4px; transition: color .4s; }
.scene__steps li span { display: block; font-size: 15px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s; }
.scene__steps li.on { color: var(--bone-2); }
.scene__steps li.on b { color: var(--bone); }
.scene__steps li.on::before { color: var(--amber); }
.scene__steps li.on span { max-height: 6em; opacity: 1; }
.scene__stage { grid-column: 6 / span 7; position: relative; aspect-ratio: 1 / 1; max-height: calc(100svh - 160px); justify-self: center; width: 100%; }
.scene__stage--wide { aspect-ratio: 16 / 10; }
.scene__bar { position: absolute; left: 0; bottom: -28px; width: 100%; height: 1px; background: var(--rule); }
.scene__bar i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(0); }
/* without JS or on phones every step is open */
html:not(.js-on) .scene__steps li, .scene--static .scene__steps li { color: var(--bone-2); }
html:not(.js-on) .scene__steps li b, .scene--static .scene__steps li b { color: var(--bone); }
html:not(.js-on) .scene__steps li span, .scene--static .scene__steps li span { max-height: none; opacity: 1; }

/* stage layers switch with the step (data-step on the stage) */
.layer-s { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease), transform .9s var(--ease); }
.layer-s.on { opacity: 1; }
html:not(.js-on) .layer-s.first { opacity: 1; }

/* ALYT: hub with radio orbit */
.orbit { position: absolute; inset: 0; }
.orbit__hub { position: absolute; inset: 14%; border-radius: 50%; overflow: hidden; }
.orbit__hub img { width: 100%; height: 100%; object-fit: cover; }
.orbit__hub::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 80px 40px var(--ink); }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit .ring { fill: none; stroke: var(--rule-2); stroke-width: 1; }
.orbit .ring--a { fill: none; stroke: var(--amber); stroke-width: 1.4; opacity: 0; transition: opacity .6s; }
.orbit .ray { stroke: var(--amber); stroke-width: 1.2; opacity: 0; transition: opacity .5s; }
.orbit .rn circle { fill: var(--ink); stroke: var(--rule-2); transition: fill .4s, stroke .4s; }
.orbit .rn text { fill: var(--bone-3); font: 13px var(--mono); transition: fill .4s; }
.orbit.s1 .rn circle, .orbit.s2 .rn circle, .orbit.s3 .rn circle, .orbit.s4 .rn circle { stroke: var(--teal); }
.orbit.s1 .rn text, .orbit.s2 .rn text, .orbit.s3 .rn text, .orbit.s4 .rn text { fill: var(--bone); }
.orbit.s2 .ring--a, .orbit.s3 .ring--a, .orbit.s4 .ring--a { opacity: 1; }
.orbit.s3 .ray, .orbit.s4 .ray { opacity: .9; }
.orbit.s4 .rn circle { fill: var(--amber); stroke: var(--amber); }
.orbit__cap { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); font: 12px var(--mono); color: var(--amber); white-space: nowrap; }
html:not(.js-on) .orbit .ring--a, html:not(.js-on) .orbit .ray { opacity: 1; }

/* Finanly: screenshot with measures lighting up */
.bi { position: absolute; inset: 0; display: flex; align-items: center; }
.bi .shot { width: 100%; }
.bi__hl { position: absolute; border: 1.5px solid var(--amber); background: rgba(255, 176, 32, .08); box-shadow: 0 0 40px rgba(255, 176, 32, .25); opacity: 0; transition: opacity .5s, transform .6s var(--ease); transform: scale(.97); }
.bi__hl.on { opacity: 1; transform: none; }
.bi__hl em { position: absolute; left: -1px; top: -26px; font: normal 11px var(--mono); color: var(--ink); background: var(--amber); padding: 3px 8px; white-space: nowrap; }
.bi__count { position: absolute; right: -2%; bottom: -6%; background: var(--ink); border: 1px solid var(--amber); padding: 18px 22px; }
.bi__count b { display: block; font-size: clamp(48px, 5vw, 84px); letter-spacing: -.05em; line-height: 1; font-weight: 500; color: var(--amber); font-variant-numeric: tabular-nums; }
.bi__count span { font: 11px var(--mono); color: var(--bone-2); }

/* Kayro: phones */
.phonestage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.phonestage::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 176, 32, .22), rgba(95, 212, 196, .05) 60%, transparent); filter: blur(10px); }
.phone { position: relative; width: 42%; aspect-ratio: 660 / 1434; border-radius: 9% / 4.2%; overflow: hidden; border: 1px solid var(--rule-2); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .95), 0 0 0 10px #0d1114, 0 0 0 11px var(--rule-2); background: #fff; }
.phone .layer-s img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-side { position: absolute; width: 28%; aspect-ratio: 660 / 1434; border-radius: 9% / 4.2%; overflow: hidden; opacity: .5; filter: blur(1px) brightness(.6); border: 1px solid var(--rule); }
.phone-side img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-side--l { left: 4%; transform: rotate(-8deg) translateY(6%); }
.phone-side--r { right: 4%; transform: rotate(8deg) translateY(6%); }
.ptag { position: absolute; font: 12px var(--mono); color: var(--ink); background: var(--amber); padding: 6px 10px; white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); z-index: 3; }
.ptag.on { opacity: 1; transform: none; }

/* home systems: product layer behind the diagram */
.sys__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; overflow: hidden; z-index: 0; pointer-events: none; }
.sys__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.sys__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--graphite) 0%, color-mix(in srgb, var(--graphite) 55%, transparent) 35%, color-mix(in srgb, var(--graphite) 20%, transparent) 100%), linear-gradient(0deg, var(--graphite) 0%, transparent 30%); }
.sys__meta, .sys__fig, .sys__no { position: relative; z-index: 1; }
.sys__no { position: absolute; }
.sys__fig .figure--d, .sys__fig .figure--m { background: color-mix(in srgb, var(--ink) 72%, transparent); border: 1px solid var(--rule); padding: 22px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; padding: 0; }

@media (max-width: 899px) {
  .band { height: 78svh; }
  .band__img img { object-position: 78% 50%; }
  .pull-wrap { display: block; }
  .pull-wrap .label { margin-bottom: 20px; }
  .duo { display: block; }
  .duo .b { margin: 32px 0 0 20%; }
  .scene__in { display: flex; flex-direction: column-reverse; gap: 36px; min-height: 0; padding: 72px 0 64px; }
  .scene__stage { max-height: none; width: 100%; }
  .scene__bar { display: none; }
  .sys__bg { position: relative; width: 100%; height: 240px; order: 1; margin: 0 calc(var(--gut) * -1); width: calc(100% + 2 * var(--gut)); }
  .sys__no { position: static; }
  .sys__fig .figure--d, .sys__fig .figure--m { padding: 12px; }
  .bi__count { right: 0; bottom: -18%; padding: 12px 14px; }
}
.bi .layer-s img { width: 100%; height: 100%; object-fit: cover; }
.scene { overflow-x: clip; }
.bi__count { top: calc(100% + 44px); bottom: auto; right: auto; left: 0; display: flex; align-items: baseline; gap: 16px; transition: opacity .5s, transform .6s var(--ease); }
.js-on .bi__count:not(.on) { opacity: 0; transform: translateY(10px); }
@media (max-width: 899px) { .bi__count { position: relative; top: auto; margin-top: 20px; } }

/* =================== round 2: project brands =================== */
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-500i.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* each project wears its own palette; the shell (home hero, about, contact) stays amber-on-ink */
.t-alyt { --ink: #080B10; --graphite: #10161F; --bone: #E9EFF7; --bone-2: #B3C1D2; --bone-3: #7F90A5; --rule: #1A2330; --rule-2: #2F3C4E;
  --amber: #1E9CD7; --amber-dim: rgba(30, 156, 215, .18); --teal: #A8E0E8; --deep: #0E4E8E;
  --grad: linear-gradient(100deg, #0E4E8E 10%, #1E9CD7 55%, #63C2E4 90%); --display: "Space Grotesk", var(--sans); }
.t-finanly { --ink: #0B0F19; --graphite: #141B2E; --bone: #F3F4F8; --bone-2: #C3C9D6; --bone-3: #8A93A6; --rule: rgba(243, 244, 248, .09); --rule-2: rgba(243, 244, 248, .2);
  --amber: #22D3EE; --amber-dim: rgba(34, 211, 238, .14); --teal: #0DD1B0; --violet: #7A5CFF;
  --grad: linear-gradient(120deg, #0DD1B0 0%, #22D3EE 55%, #7A5CFF 100%); --display: "Space Grotesk", var(--sans); }
.t-kayro { --ink: #121317; --graphite: #181A1F; --bone: #F3F4F6; --bone-2: #B7BCC5; --bone-3: #8A919C; --rule: rgba(255, 255, 255, .09); --rule-2: rgba(255, 255, 255, .18);
  --amber: #9AD74B; --amber-dim: rgba(154, 215, 75, .16); --teal: #3B82F6; --lime: #9AD74B; --kink: #9AD74B;
  --grad: linear-gradient(100deg, #9AD74B 0%, #3B82F6 100%); --display: "Helvetica Neue", "Inter", -apple-system, sans-serif;
  --sans: -apple-system, "Helvetica Neue", "Inter", "Segoe UI", sans-serif; }
/* deliberately light band for light-mode Kayro captures (Cloud) */
.t-kayro .band-light, .band-light.t-kayro { --ink: #F7F7F8; --graphite: #FFFFFF; --bone: #16181D; --bone-2: #4F5560; --bone-3: #8A919C; --rule: rgba(22, 24, 29, .09); --rule-2: rgba(22, 24, 29, .18); --amber: #3B82F6; background: #F7F7F8; color: #16181D; }
.band-light .dev-phone { background: #E9EAEC; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06) inset, 0 50px 100px -30px rgba(22, 24, 29, .35); }
/* deliberately light band for light-mode Finanly captures (the product's own paper theme) */
.t-finanly .band-light { --ink: #FBFBFD; --graphite: #FFFFFF; --bone: #0B0F19; --bone-2: #3F4756; --bone-3: #6B7280; --rule: rgba(11, 15, 25, .09); --rule-2: rgba(11, 15, 25, .18); --amber: #7A5CFF; background: #FBFBFD; color: #0B0F19; }
.t-finanly .band-light .dev-browser { box-shadow: 0 50px 100px -40px rgba(11, 15, 25, .3); }
.t-aven { --ink: #F6F4ED; --graphite: #FFFEFA; --bone: #203748; --bone-2: #5A6B63; --bone-3: #86938C; --rule: #DDE3D7; --rule-2: #C6D0C2;
  --amber: #335F52; --amber-dim: rgba(51, 95, 82, .12); --teal: #749881; --apricot: #F1C27F; --sage: #E9EEE3; --forest-deep: #183F32;
  --grad: linear-gradient(100deg, #183F32, #335F52); --display: "Cormorant Garamond", Georgia, serif; --sans: "Manrope", system-ui, sans-serif; }
body.t-alyt, body.t-finanly, body.t-kayro, body.t-aven { background: var(--ink); color: var(--bone); font-family: var(--sans); }
.t-alyt, .t-finanly, .t-kayro, .t-aven { color: var(--bone); }
.t-kayro .label b, .t-aven .label b { color: var(--amber); }
.t-aven .display, .t-aven .h1, .t-aven .h2, .t-aven .pull, .t-aven .band__t, .t-aven .sys__name, .t-aven .next__name, .t-aven .status__col h3, .t-aven .scene__steps li b { letter-spacing: -.012em; font-weight: 500; line-height: .98; }
.t-aven .h1, .t-aven .band__t, .t-aven .pull { line-height: 1.02; }
.t-alyt .h1, .t-alyt .h2, .t-alyt .pull, .t-alyt .band__t, .t-alyt .sys__name, .t-finanly .h1, .t-finanly .h2, .t-finanly .pull, .t-finanly .band__t, .t-finanly .sys__name { letter-spacing: -.035em; font-weight: 600; }
.t-kayro .h1, .t-kayro .h2, .t-kayro .pull, .t-kayro .band__t, .t-kayro .sys__name { letter-spacing: -.055em; font-weight: 500; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-aven em, .t-aven .it { font-style: italic; color: var(--amber); }
/* light themes: dark logo, light chrome */
body.t-aven .brand img { filter: invert(1) brightness(.15); }
body.t-kayro .hud, body.t-aven .hud { color: var(--bone-3); }
.t-aven .chip { background: var(--graphite); }
.brandmark { display: inline-flex; align-items: center; gap: 12px; }
.brandmark img { height: 30px; width: auto; }
.brandmark .wm { font: 600 26px/1 var(--display); letter-spacing: -.04em; }
.t-aven .brandmark .wm { font-size: 38px; letter-spacing: -.01em; font-weight: 500; }
.t-kayro .brandmark .wm { font-weight: 600; letter-spacing: -.07em; font-size: 30px; }
.t-aven .brandmark svg { width: 26px; height: 31px; color: var(--amber); }

/* light hero for Kayro and Aven pages (no dark image wash) */
.phero--light::after { background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 0%, transparent) 40%, var(--ink) 100%); }
.phero--light .phero__img img { opacity: 1; }

/* ---------- device mockups around real screens ---------- */
.dev-phone { position: relative; aspect-ratio: 1206 / 2622; border-radius: 15% / 6.9%; padding: 3.2%; background: #0C0E11;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 60px 120px -30px rgba(0, 0, 0, .7), 0 30px 60px -30px rgba(0, 0, 0, .5); }
.dev-phone::before { content: ""; position: absolute; left: -1.2%; top: 18%; width: 1.2%; height: 7%; border-radius: 2px 0 0 2px; background: #1a1d21; }
.dev-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 12.4% / 5.8%; overflow: hidden; background: #000; container-type: inline-size; }
.dev-phone__screen > img, .dev-phone__screen .layer-s img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.t-aven .dev-phone { background: #E9EAEC; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06) inset, 0 50px 100px -30px rgba(22, 24, 29, .35), 0 20px 40px -20px rgba(22, 24, 29, .2); }
.t-aven .dev-phone::before { background: #D5D7DA; }
.dev-browser { position: relative; border-radius: 12px; overflow: hidden; background: var(--graphite); border: 1px solid var(--rule-2);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .75), 0 20px 50px -30px rgba(0, 0, 0, .5); }
.t-aven .dev-browser { box-shadow: 0 50px 100px -40px rgba(22, 24, 29, .3); }
.dev-browser__bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--rule); background: color-mix(in srgb, var(--graphite) 85%, var(--bone) 4%); }
.dev-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule-2); }
.dev-browser__bar span { margin-left: 14px; flex: 1; max-width: 320px; height: 18px; border-radius: 9px; background: var(--rule); font: 10px/18px var(--mono); color: var(--bone-3); padding-left: 10px; }
.dev-browser__screen { position: relative; }
.dev-browser__screen img { width: 100%; height: auto; display: block; }
.dev-tv { position: relative; padding: .9%; border-radius: 10px; background: #050608; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 70px 140px -40px rgba(0, 0, 0, .85); }
.dev-tv img { width: 100%; height: auto; display: block; border-radius: 4px; }
.dev-tv::after { content: ""; position: absolute; left: 42%; right: 42%; bottom: -18px; height: 18px; background: linear-gradient(#0a0b0d, #050608); border-radius: 0 0 6px 6px; }
.float-card { position: absolute; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.float-card img { width: 100%; height: auto; display: block; }
.caption { font: 11px/1.5 var(--mono); color: var(--bone-3); margin-top: 14px; }

/* home systems: device compositions, theme morph */
.sys { background: transparent; }
.sys__stage { grid-column: 6 / span 7; position: relative; align-self: center; height: min(66vh, 620px); }
.sys__stage > * { position: absolute; }
.comp-alyt .dev-tv { left: 0; top: 4%; width: 88%; }
.comp-alyt .dev-phone { right: 0; bottom: 0; width: 26%; }
.comp-alyt .float-card { left: 6%; bottom: 2%; width: 34%; }
.comp-finanly .dev-browser { left: 0; top: 6%; width: 86%; }
.comp-finanly .dev-phone { right: 0; bottom: 0; width: 24%; aspect-ratio: 390 / 844; border-radius: 13% / 6%; }
.comp-finanly .dev-phone .dev-phone__screen { border-radius: 10% / 4.6%; }
.comp-kayro .dev-phone { width: 31%; }
.comp-kayro .p1 { left: 8%; top: 8%; transform: rotate(-6deg); }
.comp-kayro .p2 { left: 36%; top: 0; z-index: 2; }
.comp-kayro .p3 { left: 64%; top: 8%; transform: rotate(6deg); }
.comp-aven .dev-browser { left: 0; top: 4%; width: 84%; }
.comp-aven .dev-phone { right: 2%; bottom: 0; width: 25%; }
.sys__stage .dev-phone { height: auto; }
.sys__name img { height: .62em; width: auto; display: inline-block; vertical-align: baseline; }
.sys__logo { height: 44px; display: flex; align-items: center; }
.sys__logo img { height: 34px; width: auto; }
.t-aven .sys__logo svg { width: 30px; height: 36px; color: var(--amber); }

/* project-coloured proof tiles on the shell */
.num[data-p] .num__s::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--pc, var(--amber)); vertical-align: 0; }
.num[data-p="alyt"] { --pc: #1E9CD7; } .num[data-p="finanly"] { --pc: #22D3EE; } .num[data-p="kayro"] { --pc: #9AD74B; } .num[data-p="aven"] { --pc: #F1C27F; } .num[data-p="lab"] { --pc: #FFB020; }
.num[data-p] .num__v { color: color-mix(in srgb, var(--pc) 22%, var(--bone)); }

/* big showcase blocks */
.showcase { position: relative; }
.showcase__head { max-width: 920px; margin-bottom: clamp(40px, 5vw, 80px); }
.showcase__head .lede { margin-top: 24px; }
.wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; }
.wall .w-a { grid-column: 1 / span 8; }
.wall .w-b { grid-column: 9 / span 4; }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.facts-grid > div { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--rule); }
.facts-grid > div:not(:nth-child(3n)) { border-right: 1px solid var(--rule); }
.facts-grid > div:not(:nth-child(3n+1)) { padding-left: 28px; }
.facts-grid h3 { font: 500 22px/1.15 var(--display); letter-spacing: -.02em; margin-bottom: 10px; }
.facts-grid p { color: var(--bone-2); font-size: 15px; margin: 0; }
.t-aven .facts-grid h3 { font-size: 28px; letter-spacing: -.01em; }
.quote-xl { font: 500 clamp(36px, 5vw, 84px)/1 var(--display); letter-spacing: -.04em; max-width: 16ch; }
.t-aven .quote-xl { letter-spacing: -.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 19px; border: 1px solid var(--rule-2); font-size: 14px; color: var(--bone-2); background: var(--graphite); }
.chips span b { font-weight: 600; color: var(--bone); margin-right: 6px; }
.chips span.on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.dial { display: flex; gap: 8px; }
.dial span { flex: 1; text-align: center; padding: 14px 8px; border-radius: 14px; border: 1px solid var(--rule-2); font-size: 14px; color: var(--bone-2); }
.dial span b { display: block; font: 600 28px/1 var(--display); color: var(--bone); margin-bottom: 6px; letter-spacing: -.03em; }
.dial span.on { background: var(--lime, var(--bone)); color: #121317; border-color: transparent; }
.dial span.on b { color: #121317; }

/* section in a project's dark variant (Kayro voice) */
.sec--dark { background: #15171C; color: #F3F4F6; --ink: #15171C; --graphite: #1D2025; --bone: #F3F4F6; --bone-2: #B7BCC5; --bone-3: #8A919C; --rule: rgba(255, 255, 255, .09); --rule-2: rgba(255, 255, 255, .18); }

/* ---------- Kayro agent card, rebuilt from the production card's styles ---------- */
.kchat { --u: calc(100cqw / 390); position: absolute; inset: 0; background: #F7F7F8; font-family: -apple-system, "Helvetica Neue", "Inter", sans-serif; color: #16181D; display: flex; flex-direction: column; font-size: calc(var(--u) * 15); }
.kchat__status { height: calc(var(--u) * 54); display: flex; justify-content: space-between; align-items: center; padding: 0 calc(var(--u) * 34); font-weight: 600; font-size: calc(var(--u) * 16); }
.kchat__status i { width: calc(var(--u) * 26); height: calc(var(--u) * 12); border-radius: 3px; border: 1.5px solid #16181D; display: inline-block; position: relative; }
.kchat__status i::after { content: ""; position: absolute; inset: 1.5px; right: 4px; background: #16181D; border-radius: 1px; }
.kchat__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: calc(var(--u) * 6) calc(var(--u) * 16) 0; }
.kchat__head .l, .kchat__head .r { display: flex; gap: calc(var(--u) * 14); align-items: center; }
.kchat__head .r { justify-content: flex-end; }
.kchat__btn { width: calc(var(--u) * 38); height: calc(var(--u) * 38); border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(163, 170, 184, .34); display: grid; place-items: center; }
.kchat__btn svg { width: 46%; height: 46%; }
.kchat__ava { width: calc(var(--u) * 72); height: calc(var(--u) * 72); border-radius: calc(var(--u) * 20); background: #15171C; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: calc(var(--u) * 22); box-shadow: 0 0 0 calc(var(--u) * 3) #F7F7F8, 0 0 0 calc(var(--u) * 5.5) #4CCF72; }
.kchat__name { text-align: center; margin-top: calc(var(--u) * 10); font-weight: 700; font-size: calc(var(--u) * 20); letter-spacing: -.01em; }
.kchat__sub { text-align: center; color: #636973; font-size: calc(var(--u) * 13); }
.kchat__day { text-align: center; color: #98A0AB; font-size: calc(var(--u) * 12); font-weight: 600; letter-spacing: .06em; margin: calc(var(--u) * 14) 0 calc(var(--u) * 6); }
.kchat__body { flex: 1; overflow: hidden; padding: 0 calc(var(--u) * 14); display: flex; flex-direction: column; justify-content: flex-end; gap: calc(var(--u) * 10); }
.kchat__composer { margin: calc(var(--u) * 10) calc(var(--u) * 12) calc(var(--u) * 26); height: calc(var(--u) * 52); border-radius: calc(var(--u) * 26); background: #fff; box-shadow: 0 4px 14px rgba(163, 170, 184, .3); display: flex; align-items: center; gap: calc(var(--u) * 12); padding: 0 calc(var(--u) * 20); color: #98A0AB; font-size: calc(var(--u) * 16); }
.kchat__composer b { color: #16181D; font-size: calc(var(--u) * 22); font-weight: 400; }
.kmsg { align-self: flex-end; max-width: 80%; background: #15171C; color: #fff; border-radius: calc(var(--u) * 18) calc(var(--u) * 18) calc(var(--u) * 4) calc(var(--u) * 18); padding: calc(var(--u) * 10) calc(var(--u) * 14); font-size: calc(var(--u) * 15); line-height: 1.35; }
.kmsg--quote { background: #fff; color: #16181D; border-left: 3px solid #3B82F6; border-radius: calc(var(--u) * 12); box-shadow: 0 2px 8px rgba(163, 170, 184, .25); }
.kcard { --u: calc(100cqw / 390); position: relative; background: #fff; border-radius: calc(var(--u) * 18); box-shadow: 0 1px 0 rgba(22, 24, 29, .04), 0 6px 18px rgba(163, 170, 184, .28); padding: calc(var(--u) * 16) calc(var(--u) * 16) calc(var(--u) * 16); font-family: -apple-system, "Helvetica Neue", "Inter", sans-serif; color: #16181D; overflow: hidden; width: 100%; }
.kcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #3B82F6; }
.kcard__h { display: grid; grid-template-columns: auto 1fr auto; gap: calc(var(--u) * 10); align-items: center; }
.kcard__av { width: calc(var(--u) * 32); height: calc(var(--u) * 32); border-radius: 50%; background: #15171C; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: calc(var(--u) * 11.5); }
.kcard__k { font-weight: 700; font-size: calc(var(--u) * 13.5); line-height: 1.2; }
.kcard__w { color: #636973; font-size: calc(var(--u) * 12.5); }
.kcard__t { color: #636973; font-size: calc(var(--u) * 12); }
.kcard__title { font-weight: 700; font-size: calc(var(--u) * 19); letter-spacing: -.01em; line-height: 1.2; margin: calc(var(--u) * 12) 0 calc(var(--u) * 8); }
.kcard__p { color: #636973; font-size: calc(var(--u) * 14.5); line-height: 1.45; margin: 0 0 calc(var(--u) * 10); }
.kcard__meta { font-size: calc(var(--u) * 12); color: #4F5560; font-weight: 600; margin-bottom: calc(var(--u) * 8); }
.kcard__box { background: #F2F3F5; border-radius: calc(var(--u) * 12); padding: calc(var(--u) * 10) calc(var(--u) * 12); font-size: calc(var(--u) * 14); line-height: 1.35; margin-bottom: calc(var(--u) * 10); }
.kcard__box small { display: block; color: #636973; font-size: calc(var(--u) * 11.5); font-weight: 600; margin-top: calc(var(--u) * 4); }
.kcard__box small:first-child { margin-top: 0; }
.kcard__st { display: flex; justify-content: space-between; color: #636973; font-size: calc(var(--u) * 12); margin-bottom: calc(var(--u) * 10); }
.kcard__st span::before { content: ""; display: inline-block; width: calc(var(--u) * 5); height: calc(var(--u) * 5); border-radius: 50%; background: #636973; margin-right: calc(var(--u) * 6); vertical-align: middle; }
.kcard__st .ok::before { background: #4CCF72; }
.kcard__btns { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 8); }
.kcard__btns.one { grid-template-columns: 1fr; }
.kcard__b { height: calc(var(--u) * 42); border-radius: calc(var(--u) * 12); display: grid; place-items: center; font-weight: 700; font-size: calc(var(--u) * 14); background: #EFF0F3; color: #16181D; }
.kcard__b--p { background: #15171C; color: #fff; }
.kcard__src { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: calc(var(--u) * 8) 0; border-top: 1px solid #EEF0F3; font-size: calc(var(--u) * 13.5); }
.kcard__src small { color: #636973; font-size: calc(var(--u) * 11.5); grid-column: 1; }
.kcard__src em { grid-row: 1 / span 2; grid-column: 2; font-style: normal; color: #636973; align-self: center; }
.kcard__steps { margin: 0 0 calc(var(--u) * 10); padding: 0; list-style: none; font-size: calc(var(--u) * 14); }
.kcard__steps li { display: grid; grid-template-columns: calc(var(--u) * 22) 1fr; gap: calc(var(--u) * 6); padding: calc(var(--u) * 5) 0; color: #636973; }
.kcard__steps li::before { content: ""; width: calc(var(--u) * 14); height: calc(var(--u) * 14); border-radius: 50%; border: 1.5px solid #C4C9D0; margin-top: calc(var(--u) * 2); }
.kcard__steps li.done { color: #16181D; }
.kcard__steps li.done::before { background: #4CCF72; border-color: #4CCF72; box-shadow: inset 0 0 0 calc(var(--u) * 3) #fff; }
.kcard__steps li.now { color: #16181D; font-weight: 600; }
.kcard__steps li.now::before { border-color: #3B82F6; border-width: calc(var(--u) * 4); }
.kcard__bar { height: calc(var(--u) * 5); border-radius: 3px; background: #EEF0F3; overflow: hidden; margin-bottom: calc(var(--u) * 10); }
.kcard__bar i { display: block; height: 100%; width: 66%; background: #3B82F6; border-radius: 3px; }
.kcard__opt { display: grid; gap: calc(var(--u) * 8); }
.kcard__opt .kcard__b { place-items: center start; padding-left: calc(var(--u) * 14); }
.kcard--dark { background: #1D2025; color: #F3F4F6; box-shadow: none; }
.kcard--dark .kcard__p, .kcard--dark .kcard__w, .kcard--dark .kcard__t, .kcard--dark .kcard__st { color: #A4ABB6; }
.kcard--dark .kcard__box { background: #15171C; }
.kcard--dark .kcard__av { background: #F3F4F6; color: #15171C; }
.kcard--dark .kcard__b { background: #111317; color: #F3F4F6; }
.kcard--dark .kcard__b--p { background: #ECEEF2; color: #15171C; }
.kcard--approved .kcard__btns { display: none; }
/* standalone cards outside a phone: fixed logical width */
.kcard-solo { width: min(400px, 100%); container-type: inline-size; }
.kcard-solo .kcard { --u: calc(100cqw / 360); }
/* lock-screen notification layer */
.klock { --u: calc(100cqw / 390); position: absolute; inset: 0; background: radial-gradient(120% 70% at 30% 20%, #2D3A2A 0%, #16181D 60%), #16181D; color: #fff; font-family: -apple-system, "Helvetica Neue", "Inter", sans-serif; display: flex; flex-direction: column; align-items: center; padding: 0 calc(var(--u) * 12); }
.klock__time { font-size: calc(var(--u) * 86); font-weight: 600; letter-spacing: -.02em; margin-top: calc(var(--u) * 70); line-height: 1; }
.klock__date { font-size: calc(var(--u) * 18); font-weight: 500; opacity: .85; margin-top: calc(var(--u) * 6); }
.klock__n { margin-top: auto; margin-bottom: calc(var(--u) * 110); width: 100%; background: rgba(245, 246, 248, .9); backdrop-filter: blur(20px); border-radius: calc(var(--u) * 24); padding: calc(var(--u) * 10); color: #16181D; }
.klock__app { display: flex; align-items: center; gap: calc(var(--u) * 8); font-size: calc(var(--u) * 12.5); color: #4F5560; padding: calc(var(--u) * 2) calc(var(--u) * 6) calc(var(--u) * 8); }
.klock__app img { width: calc(var(--u) * 20); height: calc(var(--u) * 20); border-radius: calc(var(--u) * 5); }
.klock__app span { margin-left: auto; }
.klock .kcard { box-shadow: none; }

/* full-duplex voice illustration */
.duplex { position: relative; border: 1px solid var(--rule); border-radius: 20px; padding: clamp(20px, 3vw, 40px); background: #1D2025; overflow: hidden; }
.duplex svg { width: 100%; height: auto; display: block; }
.duplex .lane-l { fill: none; stroke: #9AD74B; stroke-width: 2; }
.duplex .lane-r { fill: none; stroke: #3B82F6; stroke-width: 2; }
.duplex text { font: 12px var(--mono); fill: #8A919C; }
.vram { margin-top: 28px; }
.vram__bar { display: flex; height: 46px; border-radius: 10px; overflow: hidden; border: 1px solid var(--rule-2); }
.vram__bar span { display: flex; align-items: center; padding: 0 12px; font: 12px var(--mono); color: #15171C; white-space: nowrap; overflow: hidden; }
.vram__legend { display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--bone-3); margin-top: 10px; }

/* Aven simone flow */
.aflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.aflow > div { background: var(--graphite); border: 1px solid var(--rule); border-radius: 22px; padding: 28px; }
.aflow b { display: block; font: 500 30px/1.05 var(--display); margin: 14px 0 10px; letter-spacing: -.01em; }
.aflow p { margin: 0; color: var(--bone-2); font-size: 15px; }
.aflow .n { font: 600 11px var(--sans); letter-spacing: .18em; color: var(--amber); }
.anotif { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 22px; background: rgba(255, 254, 250, .86); box-shadow: 0 20px 50px -20px rgba(32, 55, 72, .35); font-size: 15px; color: var(--bone); backdrop-filter: blur(10px); }
.anotif i { width: 34px; height: 34px; border-radius: 9px; background: #183F32; display: grid; place-items: center; color: #F6F4ED; font-style: normal; }
.anotif small { display: block; color: var(--bone-2); font-size: 12px; }

@media (max-width: 899px) {
  .sys__stage { height: 360px; width: 100%; order: 2; }
  .wall { display: block; } .wall .w-b { margin-top: 32px; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div, .facts-grid > div:not(:nth-child(3n+1)) { padding: 24px 0; border-right: 0 !important; }
  .aflow { grid-template-columns: 1fr; }
  .dial span b { font-size: 22px; }
}
.orbit .rn.on circle { fill: var(--amber); stroke: var(--amber); }
.orbit .rn.on text { fill: var(--bone); }
.next[data-next-bg] { background: var(--ink); color: var(--bone); }
@media (max-width: 899px) {
  .sys { background: var(--ink); }
  .phero .wrap[style*="grid"] { display: block !important; min-height: 0 !important; }
  .phero .sys__stage { height: 440px !important; margin-top: 40px; }
  .scene__stage--wide .phonestage .dev-phone { width: 30% !important; }
}
/* round 2 fixes after the first look */
.sys__name { font-size: clamp(34px, 3.5vw, 60px); line-height: 1.02; max-width: 15ch; }
.t-aven .sys__name { font-size: clamp(40px, 4.2vw, 72px); }
.sys__meta .chip, .phero__top .chip { align-self: flex-start; }
.sys__meta { gap: 18px; }
.grad-text, .grad-text * { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scene__stage:not(.scene__stage--wide) .phonestage > .dev-phone { height: 94%; width: auto !important; }
.dev-phone__screen .klock__app img { width: calc(var(--u) * 20) !important; height: calc(var(--u) * 20) !important; border-radius: calc(var(--u) * 5); object-fit: cover; }
.phero--light::after { background: linear-gradient(90deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 88%, transparent) 34%, color-mix(in srgb, var(--ink) 0%, transparent) 72%), linear-gradient(180deg, color-mix(in srgb, var(--ink) 70%, transparent) 0%, transparent 18%, transparent 60%, var(--ink) 100%); }
.dev-phone__screen img.fit-top { object-fit: contain; object-position: top; background: #F6F4ED; }
.orbit__cap { bottom: -5%; }
.comp-alyt .float-card { left: -2%; bottom: 8%; width: 32%; z-index: 3; }
@media (max-width: 899px) {
  .scene__stage > .caption { position: static !important; margin-top: 16px; }
  .phero--light::after { background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 35%, transparent) 0%, color-mix(in srgb, var(--ink) 88%, transparent) 42%, var(--ink) 70%); }
}
.mailtype { border-top: 1px solid var(--rule); }
.mailtype p { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--rule); font: 500 clamp(24px, 2.4vw, 38px)/1.1 var(--display); letter-spacing: -.04em; color: var(--bone-3); }
.mailtype p span { color: var(--bone); }
.mailtype p:nth-child(odd) span { color: var(--amber); }

/* dark chat chrome matching the real Kayro Messenger dark captures */
.kchat--dark { background: #16171B; color: #F3F4F6; }
.kchat--dark .kchat__status i { border-color: #F3F4F6; } .kchat--dark .kchat__status i::after { background: #F3F4F6; }
.kchat--dark .kchat__btn { background: #212429; box-shadow: none; }
.kchat--dark .kchat__ava { background: #2A2D33; color: #F3F4F6; box-shadow: none; border-radius: calc(var(--u) * 18); }
.kchat--dark .kchat__sub { color: #8A919C; }
.kchat--dark .kchat__composer { background: #212429; box-shadow: none; color: #8A919C; }
.kchat--dark .kchat__composer b { color: #F3F4F6; }
.kchat--dark .kmsg { background: #2A2D33; color: #F3F4F6; }
.kchat--dark .kcard { background: #1D1F24; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }

/* =================== round 3: real desktop windows and live captures =================== */
/* macOS window captures: the chrome is in the PNG, the corners are masked in prep_assets.py */
.dev-mac { position: relative; isolation: isolate; }
.dev-mac img { width: 100%; height: auto; display: block; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)) drop-shadow(0 12px 24px rgba(0, 0, 0, .35)); }
.dev-mac::before { content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1; pointer-events: none; filter: blur(60px);
  background: radial-gradient(50% 60% at 30% 60%, rgba(154, 215, 75, .16), transparent 70%), radial-gradient(50% 60% at 75% 40%, rgba(59, 130, 246, .2), transparent 70%); }
.dev-mac--fade img { filter: none; }
.dev-mac--fade::before { inset: 10% 8% 10%; }

/* Kayro hero: the dark inbox window bleeding off the right edge, Simone phones in front */
.comp-khero { isolation: isolate; }
.comp-khero .dev-mac { left: 6%; top: 4%; width: 132%; z-index: 0; }
.comp-khero .dev-phone { width: 29%; z-index: 2; }
.comp-khero .k1 { left: 2%; top: 32%; transform: rotate(-3deg); }
.comp-khero .k2 { left: 30%; top: 44%; width: 25%; z-index: 3; }

/* home systems track: Kayro chapter */
.comp-ksys .dev-mac { left: 0; top: 2%; width: 100%; }
.comp-ksys .dev-phone { right: -2%; bottom: 0; width: 25%; z-index: 2; }

/* Kayro Mail showcase */
.macstage { position: relative; margin: 0 auto; max-width: 1320px; perspective: 1800px; }
.macstage__in { position: relative; transform-origin: 50% 0; }
.mtag { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 3; pointer-events: none; }
.mtag i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(154, 215, 75, .22), 0 0 24px rgba(154, 215, 75, .6); }
.mtag em { position: absolute; top: -15px; font: normal 12px/30px var(--mono); height: 30px; padding: 0 12px; white-space: nowrap; color: #121317; background: var(--amber); border-radius: 15px; }
.mtag em::before { content: ""; position: absolute; top: 15px; width: 34px; height: 1px; background: var(--amber); }
.mtag[data-side="r"] em { left: 44px; } .mtag[data-side="r"] em::before { right: 100%; }
.mtag[data-side="l"] em { right: 44px; } .mtag[data-side="l"] em::before { left: 100%; }
.macpair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); margin-top: clamp(56px, 7vw, 120px); align-items: start; }
.macpair figure { margin: 0; position: relative; }
.macpair figure:nth-child(2) { margin-top: clamp(40px, 8vw, 140px); }
.macpair figcaption { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: baseline; }
.macpair figcaption b { font: 11px var(--mono); color: var(--amber); font-weight: 400; }
.macpair figcaption span { font: 500 22px/1.2 var(--display); letter-spacing: -.03em; color: var(--bone); }
.macpair figcaption small { grid-column: 2; color: var(--bone-2); font-size: 15px; }
.facts-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-grid--4 > div:not(:nth-child(3n)) { border-right: 0; }
.facts-grid--4 > div:not(:nth-child(4n)) { border-right: 1px solid var(--rule); }
.facts-grid--4 > div:not(:nth-child(3n+1)) { padding-left: 0; }
.facts-grid--4 > div:not(:nth-child(4n+1)) { padding-left: 28px; }

/* Kayro Messenger: desktop window with phones in front */
.comp-kmsg .dev-mac { left: 8%; top: 0; width: 84%; }
.comp-kmsg .dev-phone { width: 22%; bottom: 0; z-index: 2; }
.comp-kmsg .m1 { left: 0; transform: rotate(-4deg); }
.comp-kmsg .m2 { right: 0; transform: rotate(4deg); }

/* a product shelf of live phones on a light band */
.shelf { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 2vw, 32px); padding: 0 0 40px; }
.shelf > figure { margin: 0; flex: 0 0 auto; width: clamp(150px, 15.5vw, 236px); }
.shelf > figure:nth-child(2), .shelf > figure:nth-child(4) { margin-top: 48px; }
.shelf > figure:nth-child(1), .shelf > figure:nth-child(5) { margin-top: 112px; }
.shelf figcaption { font: 11px/1.4 var(--mono); color: var(--bone-3); margin-top: 18px; text-align: center; }
.shelf .dev-phone { width: 100%; }

/* ALYT in daylight: the app's own light theme on a light band */
.t-alyt .band-light { --ink: #F3F7FB; --graphite: #FFFFFF; --bone: #0B1B2B; --bone-2: #3E5468; --bone-3: #6F8396; --rule: rgba(11, 27, 43, .1); --rule-2: rgba(11, 27, 43, .2); --amber: #1E9CD7; background: #F3F7FB; color: #0B1B2B; }
.t-alyt .band-light .dev-phone, .t-aven .dev-phone.light { background: #E6E9ED; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06) inset, 0 50px 100px -30px rgba(11, 27, 43, .35), 0 20px 40px -20px rgba(11, 27, 43, .18); }
.t-alyt .band-light .dev-phone::before { background: #D3D8DE; }

/* Aven: live phone next to a statement */
.wall--phone .w-a { grid-column: 1 / span 7; }
.wall--phone .w-b { grid-column: 9 / span 4; }
.wall--phone .dev-phone { width: min(100%, 330px); margin-left: auto; }

@media (max-width: 899px) {
  .comp-khero .dev-mac { left: 10%; top: 0; width: 120%; }
  .comp-khero .dev-phone { width: 34%; }
  .comp-khero .k1 { left: 0; top: 22%; }
  .comp-khero .k2 { left: 36%; top: 30%; width: 30%; }
  .comp-ksys .dev-mac { width: 108%; }
  .comp-ksys .dev-phone { width: 32%; right: 0; }
  .mtag em { font-size: 10px; height: 24px; line-height: 24px; top: -12px; padding: 0 8px; }
  .mtag em::before { top: 12px; width: 16px; }
  .mtag[data-side="r"] em { left: 22px; } .mtag[data-side="l"] em { right: 22px; }
  .mtag i { width: 10px; height: 10px; left: -5px; top: -5px; }
  .macpair { grid-template-columns: 1fr; }
  .macpair figure:nth-child(2) { margin-top: 24px; }
  .facts-grid--4 { grid-template-columns: 1fr; }
  .facts-grid--4 > div, .facts-grid--4 > div:not(:nth-child(4n+1)) { padding: 24px 0; border-right: 0 !important; }
  .comp-kmsg .dev-mac { left: 0; width: 100%; }
  .comp-kmsg .dev-phone { width: 34%; }
  .shelf { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 24px; scrollbar-width: none; }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf > figure { width: 46vw; scroll-snap-align: center; margin-top: 0 !important; }
  .wall--phone .dev-phone { margin: 0 auto; width: 70%; }
}
@media (max-width: 1100px) and (min-width: 900px) {
  .facts-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid--4 > div:not(:nth-child(4n)) { border-right: 0; }
  .facts-grid--4 > div:nth-child(odd) { border-right: 1px solid var(--rule); }
  .facts-grid--4 > div:not(:nth-child(4n+1)) { padding-left: 0; }
  .facts-grid--4 > div:nth-child(even) { padding-left: 28px; }
}
.shelf--3 > figure { width: clamp(170px, 18vw, 270px); }
.shelf--3 > figure:nth-child(1), .shelf--3 > figure:nth-child(3) { margin-top: 72px; }
.shelf--3 > figure:nth-child(2) { margin-top: 0; }
.phero .comp-khero { position: relative; z-index: 3; }
.comp-kmsg .dev-mac { left: 0; width: 86%; top: 4%; }
.comp-kmsg .m2 { right: 0; bottom: 0; width: 24%; }
@media (max-width: 899px) {
  .mtag { display: none; }
  .comp-kmsg .dev-mac { width: 100%; top: 0; }
  .comp-kmsg .m2 { width: 36%; }
}
/* callout routed into empty space: elbow leader (right, up, left), never over UI text */
.mtag[data-side="up"] { --lx: 150px; --ly: 37px; }
.mtag[data-side="up"] em { right: var(--lx); top: calc(-15px - var(--ly)); }
.mtag[data-side="up"] em::before { display: none; }
.mtag[data-side="up"]::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 1px; background: var(--amber); }
.mtag[data-side="up"] i::after { content: ""; position: absolute; left: calc(7px - var(--lx)); top: calc(7px - var(--ly)); width: calc(var(--lx) + 16px); height: var(--ly); border-top: 1px solid var(--amber); border-right: 1px solid var(--amber); box-sizing: border-box; }
/* hollow anchor: the UI under the dot stays visible */
.mtag i { background: transparent; border: 2px solid var(--amber); box-shadow: 0 0 0 4px rgba(154, 215, 75, .16), 0 0 18px rgba(154, 215, 75, .45); width: 22px; height: 22px; left: -11px; top: -11px; }
.mtag[data-side="up"] i::after { left: calc(11px - var(--lx)); top: calc(11px - var(--ly)); }
.mtag[data-side="up"]::before { left: 11px; width: 5px; }
.mtag[data-side="r"] em::before, .mtag[data-side="l"] em::before { width: 30px; }
.mtag[data-side="up"] { --sx: 24px; --cut: 0px; }
.mtag[data-side="up"] i::after { width: calc(var(--lx) + var(--sx)); height: calc(var(--ly) - var(--cut)); }
.mtag[data-side="up"]::before { width: calc(var(--sx) - 11px); }
/* read-tracking callout: the leader stops above the open count, a short diagonal meets the ring */
.mtag--count i::after { height: calc(var(--ly) - 16px); }
.mtag--count::before { left: 8px; top: -8px; width: 18px; transform-origin: 0 50%; transform: rotate(-26deg); }
