:root {
    --paper: #f6f5f1;
    --ink: #202634;
    --muted: #616674;
    --blue: #3455db;
    --line: #dcddd8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
section[id], main[id] { scroll-margin-top: 112px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
h2 { font-size: clamp(34px, 4vw, 49px); line-height: 1.13; font-weight: 600; letter-spacing: -2px; }
h2 em, h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.shell { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.4px; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 20px; background: var(--ink); color: white; padding: 16px 24px; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.site-header { position: sticky; z-index: 30; top: 0; background: rgba(246,245,241,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { font-size: 42px; letter-spacing: -5px; font-weight: 650; line-height: 1; padding-right: 5px; }
.brand-mark > span { color: var(--blue); }
.brand-name { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 650; }
.brand-name > span { color: var(--muted); font-size: 10px; font-weight: 400; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.main-nav > a:not(.nav-contact):hover { color: var(--blue); }
.nav-contact { border: 1px solid var(--line); border-radius: 50px; padding: 11px 16px; display: inline-flex; align-items: center; gap: 10px; }
.nav-contact:hover { border-color: var(--blue); color: var(--blue); }
.menu-toggle { display: none; background: none; padding: 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); cursor: pointer; }
.hero { padding-block: 85px 78px; display: grid; grid-template-columns: 1.35fr .85fr; align-items: center; gap: 70px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 9px; }
.small-dot { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
h1 { font-size: clamp(49px, 6.1vw, 78px); font-weight: 600; line-height: 1.09; letter-spacing: -3.8px; }
.hero h1 { margin-block: 26px; }
.hero h1 em { color: var(--blue); }
.hero-intro { font-size: 16px; line-height: 1.85; max-width: 535px; color: var(--muted); }
.hero-intro strong { color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 15px 21px; font-size: 12px; font-weight: 600; border-radius: 6px; transition: background .18s, transform .18s; }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: #2642b8; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; }
.text-link:hover { color: var(--blue); }
.hero-note { font-size: 10px; color: var(--muted); margin-top: 24px; }
.portrait-composition { position: relative; width: 100%; max-width: 340px; margin: 0 auto; }
.portrait-card { margin: 0; position: relative; z-index: 1; padding: 11px; background: white; transform: rotate(3deg); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 24px 45px rgba(32,38,52,.07); }
.portrait-card img { width: 100%; aspect-ratio: .93; object-fit: cover; object-position: center 35%; border-radius: 7px; }
.portrait-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 4px 6px; font-size: 11px; font-weight: 650; }
.portrait-card figcaption span:last-child { font-size: 9px; color: var(--muted); font-weight: 400; }
.portrait-orbit { position: absolute; top: -30px; right: -28px; width: 360px; height: 360px; border: 1px solid #b7c4e4; border-radius: 50%; }
.portrait-dot-grid { position: absolute; width: 90px; height: 90px; left: -36px; top: 22px; background-image: radial-gradient(#a8b5dc 1.2px, transparent 1.2px); background-size: 13px 13px; }
.portrait-label { position: absolute; z-index: 2; bottom: 56px; left: -46px; display: flex; align-items: center; gap: 12px; background: white; padding: 14px 17px; border: 1px solid var(--line); border-radius: 9px; font-size: 10px; line-height: 1.7; box-shadow: 0 7px 25px #2026340a; transform: rotate(-4deg); }
.portrait-label > span { color: var(--blue); font: 25px Georgia, serif; }
.portrait-asterisk { color: #bfce84; position: absolute; right: -35px; top: -22px; z-index: 2; font-size: 76px; line-height: 1; }
.stack-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 23px; border-block: 1px solid var(--line); }
.strip-label { text-transform: uppercase; font-size: 9px; letter-spacing: 1.3px; color: var(--muted); white-space: nowrap; }
.stack-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; list-style: none; padding: 0; margin: 0; font-size: 14px; font-weight: 550; }
.strip-end { color: var(--blue); font-size: 27px; }
.section { padding-block: 95px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 38px; }
.section-heading .eyebrow, .expertise-intro .eyebrow { color: var(--blue); margin-bottom: 16px; }
.section-heading > p { font-size: 13px; line-height: 1.8; color: var(--muted); padding-bottom: 2px; }
.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.project-card { border: 1px solid var(--line); border-radius: 13px; background: white; overflow: hidden; }
.project-visual { position: relative; aspect-ratio: 1.52; overflow: hidden; }
.netco-preview { background: #e3e9e2; padding: 25px 25px 0; }
.netco-preview > img { width: 100%; height: 100%; object-fit: contain; object-position: top; background: white; border: 1px solid #cdd7ca; border-radius: 7px 7px 0 0; box-shadow: 0 10px 18px #263e2412; }
.visual-label { position: absolute; bottom: 13px; left: 15px; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 7px 10px; font-size: 9px; }
.project-body { padding: 27px; }
.project-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.project-title h3 { font-size: 23px; letter-spacing: -.6px; font-weight: 600; }
.project-index { font-size: 10px; color: #858a94; }
.project-body > p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; padding: 0; list-style: none; margin: 20px 0 0; }
.tags li { border: 1px solid #e2e4e8; border-radius: 4px; padding: 5px 8px; font-size: 9px; color: #535a68; }
.project-link { font-size: 11px; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; padding-top: 22px; }
.project-link:hover { color: var(--blue); }
.project-details { border-top: 1px solid #ecece8; margin-top: 22px; }
.project-details summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 11px; font-weight: 600; list-style: none; padding: 18px 0 0; }
.project-details summary::-webkit-details-marker { display: none; }
.project-details summary > span { color: var(--blue); font-size: 21px; font-weight: 400; }
.project-details[open] summary > span { transform: rotate(45deg); }
.project-details > div p { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 16px; }
.project-details .project-status { font-size: 11px; border-left: 2px solid var(--blue); padding-left: 12px; }
.quiz-preview { background: #f2e8cb; padding: 22px 26px; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; color: #4a6047; }
.quiz-top > span:nth-child(2) { font-size: 8px; letter-spacing: 2px; }
.quiz-top > span:last-child { font-size: 23px; }
.quiz-logo { font-size: 27px; line-height: 1; font-weight: 800; }
.quiz-logo > span { color: #b78d35; }
.quiz-sheet { width: 85%; margin: 17px auto 0; transform: rotate(-3deg); padding: 20px 24px; background: #fffdf4; border: 1px solid #e4d9b5; border-radius: 12px; text-align: center; box-shadow: 0 10px 20px #5b4d2b0a; }
.quiz-sheet > span { font-size: 10px; color: #7e785e; }
.quiz-equation { font: 49px Georgia, serif; color: #344d3e; white-space: nowrap; margin: 15px 0; }
.quiz-equation > span { color: #b3b5a0; }
.quiz-equation em { font-style: normal; color: #a87825; }
.quiz-answers { display: flex; gap: 10px; justify-content: center; }
.quiz-answers > span { background: #f1eee0; color: #6c745d; border-radius: 6px; padding: 9px 13px; font-size: 12px; min-width: 55px; }
.quiz-answers .answer { background: #dce8c8; color: #36512d; }
.quiz-answers b { font-size: 9px; padding-left: 3px; }
.quiz-caption { position: absolute; right: 14px; bottom: 10px; font-size: 8px; color: #736b50; }
.tools-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-block: 45px 22px; }
.tools-heading h3 { font-size: 18px; font-weight: 550; letter-spacing: -.4px; }
.tools-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.tool-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; padding: 25px; }
.tool-symbol { display: flex; width: 44px; height: 44px; justify-content: center; align-items: center; border-radius: 9px; color: #4e5ac5; background: #e6e8f4; font: 17px ui-monospace,monospace; margin-bottom: 24px; }
.green-symbol { color: #4c6b4f; background: #e3e9dc; font-size: 13px; }
.orange-symbol { color: #a36e3c; background: #f0e3d6; font-size: 28px; }
.tool-card .eyebrow { font-size: 8px; letter-spacing: 1px; color: var(--muted); margin-bottom: 9px; }
.tool-card h3 { font-size: 18px; letter-spacing: -.4px; margin-bottom: 12px; font-weight: 600; }
.tool-card > p:not(.eyebrow) { font-size: 13px; line-height: 1.9; color: var(--muted); margin-bottom: 5px; }
.tool-card .project-link { margin-top: auto; }
.expertise-section { background: #eaece6; }
.expertise-layout { padding-block: 83px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.expertise-intro > p:not(.eyebrow) { max-width: 370px; margin-block: 25px; font-size: 14px; line-height: 1.9; color: #5d665e; }
.expertise-list > article { display: flex; gap: 22px; border-bottom: 1px solid #d1d6ce; padding-block: 28px; }
.expertise-list > article:first-child { padding-top: 0; }
.expertise-list > article:last-child { padding-bottom: 0; border: 0; }
.expertise-number { font-size: 10px; color: #737d70; padding-top: 5px; }
.expertise-list h3 { font-size: 20px; letter-spacing: -.6px; font-weight: 550; margin-bottom: 10px; }
.expertise-list p { font-size: 14px; line-height: 1.8; color: #5d665e; }
.expertise-list .tech-line { margin-top: 14px; font-size: 10px; line-height: 2; color: #404e41; }
.career-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 100px; padding-top: 15px; }
.career-note > p { font-size: 15px; line-height: 1.9; max-width: 320px; color: var(--muted); }
.education { padding-top: 35px; margin-top: 30px; border-top: 1px solid var(--line); }
.education .eyebrow { color: var(--blue); }
.education h3 { font-size: 14px; line-height: 1.6; font-weight: 550; margin-block: 12px 6px; }
.education > p { font-size: 11px; color: var(--muted); }
.languages { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: 10px; color: var(--muted); }
.languages > span::before { content: '·'; color: var(--blue); margin-right: 7px; }
.timeline article { border-top: 1px solid var(--line); padding-block: 25px 28px; }
.job-meta { display: flex; justify-content: space-between; gap: 20px; font-size: 9px; color: var(--muted); margin-bottom: 14px; }
.timeline h3 { font-size: 19px; font-weight: 550; letter-spacing: -.3px; line-height: 1.45; }
.timeline h3 > span { display: block; margin-top: 5px; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.timeline article > p { font-size: 14px; line-height: 1.85; color: var(--muted); margin-top: 15px; }
.timeline article .job-tags { font-size: 9px; color: #4e5882; margin-top: 13px; }
.about-section { display: grid; grid-template-columns: .6fr 1.4fr; gap: 100px; padding-block: 65px 90px; border-top: 1px solid var(--line); }
.about-star { display: block; font-size: 79px; line-height: 1; color: var(--blue); padding-bottom: 25px; }
.about-label .eyebrow { color: var(--muted); font-size: 9px; }
.about-section h2 { font-size: 36px; }
.about-section > div > p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 20px; }
.contact-section { background: #2e49c8; color: white; }
.contact-layout { padding-block: 78px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 90px; }
.contact-layout .eyebrow { color: #ced6ff; margin-bottom: 20px; }
.contact-layout h2 { font-size: 48px; }
.contact-layout > div > p:not(.eyebrow) { color: #d7ddfa; font-size: 14px; line-height: 1.9; max-width: 390px; margin-top: 22px; }
.contact-email { display: flex; justify-content: space-between; gap: 15px; align-items: center; font-size: 24px; font-weight: 450; letter-spacing: -.7px; padding-block: 16px; border-bottom: 1px solid #ffffff50; }
.contact-email > svg { width: 26px; height: 26px; }
.contact-options { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; padding-top: 16px; }
.copy-button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; color: #e0e5ff; padding: 7px 0; font-size: 10px; cursor: pointer; }
.copy-button svg { width: 14px; height: 14px; }
.contact-options [role=status] { color: #e0edbb; font-size: 10px; }
.social-links { display: flex; gap: 25px; margin-top: 24px; }
.social-links a { display: inline-flex; gap: 8px; font-size: 11px; align-items: center; }
.social-links a:hover, .contact-email:hover, .copy-button:hover { color: #dfe9b0; }
.contact-section a:focus-visible, .contact-section button:focus-visible { outline-color: #dfe9b0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; font-size: 10px; }
.footer-brand { font-weight: 700; font-size: 13px; letter-spacing: -.4px; }
.footer-brand span { color: var(--muted); font-weight: 400; }
.site-footer > p { color: var(--muted); }
.site-footer > div { display: flex; align-items: center; gap: 22px; }
.site-footer .icon { width: 13px; height: 13px; }
.site-footer > div > a:last-child { font-size: 17px; }
.site-footer a:hover { color: var(--blue); }
.prose-page { max-width: 760px; padding-block: 65px 100px; }
.prose-page > .eyebrow { margin-top: 55px; color: var(--blue); }
.prose-page h1 { font-size: 56px; margin: 18px 0 30px; }
.prose-page .prose-lead { font-size: 19px; line-height: 1.7; }
.prose-page h2 { font-size: 23px; letter-spacing: -.5px; margin: 40px 0 15px; }
.prose-page > p:not(.eyebrow):not(.prose-lead) { font-size: 14px; line-height: 1.9; color: var(--muted); margin-bottom: 16px; }
.prose-page p a { color: var(--blue); text-decoration: underline; }
.prose-page .prose-date { margin-top: 45px; }
.prose-page .button { margin-top: 20px; }
@media (min-width: 761px) and (max-width: 1050px) {
    .hero { gap: 40px; }
    .hero h1 { font-size: 62px; }
    .portrait-composition { max-width: 290px; }
    .portrait-orbit { width: 315px; height: 315px; right: -18px; }
    .portrait-label { left: -25px; bottom: 45px; }
    .portrait-asterisk { right: -22px; font-size: 60px; }
    .main-nav { gap: 20px; }
    .brand-name { display: none; }
    .stack-strip ul { gap: 20px; font-size: 12px; }
    .expertise-layout, .career-layout, .about-section, .contact-layout { gap: 55px; }
    .quiz-equation { font-size: 38px; }
    .quiz-sheet { padding: 16px; margin-top: 10px; }
    .quiz-answers > span { padding: 7px 8px; min-width: 45px; }
    .contact-email { font-size: 20px; }
}
@media (max-width: 760px) {
    .shell { width: calc(100% - 40px); }
    section[id], main[id] { scroll-margin-top: 94px; }
    .header-inner { height: 76px; }
    .brand-mark { font-size: 36px; }
    .brand-name { font-size: 12px; }
    .brand-name > span { font-size: 9px; }
    .menu-toggle { display: flex; }
    .main-nav { display: none; position: absolute; top: 76px; left: -20px; right: -20px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px; box-shadow: 0 12px 18px #2026340a; flex-direction: column; align-items: stretch; gap: 0; font-size: 14px; }
    .main-nav > a { padding: 15px 12px; }
    .main-nav .nav-contact { margin-top: 10px; justify-content: space-between; }
    .site-header[data-open=true] .main-nav { display: flex; }
    .hero { grid-template-columns: 1fr; padding-block: 52px 55px; gap: 54px; }
    h1 { font-size: clamp(43px, 10.6vw, 68px); letter-spacing: -2.5px; }
    .hero h1 { margin-block: 22px; }
    .hero .eyebrow { font-size: 9px; letter-spacing: 1px; }
    .hero-intro { font-size: 15px; max-width: 540px; }
    .hero-actions { gap: 20px; }
    .hero-note { line-height: 1.7; font-size: 9px; }
    .portrait-composition { width: min(275px, calc(100% - 45px)); }
    .portrait-orbit { width: 290px; height: 290px; top: -14px; right: -20px; }
    .portrait-label { left: -27px; padding: 10px 14px; bottom: 40px; font-size: 9px; }
    .portrait-asterisk { right: -26px; top: -19px; font-size: 58px; }
    .stack-strip { gap: 15px; align-items: flex-start; padding-block: 20px; flex-direction: column; }
    .stack-strip ul { justify-content: flex-start; gap: 10px 18px; font-size: 12px; line-height: 1.7; }
    .strip-end { display: none; }
    .section { padding-block: 65px; }
    .section-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 27px; }
    h2 { font-size: 37px; letter-spacing: -1.5px; }
    .desktop-break { display: none; }
    .section-heading > p { font-size: 13px; max-width: 360px; }
    .featured-grid, .tools-grid { grid-template-columns: 1fr; gap: 24px; }
    .project-body { padding: 23px; }
    .quiz-preview { padding: 18px 23px; }
    .quiz-sheet { padding: 15px 20px; margin-top: 12px; }
    .quiz-equation { font-size: clamp(36px, 11vw, 52px); margin-block: 12px; }
    .quiz-answers { gap: 8px; }
    .quiz-answers > span { padding: 8px; min-width: 45px; }
    .quiz-top > span:nth-child(2) { font-size: 7px; }
    .tools-heading { margin-top: 35px; gap: 15px; }
    .tools-heading h3 { font-size: 17px; }
    .tools-heading .text-link { font-size: 10px; gap: 3px; }
    .tools-grid { gap: 15px; }
    .tool-card { padding: 24px; }
    .tool-symbol { margin-bottom: 20px; }
    .expertise-layout, .career-layout, .about-section, .contact-layout { grid-template-columns: 1fr; gap: 35px; }
    .expertise-layout { padding-block: 60px; }
    .expertise-intro > p:not(.eyebrow) { max-width: none; }
    .expertise-list h3 { font-size: 19px; }
    .expertise-list > article { gap: 16px; padding-block: 25px; }
    .career-layout { gap: 37px; padding-top: 0; }
    .career-note > p { max-width: none; font-size: 14px; }
    .education { margin-top: 25px; padding-top: 25px; }
    .timeline h3 { font-size: 19px; }
    .job-meta { font-size: 9px; }
    .about-section { padding-block: 45px 60px; gap: 24px; }
    .about-label { display: flex; align-items: center; gap: 20px; }
    .about-star { font-size: 50px; padding: 0; }
    .about-section h2 { font-size: 33px; }
    .contact-layout { padding-block: 60px; }
    .contact-layout h2 { font-size: 41px; }
    .contact-email { font-size: clamp(19px, 5.4vw, 26px); letter-spacing: -.5px; }
    .contact-layout > div > p:not(.eyebrow) { max-width: none; }
    .site-footer { flex-wrap: wrap; row-gap: 20px; padding-block: 26px; }
    .site-footer > div { width: 100%; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
    .prose-page { padding-block: 40px 60px; }
    .prose-page h1 { font-size: 39px; letter-spacing: -1.8px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print {
    .site-header, .hero-actions, .copy-button, .project-visual, .portrait-composition { display: none; }
    .hero, .career-layout, .expertise-layout, .about-section, .contact-layout { display: block; }
    .hero, .section, .expertise-layout, .contact-layout { padding-block: 25px; }
    .shell { width: 100%; }
    .contact-section { background: white; color: var(--ink); }
    .contact-layout > div > p:not(.eyebrow), .contact-layout .eyebrow { color: var(--muted); }
    .tool-card, .timeline article, .project-card { break-inside: avoid; }
}
