:root {
  color-scheme: light;
  --paper: #f9f8f5;
  --white: #fffefa;
  --ink: #201e24;
  --muted: #57525a;
  --wine: #6e3045;
  --wine-dark: #512032;
  --line: #d9d3d0;
  --night: #27242c;
  --serif: Baskerville, "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --measure: 70rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, p, figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
}

a {
  color: inherit;
  text-underline-offset: .21em;
  text-decoration-thickness: .07em;
}

a:hover { color: var(--wine); }

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}

#main:focus { outline: none; }

.shell {
  width: min(calc(100% - 5rem), var(--measure));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: .75rem;
  left: .75rem;
  padding: .6rem 1rem;
  transform: translateY(-180%);
  background: var(--white);
}

.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: none;
}

.monogram {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid var(--wine);
  color: var(--wine);
  font-size: 1.05rem;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem clamp(.8rem, 3vw, 2.4rem);
  color: var(--muted);
}

.site-header nav a {
  padding-block: .45rem;
  font-size: .875rem;
  font-weight: 550;
  text-decoration: none;
}

.site-header nav a:hover { text-decoration: underline; }

.hero {
  display: grid;
  min-height: 35rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.3rem);
  padding-block: clamp(3.1rem, 6vw, 5rem);
}

.hero-copy { padding-bottom: 1.5rem; }

.eyebrow, .entry-date {
  color: var(--wine);
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.35rem;
}

.hero-kicker::before {
  width: 1.85rem;
  height: 1px;
  background: currentColor;
  content: "";
}

h1 {
  font-size: clamp(3.5rem, 7.3vw, 7rem);
  line-height: .97;
  letter-spacing: -.059em;
}

.hero-role {
  margin-top: 1.1rem;
  color: var(--wine);
  font: 400 clamp(1.32rem, 2.2vw, 1.83rem)/1.2 var(--serif);
}

.hero-intro {
  max-width: 26rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .95rem 1.55rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 3rem;
  padding: .65rem 1rem;
  background: var(--wine);
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  background: var(--wine-dark);
  color: var(--white);
}

.file-type {
  color: #eee3e8;
  font-size: .8125rem;
  font-weight: 450;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .9rem;
  font-weight: 600;
}

.hero-figure { min-width: 0; }

.photo-frame {
  position: relative;
  aspect-ratio: .97;
  overflow: hidden;
  background: #c5c2c4;
}

.photo-frame::after {
  position: absolute;
  inset: .65rem;
  border: 1px solid rgb(255 255 255 / .4);
  content: "";
  pointer-events: none;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 50%;
  filter: grayscale(1) contrast(.94);
}

.hero-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  margin-top: .8rem;
  color: var(--muted);
  font-size: .8125rem;
}

.hero-figure figcaption span {
  font-weight: 600;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.region { border-top: 1px solid var(--line); }

.education { background: var(--white); }

.section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: clamp(1.8rem, 5vw, 5rem);
  padding-block: clamp(2.8rem, 5.4vw, 4.7rem);
}

h2 {
  font-size: clamp(2.75rem, 5.2vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.045em;
}

h3 {
  margin-top: .35rem;
  font-size: clamp(1.6rem, 2.6vw, 2.13rem);
  line-height: 1.13;
  letter-spacing: -.015em;
}

.entry { padding-block: 1.55rem; }

.entry:first-child { padding-top: 0; }

.entry:last-child { padding-bottom: 0; }

.entry + .entry { border-top: 1px solid var(--line); }

.entry-detail {
  margin-top: .35rem;
  color: var(--wine);
  font-size: .95rem;
  font-weight: 550;
}

.entry p:last-child {
  max-width: 37rem;
  margin-top: .55rem;
  color: var(--muted);
}

.involvement { background: #f2eeeb; }

.involvement h2 { font-size: clamp(2.6rem, 4.5vw, 3.8rem); }

.involvement-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.involvement-list li {
  display: grid;
  gap: .15rem;
  padding-block: .8rem;
}

.involvement-list li:first-child { padding-top: 0; }

.involvement-list li:last-child { padding-bottom: 0; }

.involvement-list li + li { border-top: 1px solid var(--line); }

.involvement-list strong { font-weight: 650; }

.involvement-list span {
  color: var(--muted);
  font-size: .9rem;
}

.contact {
  background: var(--night);
  color: var(--paper);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  align-items: center;
  gap: 1.3rem clamp(1.8rem, 5vw, 5rem);
  padding-block: clamp(2.7rem, 5vw, 4.25rem);
}

.contact a:hover { color: #f4cbd9; }

.contact a:focus-visible { outline-color: #f4cbd9; }

.contact-links {
  display: grid;
  justify-items: start;
}

.contact-email {
  overflow-wrap: anywhere;
  font: 400 clamp(1.5rem, 2.6vw, 2.45rem)/1.28 var(--serif);
}

.contact .text-link { color: #e2d8dd; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1.25rem;
  padding-block: 1.2rem;
  color: var(--muted);
  font-size: .8125rem;
}

@media (max-width: 53rem) {
  .shell { width: min(calc(100% - 3rem), var(--measure)); }
  .hero { gap: 1.6rem; }
  .hero-copy { padding-bottom: 0; }
  .photo-frame { aspect-ratio: .87; }
}

@media (max-width: 41rem) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner {
    min-height: auto;
    flex-wrap: wrap;
    gap: .3rem 1rem;
    padding-block: .7rem;
  }
  .wordmark { font-size: 1.18rem; }
  .wordmark > span:last-child { display: none; }
  .site-header nav { gap: .1rem clamp(.75rem, 4vw, 1.4rem); }
  .site-header nav a { padding-block: .65rem; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding-block: 2.8rem 2.1rem;
  }
  .hero-kicker { margin-bottom: 1rem; }
  h1 { font-size: clamp(3.1rem, 11.5vw, 4.8rem); }
  .hero-role { margin-top: .8rem; }
  .hero-intro { margin-top: 1rem; }
  .hero-actions { margin-top: 1.2rem; }
  .photo-frame { aspect-ratio: 1.6; }
  .section-layout, .contact-inner { grid-template-columns: 1fr; }
  .desktop-break { display: none; }
}

@media print {
  .site-header, .skip-link, .hero-figure, .hero-actions, .contact, .site-footer { display: none; }
  body, .education, .involvement { background: white; color: black; }
  .shell { width: 100%; }
  .hero, .section-layout {
    display: block;
    min-height: 0;
    padding-block: 1rem;
  }
  .hero-copy { padding: 0; }
  .hero-kicker { margin-bottom: .5rem; }
  h1 { font-size: 3rem; }
  h2, .involvement h2 { margin-bottom: .8rem; font-size: 2rem; }
  h3 { font-size: 1.25rem; }
  .entry { padding-block: .6rem; break-inside: avoid; }
  .desktop-break { display: none; }
}
