:root {
  --bg: #f4efe4;
  --surface: #faf7f0;
  --ink: #111111;
  --ink-2: #3b3934;
  --muted: #8f8a80;
  --line: #dcd5c6;
  --line-2: #e9e3d6;
  --font: "Instrument Sans", "Inter", system-ui, -apple-system, sans-serif;
  --r: 16px;
  --shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 8px 24px -12px rgba(17, 17, 17, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image: repeating-linear-gradient(135deg, rgba(17,17,17,.018) 0 1px, transparent 1px 7px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.muted { color: var(--muted); }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.wrap--wide { max-width: 1200px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 239, 228, .85);
  backdrop-filter: blur(12px);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
}
.brand__name { color: var(--ink-2); font-size: 15px; }
.nav__links { display: flex; gap: 28px; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 16px/1 var(--font);
  color: var(--bg); background: var(--ink);
  border: 0; border-radius: 999px;
  padding: 14px 24px; text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 12px -4px rgba(17,17,17,.4);
  transition: transform .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { background: #2b2b2b; transform: translateY(-1px); }
.btn--sm { font-size: 14px; padding: 11px 20px; }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line-2); margin-top: 12px; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

/* TYPE */
h1, h2, h3 { font-weight: 500; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.18; max-width: 600px; margin-bottom: 48px; }
h3 { font-size: 26px; letter-spacing: -.01em; }
.eyebrow { font-size: 15px; font-weight: 500; margin: 0 0 20px; }
.prose p { margin: 0 0 20px; color: var(--ink-2); max-width: 420px; }

/* HERO */
.hero { padding: 96px 0 40px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 20px; padding: 4px 10px;
  font-size: 14px; background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 999px;
}
.badge__hl { font-weight: 600; }
.hero__title { font-size: clamp(42px, 7vw, 64px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; }
.hero__row { display: flex; align-items: center; gap: 24px; margin: 40px 0 64px; }
.hero__lede { margin: 0; max-width: 380px; color: var(--ink-2); }
.hero__figure {
  margin: 0; padding: 4px; background: var(--surface);
  border-radius: 20px; box-shadow: var(--shadow);
}
.hero__figure img { width: 100%; border-radius: var(--r); aspect-ratio: 16 / 9; object-fit: cover; object-position: center 40%; }

.honors { display: flex; align-items: center; gap: 40px; margin-top: 48px; }
.honors__label { font-size: 15px; white-space: nowrap; }
.honors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.honors li { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); }

/* SECTIONS */
.section { padding: 120px 0 0; }
.section:last-of-type { padding-bottom: 120px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* CARDS */
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border-radius: var(--r);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.card__label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 4px; }
.card h3 { margin-bottom: 24px; }
.card__quote { margin: 0; font-size: 18px; line-height: 1.45; color: var(--ink-2); }

.cards--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cards--stack, .cards--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.dots { list-style: none; margin: 0; padding: 0; }
.dots li { position: relative; padding-left: 26px; margin-bottom: 14px; color: var(--ink-2); }
.dots li::before {
  content: ""; position: absolute; left: 6px; top: .6em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink); box-shadow: none;
}

.stat {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.stat__label { font-size: 15px; color: var(--ink-2); }
.stat__num { font-size: 30px; font-weight: 500; letter-spacing: -.02em; line-height: 1; }

/* ROWS (timeline) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: padding .2s;
}
.rows li:hover { padding-left: 8px; }
.rows li:hover .rows__title { color: var(--ink); }
.rows__title { flex: 1; font-size: 22px; letter-spacing: -.01em; color: var(--ink-2); transition: color .2s; }
.rows__tags { display: flex; gap: 16px; color: var(--muted); font-size: 15px; }
.rows__n { width: 20px; text-align: right; font-size: 16px; color: var(--ink-2); }

/* LEGACY */
.pull {
  margin: 0; max-width: 720px;
  font-size: clamp(28px, 4.2vw, 42px); line-height: 1.2; letter-spacing: -.02em; font-weight: 500;
}
.pull cite { display: block; margin-top: 20px; font-size: 15px; font-style: normal; color: var(--ink-2); letter-spacing: 0; font-weight: 400; }
.legacy__note { margin: 40px 0 0; max-width: 480px; color: var(--ink-2); }

/* FORM */
.form { padding: 32px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row { margin-bottom: 16px; }
.form label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--ink-2); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px;
  font: 16px/1.5 var(--font); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,.08); }
.form__foot { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form__status { margin: 0; font-size: 15px; }
.form__status.is-error { color: var(--ink); font-weight: 600; }
.form__status.is-ok { color: var(--ink); }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--ink-2); }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }

/* MOBILE */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav__links { display: none; }
  .hero { padding-top: 48px; }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 20px; margin: 28px 0 40px; }
  .hero__figure img { aspect-ratio: auto; }
  .honors { flex-direction: column; align-items: flex-start; gap: 16px; }
  .honors ul { gap: 8px 20px; }
  .honors li { font-size: 15px; }
  .section { padding-top: 88px; }
  .section:last-of-type { padding-bottom: 88px; }
  h2 { margin-bottom: 32px; }
  .split, .cards--grid, .form__grid { grid-template-columns: 1fr; }
  .split { gap: 24px; }
  .rows__title { font-size: 18px; }
  .rows__tags span:last-child { display: none; }
  .form { padding: 20px; }
}
