:root {
  color-scheme: light;
  --paper: #f5f5ed;
  --ink: #152724;
  --muted: #42534f;
  --orange: #ff794f;
  --line: #c2cac0;
  font: 100%/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #b74624; outline-offset: 5px; }
a:hover { text-decoration: underline; text-underline-offset: .3em; }
.wrap { width: min(100% - 3.5rem, 72rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .75rem; left: .75rem; background: white; color: var(--ink); padding: .6rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.top, footer { background: var(--ink); color: var(--paper); }
.top { border-bottom: 1px solid #4d625b; }
.bar, nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.bar { min-height: 4.5rem; }
.bar a { text-decoration: none; }
.bar a:hover { text-decoration: underline; }
.brand { font-weight: 760; letter-spacing: -.025em; }
.hero {
  background-color: var(--ink);
  background-image: linear-gradient(90deg, var(--ink) 15%, transparent 95%), repeating-linear-gradient(0deg, transparent 0 31px, #ffffff13 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, #ffffff13 31px 32px);
  color: var(--paper);
}
.mast { padding-block: clamp(3.5rem, 11vw, 8rem); display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(13rem, 1fr); align-items: end; gap: 3rem; }
.kicker, .discipline { margin: 0 0 1rem; font: 700 .875rem/1.4 ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .09em; }
.hero .kicker, h1 span { color: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.05em; }
h1 { margin-bottom: 1.5rem; font-size: clamp(2.6rem, 7.7vw, 7rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2.15rem, 5.6vw, 4.3rem); }
h3 { font-size: clamp(1.75rem, 3vw, 2.55rem); margin-bottom: .8rem; }
.intro { max-width: 35rem; color: #d9e2da; font-size: 1.15rem; margin-bottom: 1.75rem; }
.button { display: inline-block; background: var(--orange); color: var(--ink); padding: .75rem 1rem; border: 1px solid var(--ink); font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { background: #ffa48b; color: var(--ink); }
.button[hidden] { display: none; }
.hero-notes { border-top: 2px solid var(--orange); background: var(--ink); padding: 1rem 0 .3rem; }
.hero-notes p { color: #d9e2da; font-weight: 700; margin-bottom: .4rem; }
.hero-notes ul { padding: 0; margin: 0; list-style: none; }
.hero-notes li { padding: .55rem 0; border-top: 1px solid #4d625b; }
.hero-notes li:first-child { border: 0; }
.work, .experience { padding-block: clamp(3rem, 8vw, 6rem); }
.section-head { margin-bottom: 2rem; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.projects article { padding: 1.6rem; border-inline-start: 1px solid var(--line); }
.projects article:first-child { border: 0; padding-left: 0; }
.discipline { color: #82341e; letter-spacing: .035em; }
.projects p:not(.discipline), .role, dd { color: var(--muted); }
details { padding-top: .9rem; border-top: 1px solid var(--line); }
summary { width: fit-content; font-weight: 700; cursor: pointer; }
dl { margin: .85rem 0 0; }
dt { font-weight: 750; }
dd { margin: .15rem 0 .65rem; }
.experience { background: #e3ebdf; }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.role { max-width: 26rem; }
.responsibilities { margin: 0 0 1.5rem; }
.responsibilities div { padding-top: .8rem; border-top: 1px solid var(--line); }
footer { font-size: .95rem; }
@media (max-width: 48rem) {
  .wrap { width: min(100% - 2.25rem, 72rem); }
  .mast, .experience-grid, .projects { grid-template-columns: 1fr; gap: 1.5rem; }
  .mast { gap: 2.5rem; }
  .hero-notes { max-width: 24rem; }
  .projects { gap: 0; }
  .projects article, .projects article:first-child { padding: 1.35rem 0; border-inline-start: 0; }
  .projects article + article { border-top: 1px solid var(--line); }
}
@media (max-width: 23rem) {
  .bar, nav { gap: .65rem; }
  .bar { flex-wrap: wrap; padding-block: .75rem; }
  h1 { font-size: 2.4rem; }
}
@media print {
  .top, .hero, .work, footer, .skip, .print { display: none !important; }
  body, .experience { background: white; }
  .experience { padding: 0; }
  .wrap { width: 100%; }
  .experience-grid { display: block; }
  h2 { font-size: 2rem; }
  .responsibilities div { break-inside: avoid; }
}

