@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #111d39;
  --paper: #ffffff;
  --blue: #1456f6;
  --blue-hover: #103fb9;
  --pink: #dd1475;
  --pink-wash: #fff0f7;
  --muted: #43516b;
  --line: #cbd5ee;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.feature :focus-visible, .site-foot :focus-visible { outline-color: var(--paper); }
.skip { position: absolute; left: 1rem; top: .6rem; transform: translateY(-160%); z-index: 5; padding: .7rem 1rem; background: white; color: var(--ink); }
.skip:focus { transform: none; }
.frame { width: min(calc(100% - clamp(2.5rem, 9vw, 10rem)), 75rem); margin-inline: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; }
h1 { font-size: clamp(4.5rem, 8vw, 7.75rem); line-height: .94; letter-spacing: -.028em; }
h2 { font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: .97; letter-spacing: -.022em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: -.04em; line-height: 1.14; }
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.head-inner, .brand, .site-head nav, .foot-inner, .foot-inner > div, .actions, .portrait figcaption { display: flex; align-items: center; }
.head-inner { min-height: 4.75rem; justify-content: space-between; gap: 1rem; }
.brand { gap: .7rem; font-size: 1.14rem; font-weight: 750; letter-spacing: -.045em; text-decoration: none; }
.monogram { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--blue); color: var(--paper); font: 800 1.7rem/1 var(--display); letter-spacing: -.045em; }
.site-head nav { gap: clamp(.7rem, 3vw, 2.4rem); }
.site-head nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; color: var(--ink); text-decoration: none; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--blue); text-decoration: underline; text-underline-offset: .38em; }
.overline, .project-type { font-size: .8rem; font-weight: 750; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; }
.overline { color: var(--blue); display: flex; align-items: center; gap: .8rem; margin-bottom: 1.12rem; }
.overline::before { content: ""; flex: none; width: 1.75rem; height: 3px; background: var(--pink); }
.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.33fr) minmax(0, .88fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); padding-block: clamp(2.75rem, 5.8vw, 6.25rem); }
.hero h1 { color: var(--blue); font-size: clamp(6.8rem, 10.8vw, 10.9rem); line-height: .79; letter-spacing: -.033em; margin: 1.45rem 0 1.55rem; }
.hero h1 em { color: var(--pink); font-style: normal; }
.hero-lead { color: var(--ink); font-size: clamp(1.08rem, 1.36vw, 1.28rem); line-height: 1.5; max-width: 43ch; }
.actions { flex-wrap: wrap; gap: .9rem 1.65rem; margin-top: 1.55rem; }
.button, .text-link { font-weight: 700; font-size: .98rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .75rem 1.25rem; background: var(--blue); color: var(--paper); text-decoration: none; border: 1px solid transparent; }
.button:hover { background: var(--blue-hover); }
.text-link { color: var(--blue); display: inline-block; padding-block: .45rem; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; }
.text-link:hover { text-decoration-thickness: 2px; }
.portrait { width: 100%; max-width: 28.75rem; justify-self: end; position: relative; padding-right: .85rem; }
.portrait-window { position: relative; isolation: isolate; }
.portrait-window::before { content: ""; position: absolute; z-index: -1; inset: .65rem -.65rem -.65rem .65rem; border-radius: 50%; background: repeating-linear-gradient(135deg, var(--pink) 0 2px, transparent 2px 8px); }
.portrait-crop { overflow: hidden; border-radius: 50%; background: var(--paper); }
.portrait-crop img { width: 100%; height: auto; transform: scale(1.1); filter: grayscale(1) contrast(1.035); }
.portrait figcaption { justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; padding-top: 1.6rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.section { padding-block: clamp(3.4rem, 6.5vw, 6.1rem); }
.feature, .site-foot { background: var(--blue); color: var(--paper); }
.feature .overline, .feature .text-link { color: inherit; }
.feature .overline::before { background: currentColor; }
.case-grid, .split { display: grid; align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.case-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .82fr); align-items: center; }
.case-summary > p, .flow > p, .observations dd { font-size: clamp(1.08rem, 1.44vw, 1.28rem); line-height: 1.55; }
.case-summary { max-width: 44ch; }
.case-summary a { margin-top: .7rem; }
.split { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
.projects h2, .support h2 { margin-bottom: clamp(1.75rem, 3.4vw, 3rem); }
.project-row { display: grid; grid-template-columns: minmax(8rem,.62fr) minmax(0,1.5fr) minmax(9rem,.75fr); gap: 2rem; align-items: start; border-top: 1px solid var(--line); padding-block: 1.75rem; }
.project-row:last-child { border-bottom: 1px solid var(--line); }
.project-type { color: var(--muted); letter-spacing: .055em; padding-top: .28rem; }
.project-row p { max-width: 55ch; margin-top: .55rem; color: var(--muted); }
.project-row > a, .project-note { justify-self: end; }
.project-note { font-size: .9rem; line-height: 1.4; color: var(--muted); text-align: right; margin-top: .2rem; }
.foot-inner { min-height: 6rem; justify-content: space-between; gap: 1rem; padding-block: 1.35rem; }
.foot-inner p { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; }
.foot-inner strong { font-weight: 750; }
.foot-inner span, .foot-inner a { color: var(--paper); font-size: .93rem; }
.foot-inner > div { gap: 1.5rem; }
.page-intro { border-bottom: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6.8rem); }
.page-intro h1, .projects h2, .support h2, .resume-title h1, .resume-layout h2 { color: var(--blue); }
.intro-copy { margin-top: 1.3rem; font-size: clamp(1.13rem, 1.6vw, 1.45rem); color: var(--ink); max-width: 49ch; }
.aside-copy { color: var(--muted); margin-top: 1.4rem; }
.observations { border-top: 3px solid var(--ink); }
.observations dt { font-weight: 750; margin-top: 1.1rem; }
.observations dd { margin-top: .35rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.support { background: var(--pink-wash); }
.support-list > div { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 2rem; border-top: 1px solid var(--line); padding-block: 1.3rem; }
.support-list > div:last-child { border-bottom: 1px solid var(--line); }
.support-list dt { font-weight: 750; font-size: 1.18rem; }
.support-list dd { max-width: 62ch; }
.email-link { display: inline-block; color: var(--blue); text-decoration-color: var(--pink); font-size: clamp(1.06rem, 2.25vw, 2rem); font-weight: 650; margin-top: 1.5rem; overflow-wrap: anywhere; }
.flow > * + * { margin-top: 1.22rem; }
.letter { max-width: 47rem; min-height: 22rem; }
.signature { font-family: var(--display); font-weight: 800; text-transform: uppercase; }
.resume-page { padding-block: clamp(2.75rem, 5.5vw, 5.2rem); }
.resume-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 3px solid var(--pink); }
.resume-title h1 { font-size: clamp(3.5rem, 6.7vw, 7rem); }
.resume-role { margin-top: .55rem; font-weight: 650; font-size: 1.27rem; }
.resume-meta, .entry-meta { color: var(--muted); font-size: .96rem; }
.resume-meta { margin-top: .25rem; overflow-wrap: anywhere; }
.resume-meta span { margin-inline: .2em; }
.resume-title .button { flex: none; }
.resume-layout { display: grid; grid-template-columns: minmax(0,1.46fr) minmax(0,.8fr); gap: clamp(2.5rem,6vw,6rem); }
.resume-layout section { margin-top: 2.3rem; }
.resume-layout h2 { font-size: 2.15rem; margin-bottom: 1rem; }
.resume-layout h3 { font-size: 1.32rem; }
.resume-layout ul { margin: .45rem 0 1.6rem; padding-left: 1.15rem; }
.resume-layout li + li, .resume-layout h3 + p { margin-top: .25rem; }
.resume-layout p + p { margin-top: .75rem; }
.print-portfolio { display: none; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); margin-top: 2.4rem; }
.field-pair article { border-top: 1px solid #9db7ff; padding-top: 1.3rem; }
.field-pair h3 { max-width: 25ch; margin-bottom: .75rem; }
.field-pair article > p:not(.overline) { max-width: 49ch; }
.field-pair .text-link { margin-top: .55rem; }
.credentials, .evidence-section { background: var(--pink-wash); }
.credential-list > div { padding: .75rem 0; border-top: 1px solid var(--line); }
.credential-list dt, .lab-result figcaption { font-weight: 750; }
.credential-list dd { color: var(--ink); }
.evidence img { width: 100%; height: auto; border: 1px solid var(--line); }
.evidence figcaption { margin-top: .55rem; font-size: .93rem; color: var(--muted); }
.lab-result { background: var(--ink); color: var(--paper); padding: clamp(.9rem, 2vw, 1.5rem); }
.lab-result figcaption { font-size: .95rem; }
.lab-result pre { margin: .75rem 0 0; white-space: pre-wrap; font-size: clamp(.83rem, 2vw, 1rem); }
@media (max-width: 42rem) { .field-pair { grid-template-columns: 1fr; } }
@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); gap: 2.1rem; }
  .hero h1 { color: var(--blue); font-size: clamp(5.6rem, 12vw, 7rem); }
  .hero .overline { font-size: .75rem; }
  .project-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.4rem; row-gap: .65rem; }
  .project-type { grid-column: 1 / -1; }
  .resume-title { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 42rem) {
  .head-inner { flex-wrap: wrap; gap: .2rem .8rem; padding-block: .65rem .35rem; }
  .site-head nav { justify-content: space-between; width: 100%; gap: .5rem; }
  .brand { min-height: 2.3rem; }
  .hero-grid, .case-grid, .split, .resume-layout { grid-template-columns: minmax(0,1fr); }
  .hero-grid { gap: 2.4rem; padding-block: 2.8rem 2.3rem; }
  .hero h1 { color: var(--blue); font-size: clamp(5.9rem, 17vw, 8.3rem); }
  .portrait { justify-self: start; width: 100%; max-width: 24rem; }
  .portrait figcaption { padding-top: 1.35rem; }
  .case-grid, .split { gap: 1.35rem; }
  .desktop-break { display: none; }
  .project-row { display: block; }
  .project-type { margin-bottom: .55rem; }
  .project-row > a, .project-note { display: inline-block; margin-top: .7rem; text-align: left; }
  .support-list > div { grid-template-columns: minmax(0,1fr); gap: .3rem; }
  .resume-layout { gap: 0; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}
@media print {
  @page { size: letter; margin: .47in .55in; }
  body { color: #111; background: white; font: 9.5pt/1.28 Arial, sans-serif; }
  .site-head, .site-foot, .skip, .resume-title .button, .resume-page .actions, .resume-title .overline { display: none; }
  .resume-page { width: 100%; padding: 0; }
  .resume-title { display: block; border-bottom: 1.5pt solid #222; padding-bottom: .1in; }
  .resume-title h1 { font: 800 32pt/.98 var(--display); }
  .resume-role { margin-top: 3pt; font-size: 12pt; }
  .resume-meta, .entry-meta { color: #333; font-size: 9pt; }
  .resume-meta { margin-top: 3pt; }
  .resume-layout { display: block; }
  .resume-layout section { margin-top: 8pt; }
  .resume-layout h2 { font: bold 11pt/1.12 Arial, sans-serif; letter-spacing: .01em; margin: 0 0 4pt; }
  .resume-layout h3 { font-size: 10.3pt; letter-spacing: 0; }
  .resume-layout ul { margin: 2pt 0 5pt; padding-left: 13pt; }
  .resume-layout li + li, .resume-layout h3 + p, .resume-layout p + p { margin-top: 2pt; }
  .resume-side p br { display: none; }
  .resume-side p strong { margin-right: 3pt; }
  .resume-side p strong::after { content: " "; }
  .print-portfolio { display: block; border-top: .5pt solid #777; padding-top: 4pt; margin-top: 7pt; }
  a { color: #111; text-decoration: none; }
}
