/* albanode.com — Albert Akhmadiev
   Direction: Swiss / International. Cobalt & Porcelain palette (the owner loves blue).
   Type: Manrope (text + display), Space Grotesk (numbers, labels). Self-hosted, variable.
   Shape rule: interactive controls and chips are pills; every surface uses --radius.
   Motion: transform/opacity only; static under prefers-reduced-motion; pausable in the hero.
   Colors are plain tokens (no color-mix) so older Safari/Firefox render the same page. */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2?v=20261111T145519Z") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-ext.woff2?v=20261111T145519Z") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-cyrillic.woff2?v=20261111T145519Z") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/spacegrotesk-latin.woff2?v=20261111T145519Z") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f4f7fc;
  --paper-2: #e9eff8;
  --paper-a92: rgba(244, 247, 252, 0.92);
  --surface: #fbfcfe;
  --ink: #0b1a31;
  --ink-2: #2b3a52;
  --ink-a04: rgba(11, 26, 49, 0.04);
  --ink-a20: rgba(11, 26, 49, 0.2);
  --muted: #56667f;
  --hairline: rgba(11, 26, 49, 0.11);
  --hairline-strong: rgba(11, 26, 49, 0.2);
  --lattice: rgba(26, 75, 201, 0.16);
  --accent: #2563eb;
  --accent-ink: #1a4bc9;
  --accent-hover: #1d4fd0;
  --accent-a11: rgba(37, 99, 235, 0.11);
  --accent-a13: rgba(37, 99, 235, 0.13);
  --accent-a28: rgba(37, 99, 235, 0.28);
  --accent-a38: rgba(37, 99, 235, 0.38);
  --ice: #9fc2ff;
  --navy: #12243f;
  --navy-deep: #0b1a31;
  --on-dark: #c9d6ea;
  --on-dark-strong: #f4f7fc;
  --shadow: rgba(18, 36, 63, 0.35);
  --mark-bg: #0b1a31;
  --mark-node: #9fc2ff;
  --core-a: #3b7bff;
  --core-b: #163a9c;
  --ok: #2f9e6b;
  --ok-a: rgba(47, 158, 107, 0.16);
  --soon: #d4961c;
  --soon-a: rgba(212, 150, 28, 0.18);
  --now: #d14b4b;
  --now-a: rgba(209, 75, 75, 0.16);

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-label: "Space Grotesk", "Manrope", ui-sans-serif, system-ui, sans-serif;

  --text-xs: 0.8rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.075rem, 1rem + 0.35vw, 1.25rem);
  --text-h3: clamp(1.3rem, 1.12rem + 0.7vw, 1.6rem);
  --text-h2: clamp(2.1rem, 1.45rem + 2.7vw, 3.6rem);
  --text-hero: clamp(2.6rem, 1.15rem + 5.4vw, 4.85rem);

  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --space-section: clamp(5rem, 3.4rem + 6vw, 9rem);
  --radius: 14px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 900ms;
}

@media screen and (prefers-color-scheme: dark) {
  :root {
    --paper: #07101d;
    --paper-2: #0c1828;
    --paper-a92: rgba(7, 16, 29, 0.92);
    --surface: #0d1a2c;
    --ink: #e9eff9;
    --ink-2: #c2cde0;
    --ink-a04: rgba(233, 239, 249, 0.05);
    --ink-a20: rgba(233, 239, 249, 0.2);
    --muted: #8d9db7;
    --hairline: rgba(190, 210, 240, 0.11);
    --hairline-strong: rgba(190, 210, 240, 0.22);
    --lattice: rgba(159, 194, 255, 0.14);
    --accent: #5b8fff;
    --accent-ink: #8fb4ff;
    --accent-hover: #77a3ff;
    --accent-a11: rgba(91, 143, 255, 0.11);
    --accent-a13: rgba(91, 143, 255, 0.13);
    --accent-a28: rgba(91, 143, 255, 0.28);
    --accent-a38: rgba(91, 143, 255, 0.38);
    --navy: #11223b;
    --navy-deep: #0a1628;
    --shadow: rgba(0, 0, 0, 0.6);
    --mark-bg: #2563eb;
    --mark-node: #ffffff;
    --core-a: #4f8bff;
    --core-b: #1a43b0;
    --ok: #4cc28c;
    --ok-a: rgba(76, 194, 140, 0.18);
    --soon: #e8b04a;
    --soon-a: rgba(232, 176, 74, 0.18);
    --now: #ef6b6b;
    --now-a: rgba(239, 107, 107, 0.18);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }

::selection { background: var(--accent-a28); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.tile-agents :focus-visible,
.tile-bytefit :focus-visible,
.contact-panel :focus-visible { outline-color: #ffffff; }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.nowrap { white-space: nowrap; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 650;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

.i {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.h2 {
  font-size: var(--text-h2);
  font-weight: 720;
  letter-spacing: -0.036em;
  line-height: 1.04;
}
.h2 .line { display: block; }
.h2-sm { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.15;
}

.section-lede {
  margin-top: 1rem;
  max-width: 46ch;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 3.1rem;
  padding: 0 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.btn .i { transition: transform var(--dur) var(--ease); }
.btn-sm { height: 2.5rem; padding: 0 1.05rem; font-size: 0.92rem; }

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 24px -14px var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 16px 34px -14px var(--accent);
}
@media screen and (prefers-color-scheme: dark) {
  .btn-primary { background: #2f6af0; }
  .btn-primary:hover { background: #2a63e8; }
}

.btn-ghost {
  border-color: var(--hairline-strong);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink-a04); }

.btn-on-dark {
  border-color: rgba(201, 214, 234, 0.3);
  color: var(--on-dark-strong);
  background: rgba(255, 255, 255, 0.04);
}
.btn-on-dark:hover { border-color: var(--on-dark-strong); background: rgba(255, 255, 255, 0.1); }

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 650;
  color: var(--accent-ink);
  text-decoration: none;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.text-link:hover::after { transform: scaleX(1); }
.text-link .i, .links .i, .contact-links .i { transition: transform var(--dur) var(--ease); }

/* Hover motion only where hover exists and motion is welcome. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn:active { transform: translateY(1px) scale(0.98); }
  .btn-primary:hover { transform: translateY(-1px); }
  .btn-primary:hover .i, .btn-ghost:hover .i { transform: translateY(2px); }
  .text-link:hover .i, .links a:hover .i, .contact-links a:hover .i { transform: translate(2px, -2px); }
  .brand:hover .brand-mark { transform: rotate(-12deg); }
  .tile:has(a):hover { transform: translateY(-3px); box-shadow: 0 26px 50px -30px var(--shadow); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.is-scrolled .site-header {
  background: var(--paper-a92);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom-color: var(--hairline);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
}
.brand-name { white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; transition: transform 600ms var(--ease); }
.bm-ring { fill: var(--mark-bg); }
.bm-a { fill: none; stroke: #ffffff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bm-node { fill: var(--mark-node); }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: 0.15rem; list-style: none; }
.nav-list a {
  position: relative;
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.93rem;
  font-weight: 620;
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 450ms var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--ink); }
.nav-list a.is-active::after { transform: scaleX(1); }

.menu { display: none; }
.menu:not([open]) .menu-panel { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h) - 5.5rem);
  min-height: min(calc(100svh - var(--header-h) - 5.5rem), 46rem);
  display: flex;
  align-items: center;
  padding-block: clamp(2rem, 5vh, 4rem) clamp(2.5rem, 6vh, 4.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, var(--lattice) 1px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 52% 62% at 74% 48%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 52% 62% at 74% 48%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: min(820px, 90vw);
  aspect-ratio: 1;
  right: max(-180px, -12vw);
  top: 50%;
  translate: 0 -50%;
  background: radial-gradient(closest-side, var(--accent-a13), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-name {
  display: block;
  font-size: var(--text-hero);
  font-weight: 770;
  letter-spacing: -0.048em;
  line-height: 0.98;
  color: var(--ink);
}
.hero-role {
  display: block;
  margin-top: 1.1rem;
  max-width: 18ch;
  font-size: clamp(1.5rem, 1.05rem + 1.75vw, 2.55rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink-2);
}
.hero-lede {
  margin-top: 1.6rem;
  max-width: 40ch;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.hero-visual {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}
.graph { width: 100%; height: auto; overflow: visible; }

.g-ring { fill: none; stroke: var(--accent-a38); stroke-width: 1.4; }
.g-spoke { stroke: var(--ink-a20); stroke-width: 1.3; }
.g-pulse { fill: var(--accent); opacity: 0; }
.g-runner { fill: var(--accent); }
.g-base { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.g-hot { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
.g-label {
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  fill: var(--muted);
  text-anchor: middle;
}
.g-left { text-anchor: start; }
.g-right { text-anchor: end; }
.stop-core-a { stop-color: var(--core-a); }
.stop-core-b { stop-color: var(--core-b); }
.g-core-disc { fill: url(#g-core); }
.g-core-a { fill: none; stroke: #ffffff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }

.motion-toggle {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 32px;
  padding: 0 0.75rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--paper-a92);
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.motion-toggle:hover { color: var(--ink); border-color: var(--hairline-strong); }
.motion-toggle .i { width: 14px; height: 14px; }
.motion-toggle .mt-play { display: none; fill: currentColor; stroke: none; }
.motion-paused .motion-toggle .mt-pause { display: none; }
.motion-paused .motion-toggle .mt-play { display: inline; }

/* ---------- Key numbers ---------- */
.facts { border-block: 1px solid var(--hairline); }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fact { padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.8rem); }
.fact + .fact { border-left: 1px solid var(--hairline); }
.fact:first-child { padding-left: 0; }
.fact-num {
  font-family: var(--font-label);
  font-size: clamp(2.4rem, 1.7rem + 2.4vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.fact-num [data-count] { display: inline-block; text-align: right; }
.fact dd {
  margin-top: 0.8rem;
  max-width: 27ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .section-lede { justify-self: end; margin-top: 0; }
.education .section-head { grid-template-columns: 1fr; gap: 1.1rem; }

/* ---------- Work bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}
.tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: clamp(1.4rem, 2.3vw, 2.2rem);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  background-origin: border-box;
  transition: transform 500ms var(--ease), border-color var(--dur) ease;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, -30%), var(--accent-a11), transparent 62%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.tile:hover { border-color: var(--hairline-strong); }
.tile:hover::after { opacity: 1; }

.tile p { color: var(--ink-2); font-size: 0.98rem; line-height: 1.62; }
.tile-kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted) !important;
}
.tile .tile-kicker { font-size: 0.82rem; line-height: 1.4; }
.sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.tile-title {
  font-size: var(--text-h3);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }
.chips li {
  padding: 0.3rem 0.72rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* Agents: the dark flagship tile */
.tile-agents {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
  padding: clamp(1.8rem, 3.2vw, 3rem);
  border-color: transparent;
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 123, 255, 0.28), transparent 52%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-dark);
}
.tile-agents, .tile-bytefit { background-origin: border-box; }
.tile-agents::after { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -30%), rgba(159, 194, 255, 0.14), transparent 60%); }
.tile-agents .tile-title {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);
  letter-spacing: -0.035em;
  color: var(--on-dark-strong);
  margin-bottom: 0.2rem;
}
.tile-agents p { color: var(--on-dark); }
.tile-agents .tile-lede { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.22rem); line-height: 1.55; max-width: 44ch; }
.tile-agents .tile-kicker { color: rgba(201, 214, 234, 0.78) !important; }
.tile-agents .chips li { border-color: rgba(201, 214, 234, 0.24); color: var(--on-dark); }
.agents-who { display: grid; margin-top: 0.6rem; }
.agents-who div {
  display: grid;
  grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr);
  gap: 0.2rem 1.4rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(201, 214, 234, 0.14);
}
.agents-who dt { font-family: var(--font-label); font-size: 0.86rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ice); padding-top: 0.12rem; }
.agents-who dd { color: var(--on-dark-strong); font-size: 1rem; line-height: 1.5; }
.tile-lattice {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, rgba(159, 194, 255, 0.22) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 100% 100%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 70% at 100% 100%, #000, transparent 72%);
}
.tile-foot { margin-top: auto; padding-top: 1.4rem; display: grid; gap: 1.1rem; }
.metric { display: flex; align-items: baseline; gap: 0.8rem; font-size: 1.05rem !important; color: var(--on-dark) !important; }
.metric strong {
  font-family: var(--font-label);
  font-size: clamp(3rem, 2rem + 3vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--ice);
}

.tile-fuel { grid-column: 8 / span 5; grid-row: 1; }
.tile-big { display: flex; align-items: baseline; gap: 0.55rem; color: var(--muted) !important; font-size: 1.05rem !important; }
.tile-big strong {
  font-family: var(--font-label);
  font-size: clamp(2.4rem, 1.9rem + 1.8vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

/* ByteFit: cobalt tile (fixed colors, AA in both themes) */
.tile-bytefit {
  grid-column: 8 / span 5;
  grid-row: 2;
  border-color: transparent;
  background: linear-gradient(150deg, #2559d9 0%, #1a3fae 100%);
  color: #ffffff;
}
.tile-bytefit::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(255, 255, 255, 0.06), transparent 60%); }
.tile-bytefit .tile-title { color: #ffffff; }
.tile-bytefit p { color: #ffffff; }
.tile-bytefit .tile-kicker { color: #ffffff !important; }
.tile-stats { display: flex; gap: 1.6rem; color: #ffffff !important; }
.tile-stats strong {
  display: block;
  font-family: var(--font-label);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
}
.links { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin-top: auto; }
.links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2.2rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(11, 26, 49, 0.3);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}
.links a:hover { background: rgba(11, 26, 49, 0.45); }

.tile-mono { grid-column: 1 / span 5; }
.release-shift {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  margin: 0.3rem 0 0.2rem;
}
.rs-num {
  font-family: var(--font-label);
  font-size: clamp(3rem, 2.3rem + 2.4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--ink);
}
.rs-accent { color: var(--accent-ink); }
.rs-arrow { width: 52px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rs-unit { flex-basis: 100%; font-size: 0.9rem; color: var(--muted); }

.tile-radar { grid-column: 6 / span 4; }
.radar { display: grid; gap: 0.5rem; list-style: none; margin: 0.2rem 0; padding-left: 4px; }
.radar li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-label);
  font-size: 0.92rem;
  color: var(--ink-2);
}
.radar li::before {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.rd-ok::before { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-a); }
.rd-soon::before { background: var(--soon); box-shadow: 0 0 0 4px var(--soon-a); }
.rd-now::before { background: var(--now); box-shadow: 0 0 0 4px var(--now-a); }

.tile-talk { grid-column: 10 / span 3; background: var(--paper-2); }
.tile-talk .text-link { margin-top: auto; align-self: flex-start; }

.tile-apps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.apps-head { display: grid; gap: 0.95rem; justify-items: start; }
.apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  list-style: none;
}
.app-featured { grid-column: 1 / -1; }
.apps a {
  display: grid;
  gap: 0.1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
}
.app-name { font-weight: 700; color: var(--ink); letter-spacing: -0.01em; transition: color var(--dur-fast) ease; }
.app-featured .app-name { font-size: 1.15rem; }
.app-what { font-size: 0.9rem; color: var(--muted); }
.apps a:hover .app-name { color: var(--accent-ink); }

/* ---------- AI ---------- */
.ai { background: linear-gradient(to bottom, transparent, var(--paper-2) 18%, var(--paper-2) 82%, transparent); }
.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: stretch;
}
.ai-sticky .h2 { margin-top: 1.1rem; font-size: clamp(2.1rem, 0.9rem + 2.3vw, 3.1rem); }
.loop { margin-top: 2.6rem; width: min(250px, 72%); }
.loop-svg { width: 100%; height: auto; overflow: visible; }
.loop-track { fill: none; stroke: var(--hairline-strong); stroke-width: 1.4; stroke-dasharray: 3 7; }
.loop-spin { transform-box: view-box; transform-origin: 120px 120px; }
.loop-dot { fill: var(--accent); }
.ls-base { fill: var(--paper-2); stroke: var(--accent); stroke-width: 1.6; }
.ls-hot { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
.loop-st text {
  font-family: var(--font-label);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  fill: var(--muted);
  text-anchor: middle;
}
.loop-st .ls-left { text-anchor: start; }
.loop-st .ls-right { text-anchor: end; }
.loop-center { font-size: 12px; fill: var(--muted); text-anchor: middle; font-family: var(--font-sans); }
.loop-center-strong { font-size: 14px; font-weight: 750; fill: var(--ink); }

.practices { list-style: none; display: grid; align-content: start; }
.practice {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0 clamp(1.6rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.4rem);
  border-left: 2px solid var(--hairline);
}
.practice::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--accent);
  transform-origin: top;
  transition: transform 1.1s var(--ease) 150ms;
}
.practice h3 {
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.practice p { margin-top: 0.75rem; max-width: 50ch; font-size: var(--text-lg); line-height: 1.6; color: var(--ink-2); }

/* ---------- Experience ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: stretch;
}
.exp-head .section-lede { max-width: 32ch; }

/* Sticky intro columns only on wide screens tall enough to hold them. */
@media (min-width: 60.0625em) and (min-height: 46em) {
  .ai-sticky, .exp-head { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

.timeline { position: relative; display: grid; align-content: start; gap: clamp(2.5rem, 5vw, 3.5rem); padding-left: 2.4rem; }
.tl-line {
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--hairline);
  overflow: hidden;
  overflow: clip;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 7rem), transparent);
  mask-image: linear-gradient(#000 calc(100% - 7rem), transparent);
}
.tl-fill { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--accent), var(--accent-a38)); transform-origin: top; }

.tl-org-head { display: grid; gap: 0.35rem; margin-bottom: 1.4rem; }
.tl-org-head h3 { position: relative; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1.15; }
.tl-org-head h3::before {
  content: "";
  position: absolute;
  left: -2.4rem;
  top: 0.575em;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--accent-a38);
}
.tl-org-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 1.5rem; color: var(--muted); }
.tl-years { font-family: var(--font-label); color: var(--ink-2); font-weight: 500; }

.tl-roles { list-style: none; display: grid; }
.tl-role {
  position: relative;
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  column-gap: 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--hairline);
}
.tl-role::before {
  content: "";
  position: absolute;
  left: calc(-2.4rem + 3px);
  top: 1.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent);
}
.tl-when {
  grid-row: 1 / span 2;
  padding-top: 0.15rem;
  font-family: var(--font-label);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent-ink);
  white-space: nowrap;
}
.tl-role h4 { grid-column: 2; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.tl-role p:not(.tl-when) { grid-column: 2; margin-top: 0.4rem; color: var(--ink-2); max-width: 60ch; }

/* ---------- Education ---------- */
.edu-track {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 0.45rem clamp(1.5rem, 3vw, 3rem);
  list-style: none;
}
.edu-track::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--hairline-strong), var(--accent));
  border-radius: 2px;
}
.edu { position: relative; display: grid; align-content: start; gap: 0.45rem; }
.edu-node {
  position: relative;
  width: 20px;
  height: 20px;
  margin-bottom: 1rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--paper);
}
.edu-now .edu-node { background: var(--accent); box-shadow: 0 0 0 6px var(--accent-a13); }
.edu-when { font-family: var(--font-label); font-size: 0.92rem; font-weight: 500; color: var(--accent-ink); }
.edu h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); font-weight: 720; letter-spacing: -0.02em; line-height: 1.2; }
.edu-where { color: var(--ink-2); font-weight: 600; }
.edu-note { margin-top: 0.3rem; color: var(--muted); max-width: 46ch; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 45.0625em) {
    .edu-track { grid-template-rows: repeat(5, auto); }
    .edu { grid-row: span 5; grid-template-rows: subgrid; row-gap: 0.45rem; }
  }
}

/* ---------- About ---------- */
.about { padding-top: 0; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.9rem 2.5rem;
  margin-top: 2.2rem;
}
.tool-group { padding-top: 1rem; border-top: 1px solid var(--hairline-strong); }
.tool-group dt {
  font-family: var(--font-label);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent-ink);
}
.tool-group dd { margin-top: 0.5rem; color: var(--ink-2); line-height: 1.6; }

.beyond {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--hairline);
}
.beyond p { margin-top: 0.9rem; color: var(--ink-2); }
.beyond-facts { display: grid; gap: 1rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--hairline); }
.beyond-facts dt { font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--muted); }
.beyond-facts dd { margin-top: 0.2rem; color: var(--ink); font-weight: 600; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; padding-bottom: clamp(3rem, 6vw, 5rem); }
.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5.5rem);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 0%, rgba(47, 109, 240, 0.5), transparent 52%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  background-origin: border-box;
  color: var(--on-dark);
}
@media screen and (prefers-color-scheme: dark) {
  .contact-panel { border: 1px solid var(--hairline); }
}
.contact-lattice {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, rgba(159, 194, 255, 0.22) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 100% 100%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 75% at 100% 100%, #000, transparent 72%);
}
.contact-title {
  font-size: clamp(3rem, 1.5rem + 6.4vw, 7.2rem);
  font-weight: 770;
  letter-spacing: -0.055em;
  line-height: 0.95;
  color: var(--on-dark-strong);
}
.contact-lede { margin-top: 1.5rem; max-width: 44ch; font-size: var(--text-lg); color: var(--on-dark); }
.contact-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem; margin-top: clamp(2rem, 4vw, 3rem); }
.mail-link {
  font-size: clamp(1.1rem, 0.6rem + 2.4vw, 2.5rem);
  font-weight: 680;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(159, 194, 255, 0.45);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
  transition: text-decoration-color var(--dur) ease;
}
.mail-link:hover { text-decoration-color: var(--ice); }
.copy-status { font-family: var(--font-label); font-size: 0.88rem; color: var(--ice); }
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(201, 214, 234, 0.16);
  list-style: none;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 24px;
  color: var(--on-dark-strong);
  font-weight: 650;
  text-decoration: none;
}
.contact-links a:hover { color: var(--ice); }

/* ---------- Footer ---------- */
.site-footer { padding: 2rem 0 2.6rem; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; }
.site-footer a { color: var(--ink-2); text-underline-offset: 0.2em; }
.site-footer a:hover { color: var(--accent-ink); }

/* ---------- 404 ---------- */
.lost { min-height: calc(100svh - var(--header-h)); display: grid; align-content: center; gap: 1.2rem; padding-block: 4rem; }
.lost .hero-name { font-size: clamp(3.5rem, 2rem + 8vw, 8rem); }
.lost p { max-width: 40ch; color: var(--muted); font-size: var(--text-lg); }

/* ---------- Motion (screen only, and only when the visitor allows it) ---------- */
@media screen and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .hero-in { animation: rise 1s var(--ease) both; }
  .hero-in[data-step="1"] { animation-delay: 80ms; }
  .hero-in[data-step="2"] { animation-delay: 190ms; }
  .hero-in[data-step="3"] { animation-delay: 300ms; }
  .hero-in[data-step="4"] { animation-delay: 410ms; }

  .hero-visual { animation: fade-scale 1.4s var(--ease) 200ms both; }
  .g-spokes, .g-ring { transform-box: view-box; transform-origin: 260px 260px; animation: grow-in 1.1s var(--ease) 450ms both; }

  /* One 12 s cycle: the runner passes an agent every 2 s; each spoke pulse lands as it arrives. */
  .g-orbit { transform-box: view-box; transform-origin: 260px 260px; animation: spin 12s linear infinite; }
  .g-pulse-arm { transform-box: view-box; transform-origin: 260px 260px; }
  .a1 { transform: rotate(-90deg); } .a2 { transform: rotate(-30deg); } .a3 { transform: rotate(30deg); }
  .a4 { transform: rotate(90deg); } .a5 { transform: rotate(150deg); } .a6 { transform: rotate(210deg); }
  .g-pulse { animation: pulse-out 12s var(--ease-in-out) infinite; }
  .a1 .g-pulse { animation-delay: -1.56s; } .a2 .g-pulse { animation-delay: 0.44s; } .a3 .g-pulse { animation-delay: 2.44s; }
  .a4 .g-pulse { animation-delay: 4.44s; } .a5 .g-pulse { animation-delay: 6.44s; } .a6 .g-pulse { animation-delay: 8.44s; }
  .g-hot { animation: ping 12s ease-out infinite; }
  .n2 .g-hot { animation-delay: 2s; } .n3 .g-hot { animation-delay: 4s; }
  .n4 .g-hot { animation-delay: 6s; } .n5 .g-hot { animation-delay: 8s; } .n6 .g-hot { animation-delay: 10s; }
  .g-core { transform-box: fill-box; transform-origin: center; animation: breathe 6s var(--ease-in-out) infinite; }

  .loop-spin { animation: spin 8s linear infinite; }
  .ls-hot { animation: ping 8s ease-out infinite; }
  .st2 .ls-hot { animation-delay: 2s; } .st3 .ls-hot { animation-delay: 4s; } .st4 .ls-hot { animation-delay: 6s; }

  .is-paused :is(.g-orbit, .g-pulse, .g-hot, .g-core, .loop-spin, .ls-hot),
  .motion-paused :is(.g-orbit, .g-pulse, .g-hot, .g-core, .loop-spin, .ls-hot) { animation-play-state: paused !important; }
  .motion-paused :is(.g-hot, .ls-hot, .g-pulse) { animation: none; opacity: 0; }

  .js [data-reveal] {
    opacity: 0;
    translate: 0 24px;
    transition: opacity var(--dur-slow) var(--ease), translate var(--dur-slow) var(--ease);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal].is-in { opacity: 1; translate: 0 0; }
  .js .practice:not(.is-in)::before { transform: scaleY(0); }

  @supports (animation-timeline: view()) {
    .tl-fill { animation: grow linear both; animation-timeline: view(); animation-range: cover 0% cover 62%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fade-scale { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes grow-in { from { opacity: 0; transform: scale(0.55); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-out {
  0% { transform: translateX(0); opacity: 0; }
  2% { opacity: 0.9; }
  13% { transform: translateX(168px); opacity: 0.9; }
  15%, 100% { transform: translateX(178px); opacity: 0; }
}
@keyframes ping {
  0% { opacity: 1; transform: scale(1.35); }
  14%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Responsive (em, so it follows the visitor's default font size) ---------- */
@media (max-width: 67.5em) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile-agents { grid-column: 1 / -1; grid-row: auto; }
  .tile-fuel, .tile-bytefit { grid-column: span 3; grid-row: auto; }
  .tile-mono, .tile-radar { grid-column: span 3; }
  .tile-talk { grid-column: 1 / -1; }
  .tile-apps { grid-template-columns: 1fr; }
}

@media (max-width: 60em) {
  .hero { min-height: auto; padding-top: clamp(2.5rem, 7vh, 4rem); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 420px; }
  .hero::before { -webkit-mask-image: radial-gradient(ellipse 80% 45% at 50% 78%, #000, transparent 72%); mask-image: radial-gradient(ellipse 80% 45% at 50% 78%, #000, transparent 72%); }
  .hero::after { top: auto; bottom: 0; right: auto; left: 50%; translate: -50% 0; }
  .g-label { font-size: 19px; }
  .ai-grid, .exp-grid, .about-grid { grid-template-columns: 1fr; }
  .loop { width: 240px; }
  .loop-st text { font-size: 14px; }
  .loop-center { font-size: 13px; }
  .loop-center-strong { font-size: 15.5px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding-left: clamp(1rem, 2vw, 1.8rem); }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
}

@media (max-width: 53.75em) {
  .nav, .header-cta { display: none; }
  .menu { display: block; margin-left: auto; }
  .menu-toggle {
    display: grid;
    place-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--hairline-strong);
    color: var(--ink);
    cursor: pointer;
    list-style: none;
  }
  .menu-toggle::-webkit-details-marker { display: none; }
  .menu-toggle::marker { content: ""; }
  .menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; overflow: visible; }
  .menu-toggle path { transform-box: view-box; transform-origin: 10px 10px; transition: transform var(--dur) var(--ease); }
  .menu[open] .mt-top { transform: translateY(3px) rotate(45deg); }
  .menu[open] .mt-bottom { transform: translateY(-3px) rotate(-45deg); }
  .menu-panel {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    max-height: calc(100vh - 68px);
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 30px 40px -30px var(--shadow);
  }
  .menu-panel a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--hairline);
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
  }
  .menu-panel a:last-child { border-bottom: 0; color: var(--accent-ink); }
  .is-scrolled .site-header { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (max-width: 53.75em) and (max-height: 31.25em) {
  .menu-panel a { padding-block: 0.45rem; font-size: 1.1rem; }
}

@media (max-width: 45em) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .section-lede { justify-self: start; }
  .bento { grid-template-columns: 1fr; }
  .tile-agents, .tile-fuel, .tile-bytefit, .tile-mono, .tile-radar, .tile-talk, .tile-apps { grid-column: 1 / -1; }
  .agents-who div { grid-template-columns: 1fr; }
  .apps { grid-template-columns: 1fr; }
  .tl-role { grid-template-columns: 1fr; }
  .tl-when { grid-row: auto; padding-top: 0; margin-bottom: 0.25rem; }
  .tl-role h4, .tl-role p:not(.tl-when) { grid-column: 1; }
  .edu-track { grid-template-columns: 1fr; gap: 2.2rem; padding-left: 2.4rem; }
  .edu-track::before { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; background: linear-gradient(to bottom, var(--hairline-strong), var(--accent)); }
  .edu-node { position: absolute; left: -2.4rem; top: 0.1rem; margin: 0; }
  .tools { grid-template-columns: 1fr; }
  .brand-name { font-size: 0.98rem; }
}

@media (max-width: 26.25em) {
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-visual { padding-bottom: 2.75rem; }
  .contact-panel { padding: 2rem 1.4rem; }
}

@media (max-width: 21.25em) {
  .facts-grid { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(odd), .fact + .fact { padding-left: 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--hairline); }
}

@media (forced-colors: active) {
  .radar li::before { forced-color-adjust: none; background: CanvasText; box-shadow: none; }
  .g-hot, .ls-hot, .g-pulse { display: none; }
}

@media print {
  .site-header, .hero-visual, .skip-link, .menu, .copy-btn, .loop, .motion-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  [data-reveal] { opacity: 1 !important; translate: none !important; transition: none !important; }
  .practice::before { transform: none !important; }
  .hero { min-height: 0; }
  .tile, .contact-panel, .tl-role, .practice { break-inside: avoid; box-shadow: none; }
  .tile-agents, .tile-bytefit, .contact-panel { background: #fff; color: #000; border: 1px solid #999; }
  .tile-agents *, .tile-bytefit *, .contact-panel * { color: #000 !important; }
  .tile-agents .tile-kicker, .tile-bytefit .tile-kicker { color: #333 !important; }
  .btn-primary { background: #fff; color: #000; border-color: #000; box-shadow: none; }
}
