:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --white: #fcfaf4;
  --ink: #1c221c;
  --muted: #50584e;
  --line: #d7d8ca;
  --dark: #1b241c;
  --acid: #dceda7;
  --accent: #424d24;
  --body: "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, "SFMono-Regular", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--body); }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #98601f; outline-offset: 4px; }
.skip { position: fixed; left: 1rem; top: .5rem; z-index: 10; background: var(--white); padding: .7rem 1rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.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; }
.capstone :focus-visible, .contact :focus-visible { outline-color: var(--acid); }
.actions .text-link { padding-inline: .35rem; }
.project .links { display: flex; flex-wrap: wrap; column-gap: 1.25rem; margin-top: .35rem; }
.project .links .text-link { margin-top: 0; }
.capstone .text-link { margin-top: .6rem; color: var(--acid); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: #ffcf9e; }
.form-status.is-ok { color: var(--acid); }
.form-note a { color: var(--acid); }
.form-sent { display: grid; gap: .6rem; align-content: start; border: 1px solid #606e54; padding: clamp(1rem, 3vw, 2rem); border-radius: 6px; background: #263125; }
.form-sent h3 { color: var(--acid); }
.form-sent p { margin: 0; }
.form-title { margin: 0; font: 700 1.15rem/1.3 var(--display); letter-spacing: -.02em; }
footer .bar { flex-wrap: wrap; }
footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; column-gap: 1.25rem; }
.wrap { width: min(100% - 96px, 1220px); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark, nav a { display: inline-flex; align-items: center; text-decoration: none; font-weight: 650; }
.wordmark { gap: .65rem; white-space: nowrap; }
.monogram { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%; font: 600 .8rem var(--mono); letter-spacing: -.05em; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.6rem, 2.3vw, 2rem); align-items: center; }
nav a { min-height: 44px; font-size: .9rem; }
nav a:hover, .text-link:hover, address a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-contact { padding: 0 14px; gap: .55rem; border: 1px solid var(--ink); border-radius: 4px; }
.menu { min-height: 44px; border: 1px solid var(--ink); border-radius: 4px; background: transparent; color: inherit; padding: 0 .65rem; }
.hero { padding-top: clamp(2.5rem, 6vw, 5.5rem); display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 2.5rem clamp(2rem, 5vw, 5rem); }
.eyebrow { font: 600 .76rem/1.6 var(--mono); letter-spacing: .075em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.dot { display: inline-block; width: .55rem; height: .55rem; background: #74853f; border-radius: 50%; margin-right: .35rem; }
.slash { color: #687150; margin: 0 .15rem; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.04; letter-spacing: -.045em; font-weight: 700; }
h1 { font-size: clamp(3.15rem, 7vw, 7rem); letter-spacing: -.078em; }
h1 span { color: #788645; }
h2 { font-size: clamp(2.35rem, 5.4vw, 5rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.lead { font-size: clamp(1.14rem, 2vw, 1.6rem); font-weight: 650; line-height: 1.3; margin: 1.35rem 0 .75rem; }
.hero-description { max-width: 46ch; color: var(--muted); margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.button { min-height: 48px; padding: .7rem 1rem; border-radius: 4px; border: 1px solid transparent; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .85rem; font-weight: 700; transition: background-color .2s, color .2s, border-color .2s; }
.primary { color: var(--ink); background: var(--acid); border-color: #aab881; }
.primary:hover { background: #c8dc87; }
.secondary { border-color: #9ca18e; }
.secondary:hover { background: #eae7da; }
.hero-figure { position: relative; margin: 0; border: 1px solid #363f31; background: #191e18; border-radius: 6px; overflow: hidden; }
.hero-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.hero-figure figcaption { background: #191e18; color: #e7ebd8; padding: .72rem .9rem; display: flex; justify-content: space-between; gap: .75rem; font: .69rem/1.5 var(--mono); }
.hero-figure figcaption span { color: #b9c5a7; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); grid-column: 1 / -1; border-block: 1px solid var(--line); margin: 0 0 clamp(2.5rem, 5vw, 4.5rem); }
.facts div { display: flex; flex-direction: column-reverse; padding: 1.15rem 1.5rem; gap: .25rem; }
.facts div:first-child { padding-left: 0; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .86rem; }
.facts dd { margin: 0; font: 700 clamp(1.8rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.05em; }
.section { padding-block: clamp(3.8rem, 8vw, 7.5rem); }
.section-head { display: grid; grid-template-columns: 1.65fr 1fr; align-items: end; gap: 1.25rem; margin-bottom: 2.25rem; }
.section-head > p { color: var(--muted); margin: 0 0 .15rem; max-width: 41ch; }
.projects { background: var(--white); border-block: 1px solid var(--line); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.project { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.25rem, 3.2vw, 2.6rem); background: var(--paper); }
.project.featured { background: #e9edda; border-color: #ccd4b7; }
.project .eyebrow { margin-bottom: .65rem; }
.metric { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .6rem; margin: 1.1rem 0 .55rem; color: var(--accent); }
.metric strong { font: 700 clamp(1.85rem, 3.7vw, 3.5rem)/1 var(--display); letter-spacing: -.06em; }
.metric span { font-weight: 650; }
.description { margin: 0 0 1.15rem; color: var(--muted); }
.tools { color: var(--accent); margin: auto 0 0; padding-top: .8rem; border-top: 1px solid var(--line); font: .8rem/1.65 var(--mono); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: .55rem; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.project .text-link { align-self: start; margin-top: .35rem; }
.role { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.25rem 2rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.role:last-child { border-bottom: 1px solid var(--line); }
.role p { margin: .35rem 0 .6rem; }
.role-context { color: var(--muted); }
.role ul { margin: .75rem 0 0; padding-left: 1.2rem; }
.role li + li { margin-top: .5rem; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.8rem, 7vw, 7rem); align-items: start; }
.split h2 + p { margin-top: 1.35rem; }
.split p:not(.eyebrow) { max-width: 60ch; }
.capstone, .contact { background: var(--dark); color: #f1f3e7; }
.capstone .eyebrow, .contact .eyebrow { color: var(--acid); }
.spec { padding: 0 1.35rem; border: 1px solid #606e54; border-radius: 5px; background: #263125; }
.spec dl, .skills dl { margin: 0; }
.spec dl div, .skills dl div { padding: .95rem 0; border-bottom: 1px solid var(--line); }
.spec dl div { border-color: #606e54; }
.spec dl div:last-child, .skills dl div:last-child { border-bottom: 0; }
.spec dt, .skills dt { font-weight: 700; }
.spec dt { color: var(--acid); }
.spec dd, .skills dd { margin: .15rem 0 0; }
.skills { border-top: 1px solid var(--line); padding-top: 1rem; }
.skills dd { color: var(--muted); }
.outcome-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; align-items: start; }
details { border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
summary { display: flex; gap: .8rem; align-items: center; padding: .8rem 1rem; min-height: 52px; font-weight: 650; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover { background: #e9edda; }
details > p { margin: 0; padding: 0 1rem 1rem; color: var(--muted); }
.number { font: .8rem var(--mono); color: var(--accent); }
.plus { position: relative; flex: 0 0 12px; height: 12px; margin-left: auto; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; top: 5px; left: 0; height: 2px; width: 12px; }
.plus::after { transform: rotate(90deg); transition: transform .18s; }
details[open] .plus::after { transform: rotate(0); }
.reflection { margin-top: 1rem; }
.reflection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; padding: .8rem 1rem 1rem; }
.reflection-grid h3 { font-size: 1.18rem; }
.reflection-grid p { margin: .45rem 0 0; color: var(--muted); }
address { font-style: normal; display: flex; flex-direction: column; align-items: flex-start; margin-top: 1.4rem; }
address a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; gap: .65rem; color: var(--acid); overflow-wrap: anywhere; }
address p { margin: .35rem 0 0; }
form { display: grid; gap: .85rem; border: 1px solid #606e54; padding: clamp(1rem, 3vw, 2rem); border-radius: 6px; background: #263125; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
label { display: block; font-weight: 600; }
label span { font-weight: 400; color: #c2cbb6; }
input, textarea { width: 100%; color: #f1f3e7; background: #19241a; border: 1px solid #74836a; border-radius: 3px; margin-top: .25rem; padding: .55rem .65rem; min-height: 44px; }
textarea { resize: vertical; display: block; }
.form-note { margin: 0; font-size: .85rem; color: #d4dbca; }
footer { color: var(--muted); font-size: .85rem; }
@keyframes enter { from { opacity: .6; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .intro { animation: enter .42s ease-out both; }
  .hero-figure { animation: enter .55s ease-out both; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 1.65rem; }
  nav { gap: .85rem; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  .wrap { width: calc(100% - 36px); }
  .bar { min-height: 62px; flex-wrap: wrap; gap: .25rem 1rem; }
  nav { flex-basis: 100%; padding: .45rem 0 .75rem; gap: .35rem 1rem; }
  .js nav { display: none; }
  .js nav.is-open { display: grid; gap: 0; border-top: 1px solid var(--line); }
  .js nav a { padding: 0 .35rem; }
  .js .nav-contact { border: 0; }
  .hero, .section-head, .split, .role { grid-template-columns: 1fr; }
  .hero { padding-top: 2.6rem; }
  .hero-figure { max-width: 500px; }
  .hero-figure img { aspect-ratio: 1.15; }
  .section-head { gap: .75rem; }
  .project-grid, .outcome-grid { grid-template-columns: 1fr; }
  .facts div { padding: .85rem .55rem; }
  .facts dt { font-size: .76rem; line-height: 1.4; }
  .role { gap: .55rem; }
}
@media (max-width: 380px) {
  .wordmark { font-size: .86rem; }
  .hero .eyebrow { font-size: .68rem; }
  .field-row, .reflection-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
