:root {
  --ink: #18322b;
  --cream: #f4f0e5;
  --paper: #fffdf7;
  --lime: #d9f765;
  --orange: #ff715b;
  --blue: #9bd9e5;
  --line: rgba(24, 50, 43, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -1.5px;
}
.logo span { font-weight: 400; }
.logo i { color: var(--orange); font-style: normal; }
nav { display: flex; gap: 34px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--orange); }
.menu-button { display: none; border: 0; background: none; color: var(--ink); }
.language-switch {
  min-width: 46px;
  padding: 8px 11px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
}
.language-switch:hover { color: var(--paper); background: var(--ink); }
.hero {
  min-height: 665px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  padding: 70px clamp(24px, 7vw, 110px) 80px;
  overflow: hidden;
}
.eyebrow {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 700;
}
h1, h2, blockquote {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
}
h1 {
  margin: 0;
  font-size: clamp(68px, 8vw, 126px);
  line-height: .84;
  letter-spacing: -.055em;
}
h1 em { color: var(--orange); font-style: normal; }
.intro {
  max-width: 560px;
  margin: 38px 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 16px 22px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 99px;
  text-decoration: none;
  font-weight: 600;
}
.button:hover { background: var(--orange); transform: translateY(-2px); }
.button, .story-card, .filters button { transition: .2s ease; }
.hero-visual {
  position: relative;
  min-height: 500px;
}
.hero-mark-image {
  width: 100%;
  height: 500px;
  display: block;
  object-fit: contain;
}
.ticker {
  position: relative;
  height: 52px;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  white-space: nowrap;
  font-weight: 600;
}
.ticker-track { position: absolute; inset: 0; }
.ticker-track span {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  transform: translateY(-50%);
  will-change: left;
}
.ticker-track span + span::before { margin-right: 54px; color: var(--lime); content: "✦"; }
.discover { padding: 110px clamp(24px, 6vw, 90px); background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 48px; }
h2 { margin: 0; font-size: clamp(48px, 6vw, 78px); letter-spacing: -.04em; }
.filters { position: relative; display: flex; justify-content: end; }
.filter-menu-toggle {
  display: flex;
  min-width: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 700;
  cursor: pointer;
}
.filter-menu-toggle:hover, .filter-menu-toggle[aria-expanded="true"] { background: var(--lime); border-color: var(--ink); }
.filter-menu-toggle i { font-size: 18px; font-style: normal; line-height: 1; transition: transform .2s ease; }
.filter-menu-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.filter-menu-toggle:disabled { cursor: wait; opacity: .55; }
.filter-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(580px, calc(100vw - 48px));
  max-height: 430px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 12px;
  overflow-y: auto;
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 35px rgba(24,50,43,.14);
}
.filter-menu[hidden] { display: none; }
.filter-option { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.filter-option:hover { background: rgba(217,247,101,.42); }
.filter-option input { width: 17px; height: 17px; margin: 0; accent-color: var(--ink); }
.filter-option input:disabled + span { opacity: .55; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.load-more-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.load-more-button {
  min-width: 150px;
  padding: 13px 24px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  color: var(--paper);
  background: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}
.load-more-button:hover { background: var(--orange); transform: translateY(-2px); }
.load-all-button { color: var(--ink); background: transparent; }
.load-more-button[hidden] { display: none; }
.story-card { border: 1px solid var(--line); background: var(--paper); }
.story-card:hover { transform: translateY(-6px); box-shadow: 0 18px 35px rgba(24,50,43,.09); }
.story-card.hidden { display: none; }
.filter-empty { margin: 42px 0 0; color: #577069; text-align: center; }
.filter-empty[hidden] { display: none; }
.card-art { height: 260px; position: relative; overflow: hidden; margin: 0; background: #dfe8e4; }
.card-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-art figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 7px;
  color: var(--paper);
  background: rgba(24, 50, 43, .78);
  font-size: 9px;
  line-height: 1.25;
}
.card-art figcaption a { color: inherit; }
.card-content { padding: 27px; }
.tag { color: #577069; text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.card-content h3 { min-height: 84px; margin: 14px 0; font-size: 24px; line-height: 1.18; letter-spacing: -.025em; }
.card-content > p:not(.tag) { min-height: 66px; color: #577069; line-height: 1.5; }
.card-content a { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.card-content a:hover { color: var(--orange); }
.prototype-note { margin: 24px 0 0; color: #789088; font-size: 12px; }
.manifesto {
  padding: 120px clamp(24px, 9vw, 140px);
  color: var(--paper);
  background: var(--ink);
}
blockquote { margin: 40px 0 60px; font-size: clamp(52px, 7vw, 100px); line-height: 1; letter-spacing: -.04em; }
blockquote span { color: var(--lime); }
.manifesto-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-left: 35%; font-size: 19px; line-height: 1.6; }
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 100px clamp(24px, 9vw, 140px);
  background: var(--lime);
}
.newsletter h2 { font-size: clamp(48px, 5vw, 72px); }
.newsletter form { align-self: center; display: grid; grid-template-columns: 1fr auto; }
.newsletter input, .newsletter button { border: 0; border-bottom: 2px solid var(--ink); padding: 16px 3px; background: transparent; outline: 0; }
.newsletter button { cursor: pointer; font-weight: 700; }
.newsletter small { grid-column: 1/-1; margin-top: 12px; }
footer { display: flex; align-items: center; justify-content: space-between; padding: 35px clamp(24px, 5vw, 80px); font-size: 13px; }
.footer-links { display: flex; align-items: center; gap: 28px; }
.footer-links a, .back-link { font-weight: 600; text-decoration: none; }
.footer-links a:hover, .back-link:hover { color: var(--orange); }
.legal-page { min-height: calc(100vh - 170px); padding: 90px clamp(24px, 12vw, 180px) 120px; background: var(--paper); }
.legal-page h1 { font-size: clamp(64px, 9vw, 118px); }
.legal-page section { max-width: 720px; margin-top: 64px; }
.legal-page h2 { margin-bottom: 18px; font-family: "DM Sans", sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.legal-page p, .legal-page address { font-size: 18px; line-height: 1.7; font-style: normal; }
.archive-page { min-height: calc(100vh - 170px); padding: 90px clamp(24px, 6vw, 90px) 120px; background: var(--paper); }
.archive-page h1 { font-size: clamp(64px, 8vw, 108px); }
.article-page h1 {
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: .96;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.article-page { min-height: calc(100vh - 170px); padding: 90px clamp(24px, 16vw, 240px) 120px; background: var(--paper); }
.article-lead { max-width: 800px; margin: 34px 0; color: #577069; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.55; }
.article-body { max-width: 760px; font-size: 19px; line-height: 1.75; }
.article-body p { margin: 0 0 1.4em; white-space: pre-line; }
.article-body p:last-child { margin-bottom: 0; }
.article-source { max-width: 760px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-source a { font-weight: 700; text-decoration: none; }
.article-source a:hover { color: var(--orange); }
.article-image { max-width: 920px; margin: 42px 0; }
.article-image img { width: 100%; max-height: 560px; object-fit: cover; display: block; }
.article-image figcaption { margin-top: 8px; color: #577069; font-size: 12px; }
.article-image figcaption a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 850px) {
  nav { display: none; }
  .menu-button { display: block; }
  .site-header { gap: 14px; }
  .site-header .back-link { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .hero-visual { min-height: 370px; margin-top: 30px; }
  .hero-mark-image { height: 370px; }
  .section-heading, .newsletter { grid-template-columns: 1fr; display: grid; gap: 35px; }
  .filters { justify-content: start; }
  .filter-menu { right: auto; left: 0; grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .card-content h3, .card-content > p:not(.tag) { min-height: 0; }
  .manifesto-copy { margin-left: 0; grid-template-columns: 1fr; gap: 8px; }
  footer { align-items: start; flex-direction: column; gap: 12px; }
  .footer-links { width: 100%; justify-content: space-between; }
  .article-page h1 {
    font-size: clamp(32px, 8.5vw, 42px);
    line-height: .98;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { display: flex; align-items: center; gap: 38px; overflow: hidden; }
  .ticker-track span { position: static; flex: none; transform: none; }
}
