@charset "UTF-8";

:root {
  --bg: #111312;
  --surface: #171a18;
  --text: #f4f5f1;
  --muted: #acb3ae;
  --faint: #8a958d;
  --line: #353d37;
  --accent: #d6f58a;
  --ink: #162015;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { color: var(--ink); background: var(--accent); }
a { color: inherit; text-decoration: none; text-underline-offset: .25em; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a, summary { touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; border-radius: 2px; }
svg { display: inline-block; width: 1.25rem; height: 1.25rem; flex-shrink: 0; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; overflow-wrap: break-word; }
em { font-family: var(--serif); font-weight: 400; }
.wrap { width: min(100% - 7rem, 79rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 100; top: -6rem; left: 1rem; background: var(--accent); color: var(--ink); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.eyebrow { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; }
.section { padding-block: 7rem; }
.section-label { display: flex; gap: 1.5rem; margin-bottom: 1.75rem; color: var(--muted); }
.section-label > span { color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 5rem; margin-bottom: 3.5rem; }
h2 { font-size: clamp(2.2rem, 3.8vw, 3.625rem); line-height: 1.12; letter-spacing: -.045em; }
.section-intro { max-width: 27rem; margin-left: auto; color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(17, 19, 18, .97); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 5.75rem; gap: 2rem; }
.brand { width: fit-content; font-size: 1.5rem; font-weight: 600; letter-spacing: -.07em; line-height: 1.3; white-space: nowrap; }
.brand span { color: var(--accent); }
.main-nav { display: flex; gap: 2rem; }
.main-nav a { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: .875rem; color: var(--muted); transition: color .2s ease; }
.main-nav a:hover { color: var(--text); }
.resume-link { display: flex; justify-self: end; align-items: center; gap: .8rem; padding: .5rem 0; font-size: .875rem; }
.resume-link:hover { color: var(--accent); }

.hero { padding-top: 4.75rem; }
.hero-overline { display: flex; justify-content: space-between; gap: 2rem; align-items: center; margin-bottom: 2.5rem; }
.hero-overline .eyebrow { color: var(--accent); }
.hero-location { color: var(--muted); font-size: .8125rem; }
.hero-location span { margin-inline: .7rem; color: var(--faint); }
h1 { font-size: clamp(2.85rem, 5.25vw, 5.25rem); line-height: 1.04; letter-spacing: -.065em; }
h1 em { display: inline-block; color: #c0c9bc; letter-spacing: -.065em; line-height: 1.12; }
.hero-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 23rem); gap: clamp(2rem, 4.5vw, 4rem); align-items: center; margin-bottom: 4.25rem; }
.hero-copy { min-width: 0; }
.hero-bottom { display: flex; flex-direction: column; gap: 2rem; margin-top: 2rem; }
.hero-portrait { margin: 0; min-width: 0; }
.portrait-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: .5rem; background: var(--surface); outline: 1px solid var(--line); }
.portrait-frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-portrait figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .85rem; font-size: .8125rem; color: var(--muted); }
.hero-portrait figcaption > span:first-child { color: var(--text); }
.hero-intro { max-width: 33rem; }
.hero-intro > p { font-size: 1.125rem; line-height: 1.7; color: var(--muted); max-width: 32rem; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 1.75rem; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: 1.75rem; padding: .8rem 1.4rem; border-radius: 100px; color: var(--bg); background: var(--text); font-size: .875rem; font-weight: 500; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--accent); transform: translateY(-2px); }
.text-link { min-height: 2.75rem; display: inline-flex; align-items: center; font-size: .875rem; text-decoration: underline; text-decoration-color: var(--line); transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: var(--text); }
.hero-note { display: flex; align-items: center; gap: 1rem; align-self: flex-start; }
.note-number { display: block; flex-shrink: 0; font-size: 2.75rem; font-weight: 300; line-height: 1; letter-spacing: -.075em; }
.note-number > span { color: var(--accent); font-size: 1.6rem; vertical-align: top; position: relative; top: .15rem; margin-left: .15rem; }
.hero-note p { color: var(--muted); font-size: .8125rem; line-height: 1.6; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.4rem; color: var(--muted); border-block: 1px solid var(--line); font-size: .875rem; }

.work-section { padding-top: 6.5rem; }
.project-list { border-top: 1px solid var(--line); }
.project { border-bottom: 1px solid var(--line); }
.project summary { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 13rem 3rem; gap: 1.4rem; align-items: center; padding-block: 2.2rem; cursor: pointer; list-style: none; }
.project summary::-webkit-details-marker { display: none; }
.project summary::marker { content: ""; }
.project-number { color: var(--faint); font-size: .8125rem; align-self: start; padding-top: .25rem; font-variant-numeric: tabular-nums; }
.project-main { display: flex; flex-direction: column; gap: .6rem; }
.project-category { font-size: .8125rem; color: var(--muted); }
.project-title { font-size: clamp(1.8rem, 2.8vw, 2.7rem); line-height: 1.15; letter-spacing: -.045em; transition: color .2s; }
.project-description { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.project-stack { color: var(--muted); font-size: .8125rem; line-height: 1.8; }
.project-toggle { height: 2.75rem; width: 2.75rem; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.project-toggle svg { transition: transform .2s; }
.project summary:hover .project-title, .project[open] .project-title { color: var(--accent); }
.project summary:hover .project-toggle, .project[open] .project-toggle { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.project[open] .project-toggle svg { transform: rotate(45deg); }
.project-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; margin-left: 4.9rem; padding: 0 0 2.5rem; max-width: 60rem; }
.project-detail h3 { font-size: .875rem; font-weight: 500; margin-bottom: .65rem; }
.project-detail p, .project-detail ul { color: var(--muted); font-size: 1rem; }
.project-detail ul { margin: 0; padding-left: 1.15rem; }
.project-detail li { padding-left: .2rem; margin-bottom: .25rem; }
.project-detail li::marker { color: var(--accent); font-size: .7em; }
.more-work { margin-top: 3.7rem; }
.more-work > .eyebrow { color: var(--muted); margin-bottom: 1.65rem; }
.more-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.more-work article { border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; flex-direction: column; align-items: start; }
.small-label { color: var(--faint); font-size: .8125rem; }
.more-work h3 { font-size: 1.2rem; letter-spacing: -.025em; margin: .5rem 0 .7rem; line-height: 1.4; }
.more-work article p { color: var(--muted); margin-bottom: 1.25rem; font-size: 1rem; }
.small-stack { font-size: .8125rem; color: var(--faint); margin-top: auto; }

.experience-section { background: var(--surface); border-block: 1px solid var(--line); }
.experience-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 6rem; }
.experience-heading h2 { font-size: clamp(2.25rem, 3.3vw, 3.1rem); }
.experience-heading h2 em { color: #c0c9bc; }
.experience-heading > p:last-child { color: var(--muted); max-width: 22rem; margin-top: 1.7rem; }
.experience-list { list-style: none; margin: 0; padding: 0; }
.experience-list li { padding-bottom: 2.35rem; border-bottom: 1px solid var(--line); margin-bottom: 2.35rem; }
.experience-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.role-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .8125rem; color: var(--faint); margin-bottom: 1rem; }
.experience-list h3 { font-size: 1.65rem; line-height: 1.25; letter-spacing: -.035em; }
.role-title { font-size: .875rem; color: #d3dbce; margin-top: .5rem; }
.role-description { color: var(--muted); margin-top: 1rem; font-size: 1rem; }

.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.about-note > p { max-width: 31rem; color: var(--muted); margin-bottom: 1rem; }
.education { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.education h3 { font-size: 1.125rem; margin-block: .6rem .25rem; }
.education p { color: var(--muted); font-size: .875rem; }
.education p span { display: block; color: var(--faint); margin-top: .25rem; font-size: .8125rem; }
.skills-list { margin: 0; }
.skills-list > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding-block: 1.2rem; border-bottom: 1px solid var(--line); }
.skills-list > div:first-child { border-top: 1px solid var(--line); }
.skills-list dt { color: var(--faint); font-size: .875rem; }
.skills-list dd { margin: 0; color: #dfe4dc; font-size: 1rem; }

.contact-section { color: var(--ink); background: var(--accent); padding-block: 5.7rem 4rem; }
.contact-section .section-label { color: #34412c; }
.contact-section .section-label > span { color: #34412c; }
.contact-top { display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.contact-top h2 { font-size: clamp(2.65rem, 4.5vw, 4.5rem); }
.contact-top p { color: #34412c; font-size: 1rem; margin-bottom: .3rem; flex-shrink: 0; }
.contact-email { display: inline-flex; align-items: center; gap: 1.8rem; margin-top: 2.5rem; padding-bottom: .35rem; font-size: clamp(1.25rem, 2.6vw, 2.5rem); line-height: 1.5; letter-spacing: -.025em; border-bottom: 1px solid #6d804c; max-width: 100%; overflow-wrap: anywhere; }
.contact-email svg { width: 1.6rem; height: 1.6rem; transition: transform .2s; }
.contact-email:hover svg { transform: translate(3px, -3px); }
.contact-links { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 2rem; }
.contact-links a { min-height: 2.75rem; display: inline-flex; align-items: center; gap: .75rem; font-size: .875rem; }
.contact-links a:hover { text-decoration: underline; }
.contact-section a:focus-visible { outline-color: var(--ink); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2.3rem; }
.site-footer p { font-size: .8125rem; color: var(--faint); }
.back-top { display: inline-flex; align-items: center; gap: 1.2rem; min-height: 2.75rem; font-size: .875rem; color: var(--muted); }
.back-top:hover { color: var(--accent); }

@media (min-width: 96rem) {
  .hero { padding-top: 5.75rem; }
  .hero-content { margin-bottom: 5.25rem; }
}

@media (max-width: 64rem) {
  .wrap { width: calc(100% - 4rem); }
  .section { padding-block: 5.5rem; }
  .main-nav { gap: 1.3rem; }
  .hero-content { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: 2rem; }
  .section-heading { gap: 3rem; }
  .experience-layout { gap: 3.5rem; grid-template-columns: 1fr 1.2fr; }
  .about-layout { gap: 3rem; }
  .project summary { grid-template-columns: 2.5rem minmax(0, 1fr) 10rem 2.75rem; gap: 1rem; }
  .project-detail { margin-left: 3.5rem; gap: 2.5rem; }
  .contact-top p { flex-shrink: 1; }
}

@media (max-width: 48rem) {
  html { scroll-padding-top: 9rem; }
  .wrap { width: calc(100% - 3rem); }
  .header-inner { grid-template-columns: 1fr auto; gap: .4rem 1rem; padding-top: .95rem; min-height: auto; }
  .brand { font-size: 1.4rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 1rem; padding-bottom: .35rem; }
  .main-nav a { min-height: 2.65rem; }
  .resume-link { grid-column: 2; grid-row: 1; }
  .hero { padding-top: 3.2rem; }
  .hero-overline { display: block; margin-bottom: 1.75rem; }
  .hero-overline .eyebrow { font-size: .75rem; }
  .hero-location { margin-top: .6rem; }
  .hero-content { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; margin-bottom: 2.7rem; }
  .hero-portrait { width: min(100%, 20rem); margin-inline: auto; }
  h1 { font-size: clamp(2.85rem, 7.6vw, 4.5rem); line-height: 1.1; letter-spacing: -.06em; }
  .hero-bottom { margin-top: 1.75rem; gap: 1.75rem; }
  .hero-intro > p { font-size: 1rem; }
  .note-number { font-size: 2.75rem; }
  .hero-note p { font-size: .8125rem; }
  .hero-actions { gap: 1.25rem; flex-wrap: wrap; }
  .button { gap: 1.25rem; padding-inline: 1.2rem; }
  .hero-foot { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; font-size: .8125rem; }
  .section { padding-block: 4.5rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 2.5rem; }
  .section-label { margin-bottom: 1.3rem; }
  .section-intro { margin-left: 0; max-width: 31rem; }
  .project summary { grid-template-columns: 2rem minmax(0, 1fr) 2.75rem; gap: 1rem; padding-block: 1.7rem; }
  .project-stack { display: none; }
  .project-title { font-size: 2rem; }
  .project-description { font-size: 1rem; }
  .project-detail { grid-template-columns: 1fr; gap: 1.5rem; margin-left: 3rem; padding-bottom: 2rem; }
  .more-work { margin-top: 2.7rem; }
  .more-work-grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .more-work article p { max-width: 34rem; margin-bottom: .8rem; }
  .experience-layout { grid-template-columns: 1fr; gap: 2.75rem; }
  .experience-heading > p:last-child { max-width: 33rem; margin-top: 1.3rem; }
  .experience-heading h2 { font-size: clamp(2.2rem, 5vw, 3rem); }
  .experience-list li:first-child { border-top: 1px solid var(--line); padding-top: 1.8rem; }
  .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-note > p { max-width: 100%; }
  .skills-list > div { grid-template-columns: 8rem minmax(0, 1fr); }
  .contact-section { padding-block: 4rem 3rem; }
  .contact-top { flex-direction: column; align-items: start; gap: 1.5rem; }
  .contact-top h2 { font-size: clamp(2.4rem, 6.1vw, 3.3rem); }
  .contact-top p br { display: none; }
  .contact-email { margin-top: 1.75rem; gap: 1rem; }
  .contact-links { column-gap: 1.7rem; }
  .site-footer { flex-wrap: wrap; gap: .7rem 1.5rem; padding-block: 1.6rem; }
  .site-footer p { order: 3; width: 100%; }
}

@media (max-width: 34rem) {
  .wrap { width: calc(100% - 2.5rem); }
  h1 { font-size: clamp(2.05rem, 7.75vw, 3.4rem); }
  .hero-bottom { display: block; }
  .hero-note { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; padding-left: 0; border: none; }
  .hero-note .note-number { font-size: 2.3rem; letter-spacing: -.07em; }
  .note-number > span { font-size: 1.5rem; top: 0; }
  .hero-note p { margin-top: 0; font-size: .8125rem; line-height: 1.4; }
  .hero-note p br { display: none; }
  .hero-note p { max-width: 15rem; }
  .hero-foot { font-size: .8125rem; gap: .75rem .5rem; }
  h2 { font-size: 2.2rem; }
  .project summary { grid-template-columns: minmax(0, 1fr) 2.75rem; gap: .8rem; }
  .project-number { display: none; }
  .project-title { font-size: 1.8rem; }
  .project-detail { margin-left: 0; }
  .project-category { font-size: .8125rem; }
  .role-meta { gap: .7rem; }
  .experience-list h3 { font-size: 1.5rem; }
  .skills-list > div { grid-template-columns: 6.5rem minmax(0, 1fr); gap: .75rem; }
  .skills-list dd { font-size: 1rem; }
  .contact-top h2 { font-size: clamp(2rem, 7vw, 2.65rem); }
  .contact-email { font-size: clamp(1rem, 4.8vw, 1.5rem); gap: .7rem; }
  .contact-email svg { width: 1.25rem; height: 1.25rem; }
  .contact-links { gap: .5rem 1.4rem; }
}

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

@media print {
  :root { --bg: white; --surface: white; --text: #111; --muted: #444; --faint: #555; --line: #bbb; --accent: #33451d; }
  body { background: white; color: black; font-size: 10pt; }
  .site-header { position: static; background: white; }
  .main-nav, .resume-link, .hero-actions, .project-toggle, .back-top, .skip-link { display: none; }
  .wrap { width: 100%; }
  .hero { padding-top: 2rem; }
  .hero-content { grid-template-columns: minmax(0, 1fr) 10rem; gap: 2rem; margin-bottom: 1.5rem; }
  .hero-portrait { width: 100%; }
  h1 { font-size: 36pt; }
  h1 em, .experience-heading h2 em { color: #444; }
  .section { padding-block: 2rem; }
  .hero-foot { border-bottom: none; }
  .hero-bottom { margin-bottom: 1.5rem; }
  .hero-note { min-width: 12rem; }
  .project summary { grid-template-columns: 2rem 1fr 10rem; padding-block: 1rem; }
  .project-detail { display: none; }
  .project, .experience-list li, .more-work article, .skills-list > div { break-inside: avoid; }
  .experience-layout, .about-layout { gap: 2rem; }
  .role-title, .skills-list dd { color: #333; }
  .contact-section { background: white; color: black; border-top: 1px solid #bbb; padding-block: 2rem; }
  .contact-top h2 { font-size: 25pt; }
  .contact-section .section-label, .contact-section .section-label > span { color: #444; }
  .contact-email { font-size: 16pt; }
}
