@font-face {
  font-family: "Archivo";
  src: url("./archivo-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("./archivo-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("./fraunces-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #171513;
  --paper: #f7f2e9;
  --cream: #fffaf2;
  --ember: #d03a0d;
  --muted: #69625a;
  --line: #d8cfc3;
  --night: #211d1a;
  --gold: #f2a13a;
  --wrap: min(1120px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { color-scheme: light; background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 9%, rgb(242 161 58 / 14%), transparent 25rem),
    var(--paper);
  font-family: "Archivo", system-ui, sans-serif;
  line-height: 1.58;
}

a { color: inherit; }

.wrap { width: var(--wrap); margin-inline: auto; }

.research-note {
  padding: 9px 0;
  color: #fff8ed;
  background: var(--night);
  font-size: .78rem;
  letter-spacing: .015em;
}

.research-note strong { color: #ffc069; }

.site-head { border-bottom: 1px solid rgb(23 21 19 / 10%); }

.head-inner,
.foot-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
}

.mark { position: relative; width: 26px; height: 31px; display: inline-block; }
.mark i { position: absolute; bottom: 0; width: 5px; border-radius: 8px 8px 2px 2px; background: var(--ember); transform-origin: 50% 100%; }
.mark i:nth-child(1) { left: 2px; height: 18px; transform: rotate(-19deg); }
.mark i:nth-child(2) { left: 7px; height: 27px; transform: rotate(-8deg); }
.mark i:nth-child(3) { left: 11px; height: 31px; background: var(--gold); }
.mark i:nth-child(4) { left: 16px; height: 25px; transform: rotate(9deg); }
.mark i:nth-child(5) { left: 20px; height: 16px; transform: rotate(19deg); }

.build { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; }

.hero { padding: clamp(70px, 10vw, 138px) 0 clamp(76px, 9vw, 120px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ember);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.03; text-wrap: balance; }

h1 { max-width: 740px; margin: 0; font-size: clamp(3.1rem, 7.5vw, 6.7rem); letter-spacing: -.055em; }
h2 { margin: 0; font-size: clamp(2.25rem, 4.5vw, 4.25rem); letter-spacing: -.04em; }
h3 { margin: 20px 0 9px; font-size: 1.7rem; }

.lede { max-width: 680px; margin: 28px 0; color: #49433d; font-size: clamp(1.05rem, 2vw, 1.3rem); }

.host-chip {
  width: fit-content;
  display: grid;
  gap: 1px;
  padding: 11px 15px;
  border: 1px solid #cbbeb0;
  border-radius: 6px;
  background: rgb(255 250 242 / 70%);
  box-shadow: 0 12px 34px rgb(55 35 15 / 7%);
}

.host-chip span { color: var(--muted); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.host-chip strong { color: var(--ember); font-size: .92rem; }

.hero-visual { margin: 0; }
.hero-visual img { width: 100%; height: auto; display: block; border: 1px solid #cdbfae; border-radius: 4px; box-shadow: 18px 22px 0 #e9dfd1, 0 30px 70px rgb(41 28 18 / 14%); }
.hero-visual figcaption { margin-top: 34px; color: var(--muted); font-size: .78rem; }

.principles, .measure { padding-block: clamp(86px, 11vw, 150px); }
.section-intro { max-width: 720px; margin-bottom: 54px; }
.section-intro > p:last-child { max-width: 610px; color: var(--muted); font-size: 1.05rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 300px; padding: 30px; border: 1px solid var(--line); background: rgb(255 250 242 / 60%); }
.card .number { color: var(--ember); font-size: .72rem; font-weight: 600; letter-spacing: .14em; }
.card p { color: var(--muted); }

.race { padding-block: clamp(86px, 10vw, 140px); color: #fff8ed; background: var(--night); }
.section-intro.light .eyebrow { color: #ffaf4a; }
.lane-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(255 255 255 / 17%); border-left: 1px solid rgb(255 255 255 / 17%); }
.lane-grid article { min-height: 178px; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; border-right: 1px solid rgb(255 255 255 / 17%); border-bottom: 1px solid rgb(255 255 255 / 17%); }
.lane-grid span { color: #e6a960; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.lane-grid strong { margin-top: 17px; font-family: "Fraunces", Georgia, serif; font-size: 1.52rem; }
.lane-grid small { color: #bfb5aa; }

.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-row div, .live-readout div { padding: 22px; border-top: 2px solid var(--ember); background: var(--cream); }
.metric-row strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 2rem; }
.metric-row span { color: var(--muted); font-size: .82rem; }

.live-readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.live-readout div { border-top-color: var(--gold); }
.live-readout span, .live-readout strong { display: block; }
.live-readout span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.live-readout strong { margin-top: 5px; font-size: 1rem; }

footer { color: #d5cbc0; background: #161310; }
.foot-inner { min-height: 110px; font-size: .82rem; }
.foot-inner p { max-width: 700px; }
.foot-inner a { color: #ffc06e; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .card-grid, .lane-grid { grid-template-columns: 1fr 1fr; }
  .metric-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  :root { --wrap: min(100% - 28px, 1120px); }
  .head-inner, .foot-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
  .build { font-size: .68rem; }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(3rem, 17vw, 4.7rem); }
  .card-grid, .lane-grid, .metric-row, .live-readout { grid-template-columns: 1fr; }
  .card { min-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
