/* Swiss Knife SEO Journal, editorial layer */

:root {
  --journal-ink: #171717;
  --journal-paper: #f6f3ed;
  --journal-red: #ef4a43;
  /* Text safe companion. The fill above stays the brand red; at 10px on white
     it measured 3.66 to 1, so type uses this instead. */
  --journal-red-ink: #b8373c;
  --journal-blue: #3548d4;
  --journal-green: #1a725a;
  /* Darkened from #a36d11, which measured 4.42 to 1 behind the 10px topic tag. */
  --journal-gold: #805400;
}

body {
  background: #fff;
  color: var(--journal-ink);
}

.brand i {
  border-left: 1px solid #d5d5d5;
  color: #737373;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .16em;
  margin-left: 9px;
  padding-left: 10px;
  text-transform: uppercase;
}

.topic-menu {
  min-width: 370px;
}

.eyebrow {
  color: #686868;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.eyebrow > span {
  background: var(--journal-red);
  display: inline-block;
  height: 7px;
  margin-right: 7px;
  width: 7px;
}

.journal-hero {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, .035) 1px, transparent 1px),
    linear-gradient(rgba(20, 20, 20, .035) 1px, transparent 1px),
    var(--journal-paper);
  background-size: 42px 42px;
  border-bottom: 1px solid #ddd8ce;
  padding: 96px 0 80px;
}

.journal-hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(48px, 8vw, 120px);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr);
}

.journal-hero h1,
.archive-hero h1,
.topic-hero h1,
.article-hero h1,
.journal-page-hero h1,
.not-found h1 {
  color: var(--journal-ink);
  font-size: clamp(50px, 6.4vw, 94px);
  letter-spacing: -.065em;
  line-height: .96;
  margin: 0;
  max-width: 950px;
}

.journal-hero h1 em {
  color: var(--journal-red-ink);
  font-style: normal;
}

.journal-hero .lead {
  color: #4e4e4e;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  margin: 32px 0 0;
  max-width: 760px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
}

.text-link {
  align-items: center;
  color: var(--journal-ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  gap: 10px;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--journal-red-ink);
}

.hero-ledger {
  background: var(--journal-ink);
  box-shadow: 18px 18px 0 rgba(239, 74, 67, .16);
  color: #fff;
  padding: 26px;
  transform: rotate(1.25deg);
}

.ledger-head,
.ledger-row {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  justify-content: space-between;
}

.ledger-head {
  color: #aaa;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: .12em;
  padding-bottom: 16px;
  text-transform: uppercase;
}

.ledger-main {
  align-items: end;
  display: flex;
  gap: 16px;
  padding: 27px 0;
}

.ledger-main strong {
  color: var(--journal-red-ink);
  font-size: 84px;
  font-weight: 650;
  letter-spacing: -.08em;
  line-height: .8;
}

.ledger-main span {
  color: #d1d1d1;
  font-size: 14px;
  line-height: 1.3;
  text-transform: uppercase;
}

.ledger-row {
  font-size: 13px;
  padding: 12px 0;
}

.ledger-row b {
  /* Dark panel: the ink companion measures 3.89 here, the brand red 4.89, the
     same split already made for .topic-num and the lead note numeral. */
  color: var(--journal-red);
  font-family: "Geist Mono", monospace;
}

.latest-section,
.archive-list,
.topic-stories,
.related-section {
  padding: 92px 0;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 42px;
}

.section-heading h2,
.topic-section h2,
.method-section h2,
.related-section h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  letter-spacing: -.05em;
  line-height: 1.02;
  margin: 0;
}

.lead-story {
  border-bottom: 1px solid #d8d8d8;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1.4fr) minmax(230px, .6fr);
  margin-bottom: 48px;
  padding-bottom: 48px;
}

.story-grid {
  display: grid;
  gap: 44px 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.story-top {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(239, 74, 67, .13), transparent 60%),
    #eeece7;
  border: 1px solid #ddd9d0;
  color: var(--journal-ink);
  display: flex;
  height: 140px;
  padding: 22px;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.story-card[data-topic="site-architecture"] .story-top {
  background: linear-gradient(135deg, rgba(53, 72, 212, .13), transparent 60%), #eeece7;
}

.story-card[data-topic="ai-search"] .story-top {
  background: linear-gradient(135deg, rgba(26, 114, 90, .14), transparent 60%), #eeece7;
}

.story-card[data-topic="content-and-measurement"] .story-top {
  background: linear-gradient(135deg, rgba(163, 109, 17, .15), transparent 60%), #eeece7;
}

.story-top:hover,
.story-top:focus-visible {
  background-color: #e3dfd6;
  transform: translateY(-3px);
}

.story-no {
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  font-weight: 800;
}

.story-line {
  background: #aaa59b;
  height: 1px;
  margin: 0 14px;
  width: 50px;
}

.story-arrow {
  font-size: 30px;
  margin-left: auto;
}

.story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 21px;
}

.topic-tag {
  color: #a92b30;
  display: inline-block;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  margin-bottom: 12px;
  text-decoration: none;
  text-transform: uppercase;
}

[data-topic="site-architecture"] .topic-tag {
  color: var(--journal-blue);
}

[data-topic="ai-search"] .topic-tag {
  color: var(--journal-green);
}

[data-topic="content-and-measurement"] .topic-tag {
  color: var(--journal-gold);
}

.story-body h3 {
  font-size: 23px;
  letter-spacing: -.035em;
  line-height: 1.16;
  margin: 0 0 13px;
}

.story-body h3 a {
  color: inherit;
  text-decoration: none;
}

.story-body h3 a:hover,
.story-body h3 a:focus-visible {
  color: var(--journal-red-ink);
}

.story-body > p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 21px;
}

.story-meta {
  align-items: center;
  border-top: 1px solid #e2e2e2;
  color: #666;
  display: flex;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  text-transform: uppercase;
}

.story-card.featured {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
}

.story-card.featured .story-top {
  height: 100%;
  min-height: 310px;
}

.story-card.featured .story-no {
  font-size: 36px;
}

.story-card.featured .story-line {
  width: 90px;
}

.story-card.featured .story-body {
  justify-content: center;
  padding: 20px 0;
}

.story-card.featured .story-body h3 {
  font-size: clamp(30px, 3vw, 45px);
}

.story-card.featured .story-body > p {
  font-size: 16px;
}

.lead-note {
  align-self: end;
  background: var(--journal-ink);
  color: #fff;
  padding: 28px;
}

.lead-note > span {
  /* Dark surface: the brand red measures 4.89 here, the ink companion 3.89. */
  color: var(--journal-red);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
}

.lead-note p {
  color: #d1d1d1;
  font-size: 15px;
  line-height: 1.65;
  margin: 24px 0;
}

.lead-note a {
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

.topic-section {
  background: var(--journal-ink);
  color: #fff;
  padding: 92px 0;
}

.topic-section .eyebrow {
  color: #a9a9a9;
}

.topic-grid {
  border-left: 1px solid #3c3c3c;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
}

.topic-panel {
  border-bottom: 1px solid #3c3c3c;
  border-right: 1px solid #3c3c3c;
  border-top: 1px solid #3c3c3c;
  color: #fff;
  min-height: 330px;
  padding: 28px;
  text-decoration: none;
  transition: background .18s ease;
}

.topic-panel:hover,
.topic-panel:focus-visible {
  background: #252525;
}

.topic-num {
  /* The brand red, not the ink companion: this panel is dark, where the darker
     ink drops to 3.89 to 1 while the brand red measures 4.89. */
  color: var(--journal-red);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
}

.topic-panel:nth-child(2) .topic-num {
  color: #8290ff;
}

.topic-panel:nth-child(3) .topic-num {
  color: #5ac7a6;
}

.topic-panel:nth-child(4) .topic-num {
  color: #e2ad4d;
}

.topic-panel h3 {
  font-size: 29px;
  letter-spacing: -.04em;
  margin: 70px 0 20px;
}

.topic-panel p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.62;
}

.topic-link {
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin-top: 28px;
}

.topic-link b {
  float: right;
}

.method-section {
  background: var(--journal-paper);
  padding: 100px 0;
}

.method-grid {
  display: grid;
  gap: clamp(50px, 10vw, 160px);
  grid-template-columns: 1fr 1fr;
}

.method-copy p {
  color: #555;
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.method-copy .text-link {
  margin-top: 15px;
}

/* The band used to paint itself in the journal red. Nothing legible fits on that
   colour: white ran 3.66:1 and the shared body grey 2.12:1, measured from the
   rendered pixels, so every closing block on the site failed AA. The shared deep
   surface carries the same red as a keyline and clears 11:1. */
.journal-cta {
  background: var(--deep);
}

.journal-cta .eyebrow {
  border-bottom-color: #55555c;
  color: #e6e6e1;
}

.journal-cta p {
  max-width: 700px;
}

.archive-hero,
.topic-hero,
.article-hero,
.journal-page-hero {
  background: var(--journal-paper);
  border-bottom: 1px solid #ddd8ce;
  padding: 75px 0 70px;
}

.archive-title {
  align-items: end;
  display: grid;
  gap: 70px;
  grid-template-columns: 1.4fr .6fr;
}

.archive-title > p {
  color: #555;
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}

.archive-tools {
  align-items: end;
  border-top: 1px solid #cfc9be;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, .7fr) 1.3fr;
  margin-top: 55px;
  padding-top: 28px;
}

.archive-tools label span {
  display: block;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.archive-tools input {
  background: #fff;
  border: 1px solid #bbb5aa;
  border-radius: 0;
  font: inherit;
  padding: 15px;
  width: 100%;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-buttons button {
  background: transparent;
  border: 1px solid #aaa49a;
  border-radius: 100px;
  color: #444;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  padding: 10px 14px;
}

.filter-buttons button.active {
  background: var(--journal-ink);
  border-color: var(--journal-ink);
  color: #fff;
}

.result-count {
  color: #666;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: .1em;
  margin: 0 0 32px;
  text-transform: uppercase;
}

.archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.filter-empty {
  border: 1px solid #dedede;
  color: #666;
  padding: 30px;
}

.topic-hero-grid {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr auto;
}

.topic-hero .lead {
  color: #555;
  font-size: 19px;
  line-height: 1.65;
  margin: 27px 0 0;
  max-width: 800px;
}

.topic-index {
  border-left: 1px solid #bdb7ac;
  min-width: 180px;
  padding-left: 30px;
}

.topic-index > span {
  color: #a92b30;
  display: block;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
}

.topic-index strong {
  display: block;
  font-size: 76px;
  letter-spacing: -.07em;
  line-height: 1;
  margin-top: 28px;
}

.topic-index p {
  color: #686868;
  font-size: 12px;
  margin: 10px 0 0;
  max-width: 100px;
}

.topic-story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.topic-story-grid .story-card.featured {
  grid-column: 1 / -1;
}

.other-topics {
  background: var(--journal-paper);
  padding: 55px 0;
}

.other-topics .container > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.other-topics a {
  border: 1px solid #d2cdc3;
  color: var(--journal-ink);
  font-size: 17px;
  font-weight: 700;
  margin-right: -1px;
  padding: 20px;
  text-decoration: none;
}

.other-topics a:hover,
.other-topics a:focus-visible {
  background: #fff;
}

.other-topics a span {
  color: #5f5f5f;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  margin-right: 20px;
}

.reading-progress {
  background: transparent;
  height: 3px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 200;
}

.reading-progress span {
  background: var(--journal-red);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
}

.article-hero {
  padding-bottom: 62px;
}

.article-hero-grid {
  align-items: end;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.article-hero h1 {
  font-size: clamp(46px, 5.7vw, 78px);
  margin-top: 14px;
}

.article-deck {
  color: #505050;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  margin: 28px 0 0;
  max-width: 850px;
}

.article-byline {
  align-items: center;
  display: flex;
  gap: 13px;
  margin-top: 32px;
}

.byline-mark {
  align-items: center;
  background: var(--journal-ink);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 11px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.article-byline b,
.article-byline span {
  display: block;
}

.article-byline b {
  font-size: 13px;
}

.article-byline div > span {
  color: #666;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  margin-top: 4px;
  text-transform: uppercase;
}

.article-brief {
  background: var(--journal-ink);
  color: #fff;
  padding: 26px;
}

.article-brief > p {
  color: #aaa;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: .12em;
  margin: 0 0 17px;
  text-transform: uppercase;
}

.article-brief ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-brief li {
  border-top: 1px solid #383838;
}

.article-brief a {
  align-items: baseline;
  color: #e2e2e2;
  display: grid;
  font-size: 12px;
  gap: 12px;
  grid-template-columns: 22px 1fr;
  line-height: 1.35;
  padding: 10px 0;
  text-decoration: none;
}

.article-brief a:hover,
.article-brief a:focus-visible {
  color: #fff;
}

.article-brief a span {
  color: #ff7a73;
  font-family: "Geist Mono", monospace;
  font-size: 9px;
}

.article-layout {
  display: grid;
  gap: 55px;
  grid-template-columns: 110px minmax(0, 760px);
  justify-content: center;
  padding-bottom: 95px;
  padding-top: 75px;
}

.article-share {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: sticky;
  top: 100px;
}

.article-share > span {
  color: var(--journal-red-ink);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  margin-bottom: 7px;
}

.article-share a,
.article-share button {
  background: none;
  border: 0;
  color: #676767;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  padding: 0;
  text-align: left;
  text-decoration: underline;
}

.article-copy {
  min-width: 0;
}

.article-copy p {
  color: #353535;
  font-size: 18px;
  line-height: 1.78;
  margin: 0 0 24px;
}

.article-intro p:first-child {
  color: var(--journal-ink);
  font-size: 23px;
  font-weight: 520;
  letter-spacing: -.02em;
  line-height: 1.58;
}

.article-copy > section {
  border-top: 1px solid #d6d6d6;
  margin-top: 52px;
  padding-top: 42px;
  scroll-margin-top: 90px;
}

.article-copy .section-no {
  color: var(--journal-red-ink);
  display: block;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  margin-bottom: 15px;
}

.article-copy h2 {
  color: var(--journal-ink);
  font-size: clamp(30px, 3.7vw, 46px);
  letter-spacing: -.045em;
  line-height: 1.08;
  margin: 0 0 25px;
}

.field-checklist {
  background: var(--journal-paper);
  border-left: 4px solid var(--journal-red);
  margin-top: 60px;
  padding: 36px;
}

.field-checklist h2 {
  font-size: 30px;
  margin-bottom: 25px;
}

.field-checklist ul {
  display: grid;
  gap: 0 25px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.field-checklist li {
  border-top: 1px solid #d4cec3;
  font-size: 14px;
  line-height: 1.45;
  padding: 13px 0 13px 24px;
  position: relative;
}

.field-checklist li::before {
  color: var(--journal-red-ink);
  content: "✓";
  left: 2px;
  position: absolute;
}

.article-end {
  align-items: start;
  border-top: 1px solid #d6d6d6;
  display: grid;
  gap: 20px;
  grid-template-columns: 35px 1fr;
  margin-top: 45px;
  padding-top: 28px;
}

.article-end > span {
  color: var(--journal-red-ink);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
}

.article-end p {
  color: #727272;
  font-size: 13px;
  line-height: 1.6;
}

.related-section {
  background: var(--journal-paper);
}

.journal-page-hero h1 {
  font-size: clamp(44px, 5.6vw, 78px);
}

.journal-page-hero .lead {
  color: #555;
  font-size: 19px;
  line-height: 1.65;
  margin: 28px 0 0;
  max-width: 780px;
}

.prose-page {
  padding: 82px 0 105px;
}

.prose-grid {
  display: grid;
  gap: 80px;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: center;
}

.prose-index {
  align-self: start;
  border-top: 3px solid var(--journal-ink);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 95px;
}

.prose-index span {
  color: #666;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: .1em;
  padding: 15px 0;
  text-transform: uppercase;
}

.prose-index a {
  border-top: 1px solid #ddd;
  color: var(--journal-ink);
  font-size: 13px;
  padding: 13px 0;
  text-decoration: none;
}

.prose-index a:hover,
.prose-index a:focus-visible {
  color: var(--journal-red-ink);
}

.prose-copy section {
  border-top: 1px solid #d8d8d8;
  margin-bottom: 58px;
  padding-top: 35px;
  scroll-margin-top: 90px;
}

.prose-copy section:first-child {
  border-top: 0;
  padding-top: 0;
}

.prose-copy h2 {
  font-size: clamp(31px, 4vw, 47px);
  letter-spacing: -.045em;
  line-height: 1.08;
  margin: 0 0 22px;
}

.prose-copy p {
  color: #3e3e3e;
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 20px;
}

.prose-copy a {
  color: #bd2f2a;
  font-weight: 650;
}

.prose-callout {
  background: var(--journal-ink);
  color: #fff;
  padding: 35px;
}

.prose-callout h2 {
  font-size: 29px;
}

.prose-callout p {
  color: #ccc;
  font-size: 16px;
  margin-bottom: 0;
}

.prose-callout a {
  color: #fff;
}

.not-found {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, .035) 1px, transparent 1px),
    linear-gradient(rgba(20, 20, 20, .035) 1px, transparent 1px),
    var(--journal-paper);
  background-size: 42px 42px;
  min-height: 650px;
  padding: 90px 0;
}

.error-code {
  color: var(--journal-red-ink);
  display: block;
  font-family: "Geist Mono", monospace;
  font-size: clamp(90px, 17vw, 220px);
  font-weight: 750;
  letter-spacing: -.09em;
  line-height: .8;
  margin-bottom: 50px;
}

.not-found h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.not-found p:not(.eyebrow) {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
  max-width: 650px;
}

@media (max-width: 1050px) {
  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-hero-grid {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 290px;
  }
}

@media (max-width: 820px) {
  .brand i {
    display: none;
  }

  .journal-hero-grid,
  .archive-title,
  .archive-tools,
  .method-grid,
  .topic-hero-grid,
  .article-hero-grid,
  .prose-grid {
    grid-template-columns: 1fr;
  }

  .journal-hero {
    padding: 68px 0 55px;
  }

  .hero-ledger {
    max-width: 430px;
    transform: none;
  }

  .lead-story {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-card.featured {
    grid-template-columns: 1fr;
  }

  .story-card.featured .story-top {
    min-height: 210px;
  }

  .archive-title,
  .archive-tools {
    gap: 30px;
  }

  .filter-buttons {
    justify-content: flex-start;
  }

  .topic-index {
    border-left: 0;
    border-top: 1px solid #bdb7ac;
    display: flex;
    gap: 20px;
    min-width: 0;
    padding: 20px 0 0;
  }

  .topic-index strong {
    font-size: 40px;
    margin: 0;
  }

  .topic-index p {
    margin: 0;
    max-width: none;
  }

  .article-brief {
    display: none;
  }

  .article-layout {
    gap: 25px;
    grid-template-columns: 1fr;
    padding-top: 55px;
  }

  .article-share {
    flex-direction: row;
    position: static;
  }

  .article-share > span {
    margin-right: auto;
  }

  .prose-grid {
    gap: 45px;
  }

  .prose-index {
    position: static;
  }
}

@media (max-width: 600px) {
  .journal-hero h1,
  .archive-hero h1,
  .topic-hero h1,
  .journal-page-hero h1 {
    font-size: 46px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .story-grid,
  .archive-grid,
  .topic-story-grid,
  .topic-grid,
  .other-topics .container > div {
    grid-template-columns: 1fr;
  }

  .lead-note {
    margin-top: -10px;
  }

  .topic-panel {
    min-height: 250px;
  }

  .topic-panel h3 {
    margin-top: 40px;
  }

  .latest-section,
  .archive-list,
  .topic-stories,
  .related-section {
    padding: 65px 0;
  }

  .archive-hero,
  .topic-hero,
  .article-hero,
  .journal-page-hero {
    padding: 54px 0 48px;
  }

  .archive-tools label,
  .archive-tools input {
    min-width: 0;
  }

  .article-hero h1 {
    font-size: 43px;
  }

  .article-byline div > span {
    line-height: 1.5;
  }

  .article-copy p {
    font-size: 17px;
  }

  .article-intro p:first-child {
    font-size: 20px;
  }

  .field-checklist {
    padding: 28px 22px;
  }

  .field-checklist ul {
    grid-template-columns: 1fr;
  }

  .journal-cta .cta-row {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-top {
    transition: none;
  }
}

/* Conversion layer: proof lines, application panels, and contextual invitations.
   Added with the 2026-07-29 copy and CRO pass. */

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.hero-proof li {
  color: #5a5a5a;
  font-size: 14px;
  font-weight: 650;
  padding-left: 22px;
  position: relative;
}

.hero-proof li::before {
  color: var(--good);
  content: "\2713";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.cta-reassure {
  font-size: 14px;
  margin: 18px 0 0;
  max-width: 62ch;
  opacity: .85;
}

.journal-cta .cta-reassure {
  color: #c5c5c0;
  margin-inline: auto;
  opacity: 1;
}

.shot {
  background: #fff;
  border: 1px solid var(--line-strong);
  margin: 0;
}

.shot img {
  display: block;
  height: auto;
  width: 100%;
}

.shot figcaption {
  border-top: 1px solid var(--line);
  color: var(--mut);
  font-size: 13.5px;
  line-height: 1.5;
  padding: 13px 18px;
}

.shot-fade img {
  -webkit-mask-image: linear-gradient(#000 76%, transparent);
  mask-image: linear-gradient(#000 76%, transparent);
}

.evidence-section {
  border-top: 1px solid #e2e2e2;
  padding: 92px 0;
}

.evidence-section .section-heading p {
  color: #555;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  max-width: 46ch;
}

.evidence-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.evidence-step {
  border-top: 2px solid var(--journal-ink);
  padding-top: 20px;
}

.evidence-step span {
  color: var(--journal-red-ink);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.evidence-step h3 {
  font-size: 23px;
  letter-spacing: -.03em;
  margin: 12px 0 12px;
}

.evidence-step p {
  color: #555;
  font-size: 15.5px;
  line-height: 1.68;
  margin: 0;
}

.evidence-shot {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  margin-top: 58px;
}

.evidence-note .eyebrow {
  margin-bottom: 12px;
}

.evidence-note p {
  color: #555;
  font-size: 16px;
  line-height: 1.68;
}

.evidence-note .cta-row {
  align-items: center;
  margin-top: 22px;
}

.reader-section {
  background: var(--journal-paper);
  padding: 92px 0;
}

.reader-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reader-card {
  background: #fff;
  border: 1px solid #ddd8ce;
  padding: 30px;
}

.reader-card h3 {
  font-size: 22px;
  letter-spacing: -.03em;
  margin: 0 0 12px;
}

.reader-card p {
  color: #555;
  font-size: 15.5px;
  line-height: 1.68;
  margin: 0;
}

.faq-teaser {
  padding: 92px 0;
}

.faq-teaser-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.faq-teaser h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -.045em;
  line-height: 1.05;
  margin: 0 0 18px;
}

.faq-teaser > .container > div > p {
  color: #555;
  font-size: 16.5px;
  line-height: 1.65;
  margin: 0 0 20px;
}

.faq-teaser-list details {
  border-bottom: 1px solid #ddd;
}

.faq-teaser-list summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 17px;
  font-weight: 700;
  gap: 20px;
  justify-content: space-between;
  letter-spacing: -.02em;
  padding: 20px 0;
}

.faq-teaser-list summary::-webkit-details-marker {
  display: none;
}

.faq-teaser-list summary span {
  color: var(--journal-red-ink);
  font-size: 20px;
}

.faq-teaser-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-teaser-list details p {
  color: #555;
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0;
  padding: 0 0 22px;
}

.topic-shot-section {
  background: var(--journal-paper);
  padding: 84px 0;
}

.topic-shot-grid {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.topic-shot-grid h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -.04em;
  line-height: 1.06;
  margin: 0 0 16px;
}

.topic-shot-grid > div > p {
  color: #555;
  font-size: 16.5px;
  line-height: 1.68;
  margin: 0;
}

.topic-shot-grid .cta-row {
  align-items: center;
  margin-top: 24px;
}

.article-callout {
  align-items: center;
  background: var(--journal-paper);
  border-left: 3px solid var(--journal-red);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 46px 0;
  padding: 32px;
}

.article-callout h2 {
  font-size: 25px;
  letter-spacing: -.035em;
  margin: 0 0 12px;
}

.article-callout p {
  color: #4f4f4f;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.article-callout .cta-row {
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.article-callout .cta-reassure {
  font-size: 13px;
  margin-top: 14px;
}

.prose-copy .cta-row {
  margin-top: 24px;
}

@media (max-width: 1050px) {
  .evidence-grid,
  .reader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-shot,
  .faq-teaser-grid,
  .topic-shot-grid,
  .article-callout {
    grid-template-columns: 1fr;
  }

  .faq-teaser-grid {
    gap: 34px;
  }
}

@media (max-width: 600px) {
  .evidence-grid,
  .reader-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    gap: 8px 18px;
  }

  .article-callout {
    padding: 26px 22px;
  }
}

/* The shared layer gives `.eyebrow` width:max-content. Inside a grid that sets a
   track's automatic minimum to the full unwrapped kicker, so a long one pushes
   the whole column past a narrow viewport. The shared sheet already releases the
   hero from this; every editorial column needs the same release. */
.prose-grid > *,
.evidence-grid > *,
.evidence-shot > *,
.reader-grid > *,
.faq-teaser-grid > *,
.topic-shot-grid > *,
.article-callout > * {
  min-width: 0;
}

.prose-copy .eyebrow,
.evidence-note .eyebrow,
.article-callout .eyebrow,
.topic-shot-grid .eyebrow {
  max-width: 100%;
  white-space: normal;
}
