:root {
  color-scheme: light;
  --paper: #f2efe6;
  --ink: #151515;
  --muted: #66635c;
  --line: #bcb7aa;
  --red: #f0523d;
  --blue: #3159ff;
  --acid: #d4ff55;
  --display: "Arial Narrow", "Avenir Next Condensed", "Roboto Condensed", system-ui, sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--body); }
button, input { font: inherit; }
a { color: inherit; }
.site-header, main, footer { width: min(1240px, calc(100% - 56px)); margin-inline: auto; }

.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font: 700 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.brand-mark { position: relative; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border-radius: 50%; }
.brand-mark::before { inset: 7px; border: 1px solid var(--red); }
.brand-mark::after { inset: 13px; background: var(--blue); }
.status { display: flex; align-items: center; gap: 10px; color: var(--muted); font: .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgb(240 82 61 / 11%); }

.hero { min-height: 680px; padding: 100px 0 88px; display: grid; grid-template-columns: 1fr 300px; gap: 70px; align-items: end; }
.eyebrow { margin: 0 0 26px; color: var(--blue); font: .65rem/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 44px; font: 900 clamp(4.6rem, 9.4vw, 9rem)/.82 var(--display); letter-spacing: -.073em; text-transform: uppercase; }
h1 em { color: var(--red); font-family: Georgia, serif; font-weight: 400; text-transform: none; }
.hero-intro { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.12rem; line-height: 1.7; }
.counter { width: 260px; min-height: 260px; padding: 35px; display: flex; flex-direction: column; justify-content: space-between; justify-self: end; background: var(--ink); color: var(--paper); border-radius: 50%; }
.counter span { color: var(--acid); font: 900 7rem/.75 var(--display); letter-spacing: -.08em; }
.counter p { margin: 0; font: .66rem/1.45 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.latest, .archive, .method { padding: 94px 0 108px; border-top: 1px solid var(--ink); }
.section-label { margin-bottom: 54px; display: flex; align-items: center; gap: 18px; font: .64rem/1 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.section-label i { flex: 1; height: 1px; background: var(--line); }
.latest-card { min-height: 420px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 60px; background: var(--blue); color: white; text-decoration: none; }
.latest-card:hover .latest-arrow { transform: translate(5px, -5px); }
.latest-copy { display: flex; flex-direction: column; justify-content: space-between; }
.latest-meta, .card-meta { display: flex; gap: 18px; font: .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.latest-name { max-width: 850px; margin: 28px 0 34px; font: 900 clamp(3.7rem, 7vw, 7rem)/.83 var(--display); letter-spacing: -.065em; text-transform: uppercase; }
.latest-pitch { max-width: 760px; margin: 0; color: rgb(255 255 255 / 76%); font-size: 1.08rem; line-height: 1.6; }
.latest-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 13px; }
.latest-actions a { min-height: 46px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid rgb(255 255 255 / 50%); color: white; font: .62rem/1 var(--mono); letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.latest-actions .latest-open { background: white; color: var(--blue); border-color: white; }
.latest-actions a:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.latest-side { display: flex; flex-direction: column; align-items: end; justify-content: space-between; border-left: 1px solid rgb(255 255 255 / 26%); }
.latest-arrow { font-size: 4rem; line-height: 1; transition: transform .2s ease; }
.latest-side p { width: 210px; margin: 0; color: rgb(255 255 255 / 72%); font: .67rem/1.55 var(--mono); }
.loading-line { height: 32px; margin-bottom: 20px; background: rgb(255 255 255 / 15%); }
.loading-line.short { width: 62%; }

.archive-head { display: grid; grid-template-columns: 1fr 390px; gap: 80px; align-items: end; }
.archive h2, .method h2 { max-width: 800px; margin: 0; font: 900 clamp(3.2rem, 6vw, 6.2rem)/.88 var(--display); letter-spacing: -.06em; text-transform: uppercase; }
.search-field span { display: block; margin-bottom: 10px; font: .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.search-field input { width: 100%; height: 60px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 0; outline: 0; background: #faf8f1; color: var(--ink); }
.search-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgb(49 89 255 / 14%); }
.search-field input::placeholder { color: #8d887e; }
.result-count { min-height: 20px; margin: 45px 0 15px; color: var(--muted); font: .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.experiment-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.experiment-card { min-height: 370px; padding: 31px; display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transition: background .18s ease, color .18s ease; }
.experiment-card:hover { background: var(--ink); color: var(--paper); }
.experiment-card:hover .card-pitch { color: #c9c5bb; }
.card-meta { justify-content: space-between; color: var(--muted); }
.experiment-card:hover .card-meta { color: var(--acid); }
.card-name { margin: 72px 0 18px; font: 900 clamp(2.4rem, 4.6vw, 4.9rem)/.88 var(--display); letter-spacing: -.06em; text-transform: uppercase; }
.card-pitch { max-width: 480px; margin: 0; color: var(--muted); line-height: 1.6; }
.card-foot { margin-top: auto; padding-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: .62rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.card-foot a { text-underline-offset: 5px; }
.card-foot .card-link { font-weight: 700; }
.card-foot .research-link { color: var(--blue); }
.experiment-card:hover .card-foot .research-link { color: var(--acid); }
.empty-state { padding: 60px 0; border-bottom: 1px solid var(--ink); }
.empty-state strong { display: block; margin-bottom: 12px; font: 900 2.4rem/1 var(--display); text-transform: uppercase; }
.empty-state p { color: var(--muted); }

.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.method ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.method li { padding: 25px 0; display: grid; grid-template-columns: 50px 1fr; gap: 18px; border-bottom: 1px solid var(--line); }
.method li > span { color: var(--red); font: .66rem/1 var(--mono); }
.method strong { display: block; margin-bottom: 9px; text-transform: uppercase; }
.method li p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

footer { min-height: 116px; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--ink); color: var(--muted); font: .62rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
footer p { margin: 0; text-align: center; }
footer a { text-underline-offset: 5px; }

@media (max-width: 780px) {
  .site-header, main, footer { width: min(100% - 30px, 1240px); }
  .site-header { min-height: 68px; }
  .status { font-size: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 52px; padding: 74px 0 70px; }
  h1 { font-size: clamp(3.9rem, 18vw, 6rem); }
  .hero-intro { font-size: 1rem; }
  .counter { width: 180px; min-height: 180px; padding: 27px; justify-self: start; }
  .counter span { font-size: 4.7rem; }
  .latest, .archive, .method { padding: 72px 0 82px; }
  .latest-card { min-height: 510px; padding: 29px 23px; grid-template-columns: 1fr; }
  .latest-name { font-size: clamp(3.3rem, 16vw, 5.4rem); }
  .latest-side { min-height: 100px; flex-direction: row-reverse; align-items: end; border-top: 1px solid rgb(255 255 255 / 26%); border-left: 0; }
  .latest-side p { width: 75%; }
  .archive-head, .method-grid { grid-template-columns: 1fr; gap: 42px; }
  .experiment-grid { grid-template-columns: 1fr; }
  .experiment-card { min-height: 335px; padding: 25px 21px; }
  .card-name { margin-top: 52px; }
  footer { display: block; text-align: center; }
  footer p { margin: 10px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .latest-arrow, .experiment-card { transition: none; }
}
