:root {
  color-scheme: dark;
  --bg: #0b0d11;
  --surface: #101319;
  --line: #292d36;
  --text: #f5f3ee;
  --muted: #aeb2bd;
  --accent: #ffb35d;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --sans: Inter, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  --page: 1184px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
p, dl, dd, h1, h2, h3, h4, ol { margin: 0; }
[hidden] { display: none !important; }
::selection { color: var(--bg); background-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.shell { width: min(var(--page), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; inset: 12px auto auto 12px; z-index: 10; padding: 10px 16px; background: var(--accent); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 3; background: #0b0d11ed; backdrop-filter: blur(16px); border-bottom: 1px solid #25272e; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 73px; }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; white-space: nowrap; font-weight: 700; font-size: 14px; }
.monogram { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #6d4c32; border-radius: 9px; color: var(--accent); background: #241b16; font: 700 17px/1 var(--mono); }
.brand-divider { padding-inline: 9px; color: #71747e; font-weight: 400; }
.brand-caption { color: var(--muted); font-size: 12px; font-weight: 500; }
.header-inner nav { display: flex; gap: 38px; align-items: center; }
.header-inner nav a { color: var(--muted); font-size: 14px; padding-block: 12px; white-space: nowrap; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: var(--accent); }
.header-contact { justify-self: end; display: flex; align-items: center; gap: 12px; font-size: 13px; border: 1px solid #4e433b; border-radius: 7px; padding: 7px 12px; white-space: nowrap; }
.header-contact:hover { background: #231a14; border-color: var(--accent); }
.header-contact span { color: var(--accent); font-family: var(--mono); }

.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 582px; padding-block: 57px 63px; }
.hero-art { position: absolute; z-index: -1; inset: 22px -22px 16px 39%; pointer-events: none; }
.hero-art::before { content: ""; position: absolute; inset: 5% 0 0 0; background: repeating-linear-gradient(0deg, transparent 0 43px, #5d657119 43px 44px), repeating-linear-gradient(90deg, transparent 0 43px, #5d657119 43px 44px); mask-image: radial-gradient(ellipse at 61% 52%, #000 0, #0008 49%, transparent 76%); }
.hero-art::after { content: ""; position: absolute; z-index: -1; inset: 5% 0; background: radial-gradient(ellipse at 63% 49%, #62381837, transparent 64%); }
.hero-art img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; mix-blend-mode: screen; mask-image: radial-gradient(ellipse 68% 62% at 55% 50%, #000 43%, #000d 61%, transparent 88%); animation: chip-float 9s ease-in-out infinite; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.corner { position: absolute; width: 22px; height: 22px; border: solid #ac7e526b; }
.corner-top { top: 12%; right: 6%; border-width: 1px 1px 0 0; }
.corner-bottom { bottom: 11%; left: 14%; border-width: 0 0 1px 1px; }
.hero-content { width: min(49%, 500px); }
.hero-person { display: flex; align-items: center; gap: 14px; }
.portrait { width: 52px; height: 52px; flex: 0 0 auto; object-fit: cover; border: 2px solid #8e704e; border-radius: 50%; box-shadow: 0 0 0 5px #a87d4420; }
.role { display: flex; align-items: center; gap: 10px; color: #e4c3a2; font: 600 13px/1.45 var(--mono); letter-spacing: .07em; }
.role span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 15px #ffb35d89; }
.role i { width: 13px; border-top: 1px solid #865e3c; }
h1 { margin-top: 15px; font-size: clamp(70px, 8.1vw, 120px); line-height: 1.07; font-weight: 800; letter-spacing: -.077em; white-space: nowrap; }
h1 span { color: var(--accent); display: inline-block; margin-left: .06em; letter-spacing: -.22em; }
.hero-line { margin-top: 18px; font-size: clamp(26px, 3vw, 42px); font-weight: 700; line-height: 1.24; letter-spacing: -.045em; }
.hero-description { margin-top: 20px; max-width: 345px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 19px; padding: 0 16px; border: 1px solid transparent; border-radius: 8px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: background-color .18s, border-color .18s, transform .18s; }
.button:hover { transform: translateY(-2px); }
.button span { font: 600 16px/1 var(--mono); }
.button-primary { color: #18100a; background: var(--accent); }
.button-primary:hover { background: #ffc281; }
.button-outline { border-color: #393a43; background: #101218b0; }
.button-outline span { color: var(--accent); }
.button-outline:hover { border-color: var(--accent); background: #201914; }

.milestones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(120deg, #171516, #101319 62%); }
.milestones > div { display: flex; flex-direction: column-reverse; gap: 3px; padding: 18px 26px 19px; }
.milestones > div + div { border-left: 1px solid var(--line); }
.milestones dt { color: var(--muted); font-size: 13px; }
.milestones dd { font: 600 34px/1.18 var(--mono); letter-spacing: -.035em; color: #ffba76; }
.milestones dd span { font-size: 17px; }
.milestones .milestone-text { font-family: var(--sans); font-size: 29px; line-height: 1.38; }

.section { margin-top: 90px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
h2 { font-size: clamp(27px, 3.15vw, 42px); font-weight: 750; line-height: 1.26; letter-spacing: -.047em; }
.heading-note { font-size: 13px; color: var(--muted); }
.capability { border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.capability-tabs { display: flex; border-bottom: 1px solid var(--line); gap: 22px; padding-inline: 27px; }
.capability-tabs button { display: inline-flex; align-items: center; gap: 10px; padding: 16px 8px 14px; color: var(--muted); border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 14px; white-space: nowrap; }
.capability-tabs button:hover, .capability-tabs button[aria-selected="true"] { color: var(--accent); }
.capability-tabs button[aria-selected="true"] { border-bottom-color: var(--accent); }
.tab-icon { font: 600 15px/1 var(--mono); }
.capability-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: 30px; align-items: center; padding: 27px 30px 30px; min-height: 344px; }
.capability-copy h3 { font-size: clamp(20px, 2.05vw, 28px); line-height: 1.35; letter-spacing: -.045em; }
.capability-copy > p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tags span { border: 1px solid #343742; border-radius: 5px; padding: 3px 8px; color: #d4d5db; font: 12px/1.55 var(--mono); }
.sandbox { min-inline-size: 0; margin: 22px 0 0; padding: 0; border: 0; }
.sandbox legend { padding: 0; margin-bottom: 8px; color: #e1e1e6; font-size: 13px; font-weight: 700; }
.sandbox-actions { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.choice { position: relative; display: inline-flex; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span, #run-demo { padding: 5px 9px; border: 1px solid #3b3e48; border-radius: 6px; color: var(--muted); background: #0e1015; font-size: 12px; }
.choice input:checked + span { border-color: #a36b38; color: var(--accent); background: #261c13; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
#run-demo { color: var(--accent); border-color: #625044; }
#run-demo:hover { background: #2a2116; }
#demo-output { display: block; min-height: 36px; margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.55; }
#demo-output[data-result="allowed"] { color: #a7daad; }
#demo-output[data-result="denied"] { color: #ffb58f; }
.code-window { min-width: 0; border: 1px solid #2e333e; border-radius: 11px; background: #0a0c11; }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 10px 10px 0 0; border-bottom: 1px solid #252a33; background: #161a22; color: #d3d4dd; font: 12px/1.5 var(--mono); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #494e5a; }
.window-dots i:first-child { background: #bd8654; }
.window-label { margin-left: auto; white-space: nowrap; color: var(--muted); }
.code-window pre { margin: 0; padding: 17px 14px; overflow: auto; color: #d4d9e7; font: 12px/1.68 var(--mono); }
.code-window code { font-family: inherit; }
.code-annotation { color: #f6c289; }
.code-keyword { color: #dbaefb; }
.code-string { color: #9fceaa; }
.code-method { color: #9fc5f5; }
.window-footer { padding: 7px 13px; border-top: 1px solid #252a33; color: #a9adb8; font: 11px/1.5 var(--mono); }
.diagram { min-width: 0; padding: 18px; border: 1px solid #2e333e; border-radius: 11px; background: #0b0e14; }
.diagram-label { color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.diagram-nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.diagram-nodes button { background: #141923; font-size: 14px; min-height: 72px; border: 1px solid #373e4a; border-radius: 8px; padding: 6px 3px; }
.diagram-nodes button span { display: block; font: 11px/1.75 var(--mono); color: var(--muted); }
.diagram-nodes button:hover, .diagram-nodes button[aria-pressed="true"] { color: var(--accent); border-color: #9b6539; background: #211a15; }
#module-detail { margin-top: 14px; min-height: 48px; font-size: 13px; color: #d7d7df; }
.delivery-steps { list-style: none; display: grid; padding: 0; gap: 9px; }
.delivery-steps li { display: flex; align-items: center; gap: 14px; padding: 12px 15px; border: 1px solid #303440; border-radius: 8px; background: #0c0f15; }
.delivery-steps li > span { color: var(--accent); font: 14px/1 var(--mono); }
.delivery-steps h4 { font-size: 14px; }
.delivery-steps p { color: var(--muted); font-size: 13px; }
.impact-lines { display: grid; gap: 10px; }
.impact-lines > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid #303440; border-radius: 8px; background: #0c0f15; }
.impact-lines dt { font-size: 13px; color: var(--muted); }
.impact-lines dd { display: flex; flex-direction: column; gap: 2px; }
.impact-lines strong { color: var(--accent); font: 600 clamp(19px, 2.2vw, 28px)/1.3 var(--mono); }
.impact-lines dd span { color: var(--muted); font-size: 12px; }

.projects-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.projects-grid > .project { grid-column: span 2; }
.projects-grid > .project:nth-last-child(-n+2) { grid-column: span 3; }
.project { min-width: 0; }
.project-trigger { width: 100%; height: 100%; min-height: 222px; display: flex; flex-direction: column; align-items: start; text-align: left; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(142deg, #171719, #101319 70%); transition: transform .2s, border-color .2s, background-color .2s; }
.project-trigger:hover { transform: translateY(-3px); border-color: #a67447; background: linear-gradient(142deg, #221a14, #101319 74%); }
.project-top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.project-domain { color: var(--accent); font-size: 12px; }
.project-arrow { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #49423d; border-radius: 50%; font: 16px/1 var(--mono); color: var(--accent); }
.project-title { font-size: clamp(17px, 2vw, 23px); font-weight: 700; line-height: 1.4; margin-top: 14px; }
.project-description { color: var(--muted); font-size: 13px; line-height: 1.75; margin: 8px 0 17px; }
.project-stack { margin-top: auto; color: #bac1ce; font: 11px/1.65 var(--mono); overflow-wrap: anywhere; }
.case-study { padding: 28px; margin-bottom: 18px; border: 1px solid #4c6074; border-radius: 15px; background: radial-gradient(ellipse at 90% 5%, #3d567039, transparent 64%), #11171f; }
.study-heading { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.study-eyebrow { color: #cdb28f; font-size: 12px; }
.study-heading h3 { margin-top: 7px; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.04em; line-height: 1.35; }
.study-role { margin-top: 6px; color: #dfc4a6; font-size: 12px; }
.study-intro { margin-top: 12px; max-width: 640px; color: #bac4d1; font-size: 14px; }
.study-reach { display: flex; flex-direction: column; gap: 7px; padding-left: 28px; border-left: 1px solid #51667b; }
.study-reach > span { color: #b7c2d1; font-size: 12px; }
.study-reach strong { color: var(--accent); font-size: 28px; letter-spacing: -.035em; white-space: nowrap; }
.study-flow-label { margin-top: 24px; color: #adbed1; font-size: 11px; }
.study-flow { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr); gap: 8px; align-items: center; margin-top: 8px; }
.study-flow button { padding: 14px 8px; border: 1px solid #52667a; border-radius: 8px; background: #182432; color: #d9e1ed; font-size: 14px; }
.study-flow button:hover { border-color: #daa36e; }
.study-flow button[aria-pressed="true"] { border-color: var(--accent); color: #18110c; background: var(--accent); font-weight: 700; }
.study-flow > span { text-align: center; color: #b78d65; font: 18px/1 var(--mono); }
.study-detail { margin-top: 16px; min-height: 104px; padding: 18px 20px; border-left: 2px solid #dda770; border-radius: 0 8px 8px 0; background: #0b111a; }
.study-detail h4 { font-size: 18px; letter-spacing: -.025em; }
.study-detail p { margin-top: 5px; max-width: 850px; color: #b9c5d4; font-size: 14px; line-height: 1.85; }
.study-decisions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 21px; padding-top: 18px; border-top: 1px solid #3d4e60; }
.study-decisions dt { color: #aabacc; font-size: 12px; }
.study-decisions dd { color: #e0d2c2; margin-top: 4px; font-size: 15px; }
.study-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 24px; }
.study-footer .tags { margin: 0; }
.study-more { display: inline-flex; align-items: center; gap: 10px; padding: 7px 0; border: 0; border-bottom: 1px solid #8f6b48; background: transparent; color: #ffd1a1; font-size: 13px; }
.study-more:hover { color: #ffe7cc; border-bottom-color: var(--accent); }
.study-more span { font-family: var(--mono); }

.career-journey { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.career-card { position: relative; padding: 24px 26px 24px 45px; border: 1px solid #323640; border-radius: 14px; background: linear-gradient(130deg, #171b23, #0e1117); }
.career-card::before { content: ""; position: absolute; left: 22px; top: 29px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid #e8a15e; background: #b57c49; box-shadow: 0 0 13px #dd8f3733; }
.career-card::after { content: ""; position: absolute; left: 25px; top: 46px; bottom: 24px; width: 1px; background: linear-gradient(#91613966, #33404b35); }
.career-card:nth-child(even) { transform: translateY(12px); }
.career-date { display: flex; align-items: center; gap: 8px; color: #ebbb8d; font: 12px/1.65 var(--mono); }
.career-domain { color: #aab2c1; font-size: 12px; }
.career-card > .career-domain { margin-top: 15px; }
.career-card h3 { margin-top: 5px; font-size: clamp(18px, 2.1vw, 25px); letter-spacing: -.035em; line-height: 1.4; }
.career-card h3 > span { margin-left: 11px; color: var(--muted); font-size: 12px; font-weight: 400; vertical-align: middle; letter-spacing: 0; }
.career-role { margin-top: 4px; color: #e1d6cb; font-size: 14px; }
.career-summary { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.career-focus { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px; color: #c0c6d0; font-size: 11px; }
.career-focus > span + span::before { content: "/"; margin-right: 12px; color: #687585; }
.career-current { grid-column: 1 / -1; display: grid; grid-template-columns: .88fr 1.4fr; align-items: center; gap: 30px; padding-block: 28px; border-color: #8b643f; background: radial-gradient(ellipse at 5% 0, #8d4f202b, transparent 60%), linear-gradient(115deg, #211a16, #11151c 85%); }
.career-current::before { top: 34px; background: var(--accent); box-shadow: 0 0 18px #ffb35d77; }
.career-current::after { top: 51px; bottom: 29px; background: linear-gradient(#d29b6380, #91613915); }
.career-current h3 { margin-top: 12px; font-size: 32px; }
.career-current .career-role { color: var(--accent); font-size: 16px; }
.career-current .career-domain { margin-top: 10px; }
.career-story { border-left: 1px solid #684b3366; padding-left: 30px; }
.career-story h4 { font-size: clamp(18px, 2vw, 25px); letter-spacing: -.04em; }
.career-story > p { color: #bac0ca; margin-top: 8px; font-size: 14px; line-height: 1.85; }
.career-projects { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.career-projects button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid #61503e; border-radius: 6px; background: #251c16; color: #ffd2a5; font-size: 12px; }
.career-projects button:hover { border-color: var(--accent); background: #37271a; }
.career-projects button span { font-family: var(--mono); }
.education { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; padding: 17px 22px; border: 1px solid #2c333d; border-radius: 10px; background: #11151d; color: var(--muted); font-size: 13px; }
.education-label { color: #d0a77f; font-size: 12px; }
.education strong { color: var(--text); font-size: 16px; }
.education-date { margin-left: auto; color: #c6ad94; font: 12px/1.5 var(--mono); }
.contact-section { margin-top: 72px; }
.contact { border: 1px solid #534333; border-radius: 13px; padding: 26px 30px 15px; background: radial-gradient(ellipse at 100% 0, #9e561c29, transparent 70%), #151417; }
.contact h2 { font-size: clamp(22px, 2.6vw, 32px); }
.contact p { margin-top: 7px; color: #c4c0c1; font-size: 14px; }
.contact-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.contact-method { min-width: 0; padding: 18px; border: 1px solid #45403d; border-radius: 10px; background: #0b0d1199; }
.contact-method h3 { font-size: 12px; font-weight: 500; color: #d1b08f; }
.contact-value { display: block; width: fit-content; max-width: 100%; margin-top: 8px; font: 500 clamp(16px, 1.8vw, 22px)/1.5 var(--mono); color: #fff0e0; user-select: all; }
a.contact-value:hover { color: var(--accent); }
.contact-email { font-size: clamp(13px, 1.3vw, 17px); line-height: 1.94; overflow-wrap: anywhere; }
.contact-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-size: 12px; }
.contact-actions a { color: #f8bd81; }
.contact-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-actions a span { font-family: var(--mono); margin-left: 5px; }
.contact-actions button { border: 1px solid #5a4b3e; border-radius: 5px; background: #221a14; padding: 5px 9px; color: #ffd0a1; font-size: 12px; }
.contact-actions button:hover { border-color: var(--accent); background: #352418; }
.contact-hint { color: var(--muted); }
.contact .contact-status { margin-top: 10px; min-height: 20px; color: #f1bd87; font-size: 12px; }
.clipboard-buffer { position: fixed; top: 0; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 29px 32px; color: var(--muted); font-size: 12px; }
.footer a:hover { color: var(--accent); }
.footer a span { font-family: var(--mono); }

dialog { width: min(650px, calc(100% - 28px)); max-height: calc(100dvh - 38px); padding: 0; border: 1px solid #594437; border-radius: 15px; background: #14171d; color: var(--text); box-shadow: 0 24px 80px #000b; overscroll-behavior: contain; }
dialog::backdrop { background: #06070bd6; backdrop-filter: blur(6px); }
.dialog-inner { position: relative; padding: 30px; }
.close-dialog { position: absolute; top: 13px; right: 13px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #3e414b; border-radius: 8px; background: #1a1d24; font-size: 24px; line-height: 1; }
.close-dialog:hover { color: var(--accent); border-color: #a67447; }
.case-role { color: var(--accent); font-size: 13px; padding-right: 30px; margin-bottom: 8px; }
.dialog-inner h2 { font-size: clamp(23px, 4.5vw, 36px); }
.case-lead { margin-top: 9px; color: var(--muted); font-size: 14px; }
.case-details { margin-top: 20px; display: grid; gap: 13px; }
.case-details div { padding-top: 10px; border-top: 1px solid var(--line); }
.case-details dt { font-weight: 700; font-size: 14px; }
.case-details dd { color: var(--muted); font-size: 14px; margin-top: 4px; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 68px); }
  .hero { min-height: 530px; }
  .capability-panel { gap: 21px; padding-inline: 22px; }
  .project-trigger { padding: 16px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 79px; }
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 62px; gap: 12px; }
  .header-inner nav { gap: 16px; }
  .header-inner nav a { font-size: 13px; }
  .brand-caption, .brand-divider { display: none; }
  .header-contact { gap: 4px; padding: 5px 8px; font-size: 12px; }
  .brand { gap: 7px; font-size: 13px; }
  .monogram { width: 29px; height: 29px; border-radius: 7px; font-size: 14px; }
  .hero { min-height: auto; padding: 35px 0 24px; display: grid; }
  .hero-content { width: 100%; }
  .hero-person { gap: 12px; }
  .portrait { width: 44px; height: 44px; }
  h1 { font-size: clamp(62px, 12vw, 87px); letter-spacing: -.07em; }
  .hero-line { margin-top: 11px; font-size: clamp(25px, 5.8vw, 35px); }
  .hero-description { margin-top: 12px; font-size: 14px; }
  .hero-actions { margin-top: 20px; }
  .hero-art { position: relative; inset: auto; order: 1; height: clamp(180px, 55vw, 350px); margin: -6px -9px 0; }
  .corner-top { top: 13%; right: 6%; }
  .corner-bottom { bottom: 12%; left: 7%; }
  .milestones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .milestones > div { padding: 12px 9px; gap: 4px; }
  .milestones dd { font-size: clamp(21px, 6vw, 28px); }
  .milestones dd span { font-size: 13px; }
  .milestones .milestone-text { font-size: clamp(15px, 4vw, 22px); line-height: 1.45; }
  .milestones dt { font-size: 11px; line-height: 1.4; }
  .section { margin-top: 58px; }
  .section-heading { margin-bottom: 15px; }
  .heading-note { font-size: 11px; }
  .capability-tabs { gap: 0; padding-inline: 7px; }
  .capability-tabs button { justify-content: center; flex: 1; gap: 5px; font-size: 13px; padding: 13px 2px 11px; }
  .tab-icon { display: none; }
  .impact-lines > div { grid-template-columns: 111px 1fr; gap: 12px; padding: 12px; }
  .capability-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 17px; min-height: 0; padding: 17px; }
  .code-window pre { font-size: 11px; }
  .projects-grid { grid-template-columns: 1fr; gap: 9px; }
  .projects-grid > .project, .projects-grid > .project:nth-last-child(-n+2) { grid-column: auto; }
  .case-study { padding: 17px; }
  .study-heading { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .study-reach { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 0; border-left: 0; border-top: 1px solid #415367; }
  .study-reach > span { font-size: 11px; }
  .study-reach strong { font-size: 23px; }
  .study-flow { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
  .study-flow > span { display: none; }
  .study-flow button { padding-block: 11px; font-size: 13px; }
  .study-detail { min-height: 160px; padding: 15px; }
  .study-detail h4 { font-size: 16px; }
  .study-detail p { font-size: 13px; }
  .study-decisions { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 17px; padding-top: 16px; }
  .study-decisions dd { font-size: 13px; }
  .study-footer { margin-top: 18px; gap: 13px; }
  .project-trigger { min-height: 170px; }
  .project-title { margin-top: 7px; font-size: 20px; }
  .project-description { margin-bottom: 12px; }
  .career-journey { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .career-card { padding: 19px 17px 19px 36px; }
  .career-card::before { left: 16px; top: 24px; width: 7px; height: 7px; }
  .career-card::after { left: 19px; top: 39px; bottom: 20px; }
  .career-card:nth-child(even) { transform: none; }
  .career-card h3 { font-size: 20px; }
  .career-current { grid-column: auto; grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .career-current h3 { font-size: 28px; }
  .career-current .career-role { font-size: 15px; }
  .career-story { border-left: 0; border-top: 1px solid #684b3366; padding: 17px 0 0; }
  .career-story > p { font-size: 13px; }
  .career-focus { gap: 4px 9px; }
  .career-focus > span + span::before { margin-right: 9px; }
  .education { margin-top: 15px; gap: 7px 12px; padding: 15px; }
  .education-label { flex-basis: 100%; }
  .education-date { flex-basis: 100%; margin: 0; }
  .contact { padding: 18px 18px 8px; }
  .contact-methods { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
  .contact-method { padding: 15px; }
  .contact-value { font-size: 22px; }
  .contact-email { font-size: 15px; }
  .contact-actions { margin-top: 13px; }
  .dialog-inner { padding: 21px 16px; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 28px); }
  .header-inner nav { gap: 10px; }
  .header-contact { padding-inline: 5px; }
  .brand { gap: 5px; }
  .capability-tabs button { font-size: 12px; }
}

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