:root {
  --canvas: #fafaf9;
  --cream: #f9f7f4;
  --surface: #f3f0ec;
  --border: #e8e4de;
  --muted: #736e68;
  --muted-strong: #56524d;
  --accent: #3d3834;
  --ink: #2c2825;
  --ink-deep: #1c1a17;
  --aqua: #24c6cf;
  --violet: #988cff;
  --pink: #ff6fb5;
  --plasma: linear-gradient(120deg, #24c6cf, #988cff 52%, #ff6fb5);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 1180px;
  --copy: 720px;
  --pad: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: -4vh -4vw;
  background: var(--canvas) url("/assets/hero-bg-plate-1280.webp") center 30% / cover no-repeat;
  content: "";
  opacity: .15;
  filter: saturate(.72) blur(16px);
  transform: scale(1.08);
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 250, 249, .72), rgba(250, 250, 249, .96) 44%, var(--canvas));
  content: "";
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button, input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  min-height: 44px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  font: 500 .76rem/1 var(--mono);
  transform: translateY(-180%);
  transition: transform 220ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.progress {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
}

.preview-ribbon {
  position: relative;
  z-index: 110;
  padding: 9px var(--pad);
  background: var(--ink-deep);
  color: var(--canvas);
  font: 500 .68rem/1.4 var(--mono);
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.site-nav {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 28px), 1220px);
  margin: 12px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(232, 228, 222, .8);
  border-radius: 999px;
  background: rgba(250, 250, 249, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 320ms var(--ease), background 320ms var(--ease), transform 320ms var(--ease);
}

.site-nav.scrolled {
  background: rgba(250, 250, 249, .92);
  box-shadow: 0 14px 40px rgba(44, 40, 37, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: max-content;
  text-decoration: none;
}

.brand img {
  width: 29px;
  height: 29px;
}

.brand span {
  font: 500 .96rem/1 var(--mono);
  letter-spacing: .14em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.6vw, 30px);
}

.nav-links > a:not(.button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 5px;
  color: var(--muted-strong);
  font: 500 .74rem/1 var(--mono);
  letter-spacing: .04em;
  text-decoration: none;
}

.nav-links > a:not(.button):hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  font: 500 .76rem/1 var(--mono);
  letter-spacing: .03em;
  text-decoration: none;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), background 320ms var(--ease);
}

.button:hover {
  background: var(--ink-deep);
  box-shadow: 0 14px 30px rgba(44, 40, 37, .18);
  transform: translateY(-2px);
}

.button-light {
  background: var(--canvas);
  color: var(--ink);
}

.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow, .meta-line, .topic, .source-kicker {
  font: 500 .72rem/1.4 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow, .meta-line, .source-kicker {
  color: var(--muted);
}

h1, h2, h3 {
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.04;
}

.ideas-hero {
  display: grid;
  align-items: end;
  min-height: min(820px, 84svh);
  padding-block: clamp(90px, 15vh, 170px) clamp(62px, 10vh, 110px);
}

.ideas-hero h1 {
  max-width: 12ch;
  margin-top: 22px;
  font-size: clamp(3rem, 8.8vw, 8rem);
}

.ideas-hero .dek {
  max-width: 680px;
  margin-top: 30px;
  color: var(--muted-strong);
  font-size: clamp(1.12rem, 2vw, 1.48rem);
  line-height: 1.55;
}

.hero-aside {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.topic {
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(250, 250, 249, .56);
  color: var(--muted-strong);
  letter-spacing: .06em;
}

.manifesto {
  position: relative;
  overflow: clip;
  padding-block: clamp(90px, 14vh, 160px);
  background: var(--ink-deep);
  color: var(--canvas);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 8vw, 110px);
  align-items: start;
}

.manifesto .eyebrow {
  color: rgba(250, 250, 249, .56);
}

.manifesto h2 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 5.8vw, 5.8rem);
}

.manifesto-copy {
  max-width: 650px;
  padding-top: 12px;
}

.manifesto-copy p {
  color: rgba(250, 250, 249, .75);
  font-size: clamp(1.05rem, 1.65vw, 1.3rem);
}

.manifesto-copy p + p {
  margin-top: 20px;
}

.signal-section {
  padding-block: clamp(100px, 16vh, 190px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .58fr);
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(50px, 8vh, 86px);
}

.section-heading h2 {
  max-width: 12ch;
  margin-top: 16px;
  font-size: clamp(2.5rem, 6.2vw, 5.7rem);
}

.section-heading p {
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.signal-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .72fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.signal-visual {
  position: sticky;
  top: 106px;
  overflow: hidden;
  min-height: min(68vh, 690px);
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 34px 90px rgba(44, 40, 37, .15);
}

.signal-visual figure {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 550ms var(--ease), transform 720ms var(--ease);
}

.signal-visual picture,
.journey-visual picture,
.featured-story-media picture,
.hero-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-frame picture {
  position: absolute;
  inset: 0;
}

.signal-visual figure.active {
  opacity: 1;
  transform: scale(1);
}

.signal-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signal-visual figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 11px 14px;
  border: 1px solid rgba(250, 250, 249, .35);
  border-radius: 999px;
  background: rgba(28, 26, 23, .72);
  color: var(--canvas);
  font: 500 .67rem/1.35 var(--mono);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.signal-scenes {
  display: grid;
  gap: 9vh;
  padding-block: 5vh 12vh;
}

.signal-scene {
  min-height: 52vh;
  padding: clamp(24px, 4vw, 38px);
  border-top: 1px solid var(--border);
}

.signal-scene .scene-number {
  font: 300 clamp(3.8rem, 8vw, 7rem)/1 var(--font);
}

.signal-scene h3 {
  margin-top: 22px;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
}

.signal-scene p {
  margin-top: 18px;
  color: var(--muted-strong);
  font-size: 1.03rem;
}

.featured-story {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, .7fr);
  overflow: hidden;
  margin-top: clamp(50px, 8vh, 96px);
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(250, 250, 249, .82);
  box-shadow: 0 28px 80px rgba(44, 40, 37, .1);
}

.featured-story-media {
  min-height: 520px;
  overflow: hidden;
}

.featured-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.featured-story:hover .featured-story-media img {
  transform: scale(1.025);
}

.featured-story-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 56px);
}

.featured-story-copy h3 {
  margin-top: 18px;
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.featured-story-copy p {
  margin-top: 20px;
  color: var(--muted-strong);
}

.featured-story-copy .button {
  margin-top: 30px;
}

.editorial-principles {
  padding-block: clamp(90px, 14vh, 170px);
  border-top: 1px solid var(--border);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--border);
}

.principle {
  min-height: 310px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--canvas);
}

.principle .n {
  font: 300 4rem/1 var(--font);
}

.principle h3 {
  margin-top: 72px;
  font-size: 1.55rem;
}

.principle p {
  margin-top: 12px;
  color: var(--muted-strong);
}

.story-library {
  padding-block: clamp(90px, 14vh, 170px);
  border-top: 1px solid var(--border);
  background: rgba(249, 247, 244, .72);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.library-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(250, 250, 249, .9);
  box-shadow: 0 18px 50px rgba(44, 40, 37, .07);
}

.library-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface);
}

.library-card-media picture,
.library-card-media img {
  width: 100%;
  height: 100%;
}

.library-card-media img {
  object-fit: cover;
  transition: transform 720ms var(--ease);
}

.library-card:hover .library-card-media img {
  transform: scale(1.025);
}

.library-card-copy {
  padding: clamp(24px, 3vw, 34px);
}

.library-card-copy h3 {
  margin-top: 15px;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.library-card-copy h3 a {
  text-decoration: none;
}

.library-card-copy p {
  margin-top: 15px;
  color: var(--muted-strong);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  font: 500 .74rem/1.4 var(--mono);
  text-underline-offset: 4px;
}

.article-hero {
  display: grid;
  align-items: end;
  min-height: min(980px, calc(100svh - 40px));
  padding-block: clamp(80px, 13vh, 150px) clamp(42px, 7vh, 76px);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: end;
}

.article-hero h1 {
  max-width: 11ch;
  margin-top: 18px;
  font-size: clamp(3.2rem, 8.2vw, 7.6rem);
}

.article-dek {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted-strong);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 34px;
}

.article-meta span {
  color: var(--muted);
  font: 500 .7rem/1.45 var(--mono);
  letter-spacing: .05em;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  min-height: min(60vh, 650px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 34px 90px rgba(44, 40, 37, .16);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
}

.hero-frame::after {
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  background: linear-gradient(transparent, rgba(28, 26, 23, .18));
  content: "";
  pointer-events: none;
}

/* ── Article cover ────────────────────────────────────────────────────────────
   One square image of Adapt, made for this article's own idea. The title still comes
   first in the source order, so the square is what a reader sees beside the headline
   and what a screen reader reaches second. */
.cover-square {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--cream);
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* No cover yet. Hold the space, say so, and never invent a picture. */
.cover-gap {
  display: grid;
  place-items: center;
  border-style: dashed;
  border-color: #d6d0c8; /* warm-400 */
  background: var(--cream);
}

.cover-gap-label {
  color: var(--muted);
  font: 500 .68rem/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.article-cover {
  width: min(100%, 440px);
  margin-left: auto;
  margin-right: 0;
  box-shadow: 0 24px 70px rgba(44, 40, 37, .12), 0 4px 14px rgba(44, 40, 37, .06);
}

.article-cover.cover-gap {
  box-shadow: none;
}

/* The cover took the hero's place, so the article's own approved landscape image opens
   the reading instead of being dropped from the page. */
.article-lede-figure {
  padding-block: clamp(44px, 7vh, 84px) 0;
}

.article-lede-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--cream);
  box-shadow: 0 12px 40px rgba(44, 40, 37, .08), 0 2px 8px rgba(44, 40, 37, .05);
}

.article-lede-figure figcaption {
  max-width: 56ch;
  margin-top: 14px;
  color: var(--muted);
  font: 500 .72rem/1.6 var(--mono);
  letter-spacing: .08em;
}

.answer-band {
  padding-block: clamp(56px, 9vh, 96px);
  background: var(--ink-deep);
  color: var(--canvas);
}

.answer-grid {
  display: grid;
  grid-template-columns: minmax(0, .45fr) minmax(0, 1fr);
  gap: clamp(32px, 8vw, 110px);
}

.answer-band .eyebrow {
  color: rgba(250, 250, 249, .52);
}

.answer-band p {
  max-width: 800px;
  font-size: clamp(1.5rem, 3.35vw, 3.15rem);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, var(--copy));
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
  width: min(100%, 1080px);
  margin-inline: auto;
  padding: clamp(88px, 13vh, 150px) var(--pad);
}

.article-toc {
  position: sticky;
  top: 112px;
}

.article-toc strong {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font: 500 .68rem/1.4 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.article-toc nav {
  display: grid;
  gap: 11px;
}

.article-toc a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-left: 16px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 220ms ease;
}

.article-toc a::before {
  position: absolute;
  top: .55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  content: "";
  transition: background 220ms ease, transform 220ms ease;
}

.article-toc a.active {
  color: var(--ink);
}

.article-toc a.active::before {
  background: var(--ink);
  transform: scale(1.3);
}

.prose-section {
  scroll-margin-top: 116px;
}

.prose-section + .prose-section {
  margin-top: clamp(68px, 11vh, 110px);
}

.prose-section h2 {
  margin: 12px 0 26px;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
}

.prose-section h3 {
  margin: 38px 0 16px;
  font-size: 1.45rem;
}

.prose-section p, .prose-section li {
  color: var(--muted-strong);
  font-size: clamp(1.04rem, 1.4vw, 1.14rem);
  line-height: 1.78;
}

.prose-section p + p {
  margin-top: 24px;
}

.prose-section ul, .prose-section ol {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding-left: 1.3em;
}

.prose-section a {
  text-decoration-color: var(--border);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.prose-section a:hover {
  text-decoration-color: var(--ink);
}

.pullquote {
  margin: clamp(46px, 8vh, 76px) 0;
  padding: 8px 0 8px clamp(24px, 5vw, 50px);
  border-left: 1px solid var(--ink);
  font-size: clamp(1.8rem, 4vw, 3.15rem);
  line-height: 1.2;
  letter-spacing: -.03em;
}

.story-journey {
  padding-block: clamp(96px, 15vh, 180px);
  background: var(--surface);
}

.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .7fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.journey-visual {
  position: sticky;
  top: 108px;
  overflow: hidden;
  min-height: min(70vh, 720px);
  border-radius: 26px;
  background: var(--canvas);
  box-shadow: 0 34px 90px rgba(44, 40, 37, .14);
}

.journey-visual figure {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px) scale(1.02);
  transition: opacity 550ms var(--ease), transform 720ms var(--ease);
}

.journey-visual figure.active {
  opacity: 1;
  transform: none;
}

.journey-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-panels {
  display: grid;
  gap: 7vh;
  padding-block: 6vh 10vh;
}

.journey-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52vh;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--border);
}

.journey-panel h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.6vw, 3.7rem);
}

.journey-panel p {
  margin-top: 20px;
  color: var(--muted-strong);
  font-size: 1.06rem;
}

.action-list {
  counter-reset: action;
  display: grid;
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.action-item {
  position: relative;
  padding: 24px 0 24px 52px;
  border-bottom: 1px solid var(--border);
}

.action-item::before {
  position: absolute;
  top: 27px;
  left: 0;
  counter-increment: action;
  content: counter(action, decimal-leading-zero);
  color: var(--muted);
  font: 500 .72rem/1 var(--mono);
}

.action-item strong {
  font-weight: 500;
}

.source-register {
  padding-block: clamp(80px, 12vh, 140px);
  border-top: 1px solid var(--border);
}

.source-register h2 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
}

.source-list {
  display: grid;
  margin-top: 44px;
  border-top: 1px solid var(--border);
}

.source-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(180px, .55fr);
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.source-item .date {
  color: var(--muted);
  font: 500 .7rem/1.5 var(--mono);
}

.source-item h3 {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.source-item a {
  text-underline-offset: 4px;
}

.source-item p {
  color: var(--muted);
  font-size: .9rem;
}

.editorial-disclosure {
  padding-block: clamp(54px, 8vh, 86px);
  border-top: 1px solid var(--border);
  background: var(--canvas);
}

.disclosure-grid {
  display: grid;
  grid-template-columns: minmax(0, .45fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 90px);
}

.disclosure-grid p {
  max-width: 760px;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.related-reading {
  padding-block: clamp(72px, 10vh, 112px);
  border-top: 1px solid var(--border);
  background: var(--surface-raised);
}

.related-reading h2 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
}

.related-reading-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  margin-top: 40px;
}

.related-reading-list article {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.related-reading-list h3 {
  margin-top: 14px;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  line-height: 1.15;
}

.related-reading-list h3 a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.related-reading-list p {
  margin-top: 14px;
  color: var(--muted-strong);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.article-close {
  padding-block: clamp(44px, 7vh, 76px);
}

.article-close-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.article-close-row .text-link {
  min-height: 44px;
  margin-top: 0;
  color: var(--ink);
  text-decoration: none;
  border: 0;
  border-bottom: 1px solid rgba(44, 40, 37, .3);
  background: none;
  padding: 0;
  cursor: pointer;
}

.article-close-row .text-link:hover {
  border-bottom-color: var(--ink);
}

.cta-panel {
  padding-block: clamp(90px, 14vh, 160px);
  background: var(--ink-deep);
  color: var(--canvas);
}

.cta-panel h2 {
  max-width: 12ch;
  margin-top: 16px;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
}

.cta-panel p {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(250, 250, 249, .72);
  font-size: 1.1rem;
}

.cta-panel .button {
  margin-top: 32px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px var(--pad);
  border-top: 1px solid rgba(250, 250, 249, .12);
  background: var(--ink-deep);
  color: rgba(250, 250, 249, .62);
}

.site-footer img {
  width: 122px;
  height: auto;
}

.site-footer small {
  font: 500 .68rem/1.5 var(--mono);
  letter-spacing: .04em;
}

.site-footer a:hover {
  color: var(--canvas);
}

.site-footer small a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 899px) {
  .article-cover {
    width: min(100%, 520px);
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .section-heading,
  .featured-story,
  .article-hero-grid,
  .answer-grid,
  .manifesto-grid,
  .disclosure-grid {
    grid-template-columns: 1fr;
  }

  .signal-stage,
  .journey-grid {
    grid-template-columns: 1fr;
  }

  .signal-visual,
  .journey-visual {
    position: relative;
    top: auto;
    min-height: min(64vw, 620px);
  }

  .signal-scenes,
  .journey-panels {
    grid-template-columns: repeat(3, minmax(280px, 82vw));
    gap: 14px;
    overflow-x: auto;
    padding: 18px 0 18px 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .signal-scene,
  .journey-panel {
    min-height: 360px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(250, 250, 249, .75);
    scroll-snap-align: start;
  }

  .featured-story-media {
    min-height: 56vw;
  }

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

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

  .principle {
    min-height: auto;
  }

  .principle h3 {
    margin-top: 42px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: relative;
    top: auto;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .article-toc nav {
    display: flex;
    min-width: max-content;
  }

  .article-toc a {
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(250, 250, 249, .7);
  }

  .article-toc a::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-nav {
    width: calc(100% - 18px);
    margin-top: 8px;
    padding-left: 12px;
  }

  .nav-links > a:not(.button) {
    display: none;
  }

  .button {
    padding-inline: 17px;
  }

  .ideas-hero {
    min-height: 78svh;
  }

  .ideas-hero h1,
  .article-hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .article-hero {
    min-height: auto;
  }

  .hero-frame {
    min-height: 112vw;
  }

  .article-cover {
    width: 100%;
    margin-inline: 0;
    border-radius: 16px;
  }

  .hero-frame img {
    object-position: 34% center;
  }

  .source-item {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  body::before {
    filter: none;
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-nav, .progress, .preview-ribbon, .article-toc, .button {
    display: none !important;
  }

  body::before, body::after {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .article-hero, .article-layout, .source-register {
    padding-block: 24px;
  }

  .article-layout {
    display: block;
  }

  .answer-band, .cta-panel, .site-footer {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }
}
