:root {
  color-scheme: light;
  --paper: #faf9f5;
  --ink: #141413;
  --muted: #5c5952;
  --line: rgba(20, 20, 19, 0.14);
  --card: #e3dac8;
  --panel: #fffdf8;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.45;
}

::selection { background: #e3dac8; color: var(--ink); }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  padding: 0.4rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
}

.skip:focus { top: 0.75rem; }

.wrap {
  width: min(70rem, calc(100% - 3rem));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--paper);
  box-shadow: 0 2px 0 var(--paper);
}

.nav__bar {
  display: flex;
  align-items: center;
  gap: 1.25rem 1.5rem;
  min-height: 4.5rem;
}

.nav__mark {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin-left: auto;
}

.nav__links a {
  color: var(--ink);
  font-size: 1rem;
  text-decoration: none;
}

.nav__links a:hover { text-decoration: underline; text-underline-offset: 0.22em; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 2.25rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.pill:hover { background: #000; color: var(--paper); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.72fr);
  column-gap: 4rem;
  align-items: start;
  padding: 5.25rem 0 3.75rem;
}

.hero h1 {
  margin: 0;
  max-width: 11em;
  font-family: var(--sans);
  font-size: clamp(2.7rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero h1 a {
  color: inherit;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
}

.hero p {
  margin: 0.35rem 0 0;
  max-width: 22rem;
  font-size: 1.25rem;
  line-height: 1.45;
}

.spotlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  min-height: 26rem;
  padding: 4.5rem 1.75rem;
  border-radius: 1.75rem;
  background: var(--panel);
  text-align: center;
}

.spotlight h2 {
  margin: 0;
  max-width: 12.5em;
  text-wrap: balance;
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.spotlight p {
  margin: 0;
  max-width: 26rem;
  font-size: 1.2rem;
  line-height: 1.45;
}

.work { margin-top: 4.75rem; }

.work h2,
.index h2 {
  margin: 0 0 1.15rem;
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.cards article {
  min-height: 12.5rem;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 1rem;
  background: var(--card);
}

.cards h3 {
  margin: 0 0 0.65rem;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.cards p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.facts { margin-top: 4.75rem; }

.facts h2 {
  margin: 0 0 1.15rem;
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.facts dl {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}

.facts dt {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.facts dd {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.belief {
  max-width: 36rem;
  margin-top: 5.5rem;
}

.belief h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.belief p {
  margin: 0.85rem 0 0;
  font-size: 1.2rem;
}

.index { margin-top: 4.5rem; }

.index ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.index a {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.index a span:first-child {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.index a span:last-child {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.index a:hover span:last-child {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.footer {
  margin-top: 5rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.footer p,
.footer li,
.footer a {
  font-size: 1.02rem;
  line-height: 1.45;
}

.footer p { margin: 0.85rem 0 0; max-width: 16rem; }

.footer h2 {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
}

.footer ul { margin: 0; padding: 0; list-style: none; }

.footer li + li { margin-top: 0.35rem; }

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

.footer a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.footer__note {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .nav__bar { flex-wrap: wrap; row-gap: 0.35rem; }

  .hero,
  .cards,
  .footer__grid { grid-template-columns: 1fr; }

  .hero { padding-top: 2.75rem; row-gap: 1.5rem; }

  .hero h1,
  .hero p,
  .belief { max-width: none; }

  .spotlight { min-height: 0; padding: 3.25rem 1.25rem; }

  .cards article { min-height: 0; }

  .nav__links {
    order: 3;
    flex: 1 0 100%;
    margin-left: 0;
    padding-bottom: 0.85rem;
  }

  .index a,
  .facts div { grid-template-columns: 1fr; gap: 0.25rem; }
}

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