:root {
    --ink: #202b25;
    --muted: #59645e;
    --paper: #ffffff;
    --soft: #f3f5f3;
    --line: #d7dfd9;
    --green: #236348;
    --green-dark: #174833;
    --lime: #c8e99e;
    --accent: #ae481f;
    --display: 'Space Grotesk', sans-serif;
    --body: 'IBM Plex Sans', sans-serif;
    --mono: 'IBM Plex Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; font: 16px/1.65 var(--body); color: var(--ink); background: var(--paper); letter-spacing: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; overflow-wrap: break-word; }
h2 { font-size: 42px; }
h3 { font-size: 23px; }
p + p { margin-top: 16px; }
a { color: inherit; text-underline-offset: 5px; }
button, select { font: inherit; }
button { cursor: pointer; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
svg.lucide { width: 20px; height: 20px; flex: 0 0 auto; stroke-width: 1.6; }
[hidden] { display: none !important; }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.band { padding: 88px 0; border-bottom: 1px solid var(--line); }
.band-soft { background: var(--soft); }
.mono, .eyebrow, .pending-label, .visual-caption { font-family: var(--mono); font-size: 12px; }
.eyebrow { color: var(--green); font-weight: 500; margin-bottom: 18px; }
.muted { color: var(--muted); }
.section-heading { margin-bottom: 40px; }
.heading-row { display: flex; justify-content: space-between; align-items: end; gap: 36px; }
.heading-note { max-width: 310px; color: var(--muted); font-size: 15px; }
.lead { font-size: 23px; line-height: 1.45; }
.text-link, .text-button { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.text-link { text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-button { border: 0; padding: 8px 0; background: none; color: var(--green); text-align: left; }
.text-button:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 20px; min-height: 48px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-weight: 500; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border-color: var(--line); background: var(--paper); }
.button-secondary:hover { border-color: var(--green); }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: inherit; border-radius: 3px; }
.icon-button:hover { background: var(--soft); }
.skip-link { position: fixed; top: 8px; left: 12px; padding: 12px 20px; background: white; z-index: 100; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { font-family: var(--display); font-size: 30px; font-weight: 600; border-right: 1px solid var(--line); padding-right: 12px; }
.brand-mark > span { color: var(--green); }
.brand-name { font: 500 11px/1.5 var(--mono); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; align-items: center; }
.site-nav a { font-size: 14px; font-weight: 500; text-decoration: none; padding-block: 12px; display: inline-flex; align-items: center; gap: 8px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--green); }
.nav-contact { border-bottom: 1px solid var(--green); }
.menu-toggle { display: none; }
.hero { border-bottom: 1px solid var(--line); background-color: #fafcfa; background-image: linear-gradient(#202b2506 1px, transparent 1px), linear-gradient(90deg, #202b2506 1px, transparent 1px); background-size: 40px 40px; }
.hero-inner { padding: 42px 0 32px; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 34px; }
.hero-meta .eyebrow { margin: 0; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--green); margin-right: 8px; }
.hero h1 { font-size: 72px; line-height: 1.06; font-weight: 500; }
.hero h1 > span { display: block; }
.title-dot { color: var(--green); }
.hero-lead { margin-top: 26px; font-size: 25px; line-height: 1.45; }
.hero-disciplines { margin-top: 14px; color: var(--muted); font-size: 14px; }
.hero-disciplines > span { color: var(--accent); padding: 0 9px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.hero-actions > .text-link { margin-left: 10px; }
.hero-system { display: grid; grid-template-columns: 1fr 50px 1fr 50px 1fr 50px 1fr; align-items: center; gap: 24px; padding-top: 32px; margin-top: 42px; border-top: 1px solid var(--line); }
.hero-system .mono { color: var(--green); font-size: 11px; display: block; }
.hero-system strong { display: block; font: 500 18px/1.4 var(--display); margin-top: 5px; }
.system-connector { display: block; height: 1px; background: var(--green); position: relative; }
.system-connector::after { content: ''; width: 5px; height: 5px; border-top: 1px solid var(--green); border-right: 1px solid var(--green); transform: rotate(45deg); position: absolute; right: 0; top: -2px; }
.approach-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 100px; align-items: center; }
.approach-copy > p:not(.lead) { color: var(--muted); }
.approach-context { margin-top: 20px; border-top: 1px solid var(--line); }
.approach-context p { color: var(--muted); font-size: 15px; }
.author { display: flex; align-items: center; gap: 18px; }
.author img { width: 112px; height: 140px; object-fit: cover; object-position: center 25%; filter: grayscale(1); border-radius: 3px; }
.author figcaption { display: grid; gap: 6px; }
.author figcaption strong { font: 500 19px var(--display); }
.author figcaption > span { font-size: 13px; color: var(--muted); }
.author .text-link { font-size: 13px; color: var(--green); }
.process-flow { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); border-top: 1px solid var(--line); }
.process-flow li { padding: 22px 14px 0 0; position: relative; }
.process-flow li::before { content: ''; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; background: var(--green); }
.process-flow li:not(:last-child)::after { content: '\2192'; position: absolute; top: 39px; right: 12px; color: var(--muted); }
.process-flow span { display: block; color: var(--muted); font-size: 11px; }
.process-flow strong { font-size: 14px; }
.process-flow p { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.capability-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px 36px; }
.capability { border-top: 1px solid #aab9af; padding-top: 22px; }
.capability-icon { color: var(--green); display: block; margin-bottom: 16px; }
.capability-icon svg { width: 26px; height: 26px; }
.capability h3 { font-size: 21px; max-width: 260px; }
.capability > p { margin-top: 14px; color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 20px 0 0; }
.tags li { padding: 3px 8px; border: 1px solid var(--line); font-family: var(--mono); font-size: 10px; color: var(--muted); border-radius: 2px; }
.showcase-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.project-grid > :first-child { grid-column: span 2; }
.showcase-card { min-width: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; background: var(--paper); }
.card-visual { height: 200px; position: relative; overflow: hidden; background: #e8efea; border-bottom: 1px solid var(--line); }
.visual-grid { position: absolute; inset: 0; background-image: linear-gradient(#2363480d 1px,transparent 1px),linear-gradient(90deg,#2363480d 1px,transparent 1px); background-size: 24px 24px; }
.visual-node { position: absolute; width: 62px; height: 38px; border: 1px solid #638b72; background: #f7faf8; top: 74px; left: 16%; border-radius: 2px; }
.visual-node:nth-child(2) { left: 42%; top: 100px; width: 70px; }
.visual-node:nth-child(3) { left: 70%; top: 60px; }
.visual-route { position: absolute; top: 91px; left: 22%; right: 20%; height: 30px; border-top: 1px solid #638b72; border-bottom: 1px solid #638b72; transform: skewY(-9deg); }
.visual-caption { position: absolute; bottom: 14px; left: 20px; font-size: 10px; color: var(--green); }
.visual-symbol { position: absolute; top: 14px; right: 18px; color: var(--green); }
.visual-symbol svg { width: 22px; height: 22px; }
.visual-analytics { background-color: #f3eee4; }
.visual-analytics .visual-node { width: 25px; height: 62px; background: #bcad89; top: 70px; }
.visual-analytics .visual-node:nth-child(2) { height: 92px; top: 40px; }
.visual-analytics .visual-node:nth-child(3) { height: 44px; top: 88px; }
.visual-analytics .visual-route { top: 140px; height: 0; transform: none; }
.visual-pipeline .visual-node { top: 75px; }
.visual-pipeline .visual-route { height: 0; top: 94px; transform: none; }
.visual-security { background: #eceef0; }
.visual-security .visual-node { border-style: dashed; border-color: #667a88; background: #f7f9fc; }
.visual-domain { background-color: #f0e9e5; }
.visual-domain .visual-node { border-color: #aa775f; }
.visual-deck .visual-node { width: 100px; height: 65px; top: 65px; }
.visual-video .visual-node { width: 160px; left: calc(50% - 80px); height: 80px; top: 60px; }
.visual-video .visual-node:nth-child(n+2), .visual-video .visual-route { display: none; }
.visual-video .visual-symbol { top: 86px; right: calc(50% - 11px); }
.visual-tutorial .visual-node { height: 5px; width: 45%; top: 64px; left: 24%; }
.visual-tutorial .visual-node:nth-child(2) { top: 84px; width: 35%; }
.visual-tutorial .visual-node:nth-child(3) { top: 104px; width: 40%; }
.visual-tutorial .visual-route { display: none; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; align-items: start; }
.card-body .eyebrow { font-size: 10px; margin-bottom: 12px; }
.card-body > p:not(.eyebrow) { color: var(--muted); font-size: 15px; margin-top: 12px; }
.card-body .tags { margin-bottom: 20px; }
.card-body .text-button { margin-top: auto; font-size: 14px; }
.knowledge-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.knowledge-grid h3 { font-size: 21px; }
.knowledge-grid .card-body { padding: 20px; }
.knowledge-grid .card-visual { height: 180px; }
.lab-band { background: #19241e; color: #f4f8f4; border-color: #3b4940; }
.lab-band .eyebrow { color: var(--lime); }
.lab-band h2 { font-size: 54px; }
.lab-band .heading-note { color: #c1cec5; }
.muted-light { color: #a9b9ae; }
.pending-label { display: inline-block; color: var(--accent); font-size: 11px; margin-top: 12px; }
.lab-band .pending-label { color: var(--lime); }
.lab-case-link { margin: 0 0 24px; color: var(--lime); }
.lab-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 20px 0; border-top: 1px solid #435348; border-bottom: 1px solid #435348; }
.lab-toolbar label { display: flex; align-items: center; gap: 18px; font-size: 14px; flex-wrap: wrap; }
.lab-toolbar select { color: #f4f8f4; background: #25372b; border: 1px solid #64796b; padding: 10px 34px 10px 12px; border-radius: 3px; min-height: 44px; max-width: 100%; }
.segmented-control { display: flex; flex-shrink: 0; gap: 4px; }
.segmented-control .icon-button { border-color: #627b6a; }
.segmented-control .icon-button:hover { background: #344d3d; }
.segmented-control [aria-pressed="true"] { background: var(--lime); color: #19241e; border-color: var(--lime); }
.comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; padding-top: 32px; }
.comparison[data-view="standard"], .comparison[data-view="engineered"] { grid-template-columns: 1fr; }
.comparison[data-view="standard"] [data-approach="engineered"], .comparison[data-view="engineered"] [data-approach="standard"] { display: none; }
.comparison-panel { border-left: 1px solid #65766b; padding-left: 24px; min-width: 0; }
.engineered-panel { border-color: var(--lime); }
.comparison-panel h3 { font-size: 23px; }
.comparison-panel > p:not(.eyebrow) { color: #c1cec5; margin-top: 14px; min-height: 52px; }
.comparison-graphic { display: flex; gap: 12px; align-items: end; height: 84px; margin-top: 22px; padding-bottom: 8px; border-bottom: 1px solid #506056; max-width: 240px; }
.comparison-graphic span { width: 36px; height: 30px; background: #728c7b; }
.comparison-graphic span:nth-child(2) { height: 48px; }
.comparison-graphic span:nth-child(3) { height: 37px; }
.comparison-graphic span:nth-child(4) { height: 58px; }
.engineered-graphic span { background: var(--lime); border-top: 3px solid #e7ffd3; }
.embed-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 46px 0 18px; }
.embed-heading h3 { font-size: 20px; }
.embed-heading .mono { font-size: 11px; color: #bfcfc4; }
.powerbi-frame { aspect-ratio: 16 / 9; min-height: 240px; width: 100%; position: relative; background: #fff; }
.powerbi-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.placeholder-frame { border: 1px dashed #627f6b; background: #213128; min-height: 240px; max-height: 480px; }
.embed-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px; text-align: center; gap: 12px; color: #c1cec5; }
.embed-placeholder p + p { margin-top: 0; }
.embed-placeholder .mono { color: var(--lime); }
.embed-icon svg { width: 40px; height: 40px; color: var(--lime); }
.placeholder-status { font-size: 13px; color: var(--muted); }
.lab-band .placeholder-status { color: #bacabd; }
.existing-demo { margin-top: 32px; padding-top: 20px; border-top: 1px solid #435348; }
summary { cursor: pointer; font-weight: 500; padding: 12px 0; }
.existing-demo summary .mono { margin-left: 16px; color: #bfcfc4; }
.existing-demo > p { margin-bottom: 20px; color: #bfcfc4; }
.existing-demo .text-link { margin-top: 18px; color: var(--lime); }
.pipeline-diagram { margin-top: 42px; }
.diagram-caption { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.pipeline-flow { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 20px; }
.pipeline-flow li { position: relative; min-width: 0; }
.pipeline-flow li:not(:last-child)::after { content: '\2192'; position: absolute; top: 44px; right: -17px; color: var(--green); }
.pipeline-index { display: block; color: var(--muted); margin-bottom: 12px; }
.pipeline-flow svg { width: 24px; height: 24px; color: var(--green); }
.pipeline-flow h3 { font: 500 16px/1.35 var(--display); margin-top: 15px; }
.pipeline-flow p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.feedback-line { border-bottom: 1px solid #a8bcb0; border-right: 1px solid #a8bcb0; padding: 20px 16px 10px; margin-top: 24px; text-align: right; color: var(--green); font: 12px var(--mono); }
.feedback-line > span { margin-right: 12px; }
.education-container { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; }
.education { border-top: 2px solid var(--green); padding-top: 24px; }
.education h3 { font-size: 23px; margin-bottom: 20px; }
.education p { font-size: 15px; color: var(--muted); }
.education > p:first-of-type { color: var(--ink); }
.education .degree-focus { color: var(--ink); font-weight: 500; margin: -8px 0 20px; }
.education ul { font-size: 14px; padding-left: 18px; color: var(--muted); }
.education li + li { margin-top: 8px; }
.credentials { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 28px; }
.credential-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.credential-heading h3 { font-size: 23px; }
.credential-preview { color: var(--muted); font: 11px/1.6 var(--mono); padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; }
.credential-tier-key { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.credential-tier-key li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.credential-swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--metal-edge); background: var(--metal-fill); flex: 0 0 auto; }
.credential-tier-note { font-size: 12px; color: var(--muted); margin: 12px 0 28px; }
.credential-collection + .credential-collection { margin-top: 28px; }
.credential-collection h4 { font: 500 18px var(--display); margin: 0 0 14px; }
.credential-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 600px) { .credential-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (min-width: 1000px) { .credential-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (min-width: 1400px) { .credential-grid { grid-template-columns: repeat(5,minmax(0,1fr)); } }
.metal-bronze { --metal-fill: linear-gradient(135deg,#69402a 0%,#ca936b 24%,#f5d4b2 43%,#a3653e 64%,#d8aa81 82%,#744c32 100%); --metal-edge: #8b5f40; --metal-ink: #482a1b; --badge-fill: linear-gradient(145deg,#c28a63 0%,#f0cfae 35%,#fbe8d2 50%,#d9a97f 75%,#b9805a 100%); --badge-ink: #3a2013; }
.metal-silver { --metal-fill: linear-gradient(135deg,#68727b 0%,#c7d0d5 24%,#fff 43%,#929da5 64%,#dce2e5 82%,#737f89 100%); --metal-edge: #8d989f; --metal-ink: #34434c; --badge-fill: linear-gradient(145deg,#aeb8bf 0%,#e4e9ec 35%,#ffffff 50%,#c2cbd1 75%,#9ca7af 100%); --badge-ink: #26333b; }
.metal-gold { --metal-fill: linear-gradient(135deg,#857031 0%,#d9bd6c 24%,#fff3ba 43%,#b59948 64%,#f1dc98 82%,#8b7435 100%); --metal-edge: #a88d43; --metal-ink: #55451c; --badge-fill: linear-gradient(145deg,#c9ac52 0%,#f3de97 35%,#fff6cc 50%,#e0c874 75%,#b99a45 100%); --badge-ink: #43360f; }
.metal-platinum { --metal-fill: linear-gradient(135deg,#526969 0%,#b5cecc 24%,#f5fffe 43%,#789795 64%,#dcebea 82%,#627e7c 100%); --metal-edge: #76928f; --metal-ink: #2d4a47; --badge-fill: linear-gradient(145deg,#8fb0ad 0%,#d4e6e4 35%,#f8fffe 50%,#b7d1cf 75%,#7fa09d 100%); --badge-ink: #1f3835; }
.credential-badge { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "issuer level" "short short"; align-content: center; column-gap: 8px; min-width: 0; height: 48px; padding: 5px 10px; border-radius: 6px; color: var(--badge-ink); background: var(--badge-fill); border: 1px solid var(--metal-edge); box-shadow: inset 0 1px 0 #ffffffd9, inset 0 -2px 0 #00000026, inset 0 0 0 3px #ffffff45, 0 3px 8px #172e2626; overflow: hidden; }
.credential-badge::before { content: ""; position: absolute; inset: 0 0 50% 0; background: linear-gradient(180deg,#ffffff8c,#ffffff00); pointer-events: none; }
.credential-badge > span { position: relative; }
.credential-badge:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.credential-short { grid-area: short; font: 700 18px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.credential-issuer, .credential-level { font: 9px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0; opacity: .85; white-space: nowrap; }
.credential-issuer { grid-area: issuer; overflow: hidden; text-overflow: ellipsis; }
.credential-level { grid-area: level; text-align: right; }
.credential-full { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.credential-badge.is-planned { background: transparent; color: var(--muted); border: 1px dashed var(--line); box-shadow: none; }
.credential-badge.is-planned::before { content: none; }
.resume-heading { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.resume-heading h2 { font-size: 30px; }
.resume-heading .button { flex-shrink: 0; }
.resume-history { margin-top: 28px; border-top: 1px solid var(--line); }
.experience-timeline { margin-top: 24px; display: grid; gap: 28px; }
.experience h3 { font-size: 20px; margin-block: 20px 12px; }
.experience p, .experience ul { color: var(--muted); }
.contact-band { background: #e7efe9; }
.contact-layout { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.contact-layout p:not(.eyebrow) { margin-top: 20px; color: var(--muted); }
.contact-layout .button { flex-shrink: 0; }
.site-footer { padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; font-size: 13px; }
.footer-inner .mono { font-size: 10px; color: var(--muted); }
.case-dialog { padding: 30px; width: min(760px,calc(100% - 32px)); max-height: calc(100dvh - 48px); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
.case-dialog::backdrop { background: #16231ac4; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-heading .eyebrow { margin-bottom: 0; }
.case-dialog h2 { font-size: 32px; margin: 20px 0 14px; }
.case-stages { list-style: none; counter-reset: stages; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.case-stages li { counter-increment: stages; padding-left: 44px; padding-top: 18px; border-top: 1px solid var(--line); position: relative; }
.case-stages li::before { content: '0' counter(stages); font: 12px var(--mono); color: var(--green); position: absolute; left: 0; top: 21px; }
.case-stages h3 { font-size: 20px; }
.case-stages p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.case-stages .pending-label { margin-top: 6px; }
.reveal-ready { animation: reveal-in 450ms ease-out both; }
@keyframes reveal-in { from { opacity: .5; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1600px) { .container { width: min(1320px,calc(100% - 120px)); } .hero h1 { font-size: 80px; } }
@media (max-width: 1100px) { .site-nav ul { gap: 16px; } .site-nav a { font-size: 13px; } .brand-name { font-size: 10px; } .hero h1 { font-size: 62px; } .knowledge-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .approach-layout { gap: 40px; } }
@media (max-width: 900px) {
    .container { width: calc(100% - 48px); }
    h2 { font-size: 36px; }
    .header-inner { flex-wrap: wrap; padding-block: 12px; min-height: 72px; }
    .site-nav { width: 100%; }
    .site-nav ul { flex-wrap: wrap; gap: 4px 20px; }
    .js .menu-toggle { display: inline-flex; }
    .js .site-nav { display: none; position: absolute; top: 100%; left: -24px; width: calc(100% + 48px); background: white; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; }
    .js .site-nav.is-open { display: block; }
    .js .site-nav ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hero h1 { font-size: 54px; }
    .hero-meta .muted { display: none; }
    .hero-system { grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr; gap: 12px; }
    .hero-system strong { font-size: 15px; }
    .hero-system .mono { font-size: 10px; }
    .approach-layout { grid-template-columns: 1fr; }
    .author { max-width: 340px; }
    .capability-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .heading-row { flex-direction: column; align-items: start; gap: 20px; }
    .heading-note { max-width: 480px; }
    .showcase-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .pipeline-flow { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; }
    .pipeline-flow li:nth-child(4)::after { display: none; }
    .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 36px); }
    .band { padding: 56px 0; }
    h2 { font-size: 30px; }
    .brand-name { font-size: 10px; }
    .hero-inner { padding-top: 32px; }
    .hero-meta { margin-bottom: 24px; }
    .hero-meta .eyebrow { font-size: 10px; }
    .hero h1 { font-size: 38px; }
    .hero-lead { font-size: 21px; margin-top: 22px; }
    .hero-disciplines { font-size: 13px; }
    .hero-actions { gap: 12px; }
    .hero-actions .button { padding: 11px 14px; font-size: 13px; }
    .hero-actions > .text-link { margin-left: 0; font-size: 13px; }
    .hero-system { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; padding-top: 24px; }
    .system-connector { display: none; }
    .hero-system strong { font-size: 16px; }
    .js .site-nav { left: -18px; width: calc(100% + 36px); padding-inline: 18px; }
    .process-flow { grid-template-columns: 1fr; border-top: 0; margin-top: 30px; }
    .process-flow li { padding: 12px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 24px 90px minmax(0,1fr); align-items: start; gap: 12px; }
    .process-flow p { margin-top: 0; }
    .process-flow li::before { display: none; }
    .process-flow li:not(:last-child)::after { content: '\2193'; top: auto; bottom: -12px; right: 12px; z-index: 1; }
    .capability-grid, .showcase-grid, .education-container { grid-template-columns: 1fr; }
    .project-grid > :first-child { grid-column: auto; }
    .card-visual { height: 185px; }
    .section-heading { margin-bottom: 30px; }
    .lab-band h2 { font-size: 38px; }
    .lab-toolbar { align-items: start; flex-wrap: wrap; gap: 16px; }
    .lab-toolbar label { width: 100%; gap: 10px; }
    .lab-toolbar select { width: 100%; }
    .comparison { grid-template-columns: 1fr; gap: 30px; }
    .comparison-panel > p:not(.eyebrow) { min-height: 0; }
    .embed-heading { flex-direction: column; align-items: start; gap: 8px; }
    .embed-placeholder { padding: 20px; gap: 8px; }
    .embed-placeholder .mono { font-size: 11px; }
    .embed-placeholder > p:not(.mono) { font-size: 14px; }
    .existing-demo summary .mono { display: block; margin: 8px 0 0; }
    .diagram-caption { flex-direction: column; gap: 8px; }
    .diagram-caption .mono { font-size: 10px; }
    .pipeline-flow { grid-template-columns: 1fr; gap: 20px; }
    .pipeline-flow li { border-left: 1px solid #a8bcb0; padding: 12px 0 12px 54px; }
    .pipeline-flow li > svg { position: absolute; left: 15px; top: 34px; }
    .pipeline-index { margin-bottom: 6px; }
    .pipeline-flow h3 { margin: 0; font-size: 18px; }
    .pipeline-flow li:not(:last-child)::after, .pipeline-flow li:nth-child(4)::after { display: block; content: '\2193'; top: auto; bottom: -18px; right: 20px; }
    .feedback-line { text-align: left; font-size: 11px; }
    .credential-heading, .resume-heading, .contact-layout { flex-direction: column; align-items: start; gap: 20px; }
    .credential-heading { gap: 8px; }
    .resume-heading h2 { font-size: 27px; }
    .footer-inner { flex-direction: column; align-items: start; gap: 12px; }
    .case-dialog { padding: 22px; }
    .case-dialog h2 { font-size: 27px; }
}
@media (max-width: 360px) {
    .hero-meta { margin-bottom: 18px; }
    .hero h1 { font-size: 34px; }
    .hero-lead { font-size: 19px; }
    .hero-inner { padding-bottom: 24px; }
    .hero-system { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin-top: 24px; padding-top: 18px; }
    .hero-system strong { display: none; }
    .hero-system .mono { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.credential-treemap-note { font-size: 13px; color: var(--muted); margin: 0 0 24px; max-width: 72ch; }
.credential-treemap { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.treemap-cell { position: absolute; container-type: size; left: calc(var(--dx) * 1%); top: calc(var(--dy) * 1%); width: calc(var(--dw) * 1%); height: calc(var(--dh) * 1%); }
.treemap-tile { position: absolute; inset: 2px; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; padding: 4px clamp(3px, 12cqw, 8px); border-radius: 6px; color: var(--badge-ink); background: var(--badge-fill); border: 1px solid var(--metal-edge); box-shadow: inset 0 1px 0 #ffffffd9, inset 0 -2px 0 #00000026, inset 0 0 0 3px #ffffff45, 0 2px 6px #172e2626; overflow: hidden; }
.treemap-tile::before { content: ""; position: absolute; inset: 0 0 50% 0; background: linear-gradient(180deg,#ffffff8c,#ffffff00); pointer-events: none; }
.treemap-tile > span { position: relative; }
.treemap-label { font: 700 clamp(11px, 17cqmin, 34px)/1.1 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 90px) and (aspect-ratio < 0.8) { .treemap-label { writing-mode: vertical-rl; align-self: center; max-height: 100%; } }
.treemap-meta { display: none; font: 9px/1.3 var(--mono); text-transform: uppercase; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container (min-width: 100px) and (min-height: 58px) { .treemap-meta { display: block; } }
.treemap-cell:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; z-index: 1; }
.treemap-cell.is-planned .treemap-tile { background: transparent; color: var(--muted); border: 1px dashed var(--line); box-shadow: none; }
.treemap-cell.is-planned .treemap-tile::before { content: none; }
@media (max-width: 999px) { .credential-treemap { aspect-ratio: 4 / 3; } .treemap-cell { left: calc(var(--tx) * 1%); top: calc(var(--ty) * 1%); width: calc(var(--tw) * 1%); height: calc(var(--th) * 1%); } }
@media (max-width: 600px) { .credential-treemap { aspect-ratio: 2 / 3; } .treemap-cell { left: calc(var(--mx) * 1%); top: calc(var(--my) * 1%); width: calc(var(--mw) * 1%); height: calc(var(--mh) * 1%); } }

.demo-categories { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.demo-categories li { display: flex; flex-direction: column; gap: 6px; min-width: 0; border-top: 1px solid #aab9af; padding-top: 18px; }
.demo-category-icon { color: var(--green); }
.demo-categories strong { font: 500 18px/1.3 var(--display); }
.demo-category-note { font-size: 14px; color: var(--muted); }
.demo-category-count { color: var(--green); margin-top: auto; padding-top: 6px; }
.demo-list { display: grid; gap: 56px; }
.demo-entry { display: grid; grid-template-columns: minmax(240px,320px) minmax(0,1fr); gap: 40px; align-items: start; padding-top: 32px; border-top: 1px solid var(--line); }
.demo-copy { min-width: 0; }
.demo-copy .eyebrow { font-size: 11px; margin-bottom: 12px; }
.demo-copy h3 { font-size: 28px; }
.demo-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 2px; font: 500 11px/1.6 var(--mono); text-transform: uppercase; }
.demo-status-dot { width: 7px; height: 7px; background: var(--muted); }
.demo-status.is-live { color: var(--green); border-color: var(--green); }
.demo-status.is-live .demo-status-dot { background: var(--green); }
.demo-status.is-planned { color: var(--accent); border-style: dashed; }
.demo-status.is-planned .demo-status-dot { background: transparent; border: 1px solid var(--accent); }
.demo-summary { margin-top: 16px; color: var(--muted); font-size: 15px; }
.demo-frame { position: relative; width: 100%; max-width: 1024px; aspect-ratio: 1024 / 1060; background: #fff; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-frame.is-placeholder { aspect-ratio: 16 / 9; min-height: 240px; background: var(--soft); border-style: dashed; }
.demo-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 30px; text-align: center; color: var(--muted); }
.demo-placeholder p + p { margin-top: 0; }
.demo-placeholder .mono { color: var(--green); }
.demo-placeholder .embed-icon svg { color: var(--green); }
@media (max-width: 900px) {
    .demo-categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .demo-entry { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
    .demo-categories { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
    .demo-list { gap: 40px; }
    .demo-copy h3 { font-size: 24px; }
    .demo-placeholder { padding: 20px; gap: 8px; }
}
