:root {
  --background: #f7f3ea;
  --surface: #fffdf8;
  --ink: #071f49;
  --text: #333333;
  --muted: #666666;
  --line: #d8d2c5;
  --hover: #efe8d8;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 76px;
  justify-content: space-between;
  padding: 0 max(48px, calc((100vw - var(--max-width)) / 2));
  position: sticky;
  top: 0;
  z-index: 10;
}

.wordmark,
h1,
h2 {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
}

.wordmark {
  font-size: 23px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  gap: 34px;
}

.site-nav a {
  color: #20242a;
  font-size: 13px;
  font-weight: 500;
  padding: 25px 0 20px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active {
  border-bottom: 3px solid var(--ink);
}

.section-band {
  border-bottom: 1px solid var(--line);
}

.hero {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) 268px;
  margin: 0 auto;
  max-width: var(--max-width);
  min-height: 360px;
  padding: 48px 48px 42px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(44px, 5vw, 58px);
  font-weight: 500;
  line-height: 0.95;
  margin: 0;
}

.short-rule {
  background: var(--ink);
  height: 2px;
  margin: 24px 0 20px;
  width: 46px;
}

.short-rule.small {
  height: 2px;
  margin: 12px 0 24px;
  width: 34px;
}

.lede {
  color: #3b3f45;
  font-size: 15.5px;
  line-height: 1.58;
  margin: 0;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  gap: 28px;
  margin-top: 36px;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  height: 56px;
  justify-content: center;
  min-width: 182px;
  padding: 0 28px;
}

.button-primary {
  background: var(--ink);
  color: #ffffff;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.text-link:hover {
  background: var(--hover);
  color: var(--ink);
}

.button-primary:hover {
  border-color: var(--ink);
}

.portrait-wrap {
  align-self: center;
  margin: 0;
}

.portrait-placeholder {
  align-items: center;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(140deg, rgba(7, 31, 73, 0.05), rgba(7, 31, 73, 0.16)),
    #d8d8d5;
  display: flex;
  filter: grayscale(1);
  justify-content: center;
  width: 100%;
}

.portrait-placeholder span {
  color: rgba(7, 31, 73, 0.28);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 62px;
  font-weight: 600;
}

figcaption {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}

.overview-grid {
  display: grid;
  gap: 72px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 38px 48px 52px;
}

.overview-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.overview-section {
  min-width: 0;
}

.section-icon {
  color: var(--ink);
  height: 28px;
  margin-bottom: 10px;
  width: 28px;
}

.section-icon svg {
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 100%;
}

h2 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

ul {
  font-size: 14px;
  margin: 0;
  padding-left: 20px;
}

li + li {
  margin-top: 3px;
}

.cv-item {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.cv-item h3,
.writing-list strong {
  color: #17191d;
  display: block;
  font-size: 14px;
  line-height: 1.25;
  margin: 0;
}

.cv-item p {
  font-size: 14px;
  font-style: italic;
  margin: 3px 0 0;
}

.cv-item span,
.writing-list span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 2px;
}

.writing-list {
  display: grid;
  gap: 0;
}

.writing-list a {
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
}

.writing-list a + a {
  padding-top: 12px;
}

.text-link {
  color: var(--ink);
  display: inline-flex;
  font-weight: 500;
  margin-top: 34px;
}

.text-link::after {
  content: "\2192";
  margin-left: 9px;
}

.contact-section {
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 32px 48px;
}

.contact-section .eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-section h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  max-width: 760px;
}

.contact-section a {
  color: var(--ink);
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 24px;
}

.contact-section .email-link {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  margin-top: 0;
}

.email-link svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 20px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 26px 32px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    height: auto;
    padding: 22px 24px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 18px 26px;
    justify-content: flex-end;
  }

  .site-nav a {
    padding: 4px 0 6px;
  }

  .hero {
    gap: 42px;
    grid-template-columns: 1fr;
    padding: 46px 24px 42px;
  }

  .portrait-wrap {
    max-width: 260px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    padding: 44px 24px 56px;
  }

  .overview-grid.two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    display: block;
  }

  .wordmark {
    display: inline-block;
    margin-bottom: 18px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 44px;
  }

  .eyebrow {
    font-size: 23px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .button {
    width: 100%;
  }
}
