:root {
    --ink: #0b1420;
    --ink-soft: #152231;
    --paper: #f3f6f8;
    --light: #fafcfd;
    --line-dark: #2a3948;
    --line-light: #d6dfe5;
    --muted-dark: #9cabb7;
    --muted-light: #62717d;
    --accent: #42c8e8;
    --signal-green: #63d69a;
    --diagnostic-amber: #e8ae4a;
    --serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Georgia, serif;
    --sans: "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, system-ui, sans-serif;
    --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: #eef1f3; font-family: var(--sans); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 50; background: #fff; color: #111; padding: 10px 16px; }
.skip-link:focus { top: 16px; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section-dark { background: var(--ink); }
.section-paper { background: var(--paper); color: #17202a; }
.section-light { background: var(--light); color: #17202a; }
.section-accent { background: var(--accent); color: #07151a; }
.eyebrow { margin: 0 0 22px; color: var(--muted-dark); font: 700 11px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.ink { color: var(--muted-light); }
.eyebrow.dark { color: #174c59; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header { position: relative; z-index: 10; min-height: 78px; display: flex; align-items: center; gap: 34px; padding: 0 max(24px, calc((100vw - var(--shell))/2)); background: var(--ink); border-bottom: 1px solid var(--line-dark); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 14px/1 var(--mono); letter-spacing: .08em; text-decoration: none; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal-green); box-shadow: 0 0 0 5px rgba(99,214,154,.1); }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { color: var(--muted-dark); font-size: 13px; text-decoration: none; }
.site-nav a:hover { color: #fff; }
.header-cta { margin-left: 8px; padding: 10px 15px; border: 1px solid var(--line-dark); font-size: 12px; text-decoration: none; }
.header-cta:hover { border-color: var(--accent); }

.hero { position: relative; overflow: hidden; padding: 108px 0 112px; }
.hero::after { content: ""; position: absolute; width: 460px; height: 460px; right: -160px; top: -210px; border: 1px solid rgba(66,200,232,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(66,200,232,.035), 0 0 0 140px rgba(66,200,232,.018); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .72fr); gap: clamp(56px, 8vw, 112px); align-items: end; }
.hero h1 { margin: 0; color: #fff; font: 600 clamp(48px, 7vw, 88px)/1.13 var(--serif); letter-spacing: -.035em; }
.hero h1 em { display: inline-block; color: var(--accent); font-size: .72em; font-style: normal; white-space: nowrap; }
.hero-lede { max-width: 710px; margin: 34px 0 0; color: #b1bbc4; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.9; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-2px); }
.button-accent { background: var(--accent); color: #07151a; }
.button-quiet { border-color: var(--line-dark); color: #e8ecef; }
.button-outline { border-color: #697786; color: #fff; }
.principles { border-top: 1px solid var(--line-dark); }
.panel-label { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: #657482; font: 10px var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--signal-green); box-shadow: 0 0 0 4px rgba(99,214,154,.09); vertical-align: 1px; }
.principles ol { margin: 0; padding: 0; list-style: none; }
.principles li { display: grid; grid-template-columns: 34px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.principles li > span { grid-row: span 2; color: var(--accent); font: 11px var(--mono); }
.principles strong { color: #f6f7f8; font-family: var(--serif); font-size: 17px; }
.principles small { margin-top: 3px; color: var(--muted-dark); font-size: 12px; }

.manifesto { padding: 108px 0; }
.split-heading { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(48px, 9vw, 132px); }
.split-heading h2, .section-heading h2, .mamakami h2, .subscribe h2 { margin: 0; font: 600 clamp(34px, 4.5vw, 58px)/1.3 var(--serif); letter-spacing: -.025em; }
.prose-large { border-top: 1px solid var(--line-light); padding-top: 30px; }
.prose-large p { margin: 0 0 18px; color: #4d5c67; font-size: 17px; line-height: 2; }
.text-link { display: inline-flex; gap: 12px; margin-top: 12px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: #173f49; font-size: 13px; font-weight: 700; text-decoration: none; }

.work { padding: 104px 0 116px; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 50px; }
.section-heading > p { max-width: 330px; margin: 0 0 5px; color: var(--muted-light); font-size: 14px; }
.work-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border: 1px solid var(--line-light); }
.work-card { min-height: 390px; display: flex; flex-direction: column; padding: 34px; border-left: 1px solid var(--line-light); }
.work-card:first-child { border-left: 0; }
.work-card.featured { background: var(--ink); color: #fff; }
.card-number { color: #7d8d98; font: 11px var(--mono); }
.card-kicker { margin: auto 0 12px; color: #71828d; font: 10px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.featured .card-kicker { color: var(--accent); }
.work-card h3 { margin: 0 0 14px; font: 600 25px/1.4 var(--serif); }
.work-card > p:last-of-type { margin: 0; color: #5f6f7a; font-size: 14px; }
.featured > p:last-of-type { color: #aeb7c0; }
.work-card a { margin-top: 28px; font-size: 13px; font-weight: 700; text-decoration: none; }

.journal { padding: 106px 0 118px; }
.journal-heading { align-items: end; }
.post-list { border-top: 1px solid var(--line-light); }
.post-row { display: grid; grid-template-columns: 140px 1fr 30px; gap: 30px; padding: 30px 4px; border-bottom: 1px solid var(--line-light); }
.post-row time { color: #71818c; font: 12px var(--mono); }
.post-tag { margin: 0 0 7px; color: #087b93; font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.post-row h3 { margin: 0; font: 600 clamp(19px, 2vw, 24px)/1.45 var(--serif); }
.post-row h3 a, .post-arrow { text-decoration: none; }
.post-row div > p:last-child { max-width: 760px; margin: 8px 0 0; color: var(--muted-light); font-size: 13px; }
.post-arrow { align-self: center; color: #657984; font-size: 19px; }
.empty-state { padding: 42px 0; color: var(--muted-light); }

.mamakami { padding: 96px 0; border-top: 1px solid var(--line-dark); }
.mamakami-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 150px); align-items: end; }
.mamakami h2 { color: #fff; }
.mamakami-grid > div:last-child > p { margin: 0 0 28px; color: #aeb7c0; font-size: 16px; }

.subscribe { padding: 94px 0; }
.subscribe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 150px); align-items: end; }
.subscribe-grid > div:last-child > p { margin: 0 0 20px; }
.subscribe-form { display: flex; border-bottom: 2px solid #09242b; }
.subscribe-form input { flex: 1; min-width: 0; padding: 16px 2px; border: 0; background: transparent; color: #07151a; font: 15px var(--sans); }
.subscribe-form input::placeholder { color: #286b7b; }
.subscribe-form button { padding: 0 4px 0 22px; border: 0; background: transparent; color: #07151a; font-weight: 800; cursor: pointer; }
.form-message { display: none; margin-top: 12px !important; font-size: 12px; }
.subscribe-form.success + .success, .subscribe-form.error ~ .error { display: block; }

.site-footer { padding: 55px 0; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: start; }
.footer-grid > div p, .copyright { color: #6f7c88; font-size: 11px; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-grid nav a { color: #a9b3bc; font-size: 12px; text-decoration: none; }
.copyright { grid-column: 1 / -1; margin: 22px 0 0; padding-top: 22px; border-top: 1px solid var(--line-dark); }

/* Light diagnostics */
.diagnostic-hero { padding: 104px 0 112px; }
.diagnostic-hero-grid, .diagnostic-split, .consult-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(54px, 10vw, 150px); }
.diagnostic-hero h1 { margin: 0; color: #fff; font: 600 clamp(48px, 6.5vw, 84px)/1.18 var(--serif); letter-spacing: -.035em; }
.diagnostic-hero h1 em { color: var(--diagnostic-amber); font-style: normal; }
.diagnostic-intro { align-self: end; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.diagnostic-intro p { color: var(--muted-dark); }
.diagnostic-intro .lead { margin-top: 0; color: #e7edf1; font: 600 clamp(20px, 2.3vw, 28px)/1.65 var(--serif); }
.diagnostic-intro .button { margin-top: 20px; }
.diagnostic-fit, .diagnostic-areas, .diagnostic-flow, .diagnostic-path { padding: 104px 0 112px; }
.diagnostic-split h2, .diagnostic-consult h2 { margin: 0; font: 600 clamp(34px, 4.5vw, 58px)/1.35 var(--serif); letter-spacing: -.025em; }
.fit-list, .boundary-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.fit-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 23px 2px; border-bottom: 1px solid var(--line-light); }
.fit-list span, .area-grid article > span, .path-grid span { color: #087b93; font: 11px var(--mono); }
.fit-list p { margin: 0; color: #43535e; }
.standards-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 28px; border: 1px solid var(--line-light); background: #fff; }
.standards-strip div { padding: 20px 22px; border-left: 1px solid var(--line-light); }
.standards-strip div:first-child { border-left: 0; }
.standards-strip span { display: block; margin-bottom: 6px; color: #087b93; font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.standards-strip strong { color: #34444f; font-size: 12px; }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-light); }
.area-grid article { min-height: 230px; padding: 28px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.area-grid article:nth-child(3n) { border-right: 0; }
.area-grid article:nth-last-child(-n+3) { border-bottom: 0; }
.area-grid h3, .io-card h3, .path-grid h3 { margin: auto 0 13px; font: 600 22px/1.45 var(--serif); }
.area-grid article { display: flex; flex-direction: column; }
.area-grid article p { margin: 0; color: var(--muted-light); font-size: 13px; }
.standards-note { max-width: 850px; margin: 22px 0 0; color: var(--muted-light); font-size: 11px; }
.io-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.io-card { min-height: 410px; padding: 38px; background: #fff; border: 1px solid var(--line-light); }
.io-card.output { background: var(--ink-soft); color: #fff; border-color: var(--line-dark); }
.io-label { color: #087b93; font: 700 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.io-card ul { padding-left: 19px; }
.io-card li { margin: 12px 0; }
.io-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-light); color: var(--muted-light); font-size: 12px; }
.output .io-note { border-color: var(--line-dark); color: var(--muted-dark); }
.io-arrow { color: #78909c; font: 24px var(--mono); }
.diagnostic-boundary { padding: 100px 0; }
.diagnostic-boundary h2 { margin: 0; color: #fff; font: 600 clamp(34px, 4.5vw, 58px)/1.35 var(--serif); }
.boundary-list { border-color: var(--line-dark); }
.boundary-list li { position: relative; padding: 17px 4px 17px 28px; border-bottom: 1px solid var(--line-dark); color: #e7edf1; }
.boundary-list li::before { content: "—"; position: absolute; left: 0; color: var(--diagnostic-amber); }
.boundary-note { margin: 28px 0 0; color: var(--muted-dark); font-size: 13px; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.path-grid > div { position: relative; padding: 34px; border-left: 1px solid var(--line-light); }
.path-grid > div:first-child { border-left: 0; }
.path-grid > div:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 50%; z-index: 1; width: 24px; height: 24px; background: var(--light); color: #78909c; text-align: center; }
.path-grid h3 { margin-top: 46px; }
.path-grid p { margin: 0; color: var(--muted-light); font-size: 13px; }
.diagnostic-consult { padding: 96px 0; }
.consult-grid { align-items: end; }
.consult-grid > div:last-child > p { margin-top: 0; }
.consult-lede { max-width: 520px; margin: 26px 0 0; color: #174c59; }
.intake-card { padding: 30px; background: rgba(255,255,255,.36); border: 1px solid rgba(7,21,26,.22); }
.intake-card ol { margin: 18px 0 0; padding: 0; list-style: none; }
.intake-card li { display: grid; grid-template-columns: 34px 1fr; padding: 13px 0; border-top: 1px solid rgba(7,21,26,.16); }
.intake-card li > span { color: #174c59; font: 10px var(--mono); }
.intake-card li p { margin: 0; }
.intake-card li strong { display: block; font-size: 14px; }
.intake-card li small { display: block; margin-top: 2px; color: #286573; font-size: 11px; }
.do-not-send { margin: 18px 0 22px; padding: 18px 20px; background: #ffdfaa; border-left: 3px solid var(--diagnostic-amber); }
.do-not-send strong { font-size: 12px; }
.do-not-send p { margin: 5px 0 0; color: #60491f; font-size: 11px; }
.button-dark { background: var(--ink); color: #fff; }
.consult-note { margin: 13px 0 0 !important; color: #245865; font-size: 11px; }
.after-intake { padding: 88px 0 100px; }
.after-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.after-grid > div { padding: 30px 26px; border-left: 1px solid var(--line-light); }
.after-grid > div:first-child { border-left: 0; }
.after-grid span { color: #087b93; font: 10px var(--mono); }
.after-grid h3 { margin: 32px 0 9px; font: 600 19px/1.45 var(--serif); }
.after-grid p { margin: 0; color: var(--muted-light); font-size: 12px; }

/* Legal pages */
.legal-main { padding: 96px 0 120px; }
.legal-layout { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); gap: clamp(52px, 9vw, 130px); align-items: start; }
.legal-intro { position: sticky; top: 40px; }
.legal-intro h1 { margin: 0 0 28px; font: 600 clamp(38px, 5vw, 62px)/1.28 var(--serif); letter-spacing: -.025em; }
.legal-intro > p:not(.eyebrow) { margin: 5px 0; color: var(--muted-light); font-size: 12px; }
.legal-body { min-width: 0; }
.legal-lede { margin: 0 0 54px; padding: 28px 30px; border-left: 3px solid var(--accent); background: #fff; color: #34444f; font-size: 16px; }
.legal-body section { padding: 32px 0; border-top: 1px solid var(--line-light); }
.legal-body section:last-child { border-bottom: 1px solid var(--line-light); }
.legal-body h2 { margin: 0 0 18px; color: #152431; font: 600 24px/1.45 var(--serif); }
.legal-body p, .legal-body li { color: #465762; font-size: 14px; }
.legal-body ul { margin: 0; padding-left: 1.4em; }
.legal-body li + li { margin-top: 8px; }
.legal-body a { color: #076b82; text-underline-offset: 3px; }
.legal-callout { margin-top: 22px; padding: 18px 20px; background: #fff4df; border-left: 3px solid var(--diagnostic-amber); }
.legal-callout strong { color: #513c18; }
.legal-contact { margin: 0; border-top: 1px solid var(--line-light); }
.legal-contact > div { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.legal-contact dt { color: var(--muted-light); font-size: 12px; }
.legal-contact dd { margin: 0; color: #334550; font-size: 14px; }

/* About */
.about-hero { padding: 94px 0 108px; }
.about-hero-grid { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); gap: clamp(54px, 10vw, 150px); align-items: end; }
.about-portrait-wrap { position: relative; max-width: 480px; }
.about-portrait-wrap::before { content: "FIELD / OPERATOR"; position: absolute; right: -8px; bottom: 26px; z-index: 1; padding: 7px 10px; background: var(--accent); color: var(--ink); font: 700 9px var(--mono); letter-spacing: .14em; }
.about-portrait { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.78) contrast(1.04); }
.about-hero-copy h1 { margin: 0; color: #fff; font: 600 clamp(52px, 7vw, 88px)/1.12 var(--serif); letter-spacing: -.035em; }
.about-hero-copy h1 em { color: var(--accent); font-size: .55em; font-style: normal; }
.about-hero-copy > p:last-child { max-width: 690px; margin: 28px 0 0; color: var(--muted-dark); font-size: 16px; line-height: 2; }
.about-role { margin: 30px 0 0; padding-top: 26px; border-top: 1px solid var(--line-dark); color: #eef2f4; font: 600 20px/1.7 var(--serif); }
.about-statement, .about-focus, .about-background { padding: 104px 0 112px; }
.about-focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-light); }
.about-focus-grid article { min-height: 390px; display: flex; flex-direction: column; padding: 32px; border-left: 1px solid var(--line-light); }
.about-focus-grid article:first-child { border-left: 0; background: var(--ink); color: #fff; }
.about-focus-grid span { color: #087b93; font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.about-focus-grid article:first-child span { color: var(--accent); }
.about-focus-grid h3 { margin: auto 0 15px; font: 600 25px/1.4 var(--serif); }
.about-focus-grid p { margin: 0; color: var(--muted-light); font-size: 13px; }
.about-focus-grid article:first-child p { color: #aeb7c0; }
.about-focus-grid a, .about-focus-grid small { margin-top: 27px; font-size: 12px; font-weight: 700; text-decoration: none; }
.about-focus-grid small { color: #7f909d; }
.about-background-grid { display: grid; grid-template-columns: .74fr 1.26fr; gap: clamp(54px, 10vw, 150px); }
.about-background h2, .about-publishing h2 { margin: 0; font: 600 clamp(34px, 4.5vw, 58px)/1.35 var(--serif); letter-spacing: -.025em; }
.about-timeline { border-top: 1px solid var(--line-light); }
.about-timeline > div { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line-light); }
.about-timeline span { grid-row: span 2; color: #087b93; font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.about-timeline h3 { margin: 0; font: 600 21px/1.45 var(--serif); }
.about-timeline p { margin: 5px 0 0; color: var(--muted-light); font-size: 13px; }
.about-publishing { padding: 100px 0 108px; border-top: 1px solid var(--line-dark); }
.about-publishing h2 { color: #fff; }
.about-publishing-lede { margin: 0 0 30px; color: #aeb7c0; font-size: 16px; line-height: 2; }
.profile-links { border-top: 1px solid var(--line-dark); }
.profile-links a { display: flex; justify-content: space-between; padding: 16px 2px; border-bottom: 1px solid var(--line-dark); color: #e4e9ec; font-size: 13px; text-decoration: none; }
.profile-links a span { color: var(--accent); }
.about-contact { padding: 94px 0; }
.profile-contact-note { margin-top: 18px !important; color: #245865; font-size: 11px; }

/* Signal Research Lab */
.lab-hero { position: relative; overflow: hidden; padding: 112px 0 120px; }
.lab-grid-bg { position: absolute; inset: 0; opacity: .07; background-image: linear-gradient(var(--accent) 1px, transparent 1px), linear-gradient(90deg, var(--accent) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to right, transparent, #000 48%, transparent); }
.lab-hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(56px, 9vw, 130px); align-items: end; }
.lab-hero h1 { margin: 0; color: #fff; font: 600 clamp(48px, 7vw, 86px)/1.16 var(--serif); letter-spacing: -.035em; }
.lab-hero h1 em { color: var(--signal-green); font-size: .66em; font-style: normal; }
.lab-hero-panel { padding: 28px; border: 1px solid var(--line-dark); background: rgba(11,20,32,.84); }
.lab-hero-panel > p:nth-child(2) { color: #b1bbc4; font-size: 14px; }
.lab-hero-panel dl { margin: 25px 0 0; }
.lab-hero-panel dl div { display: grid; grid-template-columns: 80px 1fr; padding: 10px 0; border-top: 1px solid var(--line-dark); }
.lab-hero-panel dt { color: #6f7f8d; font-size: 11px; }
.lab-hero-panel dd { margin: 0; color: #d9e0e5; font-size: 11px; }
.lab-purpose, .lab-observe, .lab-engines, .lab-notes { padding: 104px 0 112px; }
.signal-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-light); }
.signal-grid article { min-height: 250px; display: flex; flex-direction: column; padding: 26px 22px; border-left: 1px solid var(--line-light); }
.signal-grid article:first-child { border-left: 0; }
.signal-grid span { color: #087b93; font: 10px var(--mono); }
.signal-grid h3 { margin: auto 0 12px; font: 600 21px/1.4 var(--serif); }
.signal-grid p { margin: 0; color: var(--muted-light); font-size: 12px; }
.engine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.engine-card { min-height: 510px; display: flex; flex-direction: column; padding: 38px; border: 1px solid var(--line-light); background: #fff; }
.engine-card.primary { background: var(--ink-soft); color: #fff; border-color: var(--line-dark); }
.engine-head { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.engine-head > span { color: #087b93; font: 10px var(--mono); }
.primary .engine-head > span { color: var(--accent); }
.research-status { padding: 5px 8px; font: 700 8px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.status-active { background: rgba(99,214,154,.15); color: var(--signal-green); }
.status-prototype { background: #e6edf1; color: #536875; }
.engine-card h3 { margin: auto 0 20px; font: 600 clamp(28px, 3vw, 40px)/1.38 var(--serif); }
.engine-card p { color: var(--muted-light); font-size: 14px; }
.engine-card.primary p { color: #aeb7c0; }
.engine-card ul { margin: 22px 0 0; padding: 20px 0 0 18px; border-top: 1px solid var(--line-light); color: #5a6b77; font-size: 12px; }
.engine-card.primary ul { border-color: var(--line-dark); color: #9cabb7; }
.lab-method { padding: 96px 0 104px; }
.method-flow { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 35px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.method-flow > div { position: relative; padding: 28px 22px; border-left: 1px solid var(--line-dark); }
.method-flow > div:first-child { border-left: 0; }
.method-flow > div:not(:last-child)::after { content: "→"; position: absolute; top: 30px; right: -9px; z-index: 1; color: var(--signal-green); }
.method-flow span { color: var(--signal-green); font: 10px var(--mono); }
.method-flow h3 { margin: 45px 0 8px; color: #fff; font: 600 19px var(--serif); }
.method-flow p { margin: 0; color: var(--muted-dark); font-size: 11px; }
.method-note { max-width: 800px; margin: 25px 0 0; color: var(--muted-dark); font-size: 11px; }
.lab-subscribe { padding: 94px 0; }

/* 404 */
.error-main { position: relative; overflow: hidden; padding: 112px 0 124px; }
.error-orbit { position: absolute; width: 520px; height: 520px; right: -180px; top: -230px; border: 1px solid rgba(66,200,232,.2); border-radius: 50%; box-shadow: 0 0 0 70px rgba(66,200,232,.03), 0 0 0 140px rgba(66,200,232,.015); }
.error-grid { position: relative; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 10vw, 150px); align-items: end; }
.error-code { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line-dark); }
.error-code span, .error-code small { color: var(--muted-dark); font: 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.error-code strong { margin: 45px 0 35px; color: var(--accent); font: 500 clamp(82px, 11vw, 142px)/.9 var(--mono); letter-spacing: -.08em; }
.error-copy h1 { margin: 0; color: #fff; font: 600 clamp(42px, 5.5vw, 70px)/1.25 var(--serif); letter-spacing: -.035em; }
.error-copy > p:not(.eyebrow) { max-width: 650px; margin: 28px 0 0; color: var(--muted-dark); font-size: 15px; }
.error-copy .button { margin-top: 34px; }
.error-paths { padding: 96px 0 108px; }
.error-path-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-light); }
.error-path-grid a { min-height: 220px; display: flex; flex-direction: column; padding: 24px 20px; border-left: 1px solid var(--line-light); text-decoration: none; }
.error-path-grid a:first-child { border-left: 0; }
.error-path-grid span { color: #087b93; font: 10px var(--mono); }
.error-path-grid strong { margin: auto 0 8px; font: 600 18px var(--serif); }
.error-path-grid small { color: var(--muted-light); font-size: 11px; }
.error-help { margin: 24px 0 0; color: var(--muted-light); font-size: 12px; }
.error-help a { margin-left: 4px; color: #076b82; }
.error-header-cta { margin-left: auto; }

/* Journal */
.journal-hero { padding: 108px 0 116px; }
.journal-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(58px, 9vw, 130px); align-items: end; }
.journal-hero h1 { margin: 0; color: #fff; font: 600 clamp(46px, 6.2vw, 78px)/1.2 var(--serif); letter-spacing: -.035em; }
.journal-hero h1 em { color: var(--accent); font-size: .66em; font-style: normal; }
.journal-hero-grid > div:last-child > p { margin: 0; padding-top: 28px; border-top: 1px solid var(--line-dark); color: #aeb7c0; font-size: 15px; }
.journal-scope { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.journal-scope span { padding: 6px 9px; border: 1px solid var(--line-dark); color: var(--muted-dark); font: 9px var(--mono); letter-spacing: .05em; }
.journal-archive { padding: 104px 0 116px; }
.journal-list { border-top: 1px solid var(--line-light); }
.journal-entry { display: grid; grid-template-columns: 130px 1fr 28px; gap: 28px; padding: 30px 4px; border-bottom: 1px solid var(--line-light); }
.journal-entry time { color: #71818c; font: 11px var(--mono); }
.journal-entry h2 { margin: 0; font: 600 clamp(20px, 2vw, 26px)/1.45 var(--serif); }
.journal-entry h2 a { text-decoration: none; }
.journal-entry div > p:last-child { max-width: 780px; margin: 8px 0 0; color: var(--muted-light); font-size: 13px; }
.journal-empty { padding: 60px 0; }
.journal-empty > span { color: #087b93; font: 10px var(--mono); letter-spacing: .1em; }
.journal-empty h2 { margin: 22px 0 10px; font: 600 30px var(--serif); }
.journal-empty p { color: var(--muted-light); }
.journal-empty .button { margin-top: 18px; }
.journal-principles { padding: 88px 0 98px; }
.journal-principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.journal-principle-grid > div { padding: 28px; border-left: 1px solid var(--line-dark); }
.journal-principle-grid > div:first-child { border-left: 0; }
.journal-principle-grid span { color: var(--accent); font: 10px var(--mono); }
.journal-principle-grid h3 { margin: 38px 0 10px; color: #fff; font: 600 21px var(--serif); }
.journal-principle-grid p { margin: 0; color: var(--muted-dark); font-size: 12px; }

@media (max-width: 840px) {
    .site-nav { display: none; }
    .header-cta { margin-left: auto; }
    .hero { padding: 76px 0 84px; }
    .hero-grid, .split-heading, .mamakami-grid, .subscribe-grid { grid-template-columns: 1fr; }
    .diagnostic-hero-grid, .diagnostic-split, .consult-grid { grid-template-columns: 1fr; }
    .legal-layout { grid-template-columns: 1fr; }
    .about-hero-grid, .about-background-grid { grid-template-columns: 1fr; }
    .about-portrait-wrap { max-width: 420px; }
    .about-focus-grid { grid-template-columns: 1fr; }
    .lab-hero-grid { grid-template-columns: 1fr; }
    .signal-grid { grid-template-columns: repeat(2, 1fr); }
    .error-grid { grid-template-columns: 1fr; }
    .journal-hero-grid { grid-template-columns: 1fr; }
    .error-code { max-width: 390px; }
    .error-path-grid { grid-template-columns: repeat(2, 1fr); }
    .error-path-grid a { border-top: 1px solid var(--line-light); }
    .error-path-grid a:nth-child(odd) { border-left: 0; }
    .error-path-grid a:first-child, .error-path-grid a:nth-child(2) { border-top: 0; }
    .signal-grid article { border-top: 1px solid var(--line-light); }
    .signal-grid article:nth-child(odd) { border-left: 0; }
    .signal-grid article:first-child, .signal-grid article:nth-child(2) { border-top: 0; }
    .about-focus-grid article { min-height: 310px; border-left: 0; border-top: 1px solid var(--line-light); }
    .about-focus-grid article:first-child { border-top: 0; }
    .legal-intro { position: static; }
    .hero-grid { gap: 62px; }
    .work-grid { grid-template-columns: 1fr; }
    .work-card { min-height: 320px; border-left: 0; border-top: 1px solid var(--line-light); }
    .work-card:first-child { border-top: 0; }
    .area-grid { grid-template-columns: 1fr 1fr; }
    .after-grid { grid-template-columns: 1fr 1fr; }
    .after-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-light); }
    .after-grid > div:nth-child(4) { border-top: 1px solid var(--line-light); }
    .area-grid article, .area-grid article:nth-child(3n), .area-grid article:nth-last-child(-n+3) { border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
    .area-grid article:nth-child(2n) { border-right: 0; }
    .area-grid article:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 560px) {
    .shell { width: min(calc(100% - 32px), var(--shell)); }
    .site-header { min-height: 66px; padding-inline: 16px; }
    .header-cta { padding: 8px 10px; font-size: 11px; }
    .hero { padding-top: 60px; }
    .hero h1 { font-size: clamp(43px, 13vw, 62px); }
    .hero h1 em { font-size: 1em; white-space: normal; }
    .hero-lede { font-size: 15px; }
    .manifesto, .work, .journal { padding: 78px 0; }
    .section-heading { display: block; }
    .section-heading > p, .section-heading > a { margin-top: 18px; }
    .work-card { padding: 28px 24px; }
    .post-row { grid-template-columns: 1fr 24px; gap: 8px 16px; }
    .post-row time { grid-column: 1 / -1; }
    .post-row div > p:last-child { display: none; }
    .mamakami, .subscribe { padding: 72px 0; }
    .diagnostic-hero, .diagnostic-fit, .diagnostic-areas, .diagnostic-flow, .diagnostic-path, .diagnostic-boundary, .diagnostic-consult { padding: 72px 0; }
    .after-intake { padding: 70px 0 78px; }
    .legal-main { padding: 70px 0 84px; }
    .about-hero, .about-statement, .about-focus, .about-background, .about-publishing, .about-contact { padding: 72px 0 78px; }
    .about-hero-copy h1 { font-size: clamp(46px, 14vw, 62px); }
    .about-timeline > div { grid-template-columns: 1fr; gap: 8px; }
    .lab-hero, .lab-purpose, .lab-observe, .lab-engines, .lab-method, .lab-notes, .lab-subscribe { padding: 72px 0 78px; }
    .lab-hero h1 { font-size: clamp(44px, 13vw, 60px); }
    .error-main, .error-paths { padding: 72px 0 80px; }
    .error-copy h1 { font-size: clamp(39px, 11.5vw, 54px); }
    .journal-hero, .journal-archive, .journal-principles { padding: 72px 0 80px; }
    .journal-hero h1 { font-size: clamp(42px, 12vw, 58px); }
    .journal-entry { grid-template-columns: 1fr 24px; gap: 7px 16px; }
    .journal-entry time { grid-column: 1 / -1; }
    .journal-principle-grid { grid-template-columns: 1fr; }
    .journal-principle-grid > div { border-left: 0; border-top: 1px solid var(--line-dark); }
    .journal-principle-grid > div:first-child { border-top: 0; }
    .error-code strong { font-size: 90px; }
    .signal-grid, .engine-grid, .method-flow { grid-template-columns: 1fr; }
    .signal-grid article, .signal-grid article:nth-child(2) { min-height: 190px; border-left: 0; border-top: 1px solid var(--line-light); }
    .signal-grid article:first-child { border-top: 0; }
    .engine-card { min-height: 430px; padding: 28px 24px; }
    .method-flow > div { border-left: 0; border-top: 1px solid var(--line-dark); }
    .method-flow > div:first-child { border-top: 0; }
    .method-flow > div:not(:last-child)::after { top: auto; right: 20px; bottom: -12px; transform: rotate(90deg); }
    .error-path-grid { grid-template-columns: 1fr; }
    .error-path-grid a, .error-path-grid a:nth-child(2) { min-height: 150px; border-left: 0; border-top: 1px solid var(--line-light); }
    .error-path-grid a:first-child { border-top: 0; }
    .about-timeline span { grid-row: auto; margin-bottom: 7px; }
    .legal-lede { padding: 22px 20px; }
    .legal-body section { padding: 27px 0; }
    .diagnostic-hero h1 { font-size: clamp(44px, 14vw, 60px); }
    .standards-strip, .area-grid, .io-grid, .path-grid { grid-template-columns: 1fr; }
    .standards-strip div { border-left: 0; border-top: 1px solid var(--line-light); }
    .standards-strip div:first-child { border-top: 0; }
    .area-grid article, .area-grid article:nth-child(3), .area-grid article:nth-child(2n) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
    .area-grid article:last-child { border-bottom: 0; }
    .area-grid h3 { margin: 34px 0 10px; }
    .io-arrow { transform: rotate(90deg); justify-self: center; }
    .io-card { min-height: 0; padding: 28px 24px; }
    .intake-card { padding: 24px 20px; }
    .after-grid { grid-template-columns: 1fr; }
    .after-grid > div, .after-grid > div:nth-child(3), .after-grid > div:nth-child(4) { border-left: 0; border-top: 1px solid var(--line-light); }
    .after-grid > div:first-child { border-top: 0; }
    .path-grid > div { border-left: 0; border-top: 1px solid var(--line-light); }
    .path-grid > div:first-child { border-top: 0; }
    .path-grid > div:not(:last-child)::after { right: 50%; top: auto; bottom: -12px; transform: rotate(90deg); }
    .subscribe-form { display: block; }
    .subscribe-form input, .subscribe-form button { width: 100%; text-align: left; }
    .subscribe-form button { padding: 12px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .copyright { grid-column: auto; }
}

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