:root {
  --bg: #eeeae2;
  --ink: #26221d;
  --accent: #1f6e6a;
  --brass: #a97c34;
  --rule: #c9c0b2;
  --display: "Roboto Slab", "Rockwell", "Times New Roman", serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;
  --header-h: 3.75rem;
  --measure: 40rem;
  --page: 72rem;
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: color-mix(in srgb, var(--accent) 22%, var(--bg));
  color: var(--ink);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.75rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  max-width: var(--page);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.wordmark:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.site-nav a:hover {
  color: var(--accent);
}

main {
  padding-top: var(--header-h);
}

.hero {
  min-height: calc(100svh - var(--header-h));
  max-width: var(--page);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  gap: 3rem;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4.6vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 14.5ch;
}

.hero-byline {
  margin: 1.75rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}

.name {
  font-family: var(--display);
  font-weight: 500;
  box-shadow: inset 0 -2px 0 var(--brass);
}

.byline-rest {
  color: color-mix(in srgb, var(--ink) 82%, var(--bg));
}

.hero-schematic {
  margin: 0;
  color: var(--accent);
  justify-self: start;
}

.hero-schematic svg {
  display: block;
  width: min(100%, 20rem);
  height: auto;
}

.schematic-label {
  fill: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.hero-schematic figcaption {
  margin-top: 0.65rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: color-mix(in srgb, var(--ink) 55%, var(--bg));
}

.section {
  max-width: var(--page);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.section-kicker {
  margin: 0 0 1.25rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-prose {
  max-width: var(--measure);
}

.about-prose::after {
  content: "";
  display: table;
  clear: both;
}

.about-photo {
  display: block;
  width: min(9.5rem, 46vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  margin: 0 0 1.25rem;
}

.about-prose p {
  margin: 0 0 1.25rem;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.proof h2,
.contact h2 {
  margin: 0 0 2rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.contact h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-photo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
}

.proof-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule);
}

.proof-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.proof-mark {
  color: var(--accent);
  font-family: var(--mono);
  line-height: 1.65;
}

.proof-list p {
  margin: 0;
}

.proof-close {
  margin: 2rem 0 0;
  max-width: var(--measure);
  font-weight: 500;
}

.contact-links {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
}

.contact-links .dot {
  margin: 0 0.65rem;
  color: var(--rule);
}

.contact-pro {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 78%, var(--bg));
}

.veritem-link {
  font-weight: 500;
}

.site-footer {
  max-width: var(--page);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.site-footer p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--ink) 50%, var(--bg));
}

.reveal {
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

#about,
#proof,
#contact,
#top {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

@media (min-width: 880px) {
  .header-inner,
  .hero,
  .section,
  .site-footer {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
    gap: 4rem;
    padding-top: 5.5rem;
    padding-bottom: 6rem;
  }

  .hero-schematic {
    justify-self: end;
  }
}

@media (min-width: 640px) {
  .about-photo {
    float: left;
    width: 12.5rem;
    margin: 0.2rem 1.6rem 0.85rem 0;
  }
}

@media (max-width: 420px) {
  .site-nav {
    gap: 0.85rem;
  }

  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .contact-links .dot {
    display: none;
  }
}
