@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #F6F4EF;
  --ink: #0B0D12;
  --cobalt: #FF5B2E;
  --cobalt-deep: #E04A1E;
  --mist: #E3E0D8;
  --slate: #5C6070;
  --marigold: #FFB59E;
  --white: #FFFFFF;

  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--slate);
  --rule: rgba(13, 26, 43, .14);
  --cobalt-bright: var(--cobalt);
  --surface: #FFFFFF;
  --accent-text: #C63A12;

  --display: "Bricolage", "Helvetica Neue", Arial, sans-serif;
  --text: "Geist", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

body[data-theme="dark"] {
  --bg: var(--ink);
  --fg: #F4F2EE;
  --muted: #9A9DA8;
  --rule: rgba(238, 241, 246, .16);
  --cobalt-bright: #FF7A52;
  --surface: #16191F;
  --accent-text: #FF7A52;
}
body[data-theme="cobalt"] {
  --bg: var(--cobalt);
  --fg: var(--ink);
  --muted: rgba(11,13,18,.74);
  --rule: rgba(11,13,18,.22);
  --cobalt-bright: #FFFFFF;
  --surface: var(--ink);
  --accent-text: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .7s var(--ease), color .7s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2.5px solid var(--cobalt-bright); outline-offset: 3px; border-radius: 6px; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 620;
  font-stretch: 84%;
  font-variation-settings: "opsz" 96;
  max-width: 15ch;
}
.display-2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 600;
  font-stretch: 86%;
  font-variation-settings: "opsz" 96;
  margin-bottom: .5em;
}
.h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.028em;
  font-weight: 600;
  font-stretch: 88%;
  font-variation-settings: "opsz" 72;
}
.lede { font-size: clamp(1.06rem, 1.4vw, 1.22rem); line-height: 1.55; color: var(--muted); max-width: 54ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 550; font-size: .98rem; letter-spacing: -.005em;
  padding: .95em 1.4em; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s var(--ease), color .25s;
}
.btn:hover { background: var(--cobalt); color: var(--ink); transform: translateY(-1px); }
.btn-small { padding: .62em 1.05em; font-size: .9rem; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--marigold); color: var(--ink); }
body[data-theme="dark"] .nav .btn { background: #fff; color: var(--ink); }
body[data-theme="cobalt"] .nav .btn { background: var(--ink); color: #fff; }
.link { font-weight: 550; text-underline-offset: 5px; text-decoration-thickness: 1.5px; text-decoration-color: var(--cobalt-bright); }
.link:hover { color: var(--accent-text); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), padding .4s var(--ease);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--rule);
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 620; font-size: 1.08rem; letter-spacing: -.02em; font-stretch: 90%; }
.mark { width: 34px; height: 34px; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-size: .94rem; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.menu { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; color: var(--fg); position: relative; }
.menu span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.menu span:nth-child(1) { top: 15px; }
.menu span:nth-child(2) { top: 23px; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(120px, 16vh, 170px) 0 clamp(70px, 10vh, 110px); min-height: 100vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-pre { color: var(--accent-text); font-weight: 560; font-size: .98rem; margin-bottom: 1.4em; display: flex; align-items: center; gap: 10px; }
.hero-pre { padding: .4em .95em .4em .75em; border-radius: 999px; background: rgba(255,91,46,.10); width: fit-content; }
.hero-pre::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px rgba(255,91,46,.18); }
.hero .display { margin-bottom: .45em; }
.hero-cta { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-top: 2em; }

.hero-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 24px 24px 18px;
  box-shadow: 0 1px 0 rgba(11,13,18,.06), 0 30px 60px -30px rgba(11,13,18,.35);
  transform: rotate(1.2deg);
}
.hc-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.hc-name { font-weight: 600; margin: 0; }
.hc-sub { margin: 0; color: var(--muted); font-size: .88rem; }
.hc-hours { margin: 0; font-family: var(--display); font-size: 2.6rem; line-height: .9; font-weight: 650; letter-spacing: -.04em; text-align: right; font-stretch: 85%; }
.hc-hours small { display: block; font-family: var(--text); font-size: .74rem; letter-spacing: 0; font-weight: 450; color: var(--muted); margin-top: 6px; }
.hc-list li { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--rule); font-size: .93rem; }
.hc-list li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.hc-list li.is-done span:first-child { text-decoration: line-through; text-decoration-color: var(--cobalt); text-decoration-thickness: 2px; color: var(--muted); }
.hc-foot { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- story (pinned) ---------- */
.story-track { height: 420vh; position: relative; }
.story-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story-kicker { color: var(--muted); font-size: .95rem; margin-bottom: 1.6em; }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--rule); }
.step { display: grid; grid-template-columns: 32px 1fr; gap: 18px; padding: 10px 0; opacity: .32; transition: opacity .5s var(--ease); }
.step.is-active { opacity: 1; }
.step-n { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 600; background: var(--bg); border: 1px solid var(--rule); position: relative; z-index: 1; transition: background-color .4s, color .4s, border-color .4s; }
.step.is-active .step-n { background: var(--cobalt); border-color: var(--cobalt); color: var(--ink); }
.step h2 { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.025em; font-stretch: 88%; line-height: 1.1; margin: 0 0 .25em; }
.step p { color: var(--muted); margin: 0; max-width: 42ch; font-size: .98rem; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.step.is-active p { max-height: 10em; }

.week { background: var(--surface); border-radius: 22px; padding: 22px; border: 1px solid var(--rule); }
.week-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.week-title { margin: 0; font-weight: 600; }
.week-meter { min-width: 46%; }
.week-meter p { margin: 0 0 6px; text-align: right; font-size: .9rem; color: var(--muted); }
.week-meter p span { font-family: var(--display); font-size: 1.7rem; font-weight: 650; color: var(--fg); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-right: 4px; }
.bar { height: 6px; background: rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--cobalt-bright), var(--marigold)); border-radius: 6px; transition: width .9s var(--ease); }
.week-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; height: min(52vh, 440px); }
.day { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.day-name { font-size: .76rem; color: var(--muted); margin-bottom: 2px; flex: 0 0 auto; }
.blk {
  flex: var(--g) 1 0; min-height: 0;
  border-radius: 8px; padding: 6px 7px;
  background: rgba(244,242,238,.08);
  border: 1px solid rgba(244,242,238,.10);
  font-size: .7rem; line-height: 1.25; color: #C9CAD0;
  overflow: hidden; position: relative;
  transition: flex-grow .9s var(--ease), background-color .6s var(--ease), border-color .6s var(--ease), color .6s, padding .6s;
}
.blk .lbl, .blk .sys { display: block; transition: opacity .4s; }
.blk .sys { position: absolute; inset: 5px 7px auto; opacity: 0; color: #fff; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk .t { display: block; opacity: .6; margin-top: 2px; }
.blk.freed { flex-grow: 0; padding: 0 7px; border-width: 0; background: var(--marigold); color: var(--ink); font-weight: 560; }
.blk.freed .lbl { opacity: 0; }

.week[data-stage="1"] .blk.auto { border-color: var(--cobalt-bright); background: rgba(255,91,46,.18); color: #fff; }
.week[data-stage="2"] .blk.auto, .week[data-stage="3"] .blk.auto { flex-grow: calc(var(--g) * .16); background: var(--cobalt); border-color: var(--cobalt); padding-top: 4px; padding-bottom: 4px; }
.week[data-stage="2"] .blk.auto .lbl, .week[data-stage="3"] .blk.auto .lbl { opacity: 0; }
.week[data-stage="2"] .blk.auto .sys, .week[data-stage="3"] .blk.auto .sys { opacity: 1; }
.week[data-stage="2"] .blk.auto .sys { inset: 3px 7px auto; font-size: .64rem; }
.week[data-stage="3"] .blk.auto .sys { opacity: 0; }
.week[data-stage="3"] .blk.freed { flex-grow: var(--f); padding: 6px 7px; border-width: 1px; }
.week[data-stage="3"] .blk.freed .lbl { opacity: 1; transition-delay: .5s; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: .78rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.lg-manual { background: rgba(244,242,238,.14); border: 1px solid rgba(244,242,238,.2); }
.lg-flag { background: rgba(255,91,46,.25); border: 1px solid var(--cobalt-bright); }
.lg-system { background: var(--cobalt); }
.lg-freed { background: var(--marigold); }

/* ---------- gap ---------- */
.gap { padding: clamp(110px, 18vh, 200px) 0 clamp(80px, 12vh, 140px); }
.fill-text {
  font-family: var(--display); font-weight: 560; font-stretch: 88%;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.14; letter-spacing: -.025em;
  max-width: 24ch; margin-bottom: clamp(60px, 10vh, 110px);
}
.fill-text .w { opacity: .16; transition: opacity .25s linear; }
.fill-text .w.on { opacity: 1; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.facts figure { margin: 0; padding-top: 20px; border-top: 1.5px solid var(--fg); }
.fact-n { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 640; letter-spacing: -.04em; line-height: 1; margin-bottom: .35em; font-stretch: 84%; }
.facts figcaption { color: var(--muted); font-size: .95rem; max-width: 34ch; }
.facts cite { display: block; font-style: normal; font-size: .8rem; margin-top: .8em; opacity: .75; }

/* ---------- section heads ---------- */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vh, 64px); }
.sec-head p { color: var(--muted); max-width: 46ch; margin: 0; font-size: 1.05rem; }

/* ---------- engagements ---------- */
.engage { padding: clamp(60px, 10vh, 120px) 0 clamp(90px, 14vh, 160px); }
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.path-item { padding: 28px clamp(18px, 2.4vw, 34px) 34px; border-left: 1px solid var(--rule); position: relative; }
.path-item:first-child { border-left: 0; padding-left: 0; }
.path-feature { background: var(--ink); color: #F4F2EE; border-radius: 22px; border-left: 0; padding-left: clamp(18px, 2.4vw, 34px); margin: -12px 0; padding-top: 40px; }
.path-feature + .path-item { border-left: 0; }
.path-feature ul li::before { background: var(--marigold); }
.path-item.path-feature p, .path-item.path-feature li { color: #C2C3C9; }
.path-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.path-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; font-size: .82rem; font-weight: 600; }
.path-time { font-size: .88rem; opacity: .7; }
.path-item h3 { font-family: var(--display); font-size: 1.65rem; letter-spacing: -.025em; font-stretch: 88%; margin-bottom: .4em; line-height: 1.1; }
.path-item p { color: var(--muted); }
.path-item ul { margin-top: 18px; }
.path-item li { position: relative; padding: 8px 0 8px 20px; font-size: .95rem; border-top: 1px solid var(--rule); }
.path-feature li { border-top-color: rgba(244,242,238,.14); }
.path-item li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; border-radius: 2px; background: var(--cobalt); }

/* ---------- functions ---------- */
.functions { padding: clamp(100px, 15vh, 170px) 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { font: inherit; font-size: .95rem; font-weight: 520; color: var(--ink); background: transparent; border: 1px solid rgba(11,13,18,.35); padding: .6em 1.1em; border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba-col { border-radius: 22px; padding: clamp(22px, 3vw, 36px); }
.ba-before { background: var(--ink); color: #F4F2EE; }
.ba-after { background: #fff; color: var(--ink); }
.ba-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.ba-top h3 { font-family: var(--display); font-size: 1.45rem; letter-spacing: -.02em; font-stretch: 88%; }
.ba-time { font-family: var(--display); font-size: 2.2rem; font-weight: 650; letter-spacing: -.04em; line-height: 1; font-stretch: 85%; white-space: nowrap; }
.ba-time small { font-family: var(--text); font-size: .8rem; letter-spacing: 0; font-weight: 450; margin-left: 4px; opacity: .75; }
.ba-wf { margin: 0 0 16px; opacity: .8; font-size: .95rem; }
.ba-steps { counter-reset: s; }
.ba-steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.16); font-size: .95rem; }
.ba-after .ba-steps li { border-top-color: rgba(11,13,18,.1); }
.ba-steps li::before { content: counter(s); font-size: .78rem; opacity: .6; padding-top: 2px; font-variant-numeric: tabular-nums; }
.ba-tools { margin: 18px 0 0; font-size: .86rem; color: var(--slate); }
.ba-col { animation: rise .5s var(--ease) backwards; }
.ba-after { animation-delay: .08s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- compare ---------- */
.diff { padding: clamp(100px, 15vh, 170px) 0 clamp(60px, 10vh, 110px); }
.table-scroll { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .97rem; }
.compare th, .compare td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-weight: 520; color: var(--muted); font-size: .9rem; }
.compare tbody th { font-weight: 520; width: 30%; }
.compare td { color: var(--muted); }
.compare .us { color: var(--fg); font-weight: 600; background: rgba(255,91,46,.08); }
.compare thead .us { color: var(--accent-text); border-radius: 14px 14px 0 0; }

/* ---------- industries ---------- */
.industries { padding: clamp(60px, 10vh, 120px) 0; }
.ind-list li { display: grid; grid-template-columns: 64px 1.1fr 1.4fr; gap: 24px; align-items: start; padding: 26px 0; border-top: 1px solid var(--rule); }
.ind-list li:last-child { border-bottom: 1px solid var(--rule); }
.ind-ico { width: 52px; height: 52px; color: var(--accent-text); }
.ind-ico * { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ind-name { font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; font-stretch: 88%; line-height: 1.15; }
.ind-name span { display: block; font-family: var(--text); font-size: .92rem; letter-spacing: 0; color: var(--muted); font-weight: 400; margin-top: 4px; }
.ind-sys { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-sys span { font-size: .86rem; padding: .35em .8em; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); }

/* ---------- about ---------- */
.about { padding: clamp(100px, 15vh, 170px) 0; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about .h2 { margin-bottom: .6em; max-width: 16ch; }
.about p { max-width: 60ch; color: var(--muted); }
.about .about-lede { color: var(--fg); font-size: 1.18rem; line-height: 1.55; }
.orbit circle { fill: none; stroke: var(--rule); stroke-width: 1; }
.orbit .orbit-dots circle { fill: var(--cobalt); stroke: none; }
.orbit .orbit-dots circle:nth-child(2) { fill: var(--marigold); }
.orbit .orbit-dots circle:nth-child(3) { fill: var(--ink); }
.orbit-dots { transform-origin: 200px 200px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- contact ---------- */
.contact { padding: clamp(110px, 16vh, 180px) 0; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 16px; background: var(--surface); border-radius: 22px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--rule); }
.form label { display: grid; gap: 7px; font-size: .9rem; color: var(--muted); }
.form input, .form textarea {
  font: inherit; font-size: 1rem; color: var(--fg);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: 8px 0 10px; border-radius: 0; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--cobalt-bright); }
.form input[aria-invalid="true"] { border-bottom-color: #FF8A7A; }
.form textarea::placeholder { color: var(--muted); opacity: .6; }
.form .btn { justify-self: start; margin-top: 6px; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); min-height: 1.2em; }

/* ---------- footer ---------- */
.footer { padding: 40px 0 46px; border-top: 1px solid var(--rule); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; color: var(--muted); font-size: .92rem; }
.foot-grid p { margin: 0; }
.foot-brand { color: var(--fg); margin-right: auto; }
.foot-small { width: 100%; font-size: .82rem; opacity: .7; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .story-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { transform: none; max-width: 520px; }
  .sec-head { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; gap: 12px; }
  .path-item, .path-item:first-child { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .path-feature { margin: 0; padding-left: 24px; border-top: 0; }
  .ba { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .about-art { max-width: 260px; }
  .story-track { height: 380vh; }
  .story-stage { align-items: flex-start; padding-top: 78px; }
  .story-grid { gap: 18px; }
  .story-kicker { margin-bottom: .6em; }
  .step { display: none; }
  .step.is-active { display: grid; }
  .steps::before { display: none; }
  .week-grid { height: 46vh; }
}
@media (max-width: 820px) {
  .nav { gap: 12px; }
  .nav .btn-small { display: none; }
  .menu { display: block; margin-left: auto; }
  .nav nav { margin-left: 0; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); padding: 8px var(--gutter) 20px; box-shadow: 0 12px 24px -16px rgba(0,0,0,.3);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; color: var(--fg); border-bottom: 1px solid var(--rule); }
  .ind-list li { grid-template-columns: 48px 1fr; }
  .ind-sys { grid-column: 2; }
  .ind-ico { width: 40px; height: 40px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .week { padding: 14px; }
  .week-grid { gap: 4px; }
  .blk { font-size: .6rem; padding: 4px; }
  .blk .t { display: none; }
  .week[data-stage="2"] .blk.auto .sys { display: none; }
  .legend { font-size: .7rem; gap: 4px 12px; }
  .hc-hours { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .fill-text .w { opacity: 1; }
}

/* ---------- v2: founder's office ---------- */
.hero .display { font-size: clamp(2.5rem, 4.9vw, 4.7rem); line-height: 1; max-width: 17ch; }
.hero-grid { grid-template-columns: 1.5fr .85fr; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.h1-line { display: block; }
.h1-second { margin-top: .12em; font-weight: 420; font-stretch: 92%; }

.aud { padding: 0 0 clamp(90px, 14vh, 150px); }
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aud-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 22px; padding: clamp(26px, 3.4vw, 44px); }
.aud-card .h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); margin-bottom: .55em; max-width: 14ch; }
.aud-card > p:not(.aud-for) { color: var(--muted); max-width: 46ch; }
.aud-alt { background: var(--ink); color: #F4F2EE; border-color: var(--ink); }
.aud-alt > p:not(.aud-for) { color: #B8B9C0; }
.aud-for { font-weight: 560; color: var(--accent-text); margin-bottom: 1.2em; }
.aud-alt .aud-for { color: var(--marigold); }
.ticks { margin-top: 22px; }
.ticks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--rule); font-size: .96rem; }
.aud-alt .ticks li { border-top-color: rgba(244,242,238,.14); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(-45deg); }
.aud-alt .ticks li::before { border-color: var(--marigold); }

.city-list li { grid-template-columns: 88px 1fr 1.5fr; }
.city-code { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; font-stretch: 78%; color: var(--accent-text); line-height: 1; padding-top: 4px; }
.city-desc { color: var(--muted); margin: 0 0 12px; font-size: .97rem; max-width: 48ch; }

.about-role { color: var(--accent-text); font-weight: 560; margin-bottom: 1em; }
.about .h2 { max-width: 20ch; margin-bottom: .3em; }
.about .about-lede { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 560; letter-spacing: -.02em; font-stretch: 88%; color: var(--accent-text); margin-bottom: 1em; }
.btn-ghost { background: transparent; color: var(--fg); border: 1.5px solid var(--fg); margin-top: .6em; }
.btn-ghost:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form select {
  font: inherit; font-size: 1rem; color: var(--fg); background: transparent;
  border: 0; border-bottom: 1px solid var(--rule); padding: 8px 24px 10px 0; border-radius: 0;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.form select:focus { outline: none; border-bottom-color: var(--cobalt-bright); }
.form select option { color: #0B0D12; }

@media (max-width: 980px) {
  .aud-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .city-list li { grid-template-columns: 60px 1fr; }
  .city-list li > div { grid-column: 2; }
  .city-code { font-size: 1.2rem; }
}
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }


/* ---------- v3: icons ---------- */
.ico { display: inline-flex; width: 1.1em; height: 1.1em; flex: 0 0 auto; vertical-align: -0.18em; }
.ico svg { width: 100%; height: 100%; }
.btn .ico { width: 1.05em; height: 1.05em; }
.fact-ico { width: 34px; height: 34px; color: var(--accent-text); margin-bottom: 18px; padding: 7px; border-radius: 10px; background: rgba(255,91,46,.10); }
.aud-for { display: flex; align-items: center; gap: 10px; }
.aud-for .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255,91,46,.10); }
.aud-alt .aud-for .ico { background: rgba(255,181,158,.14); }
.path-ico { margin-left: auto; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255,91,46,.10); color: var(--accent-text); }
.path-feature .path-ico { background: rgba(255,91,46,.18); color: #FF7A52; }
.th-ico { display: flex; width: 22px; height: 22px; margin-bottom: 8px; color: var(--muted); }
.compare thead .us .th-ico { color: var(--accent-text); }
.tab { display: inline-flex; align-items: center; gap: 8px; }
.tab svg { width: 17px; height: 17px; }
.city-code { display: inline-flex; flex-direction: column; gap: 8px; }
.city-code svg { width: 22px; height: 22px; stroke-width: 1.6; }
.foot-grid .ico { margin-right: 7px; color: var(--cobalt); }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--fg); }

/* ---------- v3: pointer effects ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; opacity: 0; transition: opacity .3s; display: none; }
.fx .cursor { display: block; }
.cursor.on { opacity: 1; }
.cursor span {
  position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--fg); opacity: .55;
  transition: transform .35s var(--ease), opacity .3s, border-color .3s, background-color .3s, border-radius .3s, width .3s, height .3s, left .3s, top .3s;
}
.cursor.big span { transform: scale(1.9); opacity: 1; border-color: var(--cobalt); background: rgba(255,91,46,.14); }
body[data-theme="cobalt"] .cursor.big span { border-color: var(--ink); background: rgba(11,13,18,.10); }
.cursor.text span { width: 3px; height: 28px; left: -1.5px; top: -14px; border-radius: 2px; background: var(--cobalt); border-color: transparent; opacity: 1; }

.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,91,46,.14), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.fx .spot:hover::after { opacity: 1; }
.aud-alt.spot::after, .path-feature.spot::after, .form.spot::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,91,46,.26), transparent 60%); }
.facts figure.spot { padding-left: 4px; padding-right: 12px; padding-bottom: 14px; border-radius: 0 0 16px 16px; }

.tilt { transition: transform .5s var(--ease), box-shadow .5s var(--ease); will-change: transform; transform-style: preserve-3d; }
.fx .aud-card.tilt:hover, .fx .path-feature.tilt:hover { box-shadow: 0 40px 70px -40px rgba(11,13,18,.45); }

.path-item { transition: transform .4s var(--ease); }
.fx .path-item:not(.tilt):hover { transform: translateY(-6px); }

.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; left: -260px; top: -260px; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,91,46,.22), rgba(255,181,158,.10) 40%, transparent 70%);
  filter: blur(10px); opacity: 0; transition: opacity .6s, transform 1.2s cubic-bezier(.2,.7,.1,1);
}
.hero-glow.on { opacity: 1; }
.hero-grid { position: relative; z-index: 1; }

.has-dots { position: relative; overflow: hidden; }
.has-dots > canvas.dots { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.has-dots > .wrap { position: relative; z-index: 1; }

.compare td, .compare th { transition: background-color .25s; }
.compare tbody tr:hover th, .compare tbody tr:hover td { background: rgba(255,91,46,.05); }
.compare .col-on { background: rgba(255,91,46,.09) !important; color: var(--fg); }

.city-row { position: relative; isolation: isolate; padding-left: 14px !important; padding-right: 64px !important; border-radius: 14px; transition: padding .4s var(--ease); }
.city-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 14px; background: var(--surface);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); box-shadow: 0 20px 40px -30px rgba(11,13,18,.35);
}
.city-row:hover::before { transform: scaleX(1); }
.city-row:hover { border-top-color: transparent; }
.city-arrow { position: absolute; right: 18px; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .45s var(--ease), opacity .3s, background-color .3s; }
.city-arrow svg { width: 18px; height: 18px; }
.city-row:hover .city-arrow { transform: none; opacity: 1; background: var(--cobalt); color: var(--ink); }

#orbitArt, #orbitArt .orbit > circle { transition: transform .8s var(--ease); }

@media (max-width: 820px) {
  .city-row { padding-right: 14px !important; }
  .city-arrow { display: none; }
}

/* ---------- v4: page-wide dot field + founder photo ---------- */
.dots-global { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: none; }
.fx .dots-global { display: block; }
main, .footer { position: relative; z-index: 1; }
.nav { z-index: 50; }

.about-art { position: relative; display: grid; place-items: center; padding: 8%; }
.about-art .orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.founder-photo {
  position: relative; margin: 0; width: 82%; max-width: 360px; aspect-ratio: 1 / 1;
  border-radius: 50%; overflow: hidden; background: var(--ink);
  outline: 6px solid var(--bg); outline-offset: 0;
  box-shadow: 0 40px 80px -40px rgba(11,13,18,.55);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; filter: grayscale(.35) contrast(1.04); transition: filter .6s var(--ease), transform .8s var(--ease); }
.founder-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(255,91,46,.28));
  mix-blend-mode: multiply; transition: opacity .6s;
}
.founder-photo:hover img { filter: none; transform: scale(1.03); }
.founder-photo:hover::before { opacity: .4; }
.founder-photo.spot::after { z-index: 2; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,181,158,.25), transparent 60%); }

/* tighten the gap after the Five hats band */
.functions { padding-bottom: clamp(80px, 11vh, 120px); }
.diff { padding-top: clamp(80px, 11vh, 120px); }

@media (max-width: 980px) {
  .about-art { max-width: 380px; padding: 6%; }
}
