/* himeetjason.com: tokens, layout, components. Hand-written; no build step. */
:root {
  /* Palette carried over from the original himeetjason.com */
  --ink: #21242C;
  --ground: #FCFCFC;
  --paper: #FFFFFF;
  --soft: #F3F4F6;
  --night: #0E1116;
  --night-2: #161A22;
  --night-3: #1E232D;
  --muted: #6C727F;
  --muted-night: #A8AFBC;
  --line: #E2E4E9;
  --line-night: rgba(255, 255, 255, 0.12);
  --accent: #0B64F4;
  --accent-soft: rgba(11, 100, 244, 0.08);
  --brand: var(--night);
  --font-display: "Syne", "DM Sans", system-ui, sans-serif;
  --font-text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --font-voice: "DM Sans", system-ui, sans-serif;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(33,36,44,0.05), 0 8px 24px rgba(33,36,44,0.06);
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 10px 14px; border-radius: var(--r-sm); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(calc(100% - 24px), 980px); display: flex; align-items: center; gap: 4px; height: 60px; padding: 0 8px 0 16px; border-radius: 20px; background: rgba(255,255,255,0.88); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); color: var(--ink); box-shadow: 0 6px 24px rgba(33,36,44,0.08); border: 1px solid var(--line); }
.nav .home { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; display: inline-grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0; }
.nav .nav-links { display: flex; align-items: center; gap: 2px; }
.nav .nav-links a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #5B6170; transition: color .15s ease, background .15s ease; }
.nav .nav-links a:hover { color: var(--accent); background: var(--accent-soft); }
.nav .nav-links a.on { color: var(--accent); background: #E7EFFE; font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-family: var(--font-text); font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; border-color: rgba(127,127,127,0.45); }
.btn-dark { background: var(--ink); color: #fff; }
.menu-btn { display: none; min-height: 44px; padding: 0 14px; margin-left: 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 14.5px var(--font-text); cursor: pointer; }
.sheet { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 8px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sheet[hidden] { display: none; }
.sheet a { min-height: 48px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; text-decoration: none; font-size: 17px; font-weight: 500; }
.sheet a:hover { background: var(--soft); }

/* ---------- sections ---------- */
.dark { background: var(--night); color: #fff; }
.dark .muted { color: var(--muted-night); }
.muted { color: var(--muted); }
section { position: relative; }
.pad { padding: 120px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.h2 { font-size: clamp(38px, 5.4vw, 68px); }
.h3 { font-size: clamp(28px, 3.4vw, 42px); }
.voice { font-family: var(--font-voice); font-style: normal; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.voice em { font-style: normal; color: var(--accent); }
.lede { font-size: 19px; line-height: 1.6; max-width: 640px; }
.stack > * + * { margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,0.08); border: 1px solid var(--line-night); color: rgba(255,255,255,0.9); }
.light .chip, .chip.on-light { background: var(--paper); border-color: var(--line); color: var(--ink); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 132px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 65% at 88% 18%, rgba(11,100,244,0.10), transparent 70%); pointer-events: none; }
.dark.hero::before { background: radial-gradient(55% 65% at 88% 18%, rgba(11,100,244,0.28), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(52px, 8vw, 108px); line-height: 0.98; letter-spacing: -0.035em; }
.hero .voice { font-size: clamp(24px, 2.6vw, 32px); max-width: 620px; }
.hero .lede { color: var(--muted); }
.dark.hero .lede { color: rgba(255,255,255,0.78); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.now { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); }
.now .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,0.18); }
.reel { position: relative; justify-self: end; width: 100%; max-width: 380px; }
.reel .frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); box-shadow: 0 30px 70px rgba(33,36,44,0.18); }
.reel video, .reel .frame img { width: 100%; height: 100%; object-fit: cover; }
.reel .who { position: absolute; left: -36px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(33,36,44,0.14); }
.reel .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.reel .who b { display: block; font-family: var(--font-display); font-size: 16px; letter-spacing: -0.01em; line-height: 1.2; }
.reel .who span { font-size: 13px; color: var(--muted); }
.reel .tag { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(33,36,44,0.6); color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; backdrop-filter: blur(6px); }

/* ---------- proof strip + stats ---------- */
.proof { border-top: 1px solid var(--line); padding: 28px 0; }
.proof .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; }
.proof .lbl { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.proof .names { display: flex; flex-wrap: wrap; gap: 14px 36px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: #9AA0AB; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--paper); padding: 28px 24px 26px; display: flex; flex-direction: column; gap: 8px; min-height: 172px; }
.stat .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums lining-nums; color: var(--accent); }
.stat .d { font-size: 15px; line-height: 1.4; color: var(--ink); }
.stat .s { margin-top: auto; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- work chapters ---------- */
.chapter { padding: 96px 0; border-top: 1px solid var(--line); }
.chapter:first-of-type { border-top: 0; }
.ch-head { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 0.9fr); gap: 40px; align-items: start; margin-bottom: 48px; }
.ch-no { font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; letter-spacing: 0.06em; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 10px; }
.ch-no b { display: block; font-size: 13px; color: var(--accent); font-weight: 500; }
.ch-head h3 { font-size: clamp(30px, 3.3vw, 44px); }
.ch-head .role { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; font-weight: 500; color: var(--muted); }
.ch-body p + p { margin-top: 16px; }
.pull { font-family: var(--font-voice); font-weight: 500; font-size: 21px; line-height: 1.35; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 18px; margin-top: 24px; }
.sub { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.sub h4 { font-size: 26px; letter-spacing: -0.02em; }
.sub .meta { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.sub p { margin-top: 12px; color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.dark .link { color: #fff; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.media { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--soft); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,0.94); color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.r169 { aspect-ratio: 16 / 9; } .r11 { aspect-ratio: 1 / 1; } .r916 { aspect-ratio: 9 / 16; } .r45 { aspect-ratio: 4 / 5; }

/* video facades */
.play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: opacity .2s ease, transform .4s ease; }
.play:hover img { opacity: 1; transform: scale(1.02); }
.play .pbtn { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(255,255,255,0.95); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,0.3); transition: transform .2s ease; }
.play:hover .pbtn { transform: scale(1.06); }
.play .pbtn::after { content: ""; margin-left: 5px; border-left: 20px solid var(--accent); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.snd { position: absolute; right: 10px; top: 10px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(0,0,0,0.6); color: #fff; font: 600 12.5px var(--font-text); cursor: pointer; backdrop-filter: blur(6px); }

/* ---------- thinking (dark) ---------- */
.think-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.panel { background: var(--night-2); border: 1px solid var(--line-night); border-radius: var(--r-lg); padding: 36px; }
.panel h3 { font-size: 30px; }
.panel p { color: rgba(255,255,255,0.78); margin-top: 14px; }
.mk { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.mk div { border-radius: var(--r-md); padding: 20px; background: var(--night-3); }
.mk b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #6FA3FF; line-height: 1; margin-bottom: 10px; }
.mk span { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.5; }
.spectrum { margin-top: 28px; }
.spectrum .bar { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #fff 0%, var(--accent) 50%, #6C727F 100%); }
.spectrum .ends { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 14px; gap: 10px; font-size: 14px; }
.spectrum .ends b { display: block; color: #fff; font-size: 15px; }
.spectrum .ends span { color: var(--muted-night); }
.spectrum .ends > :nth-child(2) { text-align: center; } .spectrum .ends > :nth-child(3) { text-align: right; }
.engine { grid-column: 1 / -1; }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
.step { text-align: left; border: 1px solid var(--line-night); background: transparent; color: #fff; border-radius: var(--r-md); padding: 16px; cursor: pointer; font: inherit; transition: background .2s ease, border-color .2s ease; }
.step .n { font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--muted-night); font-variant-numeric: tabular-nums; }
.step b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; margin-top: 18px; }
.step span { display: block; font-size: 13px; color: var(--muted-night); margin-top: 2px; }
.step[aria-selected="true"] { background: var(--accent); border-color: var(--accent); }
.step[aria-selected="true"] .n, .step[aria-selected="true"] span { color: rgba(255,255,255,0.85); }
.step-detail { margin-top: 20px; min-height: 60px; font-size: 19px; color: rgba(255,255,255,0.9); max-width: 760px; }
.prog { height: 3px; border-radius: 3px; background: var(--line-night); margin-top: 20px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--accent); }

/* ---------- people ---------- */
.people-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.os { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.card { background: var(--paper); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.card h4 { font-size: 21px; letter-spacing: -0.015em; }
.card p { font-size: 15.5px; color: var(--muted); }
.card .big { font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.range { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.range .card .lab { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* ---------- builds ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 56px; }
.sec-head .lede { max-width: 520px; justify-self: end; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.meta-row span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.meta-row .status { gap: 8px; background: #E9F7EF; border-color: #CBEBD8; color: #137A3F; }
.meta-row .status .dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #1E9E55; box-shadow: 0 0 0 3px rgba(30,158,85,0.18); }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.links a { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.links a:hover { color: var(--accent); }

.flag { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--paper); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; min-height: 560px; }
.flag + .flag { margin-top: 16px; }
.flag.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.flag-copy { padding: 48px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.flag-copy h3 { font-size: clamp(36px, 3.6vw, 48px); letter-spacing: -0.03em; margin-top: 8px; }
.flag-sub { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; color: var(--accent); margin-top: -6px !important; }
.flag-copy > p:not(.flag-sub) { color: var(--muted); font-size: 16px; }
.flag-copy .links { margin-top: 8px; }
.flag-art { position: relative; overflow: hidden; }

.art-pannall { background: linear-gradient(160deg, #EAF1FE 0%, #DCE8FD 100%); padding: 56px 0 0 56px; display: flex; align-items: flex-end; }
.art-pannall .browser { width: 118%; border-radius: 14px 0 0 0; border-right: 0; border-bottom: 0; box-shadow: 0 24px 60px rgba(11,100,244,0.16); }
.browser { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.browser .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #FAFAFB; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #DADDE3; }
.browser .bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); padding: 3px 10px; border-radius: 6px; background: var(--soft); }
.browser img { width: 100%; height: auto; display: block; }

.art-popin { background: radial-gradient(70% 80% at 50% 40%, #3A1BA6 0%, #22096A 70%); display: grid; place-items: center; padding: 48px 24px; }
.fan { position: relative; display: flex; align-items: center; justify-content: center; }
.fan img { width: 210px; border-radius: 26px; box-shadow: 0 24px 50px rgba(8,0,40,0.45); }
.fan img:nth-child(1) { transform: translateX(36px) rotate(-7deg) scale(0.9); opacity: 0.92; }
.fan img:nth-child(2) { position: relative; z-index: 2; width: 236px; }
.fan img:nth-child(3) { transform: translateX(-36px) rotate(7deg) scale(0.9); opacity: 0.92; }

.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.mini { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.mini-art { aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; }
.mini-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.mini-body h4 { font-size: 24px; letter-spacing: -0.02em; margin-top: 4px; }
.mini-body p { font-size: 15.5px; color: var(--muted); }
.mini-body .links { margin-top: auto; padding-top: 4px; }
.art-within { background: radial-gradient(85% 90% at 18% 12%, #E4DEFA 0%, rgba(228,222,250,0) 62%), radial-gradient(75% 85% at 92% 95%, #FADFD2 0%, rgba(250,223,210,0) 60%), #F1EEF7; padding: 26px 0 0; place-items: end center; }
.art-within img { width: 98%; max-width: none; height: auto; filter: drop-shadow(0 18px 28px rgba(40,30,80,0.22)) drop-shadow(0 4px 8px rgba(40,30,80,0.10)); transform: translateY(8%); }
.art-lovelab { background: linear-gradient(160deg, #EAF1FE 0%, #DCE8FD 100%); padding: 28px 0 0 28px; place-items: end start; }
.art-lovelab .browser { width: 125%; border-radius: 10px 0 0 0; border-right: 0; border-bottom: 0; box-shadow: 0 16px 40px rgba(11,100,244,0.14); }
.art-mml { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.art-mml img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- close ---------- */
.close-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: end; }
.contact { display: flex; flex-direction: column; gap: 10px; }
.contact a.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 22px; border-radius: var(--r-md); background: var(--night-2); border: 1px solid var(--line-night); text-decoration: none; font-weight: 600; transition: background .15s ease; }
.contact a.row:hover { background: var(--night-3); }
.contact a.row span { color: var(--muted-night); font-weight: 400; font-family: var(--font-mono); font-size: 12.5px; }
.contact a.row.primary { background: var(--accent); border-color: var(--accent); }
.contact a.row.primary span { color: rgba(255,255,255,0.88); }
.foot { border-top: 1px solid var(--line-night); padding: 28px 0 40px; font-size: 14px; color: var(--muted-night); }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- company pages ---------- */
.co-hero { background: var(--brand); }
.ask { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.ask:last-child { border-bottom: 1px solid var(--line); }
.ask .q { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }
.ask .q small { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.ask ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ask li { padding-left: 22px; position: relative; color: var(--muted); }
.ask li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.ask li b { color: var(--ink); }
.qs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.qs .panel p { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.25; color: #fff; margin: 0; }
.qs .panel .n { font-family: var(--font-mono); color: #6FA3FF; font-weight: 600; font-size: 14px; margin-bottom: 18px; display: block; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fan img { width: 170px; } .fan img:nth-child(2) { width: 190px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(4), .stat:nth-child(5) { grid-column: span 1; }
  .ch-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ch-no { padding-top: 0; }
  .os { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav .nav-links { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav .btn-accent { display: none; }
  .pad { padding: 88px 0; }
  .hero-grid, .people-top, .close-grid, .sub, .ask { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .reel { justify-self: start; max-width: 320px; margin-left: 36px; }
  .think-grid { grid-template-columns: minmax(0, 1fr); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .range, .qs { grid-template-columns: minmax(0, 1fr); }
  .flag, .flag.flip, .sec-head { grid-template-columns: minmax(0, 1fr); }
  .flag.flip .flag-art { order: 0; }
  .flag-copy { padding: 32px 28px 36px; }
  .flag { min-height: 0; }
  .art-pannall { padding: 32px 0 0 28px; }
  .sec-head { gap: 20px; }
  .sec-head .lede { justify-self: start; }
  .minis { grid-template-columns: minmax(0, 1fr); }
  .fan img { width: 150px; } .fan img:nth-child(2) { width: 170px; }
  .chapter { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  body { font-size: 16.5px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:first-child { grid-column: span 2; }
  .stat { min-height: 150px; padding: 22px 18px; }
  .os, .grid3, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 26px; }
  .reel { max-width: 260px; }
  .reel .who { left: -20px; }
  .proof .names { font-size: 17px; gap: 10px 22px; }
  .nav .home .full { display: none; }
}
.people-mid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 16px; margin-top: 56px; align-items: stretch; }
.people-mid .range { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
.people-mid > .reveal, .people-mid .media { height: 100%; }
.people-mid .media { aspect-ratio: auto; min-height: 320px; }
.people-mid .range .card { padding: 22px 24px; }
.os { margin-top: 16px; }
@media (max-width: 860px) { .people-mid { grid-template-columns: minmax(0, 1fr); } .people-mid .media { height: auto; } }

/* light-theme details */
.mark { background: var(--accent); }
.chip { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.hero:not(.dark) .chip { background: var(--paper); border-color: var(--line); color: var(--ink); }
.hero:not(.dark) .btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.proof-wrap { background: var(--ground); }
.dark .kicker { color: #6FA3FF; }
.dark .link { border-bottom-color: #6FA3FF; }
.step[aria-selected="true"] { background: var(--accent); border-color: var(--accent); }
.prog i { background: #6FA3FF; }
.mml-art { background: var(--accent); }
.dark .voice em { color: #6FA3FF; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.trio div { border-radius: 14px; background: var(--soft); padding: 16px; }
.trio b { display: block; font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 32px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.trio span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; margin-top: 8px; }
.art-pannall { align-items: flex-start; }
.art-pannall .browser { width: 122%; }
.art-pannall .browser, .art-lovelab .browser { flex-shrink: 0; }
.art-pannall { align-items: stretch; }
.art-pannall .browser { display: flex; flex-direction: column; }
.art-pannall .browser img { flex: 1; min-height: 0; object-fit: cover; object-position: top left; }

/* How I think: crisp blue band, white cards */
.blue { background: var(--accent); color: #fff; }
.blue .kicker { color: #fff; opacity: 0.9; }
.blue .lede.muted { color: rgba(255,255,255,0.86); }
.blue .panel { background: #fff; color: var(--ink); border: 0; box-shadow: 0 1px 2px rgba(3,24,74,0.10), 0 16px 40px rgba(3,24,74,0.20); }
.blue .panel p { color: var(--muted); }
.blue .mk div { background: var(--soft); border: 1px solid var(--line); }
.blue .mk b { color: var(--accent); }
.blue .mk span { color: var(--ink); }
.blue .spectrum .bar { background: linear-gradient(90deg, #0B64F4 0%, #7FAEFF 50%, #D7DDE7 100%); }
.blue .spectrum .ends b { color: var(--ink); }
.blue .spectrum .ends span { color: var(--muted); }
.blue .step { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.blue .step:hover { border-color: #B9CFF8; background: var(--accent-soft); }
.blue .step .n, .blue .step span { color: var(--muted); }
.blue .step[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.blue .step[aria-selected="true"] .n, .blue .step[aria-selected="true"] span { color: rgba(255,255,255,0.88); }
.blue .step-detail { color: var(--ink); }
.blue .prog { background: var(--line); }
.blue .prog i { background: var(--accent); }
/* crisper dark sections */
.dark .muted, .dark .lede.muted { color: var(--muted-night); }
.contact a.row { border-color: rgba(255,255,255,0.10); }

/* How I think, dark and crisp: near-black, white type, one saturated blue */
#think { background: #0A0C10; }
#think .kicker, .dark .kicker { color: #4D8DFF; opacity: 1; }
#think .panel { background: #12151B; border: 1px solid rgba(255,255,255,0.09); }
#think .panel h3 { color: #FFFFFF; }
#think .panel p { color: #A8AFBC; }
#think .mk div { background: #0A0C10; border: 1px solid rgba(255,255,255,0.09); }
#think .mk b { color: #4D8DFF; }
#think .mk span { color: #E6E9EF; }
#think .spectrum .bar { background: linear-gradient(90deg, #FFFFFF 0%, #4D8DFF 45%, #0B64F4 100%); }
#think .spectrum .ends b { color: #FFFFFF; }
#think .spectrum .ends span { color: #A8AFBC; }
#think .step { background: transparent; border: 1px solid rgba(255,255,255,0.12); color: #FFFFFF; }
#think .step:hover { border-color: rgba(77,141,255,0.6); background: rgba(11,100,244,0.10); }
#think .step .n, #think .step span { color: #A8AFBC; }
#think .step[aria-selected="true"] { background: #0B64F4; border-color: #0B64F4; }
#think .step[aria-selected="true"] .n, #think .step[aria-selected="true"] span { color: rgba(255,255,255,0.9); }
#think .step-detail { color: #FFFFFF; }
#think .prog { background: rgba(255,255,255,0.10); }
#think .prog i { background: #4D8DFF; }
#contact { background: #0A0C10; }
#contact .contact a.row { background: #12151B; border-color: rgba(255,255,255,0.09); }
#contact .contact a.row:hover { background: #191D25; }
#contact .contact a.row.primary { background: #0B64F4; border-color: #0B64F4; }
