:root {
  --paper: #f8f1e7;
  --paper-deep: #efe2cf;
  --ink: #11110f;
  --muted: #615a50;
  --line: #11110f;
  --thin: rgba(17, 17, 15, 0.16);
  --red: #c93420;
  --max: 1460px;
  --sans: Inter, "IBM Plex Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 82% 12%, rgba(201, 52, 32, 0.12), transparent 28rem), linear-gradient(180deg, rgba(248, 241, 231, 0), rgba(248, 241, 231, 0.9));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4.5vw, 68px);
  border-bottom: 2px solid var(--line);
  background: rgba(248, 241, 231, 0.93);
  backdrop-filter: blur(16px);
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(26px, 3.1vw, 43px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 800;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

nav a:hover { color: var(--red); }

button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.cover {
  max-width: var(--max);
  min-height: calc(100vh - 76px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 66px) clamp(16px, 5vw, 72px);
  border-bottom: 2px solid var(--line);
}

.mastline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 2px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cover-kicker,
.num {
  color: var(--red);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cover-kicker {
  margin: clamp(34px, 6vw, 72px) 0 18px;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

html[lang="en"] h1,
html[lang="en"] h2 {
  letter-spacing: -0.065em;
}

h1 {
  max-width: 1190px;
  margin: 0 0 clamp(36px, 6vw, 76px);
  font-size: clamp(50px, 9.4vw, 134px);
  line-height: 0.93;
  overflow-wrap: anywhere;
}

.cover-footer {
  display: grid;
  grid-template-columns: minmax(0, 740px) auto;
  align-items: end;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.cover-footer p,
.manifesto p,
.spread p,
.credits p {
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.58;
  margin-bottom: 0;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cover-actions a,
.mail {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.cover-actions .dark,
.mail {
  background: var(--ink);
  color: var(--paper);
}

.ticker {
  width: 100%;
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 12px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: ticker 34s linear infinite;
}

.ticker-track span::before {
  content: "·";
  color: var(--red);
  margin-right: 34px;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.manifesto {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.88fr) minmax(0, 0.88fr);
  border-bottom: 2px solid var(--line);
}

.manifesto article {
  min-height: 520px;
  padding: clamp(24px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.manifesto article:last-child { border-right: 0; }

.num {
  display: inline-block;
  margin-bottom: 28px;
}

h2 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6.3vw, 84px);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 22px;
  font-family: var(--sans);
  font-size: clamp(28px, 3.25vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.spread,
.credits {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(46px, 7vw, 92px) clamp(16px, 5vw, 72px);
  border-bottom: 2px solid var(--line);
}

.spread-copy p { max-width: 660px; }

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metrics div {
  min-height: 158px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.12);
}

.metrics b {
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.metrics span {
  display: block;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.42;
}

.credits h2 { margin-bottom: 0; }
.credits-copy { max-width: 760px; }
.credits-copy p + p { margin-top: 18px; }
.mail { margin-top: 22px; }

footer {
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(16px, 4.5vw, 68px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

@media (max-width: 1120px) {
  .manifesto {
    grid-template-columns: 1fr;
  }

  .manifesto article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .manifesto article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 980px) {
  .topbar { align-items: flex-start; }
  nav { overflow-x: auto; padding-bottom: 3px; }
  nav a:nth-child(1),
  nav a:nth-child(2),
  nav a:nth-child(3) { display: none; }
  .cover { min-height: auto; }
  .cover-footer,
  .spread,
  .credits { grid-template-columns: 1fr; }
  .cover-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .topbar {
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .wordmark {
    font-size: 25px;
  }

  .mastline {
    flex-direction: column;
    gap: 8px;
  }

  .cover {
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  h2 {
    font-size: clamp(36px, 11vw, 62px);
    line-height: 1.02;
  }

  h3 {
    font-size: clamp(25px, 7.2vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .cover-footer p,
  .manifesto p,
  .spread p,
  .credits p {
    font-size: 17px;
    line-height: 1.58;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metrics div {
    min-height: 138px;
  }

  footer {
    flex-direction: column;
  }
}
