h1, h2, h3, p, figure { margin: 0; }
.hero { padding: 60px 0 72px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 100px; align-items: center; }
.hero-intro { margin-bottom: 18px; font-size: 14px; color: var(--accent); }
h1 { font-family: var(--serif); font-size: clamp(65px, 6.6vw, 88px); font-weight: 400; line-height: .99; letter-spacing: -.025em; }
.hero-description { margin-top: 25px; max-width: 480px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-description a { color: var(--ink); text-decoration: underline; text-decoration-color: #b5c0b3; text-underline-offset: 4px; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 28px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 13px 20px; border-radius: 4px; font-size: 12px; font-weight: 500; transition: background .2s, transform .2s; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: #254331; transform: translateY(-2px); }
.button-primary:active { transform: translateY(0); }
.hero-actions .text-link { font-size: 12px; }
.social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 26px; margin-top: 27px; }
.social-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--muted); font-size: 12px; transition: color .2s; }
.social-links a:hover { color: var(--accent); }
.social-links svg { width: 15px; height: 15px; }
.external-arrow { color: var(--muted); font-size: 12px; }
.hero-portrait { width: 280px; justify-self: center; }
.portrait-image { border-radius: 150px 150px 5px 5px; overflow: hidden; background: #d8d7d0; }
.portrait-image img { width: 100%; height: 328px; object-fit: cover; object-position: center; }
.hero-copy > * { animation: enter .7s both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-portrait { animation: enter .85s .15s both; }
.section-space { padding-block: 70px; }
.projects-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 11px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.2vw, 49px); letter-spacing: -.025em; line-height: 1.08; }
.section-heading .text-link { font-size: 12px; padding-bottom: 3px; }
.project-list { border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: 28px 52px minmax(0, 1fr) 100px 22px; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.project-row:hover { background: #f0f1e9; padding-inline: 12px; }
.project-number { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.project-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; }
.project-icon img { width: 48px; height: 48px; object-fit: contain; }
.project-icon svg { width: 28px; height: 28px; }
.project-icon--outline { background: #e8ece4; border-radius: 12px; color: var(--accent); }
.project-copy h3 { font-size: 18px; font-weight: 500; letter-spacing: -.025em; }
.project-copy p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 560px; }
.project-meta { text-align: right; font-size: 10px; color: var(--muted); line-height: 1.9; }
.project-meta span { display: block; }
.project-arrow { font-size: 20px; justify-self: end; transition: transform .2s; }
.project-row:hover .project-arrow { transform: translate(3px,-3px); }
.content-fallback { padding-block: 24px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.about-section { background: #eff1e9; }
.about-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; }
.about-intro .eyebrow { margin-bottom: 11px; }
.about-lead { font-family: var(--serif); font-size: 28px; line-height: 1.3; margin-top: 29px; }
.about-lead em { color: var(--accent); }
.about-intro > p:not(.eyebrow):not(.about-lead) { font-size: 14px; line-height: 1.9; color: var(--muted); margin-top: 20px; max-width: 350px; }
.about-intro .text-link { margin-top: 18px; font-size: 12px; }
.resume-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.resume-download { border: 1px solid #c5cec0; color: var(--accent); gap: 14px; padding-inline: 14px; }
.resume-download:hover { background: #e1e7db; }
.resume-format { font-size: 10px; font-weight: 400; white-space: nowrap; }
.experience-list { border-top: 1px solid #d4dacd; }
.experience-item { display: grid; grid-template-columns: 116px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid #d4dacd; }
.experience-period { font-size: 9px; letter-spacing: .05em; color: var(--muted); line-height: 1.6; padding-top: 3px; }
.experience-item h3 { font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; }
.experience-item .experience-role { font-size: 10px; color: var(--accent); margin-top: 6px; }
.experience-item div > p:last-child { font-size: 13px; line-height: 1.75; color: var(--muted); margin-top: 12px; }
.writing-list { border-top: 1px solid var(--line); }
.writing-row { display: grid; grid-template-columns: 138px 1fr 22px; gap: 22px; align-items: center; padding-block: 24px; border-bottom: 1px solid var(--line); }
.writing-row time { color: var(--muted); font-size: 11px; }
.writing-meta { display: grid; gap: 5px; }
.writing-language { color: var(--accent); font-size: 10px; }
.writing-row h3 { font-size: 15px; font-weight: 400; line-height: 1.6; }
.writing-row > .writing-arrow { justify-self: end; transition: transform .2s; }
.writing-row:hover h3 { color: var(--accent); }
.writing-row:hover > .writing-arrow { transform: translate(3px,-3px); }
.contact-section { padding: 65px 0 73px; border-top: 1px solid var(--line); }
.contact-layout { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-section .eyebrow { margin-bottom: 17px; }
.contact-section h2 { font-size: 53px; }
.contact-section h2 em { color: var(--accent); }
.contact-details p { color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.contact-email { font-family: var(--serif); font-size: 33px; display: inline-flex; max-width: 100%; align-items: center; gap: 36px; border-bottom: 1px solid var(--ink); padding-bottom: 9px; min-height: 44px; }
.email-address { min-width: 0; overflow-wrap: anywhere; }
.contact-email > [aria-hidden] { font-family: var(--sans); font-size: 26px; flex-shrink: 0; transition: transform .2s; }
.contact-email:hover { color: var(--accent); }
.contact-email:hover > [aria-hidden] { transform: translate(3px,-3px); }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
    .hero-layout { gap: 50px; grid-template-columns: minmax(0,1fr) 250px; }
    .hero-portrait { width: 240px; }
    .portrait-image img { height: 286px; }
    .about-layout { gap: 55px; }
    .experience-item { grid-template-columns: 100px 1fr; gap: 14px; }
}
@media (max-width: 800px) {
    .hero { padding: 52px 0 56px; }
    .hero-layout { grid-template-columns: minmax(0,1fr) 190px; gap: 26px; }
    h1 { font-size: 66px; }
    .hero-portrait { width: 185px; }
    .portrait-image img { height: 232px; }
    .hero-description { font-size: 14px; }
    .hero-actions { gap: 18px; flex-wrap: wrap; }
    .section-space { padding-block: 56px; }
    .about-layout { gap: 42px; }
    .experience-item { grid-template-columns: 1fr; gap: 9px; }
    .contact-email { font-size: 27px; gap: 20px; }
    .contact-section h2 { font-size: 44px; }
}
@media (max-width: 640px) {
    .hero { padding: 28px 0 32px; }
    .hero-layout { grid-template-columns: 64px minmax(0, 1fr); gap: 20px 16px; }
    .hero-copy { display: contents; }
    .hero-heading { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-self: center; gap: 6px; min-width: 0; }
    .hero-intro { font-size: 12px; margin: 0; }
    h1 { order: -1; font-size: clamp(36px, 11.3vw, 46px); line-height: 1.05; }
    .hero-description { grid-column: 1 / -1; margin: 0; font-size: 15px; line-height: 1.65; max-width: 430px; }
    .hero-actions { grid-column: 1 / -1; gap: 24px; margin: 0; }
    .button { min-height: 46px; padding-inline: 18px; gap: 24px; font-size: 13px; }
    .hero-actions .text-link { font-size: 13px; gap: 14px; }
    .social-links { grid-column: 1 / -1; gap: 4px 22px; margin: -4px 0 0; }
    .hero-portrait { grid-column: 1; grid-row: 1; width: 64px; align-self: center; animation-duration: .7s; }
    .portrait-image { border-radius: 50%; }
    .portrait-image img { width: 64px; height: 64px; }
    .section-space { padding-block: 32px; }
    .section-heading { margin-bottom: 20px; gap: 8px 15px; flex-wrap: wrap; }
    .eyebrow { font-size: 9px; }
    h2 { font-size: 34px; }
    .section-heading .text-link { font-size: 12px; gap: 8px; min-width: fit-content; }
    .project-row { grid-template-columns: 36px minmax(0,1fr) 18px; gap: 8px 12px; padding-block: 20px; }
    .project-number { display: none; }
    .project-icon { grid-column: 1; grid-row: 1; width: 36px; height: 36px; }
    .project-icon img { width: 34px; height: 34px; }
    .project-icon svg { width: 22px; height: 22px; }
    .project-copy { display: contents; }
    .project-copy h3 { grid-column: 2; grid-row: 1; font-size: 17px; line-height: 1.35; }
    .project-copy p { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 14px; line-height: 1.65; }
    .project-meta { grid-column: 1 / -1; grid-row: 3; display: flex; gap: 10px; font-size: 11px; line-height: 1.4; text-align: left; }
    .project-meta span + span::before { content: '·'; margin-right: 10px; }
    .project-arrow { grid-column: 3; grid-row: 1; font-size: 19px; }
    .project-row:hover { padding-inline: 0; }
    .about-layout { grid-template-columns: 1fr; gap: 31px; }
    .about-lead { margin-top: 23px; font-size: 27px; }
    .about-intro > p:not(.eyebrow):not(.about-lead) { max-width: 440px; }
    .experience-item { grid-template-columns: 1fr; gap: 7px; padding-block: 22px; }
    .experience-period { font-size: 11px; padding: 0; }
    .experience-item h3 { font-size: 16px; }
    .experience-item .experience-role { font-size: 12px; }
    .writing-row { grid-template-columns: minmax(0,1fr) 18px; gap: 7px 18px; padding-block: 21px; }
    .writing-row time { font-size: 10px; }
    .writing-row h3 { grid-column: 1; grid-row: 2; font-size: 14px; }
    .writing-row > .writing-arrow { grid-column: 2; grid-row: 1 / 3; }
    .contact-section { padding: 43px 0; }
    .contact-layout { align-items: start; flex-direction: column; gap: 30px; }
    .contact-section h2 { font-size: 46px; }
    .contact-details { width: 100%; }
    .contact-details p { font-size: 11px; }
    .contact-email { font-size: clamp(27px, 7.1vw, 35px); gap: 23px; }
}
