@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --canvas: #faf9f5;
  --surface-soft: #f5f0e8;
  --surface-card: #efe9de;
  --cream-strong: #e8e0d2;
  --dark: #050505;
  --dark-elevated: #1c1c1e;
  --dark-soft: #111113;
  --hairline: #e3dcd3;
  --ink: #141413;
  --body-strong: #252523;
  --body: #3d3d3a;
  --muted: #68665f;
  --muted-soft: #827f77;
  --coral: #6f568f;
  --coral-active: #6f568f;
  --coral-surface: #67507f;
  --accent-display: #6f568f;
  --teal: #5db8a6;
  --amber: #e8a55a;
  --success: #78c98a;
  --on-dark: #faf9f5;
  --on-dark-soft: #aaa79f;
  --inverted-bg: #faf9f5;
  --inverted-text: #141413;
  --header-bg: rgba(250,249,245,.94);
  --border-strong: #cfc7bc;
  --icon-border: #d3c9bb;
  --soft-shadow: rgba(40,31,23,.14);
  --display: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --canvas: #000000;
  --surface-soft: #0b0b0c;
  --surface-card: #1c1c1e;
  --cream-strong: #2c2c2e;
  --dark: #000000;
  --dark-elevated: #1c1c1e;
  --dark-soft: #111113;
  --hairline: #2c2c2e;
  --ink: #f5f5f7;
  --body-strong: #e5e5ea;
  --body: #d1d1d6;
  --muted: #a1a1a6;
  --muted-soft: #8e8e93;
  --coral: #b8a1d6;
  --coral-active: #c8b5df;
  --coral-surface: #67507f;
  --accent-display: #b8a1d6;
  --on-dark: #f5f5f7;
  --on-dark-soft: #a1a1a6;
  --header-bg: rgba(0,0,0,.78);
  --border-strong: #3a3a3c;
  --icon-border: #3a3a3c;
  --soft-shadow: rgba(0,0,0,.45);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --canvas: #000000;
    --surface-soft: #0b0b0c;
    --surface-card: #1c1c1e;
    --cream-strong: #2c2c2e;
    --dark: #000000;
    --dark-elevated: #1c1c1e;
    --dark-soft: #111113;
    --hairline: #2c2c2e;
    --ink: #f5f5f7;
    --body-strong: #e5e5ea;
    --body: #d1d1d6;
    --muted: #a1a1a6;
    --muted-soft: #8e8e93;
    --coral: #b8a1d6;
    --coral-active: #c8b5df;
    --coral-surface: #67507f;
    --accent-display: #b8a1d6;
    --on-dark: #f5f5f7;
    --on-dark-soft: #a1a1a6;
    --header-bg: rgba(0,0,0,.78);
    --border-strong: #3a3a3c;
    --icon-border: #3a3a3c;
    --soft-shadow: rgba(0,0,0,.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--body);
  background: var(--canvas);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; color: white; background: var(--coral-active); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--coral-active); outline-offset: 4px; }
:target { scroll-margin-top: 88px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--hairline); background: var(--header-bg); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; }
.brand { display: inline-flex; align-items: center; width: max-content; min-height: 44px; color: var(--ink); text-decoration: none; }
.wordmark { display: inline-flex; align-items: center; color: var(--ink); font-family: var(--sans); font-size: 21px; font-weight: 600; line-height: 1; letter-spacing: -.06em; white-space: nowrap; }
.wordmark-main em, .wordmark-ai em { color: var(--coral); font-style: italic; font-weight: 600; }
.wordmark-main em { margin-left: -.035em; }
.wordmark-divider { width: 1px; height: .88em; margin: 0 .48em; background: var(--hairline); }
.wordmark-ai { display: inline-flex; align-items: center; letter-spacing: -.11em; }
.wordmark-ai em { margin-left: .02em; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 30px; }
.desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--body); font-size: 14px; font-weight: 500; text-decoration: none; }
.desktop-nav a:active { color: var(--coral-active); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--hairline); border-radius: 50%; color: var(--ink); background: var(--canvas); cursor: pointer; }
.theme-toggle svg { grid-area: 1 / 1; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.theme-toggle .sun-icon { opacity: 0; transform: scale(.7) rotate(-25deg); }
.theme-toggle .moon-icon { opacity: 1; transform: scale(1); }
.theme-toggle[data-mode="dark"] .sun-icon { opacity: 1; transform: scale(1) rotate(0); }
.theme-toggle[data-mode="dark"] .moon-icon { opacity: 0; transform: scale(.7) rotate(25deg); }
.mobile-menu { display: none; }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; }
.button-primary { color: white; background: var(--coral-surface); }
.button-primary:active { background: var(--coral-active); }
.button-secondary { border-color: var(--border-strong); color: var(--ink); background: var(--canvas); }
.button-on-dark { color: var(--on-dark); background: var(--dark-elevated); }
.button-inverted { color: var(--inverted-text); background: var(--inverted-bg); }
.button-coral-outline { border-color: rgba(255,255,255,.62); color: white; background: transparent; }

.hero { padding: 96px 0 104px; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 74px; align-items: center; }
.kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 24px; color: var(--coral-active); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.kicker span { color: var(--coral); font-size: 15px; }
h1, h2, h3 { margin-top: 0; color: var(--ink); font-family: var(--display); font-weight: 500; }
h1 { margin-bottom: 0; font-size: clamp(4rem, 6.1vw, 5.9rem); line-height: .95; letter-spacing: -.035em; }
h1 em { color: var(--accent-display); font-style: italic; font-weight: 500; }
.hero-lede { max-width: 600px; margin: 28px 0 0; color: var(--body-strong); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.principle-list { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 12px; list-style: none; }
.principle-list li::before { content: "✦"; margin-right: 7px; color: var(--coral); font-size: 10px; }

.code-window { overflow: hidden; border-radius: 16px; color: var(--on-dark); background: var(--dark); box-shadow: 0 26px 70px var(--soft-shadow); }
.window-bar { min-height: 52px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px; border-bottom: 1px solid #2c2c2e; color: var(--on-dark-soft); font-family: var(--mono); font-size: 10px; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #636366; }
.window-dots i:first-child { background: var(--coral); }.window-dots i:nth-child(2) { background: var(--amber); }.window-dots i:last-child { background: var(--teal); }
.review-state { justify-self: end; color: #b5d8c0; }
.review-state i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 9px rgba(120,201,138,.75); }
.code-layout { padding: 30px 28px 26px; }
.code-lines { margin: 0; padding: 0 0 0 42px; color: #636366; font-family: var(--mono); font-size: 12px; line-height: 2; }
.code-lines code { color: #d1d1d6; white-space: nowrap; }
.code-violet { color: #b8a1d6; }.code-coral { color: #b8a1d6; }.code-teal { color: #79c9b7; }
.review-panel { margin-top: 28px; overflow: hidden; border: 1px solid #3a3a3c; border-radius: 10px; background: var(--dark-soft); }
.review-heading { display: flex; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid #3a3a3c; color: #e5e5ea; font-size: 11px; font-weight: 500; }
.review-heading b { color: var(--on-dark-soft); font-family: var(--mono); font-size: 9px; font-weight: 400; }
.review-panel ul { margin: 0; padding: 5px 0; list-style: none; }
.review-panel li { display: grid; grid-template-columns: 24px 1fr auto; gap: 11px; align-items: center; padding: 9px 14px; }
.review-panel li > span { color: #8e8e93; font-family: var(--mono); font-size: 9px; }
.review-panel strong, .review-panel small { display: block; }
.review-panel strong { color: #f5f5f7; font-size: 11px; font-weight: 500; }
.review-panel small { margin-top: 1px; color: #98989d; font-size: 9px; }
.review-panel li > b { color: #81c695; font-family: var(--mono); font-size: 8px; font-weight: 500; text-transform: uppercase; }
.review-panel li > b.attention { color: var(--amber); }
.window-status { min-height: 34px; display: flex; gap: 22px; align-items: center; padding: 0 18px; color: #8e8e93; background: var(--dark-elevated); font-family: var(--mono); font-size: 8px; }
.window-status span:last-child { margin-left: auto; color: #94caa1; }

.section { padding: 104px 0; }
.section-heading h2, .contact-card h2 { margin-bottom: 0; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -.025em; }
.section-heading > p:last-child, .section-heading > div > p:last-child { max-width: 640px; margin: 20px 0 0; color: var(--muted); font-size: 16px; }
.heading-grid { display: grid; grid-template-columns: .8fr 2fr; gap: 70px; align-items: start; margin-bottom: 48px; }
.heading-grid .kicker { margin-top: 10px; }
.capabilities { background: var(--surface-soft); }
.capability-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.feature-card { min-height: 335px; display: flex; flex-direction: column; padding: 32px; border-radius: 12px; background: var(--surface-card); }
.feature-top { display: flex; align-items: start; justify-content: space-between; color: var(--muted-soft); font-family: var(--mono); font-size: 10px; }
.feature-icon { width: 48px; height: 48px; display: grid; flex: 0 0 48px; place-items: center; border: 1px solid var(--icon-border); border-radius: 50%; color: var(--coral-active); background: var(--canvas); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--canvas) 70%, transparent); }
.feature-icon svg { width: 25px; height: 25px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon circle { fill: var(--canvas); }
.feature-card h3 { margin: 42px 0 12px; font-size: 30px; line-height: 1.1; letter-spacing: -.015em; }
.feature-card p { max-width: 490px; margin: 0; color: var(--body); font-size: 14px; }
.feature-card > a { width: max-content; min-height: 40px; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; color: var(--coral-active); font-size: 13px; font-weight: 500; text-decoration: none; }

.projects { color: var(--on-dark-soft); background: var(--dark); }
.projects h2, .projects h3 { color: var(--on-dark); }
.kicker-on-dark { color: #b8a1d6; }
.projects-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.projects-heading > div { max-width: 720px; }
.project-showcase { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.project-featured { position: relative; min-height: 560px; overflow: hidden; padding: 34px; border: 1px solid #2c2c2e; border-radius: 12px; background: var(--dark-soft); }
.project-label { display: flex; justify-content: space-between; gap: 20px; color: var(--on-dark-soft); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.project-label b { padding: 4px 9px; border-radius: 999px; color: #cdbce1; background: rgba(184,161,214,.14); font-weight: 500; }
.project-featured h3 { max-width: 460px; margin: 64px 0 14px; font-size: 42px; line-height: 1; }
.project-featured > p { max-width: 480px; margin: 0; color: var(--on-dark-soft); font-size: 14px; }
.project-featured > a { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; color: #c7b1e2; font-size: 13px; text-decoration: none; }
.architecture-map { position: absolute; inset: auto 34px 34px; height: 180px; }
.map-root, .map-node { position: absolute; display: grid; place-items: center; border: 1px solid #3a3a3c; border-radius: 8px; color: #e5e5ea; background: var(--dark-elevated); font-family: var(--mono); font-size: 10px; }
.map-root { left: 50%; top: 0; width: 100px; height: 42px; transform: translateX(-50%); }
.map-node { bottom: 0; width: 29%; height: 68px; }
.map-node span, .map-node small { display: block; text-align: center; }.map-node small { color: #8e8e93; font-size: 8px; }.node-a { left: 0; }.node-b { left: 35.5%; }.node-c { right: 0; }
.map-line { position: absolute; background: #3a3a3c; }.line-v { left: 50%; top: 42px; width: 1px; height: 38px; }.line-h { left: 14%; right: 14%; top: 80px; height: 1px; }.map-node::before { content: ""; position: absolute; left: 50%; top: -33px; width: 1px; height: 32px; background: #3a3a3c; }
.project-stack { display: grid; gap: 1px; overflow: hidden; border: 1px solid #2c2c2e; border-radius: 12px; background: #2c2c2e; }
.project-stack a { display: grid; grid-template-columns: 34px 1fr auto; gap: 15px; align-items: center; padding: 22px 24px; color: var(--on-dark); background: var(--dark-soft); text-decoration: none; }
.project-stack a > span { color: #8e8e93; font-family: var(--mono); font-size: 9px; }
.project-stack strong, .project-stack small { display: block; }.project-stack strong { font-family: var(--display); font-size: 21px; font-weight: 500; }.project-stack small { margin-top: 2px; color: #98989d; font-size: 10px; }.project-stack i { color: #c7c7cc; font-style: normal; }

.roadmap { background: var(--canvas); }
.roadmap-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.roadmap-intro { position: sticky; top: 112px; }
.timeline { margin: 0; padding: 0; border-top: 1px solid var(--hairline); list-style: none; }
.timeline li { display: grid; grid-template-columns: 42px 1fr 32px; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--hairline); }
.timeline-index { color: var(--muted-soft); font-family: var(--mono); font-size: 10px; }
.timeline-meta { margin: 0 0 8px; color: var(--muted-soft); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.timeline h3 { margin: 0; font-size: 27px; line-height: 1.1; }
.timeline li div > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.timeline-mark { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--muted-soft); font-size: 10px; }
.timeline .complete .timeline-mark { border-color: var(--coral); color: white; background: var(--coral); }.timeline .active .timeline-mark { border-color: var(--coral); color: var(--coral); }

.founder { background: var(--surface-soft); }
.founder-grid { display: grid; grid-template-columns: minmax(320px,.82fr) minmax(0,1.18fr); gap: clamp(64px,8vw,116px); align-items: center; }
.founder-portrait { position: relative; margin: 0; }
.founder-portrait::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; z-index: 0; border: 1px solid var(--icon-border); border-radius: 24px; }
.founder-portrait img { position: relative; z-index: 1; width: 100%; height: auto; display: block; aspect-ratio: 1; border-radius: 20px; object-fit: cover; box-shadow: 0 28px 70px var(--soft-shadow); }
.founder-portrait figcaption { position: absolute; right: 18px; bottom: 18px; z-index: 2; padding: 8px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #f5f5f7; background: rgba(0,0,0,.66); backdrop-filter: blur(12px); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.founder-copy h2 { max-width: 720px; margin-bottom: 28px; font-size: clamp(3.2rem,5vw,4.8rem); line-height: 1; letter-spacing: -.03em; }
.founder-copy > p:not(.kicker):not(.founder-name) { max-width: 720px; margin: 0 0 16px; color: var(--body); font-size: 16px; line-height: 1.7; }
.founder-name { margin: 0 0 24px; color: var(--ink); font-size: 17px; font-weight: 600; }
.founder-name span { display: block; margin-top: 4px; color: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.founder-evidence { display: grid; grid-template-columns: repeat(4,1fr); margin: 34px 0; padding: 24px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.founder-evidence div { padding: 0 20px; border-left: 1px solid var(--hairline); }
.founder-evidence div:first-child { padding-left: 0; border-left: 0; }
.founder-evidence dt { color: var(--ink); font-family: var(--display); font-size: 30px; line-height: 1; }
.founder-evidence dd { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.founder-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.founder-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; color: var(--coral-active); font-size: 13px; font-weight: 500; text-decoration: none; }

.contact { padding: 0 0 96px; }
.contact-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: end; padding: 58px 64px; border-radius: 12px; color: white; background: var(--coral-surface); }
.contact-card h2 { max-width: 650px; color: white; }
.kicker-on-coral { color: white; opacity: .9; }.kicker-on-coral span { color: white; }
.contact-copy > p { max-width: 440px; margin: 0 0 28px; color: rgba(255,255,255,.86); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer { padding: 68px 0 26px; color: var(--on-dark-soft); background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 60px; padding-bottom: 56px; }
.brand-on-dark .wordmark { color: var(--on-dark); }
.brand-on-dark .wordmark-divider { background: #3a3a3c; }
.footer-brand p { margin: 22px 0 0; color: var(--on-dark-soft); font-family: var(--display); font-size: 22px; line-height: 1.2; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-column h2 { margin: 3px 0 10px; color: var(--on-dark); font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.footer-column a { min-height: 32px; display: inline-flex; align-items: center; color: var(--on-dark-soft); font-size: 13px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid #2c2c2e; color: #8e8e93; font-size: 10px; }
.footer-bottom p { margin: 0; }

.resume-page { background: var(--canvas); }
.resume-header { position: static; }
.resume-nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.resume-actions { display: flex; align-items: center; gap: 10px; }
.resume-main { padding: 78px 0 110px; }
.resume-hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; padding-bottom: 62px; border-bottom: 1px solid var(--hairline); }
.resume-hero h1 { max-width: 820px; font-size: clamp(4rem,7vw,6.8rem); }
.resume-role { max-width: 720px; margin: 26px 0 0; color: var(--coral-active); font-size: 18px; font-weight: 500; }
.resume-summary { max-width: 760px; margin: 24px 0 0; color: var(--body-strong); font-size: 17px; line-height: 1.7; }
.resume-contact { align-self: end; margin: 0; padding: 0; list-style: none; }
.resume-contact li { min-height: 48px; display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--hairline); color: var(--muted); font-size: 13px; }
.resume-contact a { color: var(--ink); text-decoration: none; }
.contact-icon { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--hairline); border-radius: 8px; color: var(--coral-active); background: var(--surface-soft); }
.contact-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.resume-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 86px; padding-top: 68px; }
.resume-sidebar { display: flex; flex-direction: column; gap: 48px; }
.resume-section + .resume-section { margin-top: 62px; }
.resume-section h2, .resume-sidebar h2 { margin-bottom: 24px; color: var(--coral-active); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.skill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.skill-list li { padding: 7px 10px; border: 1px solid var(--hairline); border-radius: 999px; color: var(--body); background: var(--surface-soft); font-size: 11px; }
.credential-list { margin: 0; padding: 0; list-style: none; }
.credential-list li { padding: 11px 0; border-bottom: 1px solid var(--hairline); color: var(--body); font-size: 12px; }
.credential-list small { display: block; margin-top: 3px; color: var(--muted); }
.experience-item { position: relative; padding: 0 0 48px 28px; border-left: 1px solid var(--hairline); }
.experience-item:last-child { padding-bottom: 0; }
.experience-item::before { content: ""; position: absolute; top: 4px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px var(--canvas); }
.experience-heading { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.experience-heading h3 { margin: 0; font-family: var(--sans); font-size: 19px; font-weight: 600; }
.experience-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.experience-heading time { flex: 0 0 auto; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.experience-item ul { margin: 0; padding-left: 18px; color: var(--body); }
.experience-item li { margin: 8px 0; font-size: 13px; line-height: 1.6; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.portfolio-card { padding: 22px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface-soft); }
.portfolio-card h3 { margin-bottom: 9px; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.portfolio-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.resume-footer { padding: 26px 0; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 10px; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .code-window { max-width: 760px; }
  .project-showcase { grid-template-columns: 1fr; }
  .project-stack { grid-template-columns: repeat(2,1fr); }
  .project-stack a:last-child { grid-column: 1 / -1; }
  .roadmap-grid { gap: 60px; }
  .founder-grid { grid-template-columns: .8fr 1.2fr; gap: 54px; }
  .founder-evidence { grid-template-columns: repeat(2,1fr); }
  .founder-evidence div { padding: 16px 20px; }
  .founder-evidence div:nth-child(3) { padding-left: 0; border-left: 0; }
  .resume-layout { gap: 52px; }
  .contact-card { grid-template-columns: 1fr; gap: 38px; align-items: start; }
}

@media (max-width: 767px) {
  .shell { width: min(100% - 28px, 1200px); }
  .nav-wrap { min-height: 64px; grid-template-columns: 1fr auto; }
  .desktop-nav, .nav-action { display: none; }
  .header-actions { gap: 2px; }
  .mobile-menu { display: block; }
  .mobile-menu summary { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 22px; height: 1px; background: var(--ink); }
  .mobile-menu nav { position: absolute; top: 64px; left: 0; right: 0; min-height: calc(100vh - 64px); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 28px 14px; border-top: 1px solid var(--hairline); background: var(--canvas); }
  .mobile-menu nav > a:not(.button) { min-height: 58px; display: flex; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--hairline); color: var(--ink); font-family: var(--display); font-size: 28px; text-decoration: none; }
  .mobile-menu nav .button { margin-top: 28px; }
  .hero { padding: 70px 0 80px; }
  .hero-grid { gap: 56px; }
  h1 { font-size: clamp(3.55rem, 17vw, 5rem); }
  .hero-lede { font-size: 16px; }
  .hero-actions { display: grid; }
  .code-layout { overflow-x: auto; padding: 24px 18px 20px; }
  .code-lines { min-width: 520px; }
  .review-panel { min-width: 500px; }
  .window-bar { grid-template-columns: 1fr auto; }
  .window-bar > span:nth-child(2) { display: none; }
  .section { padding: 80px 0; }
  .heading-grid { grid-template-columns: 1fr; gap: 0; }
  .section-heading h2, .contact-card h2 { font-size: clamp(2.9rem, 14vw, 4rem); }
  .capability-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 310px; padding: 26px; }
  .projects-heading { align-items: start; flex-direction: column; }
  .project-featured { min-height: 590px; padding: 26px; }
  .project-featured h3 { font-size: 36px; }
  .architecture-map { inset: auto 24px 26px; }
  .project-stack { grid-template-columns: 1fr; }
  .project-stack a:last-child { grid-column: auto; }
  .roadmap-grid { grid-template-columns: 1fr; gap: 44px; }
  .roadmap-intro { position: static; }
  .founder-grid, .resume-hero, .resume-layout { grid-template-columns: 1fr; }
  .founder-grid { gap: 58px; }
  .founder-portrait { width: min(100%,520px); }
  .founder-copy h2 { font-size: clamp(3rem,14vw,4rem); }
  .resume-main { padding-top: 54px; }
  .resume-hero, .resume-layout { gap: 42px; }
  .resume-actions .button-secondary { display: none; }
  .experience-heading { flex-direction: column; gap: 5px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 30px 1fr 28px; gap: 12px; }
  .contact { padding-bottom: 72px; }
  .contact-card { padding: 40px 24px; }
  .contact-actions { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 440px) {
  .founder-evidence { grid-template-columns: 1fr 1fr; }
  .founder-actions { display: grid; }
  .founder-link { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media print {
  @page { margin: 14mm; }
  :root, :root[data-theme="dark"] { --canvas: #fff; --surface-soft: #f7f7f7; --hairline: #ddd; --ink: #111; --body-strong: #222; --body: #333; --muted: #666; --coral: #6f568f; --coral-active: #6f568f; color-scheme: light; }
  .resume-header, .theme-toggle, .resume-footer { display: none !important; }
  .resume-main { padding: 0; }
  .resume-hero { grid-template-columns: 1.25fr .75fr; gap: 32px; padding-bottom: 28px; }
  .resume-hero h1 { font-size: 42px; }
  .resume-role { margin-top: 14px; font-size: 15px; }
  .resume-summary { margin-top: 14px; font-size: 12px; }
  .resume-layout { grid-template-columns: .66fr 1.34fr; gap: 36px; padding-top: 30px; }
  .resume-sidebar { gap: 26px; }
  .resume-section + .resume-section { margin-top: 28px; }
  .experience-item { padding-bottom: 24px; break-inside: avoid; }
  .experience-item li { margin: 4px 0; font-size: 10px; }
  .portfolio-card { break-inside: avoid; }
  a { text-decoration: none !important; }
}

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