@charset "UTF-8";

/* A considered, lightweight visual system. No framework required. */
:root {
  --ink: #162e29;
  --paper: #f7f8f2;
  --white: #fff;
  --muted: #65766d;
  --line: #dde3d9;
  --dark: #0b211e;
  --dark-line: #304a40;
  --accent: #bcf6b5;
  --green: #36654d;
  --mono: "DM Mono", monospace;
  --sans: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
  --container: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: var(--dark); }
:focus-visible { outline: 3px solid #548d60; outline-offset: 5px; }
.dark-section :focus-visible, .site-header :focus-visible { outline-color: var(--accent); }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--accent); color: var(--dark); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.section-pad { padding: 112px 0; }
.dark-section { background: var(--dark); color: #f3f7ef; }
.mini-label, .section-kicker, .eyebrow, .project-meta, .project-role, .project-details > div > span, .stack-category, .timeline-label, .hero-bottom, .location { font: 400 10px/1.6 var(--mono); letter-spacing: 1.3px; }
.section-kicker { display: flex; align-items: center; gap: 20px; color: #5c7162; }
.section-kicker > span:first-child { color: var(--green); }
.kicker-line { flex: 1; height: 1px; background: var(--line); }
.section-title { margin: 0; font: 600 clamp(36px, 4.1vw, 52px)/1.15 var(--display); letter-spacing: -2.4px; }
.muted { color: #718273; }
.dark-muted { color: #a0b5a5; }
.light-kicker, .light-kicker > span:first-child { color: #b1c7b5; }
.light-kicker .kicker-line { background: var(--dark-line); }

/* Navigation */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: #f5f8f0; }
.header-inner { height: 100px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff20; }
.wordmark { display: inline-flex; align-items: center; gap: 13px; }
.wordmark-mark { width: 44px; height: 44px; display: grid; grid-template-columns: auto auto; justify-content: center; align-content: center; border: 1px solid #bdf6b53d; border-radius: 12px; font: 800 29px var(--display); letter-spacing: -3px; padding-right: 3px; }
.wordmark-mark > span { color: var(--accent); }
.wordmark-name { font: 600 11px/1.5 var(--sans); letter-spacing: 1.4px; }
.wordmark-name small { display: block; margin-top: 4px; color: #afc3b9; font: 400 8px var(--mono); letter-spacing: 1.7px; }
.nav { display: flex; gap: 29px; align-items: center; color: #c2cfc7; font-size: 12px; }
.nav a { transition: color .2s; }
.nav a:hover, .nav a[aria-current="location"] { color: var(--accent); }
.nav .nav-contact { margin-left: 6px; padding: 10px 17px; border: 1px solid #769080; border-radius: 7px; color: #f3f7ef; }
.nav-contact span { margin-left: 18px; color: var(--accent); }
.nav .nav-contact:hover { background: #ffffff09; border-color: var(--accent); }
.menu-toggle { display: none; }

/* Hero / architecture illustration */
.hero { position: relative; overflow: hidden; padding: 176px 0 0; background: radial-gradient(ellipse at 86% 45%, #25473755, transparent 50%), var(--dark); }
.hero-grid { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(#b8d4bf17 1px, transparent 1px), linear-gradient(90deg, #b8d4bf17 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent 20%, #000); pointer-events: none; }
.hero-content { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 6%; align-items: center; }
.hero-copy { position: relative; min-width: 0; z-index: 2; padding-bottom: 66px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: #b1c7b6; font-size: 9px; letter-spacing: 1.4px; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px #bcf6b510; }
.hero-introduction { margin: 0 0 13px; color: #cfddd1; font-size: 15px; }
.hero h1 { margin: 0 0 27px; font: 600 clamp(47px, 5.3vw, 72px)/1.075 var(--display); letter-spacing: -3.8px; }
.hero h1 > span { color: var(--accent); }
.hero-role { margin: 0 0 12px; color: #edf3e7; font-size: 13px; }
.hero-role > span { padding-left: 9px; color: var(--accent); }
.hero-summary { max-width: 440px; margin: 0 0 29px; color: #b2c3b9; font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 50px; padding: 0 21px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s; }
.button span { font-size: 17px; font-weight: 400; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--accent); color: #173426; box-shadow: 0 4px 20px #bcf6b512; }
.button-primary:hover { background: #d3ffcb; }
.button-outline { border-color: #50695c; color: #e8f1e5; }
.button-outline:hover { border-color: var(--accent); background: #ffffff06; }
.hero-visual { position: relative; min-width: 0; padding-bottom: 65px; margin-top: -15px; }
.visual-glow { position: absolute; inset: 0; background: radial-gradient(ellipse, #83ca7040, transparent 66%); filter: blur(40px); }
.architecture-window { position: relative; border: 1px solid #7eaa7c55; border-radius: 14px; background: linear-gradient(130deg, #1e3a30e8, #102923f5); box-shadow: 0 30px 80px #00000040, inset 0 1px #d5f3ca0d; transform: perspective(1200px) rotateY(-5deg) rotateX(3deg); }
.window-toolbar { display: flex; align-items: center; justify-content: space-between; height: 47px; padding: 0 19px; border-bottom: 1px solid #73957b2b; color: #aec2b0; font: 9px var(--mono); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 5px; height: 5px; background: #88a28b; border-radius: 50%; }
.window-dots i:first-child { background: #bce9a7; }
.window-dots i:last-child { background: #486853; }
.window-version { color: #b9d2b5; }
.architecture-canvas { position: relative; height: 360px; background-image: radial-gradient(#9cbb952c .8px, transparent .8px); background-size: 16px 16px; }
.diagram-caption { position: absolute; top: 22px; left: 22px; display: flex; align-items: center; gap: 9px; color: #a9c3a9; font: 8px var(--mono); letter-spacing: 1.1px; }
.diagram-caption .status-dot { width: 4px; height: 4px; }
.diagram-lines { position: absolute; width: 100%; height: 100%; stroke: #6b977454; stroke-width: 1; }
.signal-path { stroke: #b9f9a8; stroke-dasharray: 9 210; animation: signal 4.5s linear 1; }
@keyframes signal { to { stroke-dashoffset: -438; } }
.diagram-input { position: absolute; top: 61px; left: 50%; transform: translateX(-50%); padding: 9px 19px; border: 1px solid #68856566; border-radius: 6px; background: #1c382d; color: #d3e5ca; font-size: 10px; white-space: nowrap; }
.diagram-input > span { color: var(--accent); margin-right: 12px; }
.diagram-core { position: absolute; left: 50%; top: 125px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; width: 278px; height: 82px; padding: 0 17px; border: 1px solid #a1d28d; border-radius: 10px; background: linear-gradient(115deg, #334f35, #1d3a2c); box-shadow: 0 0 40px #c1ed8e0c, 0 9px 20px #0002; }
.core-symbol { font: 800 35px var(--display); letter-spacing: -3px; color: #f1f6df; }
.core-symbol > span { color: var(--accent); }
.diagram-core > div { font: 600 15px var(--display); }
.diagram-core > div > span { display: block; margin-top: 7px; font: 7px var(--mono); letter-spacing: .7px; color: #c8dbb8; }
.core-spark { color: #cbeea0; font-size: 27px; margin-left: auto; }
.diagram-nodes { position: absolute; top: 270px; left: 5%; right: 5%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.diagram-nodes > div { position: relative; display: flex; flex-direction: column; align-items: center; padding: 19px 0 12px; background: #163328; border: 1px solid #73947170; border-radius: 7px; }
.node-icon { position: absolute; top: -13px; width: 28px; height: 27px; display: grid; place-items: center; border: 1px solid #70986b; background: #284932; color: var(--accent); border-radius: 6px; font: 13px var(--mono); }
.diagram-nodes strong { font-size: 10px; font-weight: 500; }
.diagram-nodes small { font-size: 7px; color: #b5c9b0; margin-top: 3px; }
.window-status { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #73957b2b; padding: 13px 17px; color: #adc8aa; font: 8px var(--mono); }
.window-status i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin-right: 6px; }
.window-status > span:last-child { color: var(--accent); font-size: 14px; }
.visual-note { position: absolute; right: -18px; bottom: 36px; display: flex; align-items: center; gap: 13px; padding: 16px 20px; border: 1px solid #d7e9c6; border-radius: 9px; background: #eff6e4; color: #254330; box-shadow: 0 12px 30px #0003; transform: rotate(-3deg); font-size: 11px; line-height: 1.7; }
.visual-note strong { font-weight: 600; }
.note-icon { color: #52704c; font-size: 29px; }
.note-line { width: 29px; height: 26px; background: linear-gradient(135deg, transparent 45%, #72965c 46% 51%, transparent 52%) 0 0 / 13px 13px; opacity: .6; margin-left: 10px; }
.visual-caption { position: absolute; bottom: 15px; left: 12px; color: #8faa98; font: 8px var(--mono); letter-spacing: 1.6px; }
.hero-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; border-top: 1px solid #ffffff20; color: #a7bdaf; font-size: 8px; }
.hero-bottom a { color: var(--accent); font: 11px var(--sans); letter-spacing: 0; }
.hero-bottom a span { margin-left: 12px; }

/* Results & profile */
.impact-strip { background: #edf1e7; border-bottom: 1px solid var(--line); }
.impact-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; padding-block: 35px; align-items: center; }
.impact-intro .mini-label { font-size: 8px; color: #587052; }
.impact-intro p { margin: 9px 0 0; font: 600 16px/1.5 var(--display); letter-spacing: -.4px; }
.impact-stat { border-left: 1px solid #d2dccc; padding: 0 30px; }
.impact-stat strong { font: 500 49px/1 var(--display); letter-spacing: -3px; }
.impact-stat strong > span { color: #66835b; font-size: 33px; }
.impact-stat p { margin: 9px 0 0; font-size: 11px; color: #5c6d60; }
.intro-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8%; padding: 47px 0 50px; }
.intro-copy p { margin: 0 0 15px; font-size: 14px; color: #5e7066; line-height: 1.85; }
.intro-copy .lead { color: #314b3c; font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; border-bottom: 1px solid #a4b59b; padding: 7px 0; margin-top: 7px; font-size: 12px; font-weight: 600; }
.text-link span { color: #557b4c; transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.expertise-card { position: relative; border: 1px solid var(--line); border-radius: 12px; background: #ffffff80; padding: 25px 22px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.expertise-card:hover { transform: translateY(-5px); border-color: #a7bea0; box-shadow: 0 15px 35px #243b2910; }
.card-index { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 27px; border: 1px solid #dce5d4; border-radius: 8px; background: #eef3e8; color: #527448; font: 10px var(--mono); }
.expertise-card h3 { margin: 0 0 11px; font: 700 14px var(--display); letter-spacing: -.3px; }
.expertise-card p { margin: 0; color: #637267; font-size: 12px; line-height: 1.8; }
.card-arrow { position: absolute; top: 29px; right: 22px; color: #6d8562; }
.profile-facts { display: flex; justify-content: space-between; gap: 24px; padding-top: 25px; }
.profile-facts p { margin: 0; font-size: 10px; color: #5e7162; }
.profile-facts span { font: 8px var(--mono); letter-spacing: 1px; color: #536e47; margin-right: 10px; }
.profile-facts i { font-style: normal; padding: 0 5px; }

/* Technology */
.stack-section { background: #142c25; position: relative; }
.stack-heading, .projects-heading, .cv-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; padding: 44px 0 46px; }
.stack-heading > p, .projects-heading > p, .cv-heading > p { flex: 0 0 310px; margin: 0 0 4px; font-size: 13px; line-height: 1.85; color: #bdcbbd; }
.stack-list { border-top: 1px solid #385044; }
.stack-row { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid #385044; }
.stack-category { color: #b0c3ad; font-size: 9px; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.stack-tags span { border: 1px solid #45604b; border-radius: 6px; background: #ffffff03; padding: 7px 12px; color: #e0ebd9; font-size: 11px; transition: background .2s, border-color .2s; }
.stack-tags span:hover { background: #bcf6b512; border-color: #8eae78; }
.stack-tags span:first-child { color: #c8efad; border-color: #71875a; background: #c1f0a508; }

/* Selected work */
.projects-heading > p { color: #5e7066; }
.project-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card { min-width: 0; position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.project-card:hover { transform: translateY(-4px); border-color: #9fb49a; box-shadow: 0 18px 45px #1f3a2610; }
.project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #526e56; font-size: 8px; letter-spacing: 1px; }
.project-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 30px 0 26px; }
.project-main h3 { margin: 0; font: 600 29px/1.2 var(--display); letter-spacing: -1.25px; }
.project-role { margin: 15px 0 0; font-size: 7px; color: #637561; line-height: 1.8; letter-spacing: .8px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; }
.project-tags > span { font-size: 9px; padding: 4px 8px; background: #eef3e9; border: 1px solid #e1e9da; color: #476341; border-radius: 4px; }
.project-number { align-self: flex-start; color: #82927a; font: 500 30px var(--display); letter-spacing: -1px; }
.project-details { display: grid; gap: 15px; padding-top: 22px; border-top: 1px solid #e5e9e0; }
.project-details > div > span { font-size: 8px; letter-spacing: 1px; color: #526b49; }
.project-details p { margin: 5px 0 0; font-size: 12px; color: #5b6f60; line-height: 1.8; }
.project-featured { grid-column: 1 / -1; background: radial-gradient(ellipse at 90% 0, #33553a80, transparent 60%), #172f25; padding: 36px 40px; color: #f5f7ed; border-color: #2c4c36; }
.project-featured .project-meta, .project-featured .project-role { color: #bbd0b1; }
.project-featured .project-main { padding-block: 32px; }
.project-featured h3 { font-size: 40px; letter-spacing: -1.8px; }
.project-featured .project-tags > span { color: #d1e9bb; border-color: #547547; background: #b2d8980c; }
.project-featured .project-details { grid-template-columns: repeat(3, 1fr); gap: 36px; border-color: #3e5842; padding-top: 24px; }
.project-featured .project-details > div > span { color: #c8e7af; }
.project-featured .project-details p { color: #bdcdb8; }
.project-emblem { display: grid; place-items: center; width: 156px; height: 156px; margin-right: 40px; color: #c6eaaa; border: 1px solid #9ac47b44; outline: 1px solid #9ac47b20; outline-offset: 15px; border-radius: 50%; background: radial-gradient(circle, #aecf7730, transparent 70%); font-size: 110px; line-height: 1; }

/* Experience */
.career-section { background: #edf1e7; border-block: 1px solid var(--line); }
.career-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 12%; }
.career-layout > div:first-child { align-self: start; position: sticky; top: 40px; }
.career-layout .section-title { margin-top: 34px; }
.career-intro { max-width: 285px; color: #5b7060; font-size: 14px; margin: 23px 0 0; }
.timeline { border-left: 1px solid #c4d2bc; padding-left: 34px; }
.timeline-item { position: relative; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid #d6dfcf; }
.timeline-item:last-child { margin: 0; padding: 0; border: 0; }
.timeline-dot { position: absolute; left: -40px; top: 4px; width: 11px; height: 11px; border: 2px solid #7d966b; border-radius: 50%; background: #edf1e7; }
.timeline-item:first-child .timeline-dot { background: #648850; box-shadow: 0 0 0 5px #64885014; }
.timeline-label { margin: 0 0 10px; font-size: 8px; color: #48673b; }
.timeline-item:first-child .timeline-label { display: inline-block; padding: 4px 9px; margin-top: -3px; border: 1px solid #c1d3b1; border-radius: 4px; background: #e4eedc; }
.timeline-item h3 { margin: 0 0 5px; font: 700 22px var(--display); letter-spacing: -.7px; }
.timeline-item h3 span { font: 400 11px var(--sans); color: #556a55; letter-spacing: 0; }
.timeline-role { margin: 0 0 10px; font-size: 12px; color: #46603f; font-weight: 500; }
.timeline-item > p:last-child { margin: 0; color: #5b6f5e; font-size: 12px; line-height: 1.8; }

/* Downloads & contact */
.cv-section { background: #142c25; }
.cv-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cv-option { display: flex; flex-direction: column; justify-content: space-between; min-height: 266px; padding: 28px 30px; border: 1px solid #4a654b; border-radius: 12px; background: linear-gradient(125deg, #28432b77, #ffffff02); transition: transform .2s, border-color .2s, background .2s; }
.cv-option:hover { transform: translateY(-5px); border-color: var(--accent); background: #28432b; }
.cv-option-top, .cv-option-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cv-option-top { color: #d0eebb; font: 10px var(--mono); letter-spacing: 1.2px; }
.cv-filetype { font-size: 8px; color: #b0c4a9; }
.cv-option-title { margin: 24px 0; font: 500 35px/1.2 var(--display); letter-spacing: -1.5px; }
.cv-option-bottom { border-top: 1px solid #486045; padding-top: 17px; font-size: 12px; color: #d4e2cc; }
.cv-option-bottom > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #bcf6b514; color: var(--accent); font-size: 18px; }
.contact-section { position: relative; overflow: hidden; padding: 75px 0 35px; background: radial-gradient(ellipse at 85% 55%, #28493165, transparent 60%), var(--dark); }
.contact-section::after { content: "✳"; position: absolute; right: -50px; top: 70px; font-size: 490px; line-height: 1; color: #c3e5a709; pointer-events: none; }
.contact-inner { position: relative; z-index: 1; }
.contact-overline { margin: 63px 0 22px; color: #bbcdbd; font-size: 13px; }
.contact-section h2 { margin: 0; font: 500 clamp(46px, 6.4vw, 84px)/1.08 var(--display); letter-spacing: -4px; }
.contact-section h2 span { color: var(--accent); }
.contact-copy { max-width: 420px; margin: 25px 0 30px; color: #acbfae; font-size: 13px; line-height: 1.9; }
.contact-email { display: inline-flex; align-items: center; gap: 45px; padding-bottom: 9px; border-bottom: 1px solid #6d875e; font: 500 clamp(18px, 2.4vw, 28px) var(--display); letter-spacing: -.5px; transition: color .2s; }
.contact-email:hover { color: var(--accent); }
.contact-email > span { color: var(--accent); }
.contact-phone { display: block; width: max-content; margin-top: 17px; color: #b2c5b2; font: 12px var(--mono); }
.contact-phone:hover { color: var(--accent); }
.contact-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 70px; padding-top: 25px; border-top: 1px solid #38513e; }
.social-links { display: flex; gap: 27px; }
.social-links a { color: #dfebd8; font-size: 12px; }
.social-links a:hover { color: var(--accent); }
.social-links a span { color: var(--accent); margin-left: 8px; }
.location { font-size: 9px; color: #aec2ab; }
.site-footer { background: #081b17; color: #a9bba9; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 95px; font: 8px var(--mono); letter-spacing: .8px; }
.footer-wordmark .wordmark-mark { width: 33px; height: 33px; border-radius: 8px; font-size: 23px; color: #e7f0df; }
.footer-wordmark .wordmark-name { font-size: 9px; color: #e7f0df; }
.footer-wordmark .wordmark-name small { font-size: 7px; }

/* Progressive enhancement: content stays visible without JavaScript. */
.reveal-enter { animation: reveal-in .7s cubic-bezier(.2,.7,.3,1) both; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1600px) {
  .hero { padding-top: 205px; }
  .hero-copy { padding-bottom: 85px; }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero-content { column-gap: 3%; grid-template-columns: 1.12fr 1fr; }
  .hero h1 { font-size: clamp(46px, 5.4vw, 63px); letter-spacing: -3px; }
  .hero-role { font-size: 11px; }
  .hero-summary { font-size: 13px; }
  .visual-note { right: -8px; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .expertise-card { display: grid; grid-template-columns: 35px 1fr; align-items: start; gap: 18px; }
  .card-index { margin: 0; }
  .expertise-card h3 { padding-right: 17px; }
  .impact-stat { padding-inline: 24px; }
  .project-main h3 { font-size: 25px; }
  .project-featured h3 { font-size: 36px; }
}
@media (max-width: 850px) {
  .nav { gap: 18px; }
  .wordmark-name { font-size: 9px; }
  .wordmark-name small { font-size: 7px; }
  .hero { padding-top: 151px; }
  .hero-content { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 38px; }
  .hero h1 { font-size: clamp(56px, 8.4vw, 72px); }
  .hero-summary { max-width: 510px; font-size: 14px; }
  .hero-role { font-size: 13px; }
  .hero-visual { width: 460px; max-width: 88%; justify-self: end; margin: -5px 12px 26px 0; }
  .hero-bottom > span:last-child { display: none; }
  .impact-grid { grid-template-columns: repeat(3, 1fr); }
  .impact-intro { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; padding-bottom: 25px; }
  .impact-intro p { margin: 0; font-size: 14px; }
  .impact-intro br { display: none; }
  .impact-stat:nth-child(2) { border: 0; padding-left: 0; }
  .section-pad { padding-block: 85px; }
  .section-kicker { font-size: 8px; }
  .intro-layout { grid-template-columns: 1fr; gap: 27px; }
  .intro-copy { max-width: 610px; }
  .stack-heading, .projects-heading, .cv-heading { align-items: start; gap: 25px; }
  .stack-heading > p, .projects-heading > p, .cv-heading > p { flex-basis: 230px; font-size: 12px; }
  .stack-row { grid-template-columns: 165px 1fr; }
  .stack-category { font-size: 8px; }
  .project-card { padding: 25px; }
  .project-number { display: none; }
  .project-main h3 { font-size: 23px; }
  .project-featured h3 { font-size: 33px; }
  .project-featured .project-details { gap: 22px; }
  .project-emblem { margin-right: 15px; width: 110px; height: 110px; font-size: 80px; }
  .career-layout { grid-template-columns: 1fr; gap: 40px; }
  .career-layout > div:first-child { position: static; }
  .career-intro { max-width: 420px; }
  .timeline { margin-left: 5px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 24px; }
  .container { width: calc(100% - 40px); }
  .header-inner { height: 82px; }
  .wordmark-name { font-size: 10px; }
  .wordmark-mark { width: 38px; height: 38px; font-size: 26px; border-radius: 10px; }
  .menu-toggle { display: flex; align-items: stretch; justify-content: center; flex-direction: column; gap: 6px; width: 42px; height: 42px; padding: 11px; border: 1px solid #617865; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
  .menu-toggle span { height: 1px; background: #e9f3e0; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 82px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px; background: #132d25; border: 1px solid #486344; border-radius: 0 0 12px 12px; box-shadow: 0 20px 30px #0003; }
  .nav.is-open { display: flex; }
  .nav > a { padding: 13px 0; border-bottom: 1px solid #38503c; font-size: 14px; }
  .nav .nav-contact { border: 0; margin: 0; padding: 13px 0; color: var(--accent); }
  .hero { padding-top: 125px; }
  .eyebrow { font-size: 8px; letter-spacing: 1px; margin-bottom: 26px; }
  .hero-introduction { font-size: 14px; }
  .hero h1 { font-size: clamp(40px, 10.5vw, 66px); letter-spacing: -2.5px; margin-bottom: 24px; }
  .hero-role { font-size: 11px; }
  .hero-summary { font-size: 13px; line-height: 1.9; }
  .button { font-size: 11px; padding-inline: 17px; gap: 24px; }
  .hero-visual { margin: 10px auto 20px; width: 440px; max-width: 100%; padding-bottom: 61px; }
  .architecture-window { transform: none; }
  .architecture-canvas { height: 340px; }
  .diagram-lines { height: 340px; }
  .diagram-caption { font-size: 7px; left: 16px; }
  .diagram-core { width: 250px; top: 118px; height: 78px; }
  .diagram-nodes { top: 255px; gap: 10px; left: 4%; right: 4%; }
  .diagram-input { top: 57px; }
  .visual-note { padding: 12px 16px; bottom: 33px; right: 4px; font-size: 10px; }
  .visual-caption { bottom: 10px; left: 4px; font-size: 7px; }
  .hero-bottom { min-height: 60px; font-size: 7px; letter-spacing: .8px; }
  .hero-bottom a { font-size: 10px; }
  .impact-grid { padding-block: 27px; }
  .impact-intro { gap: 12px; padding-bottom: 22px; }
  .impact-intro .mini-label { font-size: 7px; }
  .impact-intro p { font-size: 11px; }
  .impact-stat { padding-inline: 13px; align-self: stretch; }
  .impact-stat:last-child { padding-right: 0; }
  .impact-stat strong { font-size: 36px; letter-spacing: -2px; }
  .impact-stat strong > span { font-size: 23px; }
  .impact-stat p { font-size: 9px; line-height: 1.7; }
  .section-pad { padding-block: 68px; }
  .section-kicker { gap: 12px; font-size: 7px; letter-spacing: 1px; }
  .section-kicker > span:last-child:not(.kicker-line) { max-width: 125px; text-align: right; }
  .section-title { font-size: clamp(31px, 7.8vw, 43px); letter-spacing: -1.7px; }
  .intro-layout { padding: 33px 0 32px; gap: 23px; }
  .intro-copy .lead { font-size: 15px; }
  .intro-copy p { font-size: 13px; }
  .text-link { font-size: 11px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 12px; }
  .expertise-card { padding: 21px 18px; }
  .expertise-card h3 { font-size: 14px; }
  .expertise-card p { font-size: 12px; }
  .card-arrow { right: 18px; top: 21px; }
  .profile-facts { flex-direction: column; gap: 12px; }
  .profile-facts p { font-size: 10px; line-height: 1.9; }
  .profile-facts span { display: block; margin-bottom: 3px; }
  .stack-heading, .projects-heading, .cv-heading { display: block; padding-block: 32px; }
  .stack-heading > p, .projects-heading > p, .cv-heading > p { margin-top: 20px; max-width: 370px; font-size: 13px; }
  .stack-row { grid-template-columns: 1fr; gap: 15px; padding-block: 22px; }
  .stack-tags { gap: 7px; }
  .stack-tags span { font-size: 10px; padding: 7px 10px; }
  .project-list { grid-template-columns: 1fr; gap: 17px; }
  .project-card, .project-featured { padding: 23px; border-radius: 11px; }
  .project-meta { font-size: 7px; letter-spacing: .7px; }
  .project-main, .project-featured .project-main { padding-block: 25px; }
  .project-main h3, .project-featured h3 { font-size: 27px; letter-spacing: -1.2px; }
  .project-emblem { display: none; }
  .project-featured .project-details { grid-template-columns: 1fr; gap: 15px; }
  .project-details p { font-size: 12px; }
  .career-layout { gap: 34px; }
  .career-layout .section-title { margin-top: 28px; }
  .career-intro { font-size: 13px; margin-top: 18px; }
  .timeline { padding-left: 26px; }
  .timeline-dot { left: -32px; }
  .timeline-item h3 { font-size: 20px; }
  .timeline-item h3 span { display: block; margin-top: 7px; }
  .cv-options { grid-template-columns: 1fr; gap: 15px; }
  .cv-option { min-height: 235px; padding: 24px; }
  .cv-option-title { font-size: 32px; }
  .contact-section { padding-block: 57px 30px; }
  .contact-overline { margin-top: 43px; font-size: 11px; }
  .contact-section h2 { font-size: clamp(36px, 9.5vw, 60px); letter-spacing: -2px; }
  .contact-copy { font-size: 12px; }
  .contact-email { font-size: clamp(15px, 4.8vw, 25px); gap: 20px; }
  .contact-phone { font-size: 11px; }
  .contact-section::after { font-size: 330px; right: -160px; top: 130px; }
  .contact-bottom { margin-top: 45px; flex-wrap: wrap; }
  .location { font-size: 8px; }
  .footer-inner { min-height: 95px; flex-wrap: wrap; padding-block: 22px; gap: 18px; }
  .footer-inner > span:nth-child(2) { display: none; }
  .footer-inner > span:last-child { font-size: 7px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .eyebrow { font-size: 7px; }
  .hero-role { font-size: 10px; }
  .hero-actions { gap: 8px; }
  .button { padding-inline: 13px; gap: 16px; }
  .diagram-nodes small { font-size: 6px; }
  .project-main h3, .project-featured h3 { font-size: 24px; }
  .impact-stat { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .hero-actions, .hero-visual, .hero-bottom, .site-footer { display: none !important; }
  body { background: white; color: black; }
  .container { width: 100%; }
  .dark-section, .project-featured, .cv-option { background: white !important; color: black !important; }
  .dark-section *, .project-featured * { color: #222 !important; }
  .hero { padding: 20px 0; }
  .hero-content { display: block; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: 45px; }
  .section-pad, .contact-section { padding: 30px 0; }
  .career-layout > div:first-child { position: static; }
  .project-list { display: block; }
  .project-card { margin-bottom: 15px; break-inside: avoid; }
  .reveal-enter { animation: none; }
  .contact-section::after { display: none; }
}
