:root {
  color-scheme: dark;
  --ink: #eeeae2;
  --muted: #a9aaab;
  --dim: #707274;
  --paper: #050505;
  --rule: rgb(233 229 223 / 22%);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 74% 15%, rgb(255 255 255 / 2.2%), transparent 42%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.012) 0 1px, transparent 1px 4px),
    var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.26'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: max(1rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
  padding: .75rem 1rem;
  color: #080808;
  background: var(--ink);
}

.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page {
  width: 100%;
  min-height: 100svh;
  padding: 28px 20px 40px;
  display: grid;
  grid-template-columns: 1fr;
}

.sidebar {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 32px;
}

.monogram {
  position: relative;
  width: 58px;
  height: 58px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  background: var(--paper);
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--dim);
  transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.monogram:hover {
  color: #fff;
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--ink);
}

.details {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.details > div {
  min-width: 0;
}

.details > div:last-child { grid-column: 1 / -1; }

dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

dd a {
  color: var(--ink);
  text-decoration-color: var(--dim);
  text-underline-offset: .2em;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

dd a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

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

time { font-variant-numeric: tabular-nums; }

.content {
  min-width: 0;
  padding: 52px 0 0;
  display: flex;
  flex-direction: column;
}

.intro {
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
}

h1 {
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(47px, 14vw, 72px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.06em;
}

h1 > span { display: block; }

.name {
  margin: 0;
  font-size: clamp(34px, 9vw, 48px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.045em;
}

.role {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.25;
}

.statement {
  padding: 0 0 38px;
  border-bottom: 1px solid var(--rule);
}

.supporting {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.keep-together { white-space: nowrap; }

.links {
  padding-top: clamp(34px, 5vh, 52px);
  display: flex;
  align-items: center;
  gap: 0;
}

.links a {
  padding: 5px 8px;
  color: var(--ink);
  font-size: 20px;
  text-underline-offset: .22em;
  transition: color 150ms ease, background 150ms ease, text-decoration-color 150ms ease;
}

.links a:hover {
  color: #fff;
  background: transparent;
  text-decoration-color: #fff;
}

.links a:focus-visible, .monogram:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }

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

@media (min-width: 581px) {
  .page {
    padding: 28px 24px 40px;
  }

  .sidebar {
    grid-template-columns: 64px 1fr;
    align-items: start;
    gap: 28px;
  }

  .details { grid-template-columns: repeat(3, 1fr); }
  .details > div:last-child { grid-column: auto; }
  h1 { font-size: clamp(58px, 11vw, 86px); }
}

@media (min-width: 861px) {
  .page {
    padding: clamp(44px, 7vh, 72px) clamp(28px, 4vw, 64px);
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    gap: clamp(54px, 6vw, 100px);
  }

  .sidebar {
    min-height: calc(100svh - clamp(90px, 14vh, 146px));
    padding: 0 clamp(40px, 4vw, 64px) 0 0;
    border-right: 1px solid var(--rule);
    border-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .monogram { width: 70px; height: 70px; font-size: 39px; }
  .details { margin: clamp(80px, 18vh, 210px) 0 auto; display: block; }
  .details > div { padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--rule); }
  .details > div:last-child { margin-bottom: 0; border-bottom: 0; }
  dt { margin-bottom: 12px; font-size: 16px; }
  dd { font-size: 19px; }
  .content { padding: 0 0 28px; }
  .statement { padding-bottom: clamp(38px, 5vh, 54px); }
  h1 { font-size: clamp(62px, 6.4vw, 104px); }
  .supporting { max-width: 760px; margin-top: 34px; font-size: clamp(15px, 1.35vw, 18px); }
  .intro { margin-top: auto; padding: 34px 0; }
  .name { font-size: clamp(38px, 4.2vw, 60px); }
  .role { font-size: clamp(16px, 1.45vw, 20px); }
  .links { padding-top: 28px; }
  .links a { font-size: clamp(18px, 1.7vw, 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
