:root {
  --background: #FAFAF7;
  --paper: #FFFFFF;
  --text: #0F0F0F;
  --secondary: #1A1A1A;
  --muted: #6B6B6B;
  --rule: #1A1A1A;
  --accent: #4A1F2E;
  --accent-alt: #8B0000;
  --panel: #F1F0EB;
  --display: "Cormorant Garamond", "EB Garamond", Garamond, Caslon, Georgia, serif;
  --body: Charter, "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --ui: Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 40;
  padding: 0.5rem 0.75rem;
  background: var(--text);
  color: var(--background);
  font-family: var(--ui);
  font-size: 0.875rem;
  transform: translateY(-180%);
}

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

.cover {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--background);
  color: var(--text);
}

.cover-image,
.cover-shade {
  position: absolute;
  inset: 0;
}

.cover-image {
  background: url("/assets/generated/archive-hero-still-life-v1.jpg") 62% center / cover no-repeat;
  filter: saturate(0.96) contrast(1.03);
  transform: scale(1.01);
}

.cover-shade {
  background:
    linear-gradient(90deg, rgba(250, 250, 247, 0.95) 0%, rgba(250, 250, 247, 0.84) 30%, rgba(250, 250, 247, 0.18) 60%, rgba(15, 15, 15, 0.5) 100%),
    linear-gradient(180deg, rgba(250, 250, 247, 0.28), rgba(250, 250, 247, 0.06) 54%, rgba(15, 15, 15, 0.44));
}

.cover-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  min-height: 100svh;
  padding: 1rem 1.25rem 2rem;
}

.issue-line,
.primary-nav,
.story-label,
.article-meta,
.section-kicker,
.file-ledger article > span,
.file-ledger p,
.decision-columns p,
.source-notes h2,
.footer-links {
  font-family: var(--ui);
}

.issue-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.72);
  padding: 0.55rem 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.issue-line span:nth-child(2),
.issue-line span:last-child {
  text-align: center;
}

.issue-line span:nth-child(2) {
  color: var(--accent);
}

.issue-line span:last-child {
  text-align: right;
}

.masthead-link {
  display: block;
  border-bottom: 1px solid rgba(26, 26, 26, 0.72);
  padding: 1rem 0 1.25rem;
  text-decoration: none;
}

.masthead-wordmark {
  display: block;
  font-family: var(--display);
  font-size: 8.8rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.9;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.72);
  padding: 0.85rem 0;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-nav a {
  text-decoration: none;
}

.nav-research {
  color: var(--accent);
}

.cover-story {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(24rem, 0.58fr);
  gap: 2.25rem;
  align-items: end;
  padding-top: 2rem;
}

.story-label {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.8rem 1.3rem;
  align-self: start;
  border-bottom: 4px solid var(--accent);
  padding-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-label span:first-child {
  color: var(--accent);
}

.story-copy {
  max-width: 58rem;
}

.case-brand,
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0;
}

.case-brand {
  color: var(--accent);
  font-size: 11rem;
  line-height: 0.74;
}

h1 {
  max-width: 58rem;
  margin-top: 1.2rem;
  font-size: 6rem;
  line-height: 0.92;
}

.deck {
  max-width: 43rem;
  margin: 1.25rem 0 0;
  color: var(--secondary);
  font-size: 1.32rem;
  line-height: 1.55;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 1.45rem;
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--ui);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-decoration: none;
  text-transform: uppercase;
}

.logo-specimen {
  margin: 0;
  border: 1px solid rgba(26, 26, 26, 0.72);
  background: rgba(250, 250, 247, 0.74);
  box-shadow: 0 1.6rem 4.5rem rgba(15, 15, 15, 0.2);
  backdrop-filter: blur(10px);
}

.logo-specimen > div {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 12rem;
  padding: 2rem;
}

.logo-specimen > div + div {
  border-top: 1px solid rgba(26, 26, 26, 0.72);
}

.logo-specimen span {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--accent);
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo-specimen img {
  max-height: 8rem;
  object-fit: contain;
}

.specimen-before {
  background: rgba(233, 228, 218, 0.88);
}

.specimen-after {
  background: rgba(255, 255, 255, 0.86);
}

.logo-specimen figcaption {
  border-top: 1px solid rgba(26, 26, 26, 0.72);
  padding: 0.72rem 0.9rem;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 0.72rem;
  line-height: 1.45;
}

main {
  background: var(--background);
}

.current-file {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(29rem, 0.5fr);
  grid-template-areas:
    "visual copy"
    "visual ledger";
  gap: 0;
  min-height: 100svh;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.current-visual {
  grid-area: visual;
  min-height: 100svh;
  overflow: hidden;
}

.current-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}

.current-copy {
  grid-area: copy;
  display: grid;
  align-content: end;
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 2.25rem;
  background: var(--background);
}

.section-kicker {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker span,
.section-kicker p {
  margin: 0;
}

.section-kicker span {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  margin-top: 0.75rem;
  font-size: 4.1rem;
  line-height: 0.98;
}

.current-copy > p {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--secondary);
  font-size: 1.14rem;
  line-height: 1.6;
}

.file-ledger {
  grid-area: ledger;
  background: var(--background);
}

.file-ledger article {
  display: grid;
  grid-template-columns: 4.3rem minmax(0, 1fr) 7rem;
  gap: 1rem;
  align-items: center;
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1rem;
}

.file-ledger article > span {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.file-ledger p {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.file-ledger h3 {
  font-size: 1.65rem;
  line-height: 1.05;
}

.file-ledger h3 a,
.decision-columns a,
.alphabet-grid a {
  text-decoration: none;
}

.file-ledger img {
  width: 7rem;
  height: 5.2rem;
  border: 1px solid rgba(26, 26, 26, 0.35);
  object-fit: cover;
}

.decision-map {
  padding: 5rem 1.25rem 6rem;
  background: var(--text);
  color: var(--background);
}

.decision-map > .section-kicker,
.decision-map h2 {
  max-width: 86rem;
  margin-left: auto;
  margin-right: auto;
}

.decision-map h2 {
  color: var(--background);
  font-size: 5.4rem;
}

.decision-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 86rem;
  margin: 2.6rem auto 0;
  border-top: 1px solid rgba(250, 250, 247, 0.72);
  border-left: 1px solid rgba(250, 250, 247, 0.72);
}

.decision-columns article {
  min-height: 30rem;
  border-right: 1px solid rgba(250, 250, 247, 0.72);
  border-bottom: 1px solid rgba(250, 250, 247, 0.72);
  padding: 1.4rem;
}

.decision-columns p {
  margin: 0 0 3rem;
  color: #D9C5CB;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.decision-columns h3 {
  min-height: 11rem;
  color: var(--background);
  font-size: 2.5rem;
}

.decision-columns ol {
  display: grid;
  gap: 0.75rem;
  margin: 1.6rem 0 0;
  padding-left: 1.15rem;
  color: rgba(250, 250, 247, 0.82);
  font-size: 1.04rem;
  line-height: 1.45;
}

.brand-index-panel {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--text);
}

.brand-index-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.92) contrast(1.04);
}

.brand-index-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.88), rgba(15, 15, 15, 0.44) 54%, rgba(15, 15, 15, 0.18)),
    linear-gradient(180deg, rgba(74, 31, 46, 0.42), rgba(15, 15, 15, 0.72));
}

.index-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 100svh;
  max-width: 92rem;
  padding: 5rem 1.25rem;
  color: var(--background);
}

.index-overlay h2 {
  max-width: 50rem;
  color: var(--background);
  font-size: 5rem;
}

.alphabet-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 86rem;
  margin-top: 2.6rem;
  border-top: 1px solid rgba(250, 250, 247, 0.7);
  border-left: 1px solid rgba(250, 250, 247, 0.7);
  background: rgba(15, 15, 15, 0.24);
  backdrop-filter: blur(8px);
}

.alphabet-grid div {
  min-height: 12rem;
  border-right: 1px solid rgba(250, 250, 247, 0.7);
  border-bottom: 1px solid rgba(250, 250, 247, 0.7);
  padding: 1.1rem;
}

.alphabet-grid span {
  display: block;
  color: #D9C5CB;
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 0.9;
}

.alphabet-grid a {
  display: block;
  margin-top: 0.45rem;
  color: var(--background);
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.1;
}

.colophon-note {
  padding: 6rem 1.25rem;
  background: var(--background);
  text-align: center;
}

.colophon-note p {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: var(--ui);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.colophon-note h2 {
  max-width: 72rem;
  margin: 0 auto;
  font-size: 4.4rem;
}

.colophon-rule {
  width: 7rem;
  height: 0.34rem;
  margin: 2rem auto 0;
  background: var(--accent);
}

.source-notes {
  display: grid;
  grid-template-columns: 10rem minmax(0, 48rem);
  gap: 2rem;
  justify-content: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 2rem 1.25rem;
}

.source-notes h2 {
  margin: 0;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.source-notes p,
.source-notes ul {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.source-notes p {
  margin: 0;
}

.source-notes ul {
  display: grid;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding-left: 1rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  gap: 2rem;
  padding: 2rem 1.25rem 3rem;
  background: var(--background);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.3rem;
  align-content: start;
  color: var(--secondary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a {
  text-decoration: none;
}

.footer-signature {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: right;
}

.footer-signature p {
  margin: 0;
}

.footer-signature p:first-child {
  color: var(--secondary);
  font-family: var(--ui);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.footer-signature p:last-child {
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .masthead-wordmark {
    font-size: 6.2rem;
  }

  .cover-story {
    grid-template-columns: 1fr;
  }

  .story-label {
    order: 1;
  }

  .logo-specimen {
    order: 2;
  }

  .story-copy {
    order: 3;
  }

  .logo-specimen {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .logo-specimen > div + div {
    border-top: 0;
    border-left: 1px solid rgba(26, 26, 26, 0.72);
  }

  .logo-specimen figcaption {
    grid-column: 1 / -1;
  }

  .current-file {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "copy"
      "ledger";
  }

  .current-visual {
    min-height: 46rem;
  }

  .current-copy,
  .file-ledger article {
    border-left: 0;
  }

  .alphabet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .cover-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cover-shade {
    background:
      linear-gradient(180deg, rgba(250, 250, 247, 0.92), rgba(250, 250, 247, 0.7) 50%, rgba(15, 15, 15, 0.2)),
      linear-gradient(90deg, rgba(250, 250, 247, 0.92), rgba(250, 250, 247, 0.22));
  }

  .cover-image {
    background-position: 70% center;
  }

  .issue-line {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .issue-line span,
  .issue-line span:nth-child(2),
  .issue-line span:last-child {
    text-align: left;
  }

  .masthead-wordmark {
    font-size: 4.1rem;
  }

  .primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-label {
    display: grid;
  }

  .case-brand {
    font-size: 6.4rem;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2,
  .decision-map h2,
  .index-overlay h2,
  .colophon-note h2 {
    font-size: 2.75rem;
  }

  .deck {
    font-size: 1.14rem;
  }

  .logo-specimen {
    grid-template-columns: 1fr;
  }

  .logo-specimen > div + div {
    border-left: 0;
    border-top: 1px solid rgba(26, 26, 26, 0.72);
  }

  .logo-specimen > div {
    min-height: 9.5rem;
  }

  .current-visual {
    min-height: 28rem;
  }

  .current-copy {
    padding: 1.5rem 1rem;
  }

  .file-ledger article {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .file-ledger img {
    grid-column: 2;
    width: 100%;
    height: 12rem;
  }

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

  .decision-columns article {
    min-height: auto;
  }

  .decision-columns h3 {
    min-height: auto;
  }

  .alphabet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-notes,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-signature {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .masthead-wordmark {
    font-size: 3.05rem;
  }

  .case-brand {
    font-size: 4.7rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2,
  .decision-map h2,
  .index-overlay h2,
  .colophon-note h2 {
    font-size: 2.08rem;
  }

  .file-ledger h3 {
    font-size: 1.38rem;
  }

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

/* Core static routes generated by scripts/build-core.mjs */
.core-page {
  background: var(--background);
}

.core-header {
  padding: 1rem 1.25rem 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.025) 1px, transparent 1px) 0 0 / 7.5rem 7.5rem,
    var(--background);
}

.core-header .masthead-wordmark {
  font-size: 6.2rem;
}

.page-shell {
  padding: 0 1.25rem;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(21rem, 0.42fr);
  gap: 2rem;
  align-items: stretch;
  max-width: 92rem;
  min-height: 34rem;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
  padding: 3.2rem 0;
}

.page-hero > div {
  display: grid;
  align-content: end;
}

.page-hero h1 {
  max-width: 66rem;
  margin: 0;
  font-size: 5.6rem;
  line-height: 0.94;
}

.page-hero p:last-child {
  max-width: 48rem;
  margin: 1.2rem 0 0;
  color: var(--secondary);
  font-size: 1.24rem;
  line-height: 1.58;
}

.page-hero img {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  border: 1px solid rgba(26, 26, 26, 0.55);
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-family: var(--ui);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.index-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 92rem;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
  padding: 1.2rem 0;
}

.index-tools a {
  border: 1px solid rgba(26, 26, 26, 0.65);
  padding: 0.65rem 0.8rem;
  color: var(--accent);
  font-family: var(--ui);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.case-list,
.policy-copy,
.brand-index-grid,
.faq-block,
.case-article,
.answer-summary {
  max-width: 92rem;
  margin: 0 auto;
  padding: 3rem 0;
}

.case-list > h2,
.faq-block > h2,
.policy-copy h2,
.case-article h2,
.answer-summary h2 {
  margin: 0 0 1.4rem;
  font-size: 2.7rem;
}

.case-row {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
  border-top: 1px solid rgba(26, 26, 26, 0.42);
  padding: 1.2rem 0;
}

.case-row:last-child {
  border-bottom: 1px solid rgba(26, 26, 26, 0.42);
}

.case-thumb {
  display: grid;
  place-items: center;
  height: 10rem;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.5);
  background: var(--panel);
}

.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-row h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.04;
}

.case-row h2 a,
.brand-index-grid a,
.related-cases a {
  text-decoration: none;
}

.case-row p:first-child {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-row p:last-child {
  max-width: 48rem;
  margin: 0.7rem 0 0;
  color: var(--secondary);
  font-size: 1.05rem;
  line-height: 1.55;
}

.policy-copy {
  display: grid;
  gap: 1.6rem;
  max-width: 68rem;
}

.policy-copy article {
  border-top: 1px solid var(--rule);
  padding-top: 1.3rem;
}

.policy-copy p,
.policy-copy li,
.faq-block p,
.case-article p,
.case-article li,
.answer-summary p {
  color: var(--secondary);
  font-size: 1.08rem;
  line-height: 1.62;
}

.policy-copy ul,
.case-article ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.2rem;
}

.brand-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}

.brand-index-grid > div {
  min-height: 14rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.2rem;
}

.brand-index-grid h2 {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 3.4rem;
  line-height: 0.9;
}

.brand-index-grid a {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.7rem;
}

.brand-index-grid span {
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: 1.05;
}

.brand-index-grid small {
  color: var(--muted);
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-article {
  max-width: 72rem;
}

.case-article > header {
  max-width: 58rem;
  border-bottom: 1px solid var(--rule);
  padding: 3rem 0 2rem;
}

.case-article > header h1 {
  font-size: 5rem;
}

.case-article > header > p:not(.eyebrow) {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  line-height: 1.58;
}

.case-article figure {
  margin: 2rem 0;
  border: 1px solid rgba(26, 26, 26, 0.52);
  background: var(--panel);
}

.case-article figure img {
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
}

.case-article figcaption {
  border-top: 1px solid rgba(26, 26, 26, 0.42);
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 0.76rem;
  line-height: 1.5;
}

.article-comparison > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-comparison > div > div {
  display: grid;
  gap: 1rem;
  border-right: 1px solid rgba(26, 26, 26, 0.42);
  padding: 1rem;
}

.article-comparison > div > div:last-child {
  border-right: 0;
}

.article-comparison span {
  color: var(--accent);
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-comparison img {
  width: 100%;
  height: 18rem;
  padding: 2rem;
  background: var(--paper);
  object-fit: contain;
}

.case-article section {
  max-width: 48rem;
  border-top: 1px solid rgba(26, 26, 26, 0.42);
  padding: 2rem 0;
}

.answer-summary {
  max-width: 58rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(74, 31, 46, 0.65);
  border-bottom: 1px solid rgba(26, 26, 26, 0.38);
  padding: 1.35rem 0;
}

.answer-summary h2 {
  color: var(--accent);
  font-family: var(--ui);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.answer-summary p {
  max-width: 54rem;
  margin: 0;
  font-size: 1.16rem;
}

.case-article .answer-summary {
  max-width: 58rem;
  margin: 2rem 0;
}

.article-section p + p {
  margin-top: 1rem;
}

.takeaways {
  background: var(--panel);
  max-width: 58rem !important;
  border: 1px solid rgba(26, 26, 26, 0.45) !important;
  padding: 1.4rem !important;
}

.related-cases {
  display: grid;
  gap: 0.65rem;
}

.related-cases a {
  border-bottom: 1px solid rgba(26, 26, 26, 0.35);
  padding-bottom: 0.65rem;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.18;
}

.faq-block {
  display: grid;
  gap: 1rem;
}

.faq-block article {
  border-top: 1px solid rgba(26, 26, 26, 0.42);
  padding-top: 1rem;
}

.faq-block h3 {
  font-size: 1.6rem;
}

.source-list ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.2rem;
}

.source-list li {
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .core-header .masthead-wordmark {
    font-size: 3.8rem;
  }

  .page-hero,
  .case-row,
  .article-comparison > div {
    grid-template-columns: 1fr;
  }

  .article-comparison > div > div {
    border-right: 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.42);
  }

  .article-comparison > div > div:last-child {
    border-bottom: 0;
  }

  .page-hero h1,
  .case-article > header h1 {
    font-size: 3.2rem;
  }

  .page-hero img {
    min-height: 18rem;
  }

  .case-thumb {
    height: 14rem;
  }

  .brand-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .core-header .masthead-wordmark {
    font-size: 2.9rem;
  }

  .page-hero h1,
  .case-article > header h1 {
    font-size: 2.45rem;
  }

  .brand-index-grid {
    grid-template-columns: 1fr;
  }
}
