/* Fonts (self-hosted, SIL Open Font License, latin subset) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter.woff2) format('woff2'); 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: 'Space Grotesk'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/assets/fonts/space-grotesk.woff2) format('woff2'); 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: 'JetBrains Mono'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/assets/fonts/jetbrains-mono.woff2) format('woff2'); 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; }

/* Design tokens */
:root {
  --plate: #FFFFFF;
  --bg: #EEF0F2;
  --surface: #F8F9FA;
  --tray: rgba(248,249,250,0.72);
  --ink: #14171C;
  --ink-muted: #5D6470;
  --ink-faint: #646B77;
  --accent-fill: #C43D0B;
  --field-border: #7D8590;
  --line: rgba(20,23,28,0.10);
  --line-strong: rgba(20,23,28,0.22);
  --accent: #FF5A1F;
  --accent-soft: rgba(255,90,31,0.12);
  --accent-ink: #B83A0A;
  --exit: rgba(216,90,48,0.7);
  --exit-ink: #A8461F;
  --success: #1FA971;
  --shadow: 0 1px 2px rgba(13,15,18,.05), 0 24px 48px -32px rgba(13,15,18,.40);
  --ease: cubic-bezier(.22,1,.36,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --display: 'Space Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
:root[data-theme="dark"] {
  --plate: #F3F4F5;
  --bg: #0D0F12;
  --surface: #15181D;
  --tray: rgba(21,24,29,0.72);
  --ink: #ECEEF1;
  --ink-muted: rgba(236,238,241,0.62);
  --ink-faint: rgba(236,238,241,0.52);
  --accent-fill: #C43D0B;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);
  --accent: #FF6B35;
  --accent-soft: rgba(255,107,53,0.16);
  --accent-ink: #FF6B35;
  --exit: rgba(216,90,48,0.7);
  --exit-ink: #E58A66;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 24px 48px -32px rgba(0,0,0,.8);
}

/* Base */
html, body { margin: 0; padding: 0; }
html { scroll-padding-top: 88px; }
body { -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--ink); }
::selection { background: rgba(255,90,31,.22); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
@keyframes nilPulse {
  0% { box-shadow: 0 0 0 0 rgba(31,169,113,.55); }
  70% { box-shadow: 0 0 0 7px rgba(31,169,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,169,113,0); }
}

.root { position: relative; min-height: 100vh; overflow-x: clip; background: var(--bg); color: var(--ink); font-family: Inter, system-ui, sans-serif; font-size: 15px; line-height: 1.6; transition: background 150ms; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent-fill); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }

/* Background layers */
.field { position: fixed; inset: 0; pointer-events: none; z-index: 0; background: var(--bg); transition: background 600ms; }
.field canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 900ms ease; }
.dots { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 0; background-image: radial-gradient(rgba(20,23,28,0.14) 0.75px, transparent 1px); background-size: 22px 22px; }

/* Shared type */
.eyebrow { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.arrow-btn { display: flex; align-items: center; border: 0; border-radius: 999px; background: var(--accent-fill); color: #fff; cursor: pointer; box-shadow: 0 8px 24px -10px rgba(196,61,11,.55); transition: transform 320ms var(--spring); }
.arrow-btn:hover { transform: scale(1.02); color: #fff; }
.arrow-btn:active { transform: scale(0.97); }

/* Header */
.header { position: sticky; top: 0; z-index: 5; background: var(--tray); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-in { max-width: 1240px; margin: 0 auto; box-sizing: border-box; padding: 12px clamp(16px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); }
.avatar { position: relative; width: 36px; height: 36px; flex: none; }
.avatar img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: block; }
.status { position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border-radius: 50%; background: var(--success); border: 2px solid var(--surface); box-sizing: border-box; animation: nilPulse 2.2s infinite; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.03em; line-height: 1; }
.wordmark span { color: var(--accent-ink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; border: 0; background: none; cursor: pointer; font: 500 15px/1 Inter, sans-serif; color: var(--ink-muted); padding: 12px 14px; border-radius: 999px; transition: color 150ms; }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a span { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: transparent; transition: background 150ms; }
.nav a.on span { background: var(--accent); }
.header-r { display: flex; align-items: center; gap: 8px; }
.theme-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-btn span { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.book { gap: 8px; height: 40px; padding: 0 18px; font-weight: 500; font-size: 14px; }

/* Main */
.main { position: relative; z-index: 1; margin: 0 auto; width: 100%; padding: 28px clamp(20px, 4vw, 64px) 0; display: flex; flex-direction: column; gap: 20px; max-width: 1240px; box-sizing: border-box; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(40px, 7vw, 96px); align-items: center; padding: 24px 0 12px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(36px, 4.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.h1 span { display: block; margin-top: 0.3em; font-size: max(0.5em, 20px); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink-muted); }
.lede { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-muted); max-width: 52ch; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.watch { gap: 10px; height: 48px; padding: 0 22px; font: 500 15px/1 Inter, sans-serif; }
.watch span { font-size: 16px; }
.photo-wrap { position: relative; min-width: 0; max-width: 420px; width: 100%; justify-self: center; }
.photo { aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; background: #0B0C10; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; display: block; }

/* Services marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; }
.marquee-item { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.marquee-item b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--accent-ink); }
.marquee-item span { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; color: var(--ink); }

/* Tray sections */
.tray { border-radius: 28px; background: var(--tray); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.tray-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 14px 6px; }
.tray-title { display: flex; flex-direction: column; gap: 10px; }
.hint { font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); }

/* Video cards */
.feat-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 12px; }
.card { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px; padding: 10px; box-shadow: var(--shadow); transition: transform 320ms var(--spring), border-color 150ms; }
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card.lead { grid-row: span 2; gap: 14px; }
.thumb { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #0B0C10; cursor: pointer; }
.thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead .thumb { flex: 1; min-height: 240px; }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,16,0) 40%, rgba(11,12,16,.7)); }
.play { position: absolute; left: 50%; top: 50%; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.play i { width: 0; height: 0; border-top-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: transparent; border-bottom-color: transparent; border-left-color: #fff; }
.play-l { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--accent); box-shadow: 0 8px 24px -10px rgba(255,90,31,.7); }
.play-l i { border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; margin-left: 5px; }
.play-m { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: var(--accent); }
.play-m i { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; margin-left: 4px; }
.play-s { width: 48px; height: 48px; margin: -24px 0 0 -24px; background: rgba(11,12,16,.72); border: 1.5px solid rgba(255,255,255,.85); box-sizing: border-box; }
.play-s i { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; margin-left: 3px; }
.badge, .dur { position: absolute; font-family: var(--mono); font-size: 11px; color: #fff; padding: 6px 10px; border-radius: 999px; line-height: 1; }
.badge { letter-spacing: 0.14em; background: var(--accent-fill); }
.dur { background: rgba(11,12,16,.7); }
.lead .badge { left: 14px; top: 14px; }
.lead .dur { right: 14px; bottom: 14px; }
.small .badge { left: 12px; top: 12px; }
.small .dur { right: 12px; bottom: 12px; }
.lib .badge { left: 10px; top: 10px; font-size: 10.5px; padding: 5px 9px; }
.lib .dur { right: 10px; bottom: 10px; padding: 5px 9px; }
.card-text { display: flex; flex-direction: column; gap: 6px; padding: 2px 8px 8px; }
.lead .card-text { gap: 8px; padding: 4px 8px 8px; }
.lib .card-text { padding: 2px 6px 6px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.meta .type { white-space: nowrap; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 9px; border-radius: 999px; line-height: 1; }
.faint { color: var(--ink-faint); }
.h3-lead { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.15; letter-spacing: -0.015em; }
.h3-small { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.2; letter-spacing: -0.01em; }
.card-sum { margin: 0; color: var(--ink-muted); max-width: 60ch; text-wrap: pretty; }

/* Library */
#library .tray-head { gap: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 14px/1 Inter, sans-serif; cursor: pointer; transition: background 150ms, color 150ms; }
.chip.on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.chip span { font-family: var(--mono); font-size: 11px; opacity: .7; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(260px, calc((100% - 24px) / 3)), 1fr)); gap: 12px; }
.lib-meta { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.lib-meta span:first-child { color: var(--accent-ink); }
.h3-lib { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.25; letter-spacing: -0.01em; text-wrap: pretty; }
.lib-sum { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-muted); text-wrap: pretty; }

/* Clients */
#clients .tray-head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 10px; }
.client-grid { --mx: -999px; --my: -999px; --k: 1; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1px; background: radial-gradient(280px circle at var(--mx) var(--my), var(--accent), transparent 70%), var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.client-glow { position: absolute; inset: 0; pointer-events: none; z-index: 2; background: radial-gradient(360px circle at var(--mx) var(--my), color-mix(in oklch, var(--accent) 9%, transparent), transparent 70%); }
.tile { position: relative; height: 136px; display: flex; align-items: center; justify-content: center; padding: 0 20px; background: var(--surface); transition: background-color 700ms var(--ease); }
.logo-box { position: relative; height: calc(var(--h) * var(--k) * 1px); width: calc(var(--h) * var(--k) * var(--asp) * 1px); max-width: 100%; transform: scale(1); transition: transform 700ms var(--ease); }
.logo-ink { position: absolute; inset: 0; background: var(--ink-muted); opacity: 1; transition: opacity 700ms ease; }
.logo-col { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 700ms ease; }
.tile-num { position: absolute; top: 12px; left: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-faint); transition: color 500ms ease; }
.tile-name { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); opacity: 0; transform: translateY(6px); transition: opacity 500ms ease, transform 600ms var(--ease); }
.tile-name i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.tile-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile.on { background: var(--plate); }
.tile.on .logo-box { transform: scale(1.06); }
.tile.on .logo-ink { opacity: 0; }
.tile.on .logo-col { opacity: 1; }
.tile.on .tile-num { color: var(--accent-ink); }
.tile.on .tile-name { opacity: 1; transform: translateY(0); }

/* Method */
.method-intro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 28px 16px 18px; }
.method-intro .eyebrow { color: var(--accent-ink); }
.h2-j { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.8vw, 44px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.method-intro p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-muted); max-width: 46ch; text-wrap: pretty; }
.terms { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.terms li { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12px; color: var(--ink); }
.terms li span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.wf { border-radius: 20px; border: 1px solid var(--line-strong); background: var(--bg); overflow: hidden; }
.wf-title { display: flex; align-items: center; justify-content: center; padding: 12px 16px; border-bottom: 1px solid var(--line-strong); background: var(--surface); font-family: var(--mono); font-size: 12px; color: var(--ink-muted); }
.wf-grid-bg { background-image: radial-gradient(var(--line) 1px, transparent 1.2px); background-size: 22px 22px; }
.wf-box { display: block; overflow-x: auto; overflow-y: hidden; }
.wf-sizer { position: relative; width: 1100px; height: 580px; margin: 0 auto; }
.wf-stage { position: absolute; left: 0; top: 0; width: 1100px; height: 580px; transform-origin: 0 0; }
.wf-stage svg { position: absolute; left: 0; top: 0; overflow: visible; }
.wf-phase { position: absolute; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
.wf-phase span { color: var(--accent-ink); }
.wf-node { position: absolute; width: 190px; margin-left: -95px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.wf-tile { width: 64px; height: 64px; box-sizing: border-box; border-radius: 18px; display: flex; align-items: center; justify-content: center; border: 1.5px solid; box-shadow: 0 1px 2px rgba(13,15,18,.06), 0 10px 22px -14px rgba(13,15,18,.35); transition: border-color 300ms, color 300ms, transform 300ms var(--spring); }
.wf-tile span { width: 22px; height: 22px; background: currentColor; }
.wf-name { margin-top: 10px; padding: 1px 6px; border-radius: 6px; background: var(--bg); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); transition: color 300ms; }
.wf-sub { margin-top: 1px; max-width: 170px; padding: 1px 6px; border-radius: 6px; background: var(--bg); font-size: 12.5px; line-height: 1.4; color: var(--ink-muted); text-wrap: balance; }
.wf-exit { position: absolute; left: 310px; top: 262px; transform: translate(-50%,-50%); border: 1px dashed var(--exit); border-radius: 999px; background: var(--bg); padding: 6px 12px; font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 1; white-space: nowrap; color: var(--exit-ink); transition: box-shadow 300ms; }
.wf-loop { position: absolute; left: 420px; top: 556px; transform: translate(-50%,-50%); padding: 2px 8px; border-radius: 6px; background: var(--bg); font-family: var(--mono); font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap; color: var(--accent-ink); }
.wf-mob { display: none; position: relative; flex-direction: column; gap: 26px; padding: 26px 20px 30px; }
.wf-rail { position: absolute; left: 43px; top: 0; width: 2px; height: 0; border-radius: 2px; background: var(--line-strong); }
.wf-rail div { width: 100%; height: 0; border-radius: 2px; background: var(--accent); transition: height 260ms var(--ease); }
.m-phase { position: relative; display: flex; flex-direction: column; gap: 14px; }
.m-head { margin-left: 62px; display: flex; flex-direction: column; gap: 4px; }
.m-head > div:first-child { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.m-head > div:first-child span { color: var(--accent-ink); }
.m-head > div:last-child { font-size: 13.5px; line-height: 1.45; color: var(--ink-muted); text-wrap: pretty; }
.m-step { display: flex; align-items: flex-start; gap: 14px; }
.m-tile { flex: none; width: 48px; height: 48px; box-sizing: border-box; border-radius: 14px; display: flex; align-items: center; justify-content: center; border: 1.5px solid; box-shadow: 0 1px 2px rgba(13,15,18,.06), 0 8px 18px -12px rgba(13,15,18,.35); transition: border-color 300ms, color 300ms; }
.m-tile span { width: 20px; height: 20px; background: currentColor; }
.m-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.m-name { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); transition: color 300ms; }
.m-sub { font-size: 13px; line-height: 1.4; color: var(--ink-muted); text-wrap: pretty; }
.m-exit { align-self: flex-start; margin-top: 6px; border: 1px dashed; border-radius: 999px; background: var(--bg); padding: 6px 10px; font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 1.2; }
.phase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.phase-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-strong); }
.phase-card > div { display: flex; align-items: baseline; gap: 10px; }
.phase-card > div span { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent-ink); }
.phase-card h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; }
.phase-card p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-muted); text-wrap: pretty; }

/* Contact */
.contact { border-radius: 28px; background: #0D0F12; color: #ECEEF1; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.contact-copy { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.contact .eyebrow { color: #FF6B35; }
.h2-c { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 46px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.contact-copy p { margin: 0; color: rgba(236,238,241,.68); font-size: 16px; }
.contact-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.upwork-tray { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 999px; background: rgba(236,238,241,.06); border: 1px solid rgba(236,238,241,.12); }
.upwork { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; background: #0F7F00; color: #fff; font-weight: 500; font-size: 16px; box-shadow: 0 8px 24px -10px rgba(15,127,0,.7); transition: transform 320ms var(--spring); }
.upwork:hover { transform: scale(1.02); color: #fff; }
.upwork:active { transform: scale(0.97); }
.upwork img { height: 20px; width: auto; display: block; margin-top: 2px; }
.upwork-cap { font-family: var(--mono); font-size: 12px; color: rgba(236,238,241,.56); align-self: stretch; text-align: center; }

/* FAQ + form */
.write { border-radius: 28px; background: #FFFFFF; padding: clamp(12px, 1.6vw, 20px); display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: clamp(12px, 1.6vw, 20px); box-shadow: var(--shadow); }
.faq { border-radius: 20px; background: #0D0F12; color: #ECEEF1; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 24px; min-height: 520px; }
.faq .eyebrow { color: #FF6B35; }
.h2-f { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.02em; }
.h2-f span { color: rgba(236,238,241,.5); }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid rgba(236,238,241,.12); }
.faq-row { border-bottom: 1px solid rgba(236,238,241,.12); }
.faq-row button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 0; border: 0; background: none; color: #ECEEF1; font: inherit; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; }
.faq-num { font-family: var(--mono); font-size: 12px; color: #FF6B35; }
.faq-q { flex: 1; }
.faq-chev { font-size: 12px; color: rgba(236,238,241,.6); transition: transform 200ms; }
.faq-row.open .faq-chev { transform: rotate(180deg); }
.faq-a { margin: 0; padding: 0 24px 18px 36px; color: rgba(236,238,241,.68); font-size: 14px; line-height: 1.65; text-wrap: pretty; }
.faq-a a { color: #FF8A5C; text-decoration: underline; }
.faq-a a:hover { color: #fff; }
.js .faq-a { display: none; }
.js .faq-row.open .faq-a { display: block; }
.faq-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mail-pill { display: flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(236,238,241,.06); border: 1px solid rgba(236,238,241,.14); font-family: var(--mono); font-size: 13px; color: #ECEEF1; }
.mail-pill:hover { color: #fff; border-color: rgba(236,238,241,.4); }
.up-link { font-size: 13px; color: rgba(236,238,241,.68); }
.up-link:hover { color: #FF6B35; }
.form { border-radius: 20px; background: #F8F9FA; border: 1px solid rgba(20,23,28,0.10); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; color: #14171C; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; }
.form label > span { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #5D6470; }
.form input, .form textarea { width: 100%; box-sizing: border-box; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--field-border, #7D8590); background: #fff; font: inherit; font-size: 15px; color: #14171C; outline: none; transition: border-color 150ms, box-shadow 150ms; }
.form input:focus, .form textarea:focus { border-color: #FF5A1F; box-shadow: 0 0 0 4px rgba(255,90,31,.14); }
.form .grow { flex: 1; }
.form textarea { height: auto; min-height: 200px; flex: 1; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.send { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; border: 0; background: #C43D0B; color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: transform 320ms var(--spring); }
.send:hover { transform: scale(1.02); }
.send:active { transform: scale(0.97); }
.send.sent { background: #177E57; }
.send[disabled] { opacity: .7; cursor: progress; }
.send-row > span { font-size: 13px; color: #5D6470; }

/* Footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 8px 6px 24px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-faint); }

/* Video modal */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: clamp(12px, 4vw, 48px); box-sizing: border-box; background: rgba(11,12,16,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow-y: auto; }
.modal-panel { width: 100%; max-width: 1080px; display: flex; flex-direction: column; gap: 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 24px; padding: 10px; box-shadow: 0 40px 120px -40px rgba(0,0,0,.7); box-sizing: border-box; margin: auto; }
.modal-video { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #0B0C10; }
.modal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 400ms ease; }
.modal-video.ready iframe { opacity: 1; }
.vload { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; transition: opacity 400ms ease; }
.vload::before { content: ""; position: absolute; inset: -20px; background: var(--poster) center / cover; filter: blur(18px) brightness(.45); }
.modal-video.ready .vload { opacity: 0; pointer-events: none; }
.vload-ring { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255,255,255,.18); border-top-color: var(--accent); animation: vspin 800ms linear infinite; }
.vload-text { position: relative; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; animation: vfade 1.4s ease-in-out infinite; }
@keyframes vspin { to { transform: rotate(360deg); } }
@keyframes vfade { 50% { opacity: .45; } }
.modal-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 4px 8px 8px; }
.modal-meta > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.modal-meta h3 { text-wrap: balance; }
.modal-meta p { margin: 0; color: var(--ink-muted); max-width: 68ch; text-wrap: pretty; }
.close { flex: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 14px/1 Inter, sans-serif; cursor: pointer; transition: border-color 150ms; }
.close:hover { border-color: var(--accent); }
.close span { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }

/* Custom cursor */
.c-ring { position: fixed; left: 0; top: 0; width: 40px; height: 40px; border-radius: 20px; border: 1.5px solid var(--ink); box-sizing: border-box; pointer-events: none; z-index: 9999; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 250ms, background-color 320ms var(--ease), border-color 320ms var(--ease); }
.c-ring span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: #fff; opacity: 0; transition: opacity 200ms; }
.c-dot { position: fixed; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); pointer-events: none; z-index: 10000; display: none; opacity: 0; transition: opacity 250ms; }

/* Static-content rebuild (Nov 2026) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav a { display: inline-block; }
.logo:hover { color: var(--ink); }
.ghost-btn { display: flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 15px/1 Inter, sans-serif; transition: border-color 150ms, transform 320ms var(--spring); }
.ghost-btn:hover { color: var(--ink); border-color: var(--accent); transform: scale(1.02); }
.ghost-btn:active { transform: scale(0.97); }
button.thumb { display: block; width: 100%; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; }
.card[hidden] { display: none; }
.proof { display: flex; flex-direction: column; gap: 14px; padding: 4px 0; }
.proof > .eyebrow { margin: 0; }
.proof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.proof-list li { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-strong); }
.proof-list li.now { border-color: var(--accent); background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--surface); }
.proof-year { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent-ink); }
.proof-role { font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.2; letter-spacing: -0.01em; }
.proof-co { font-size: 14px; color: var(--ink-muted); }
.proof-note { margin: 0; font-size: 14.5px; color: var(--ink-muted); }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.svc-grid li { display: flex; align-items: baseline; gap: 12px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-strong); }
.svc-grid b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--accent-ink); }
.svc-grid span { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; }
ul.client-grid { list-style: none; margin: 0; padding: 0; }
.faq-h { margin: 0; font: inherit; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--ink-muted); }
.footer-links a:hover { color: var(--accent-ink); }
.photo picture { display: block; width: 100%; height: 100%; }
.yt-link { align-self: flex-start; font-size: 13px; font-weight: 500; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.yt-link:hover { color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form label > span em { font-style: normal; text-transform: none; letter-spacing: 0; }
.field-err { font-size: 13px; color: #A8261A; }
.form [aria-invalid="true"] { border-color: #A8261A; }
.form-msg { margin: 0; font-size: 14px; font-weight: 500; }
.form-msg.ok { color: #177E57; }
.form-msg.bad { color: #A8261A; }
.cf-turnstile { min-height: 65px; }
.write .form { align-self: start; position: sticky; top: 88px; }
.write .form textarea { flex: none; height: 240px; }
.footer-site { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 20px clamp(20px, 4vw, 64px) 24px; box-sizing: border-box; }
/* Root hub and 404 */
.hub { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: clamp(48px, 10vh, 120px) 20px 40px; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hub-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.hub .lede { max-width: none; }
.hub-card { margin-top: 10px; align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); color: var(--ink); transition: transform 320ms var(--spring), border-color 150ms; }
.hub-card:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-3px); }
.hub-card-text { display: flex; flex-direction: column; gap: 6px; }
.hub-card-title { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.15; letter-spacing: -0.015em; }
.hub-card-sub { font-size: 14.5px; color: var(--ink-muted); }
.hub-arrow { font-size: 24px; color: var(--accent-ink); }
.hub-links { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-links a { display: flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 500; font-size: 14px; }
.hub-links a:hover { color: var(--ink); border-color: var(--accent); }
.hub-foot { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 8px 20px 24px; box-sizing: border-box; }
.hub .proof-list { align-self: stretch; grid-template-columns: repeat(2, minmax(0,1fr)); }
.hub-h2 { margin: 18px 0 0; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.hub-faq { margin: 0; align-self: stretch; display: flex; flex-direction: column; gap: 14px; }
.hub-faq dt { font-weight: 600; }
.hub-faq dd { margin: 4px 0 0; color: var(--ink-muted); }

/* Under 900px */
@media (max-width: 899.98px) {
  .nav { display: none; }
  .main { padding: 12px; }
  .footer-site { padding: 16px 12px 24px; }
  .hero, .feat-grid, .write { grid-template-columns: minmax(0,1fr); }
  .card.lead { grid-row: auto; }
  .client-grid { --k: .72; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tile { height: 104px; }
  .proof-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .wf-mob { display: flex; }
  .wf-box { display: none; }
}
.motion-btn span { width: 10px; height: 12px; border-radius: 1px; border: 0; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); background: none; }
.motion-btn[aria-pressed="true"] span { width: 0; height: 0; margin-left: 3px; border-radius: 0; border-left: 10px solid var(--ink); border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.still .status { animation: none; }
.show-xs { display: none; }
.book { white-space: nowrap; }
@media (max-width: 479.98px) {
  .hub .proof-list { grid-template-columns: minmax(0,1fr); }
  .hide-xs { display: none; }
  .show-xs { display: inline; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .status { animation: none; }
  .card:hover, .hub-card:hover, .arrow-btn:hover, .ghost-btn:hover, .upwork:hover, .send:hover { transform: none; }
  .motion-btn { display: none; }
}
