/* ===================================================================
   USA HOMEOWNER GUIDE — THE JOURNAL
   Editorial layer for the homepage + articles. Builds on styles.css
   (brand tokens, fonts, header, footer). Aesthetic: a warm, printed
   home-improvement journal — cream paper, navy ink, flag-red spot color,
   gold hairline accents. Page-speed is deliberately traded for richness.
   =================================================================== */

/* --- blog-scoped tokens --- */
:root {
  --wrap:      1240px;
  --read:      680px;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
@media (max-width: 560px) { .wrap { padding-inline: var(--s-4); } }

.blog-body {
  /* a touch more warmth than the funnel cream */
  background-color: var(--cream);
}

/* anchor targets clear the condensed sticky bar */
section[id] { scroll-margin-top: 96px; }

/* ===================================================================
   TICKER — newsroom-style scrolling tip strip
   =================================================================== */
.ticker {
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
  border-bottom: 1px solid var(--navy-dark);
  position: relative;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 58s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  margin-right: var(--s-7);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(250, 247, 242, 0.82);
}
.ticker-item b {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.ticker-item::after {
  content: '';
  width: 4px; height: 4px;
  background: var(--flag-red);
  transform: rotate(45deg);
  margin-left: var(--s-7);
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===================================================================
   MASTHEAD — publication nameplate
   =================================================================== */
.masthead {
  background: var(--cream);
  text-align: center;
  padding: var(--s-6) 0 0;
}
.masthead-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.masthead-rule::before,
.masthead-rule::after {
  content: '';
  height: 1px;
  flex: 1;
  max-width: 220px;
  background: linear-gradient(to right, transparent, var(--rule-dark), transparent);
}
.masthead-logo {
  display: inline-block;
  margin: var(--s-4) 0 var(--s-3);
}
.masthead-logo img { height: 132px; width: auto; }
.masthead-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--navy-light);
  margin-bottom: var(--s-5);
}

/* nameplate nav */
.mast-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-6);
  border-top: 1px solid var(--rule);
  border-bottom: 3px double var(--rule-dark);
  padding: var(--s-3) 0;
}
.mast-nav a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  position: relative;
  padding: 2px 0;
}
.mast-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -3px;
  height: 2px;
  background: var(--flag-red);
  transition: right 0.28s var(--ease-soft);
}
.mast-nav a:hover { color: var(--flag-red); }
.mast-nav a:hover::after { right: 0; }

@media (max-width: 560px) {
  .masthead { padding-top: var(--s-5); }
  .masthead-logo img { height: 92px; }
  .masthead-rule::before, .masthead-rule::after { max-width: 60px; }
  .mast-nav { gap: var(--s-4); }
  .mast-nav a { font-size: 0.6875rem; letter-spacing: 0.1em; }
}

/* ===================================================================
   STICKY CONDENSED BAR
   =================================================================== */
.sitebar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 6px 24px rgba(26, 43, 92, 0.07);
  transform: translateY(-101%);
  transition: transform 0.34s var(--ease-soft);
}
.sitebar.show { transform: translateY(0); }
.sitebar-row {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 10px var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.sitebar-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.sitebar-name span { color: var(--flag-red); }
.sitebar-nav { display: flex; gap: var(--s-5); }
.sitebar-nav a {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
}
.sitebar-nav a:hover { color: var(--flag-red); }
@media (max-width: 640px) { .sitebar-nav { display: none; } }

/* ===================================================================
   SHARED EDITORIAL BITS
   =================================================================== */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flag-red);
}
.kicker::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--flag-red);
}
.kicker.kicker-light { color: var(--gold); }
.kicker.kicker-light::before { background: var(--gold); }

/* section header with title + rule */
.section-head {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}
.section-head h2 {
  font-size: clamp(1.5rem, 2.4vw + 0.5rem, 2.125rem);
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.section-head .rule {
  flex: 1;
  height: 1px;
  background: var(--rule-dark);
  transform: translateY(-3px);
}
.section-head .count {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .section-head .count { display: none; }
}

/* ===================================================================
   COVER STORY
   =================================================================== */
.cover {
  margin: var(--s-7) 0 var(--s-8);
}
.cover-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule-dark);
  background: var(--navy-dark);
  min-height: 540px;
  display: flex;
  align-items: flex-end;
}
.cover-frame::before {
  /* gold corner ticks — magazine cover detail */
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 169, 97, 0.4);
  pointer-events: none;
  z-index: 3;
}
.cover-media {
  position: absolute;
  inset: 0;
}
.cover-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 26s var(--ease-soft) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.13); }
}
.cover-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(19, 31, 71, 0.95) 0%, rgba(19, 31, 71, 0.55) 38%, rgba(19, 31, 71, 0.05) 70%),
    linear-gradient(to right, rgba(19, 31, 71, 0.5) 0%, transparent 55%);
  z-index: 2;
}
.cover-content {
  position: relative;
  z-index: 4;
  padding: var(--s-8) var(--s-7);
  max-width: 720px;
}
.cover-title {
  font-size: clamp(2.25rem, 3.6vw + 1rem, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin: var(--s-4) 0 var(--s-4);
  text-wrap: balance;
}
.cover-title em { font-style: italic; color: var(--gold); }
.cover-dek {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 0.6vw + 1rem, 1.3125rem);
  line-height: 1.5;
  color: rgba(250, 247, 242, 0.88);
  max-width: 54ch;
  margin-bottom: var(--s-5);
}
.cover-foot {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.cover-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--flag-red);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 26px;
  text-decoration: none;
  box-shadow: 0 2px 0 var(--flag-red-dark);
  transition: transform 0.16s var(--ease-soft), box-shadow 0.16s var(--ease-soft), background-color 0.16s;
}
.cover-cta svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease-soft); }
.cover-cta:hover {
  background: var(--flag-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--flag-red-dark);
  color: var(--paper);
}
.cover-cta:hover svg { transform: translateX(4px); }
.cover-byline {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.7);
}
.cover-byline b { color: var(--cream); }

@media (max-width: 760px) {
  .cover-frame { min-height: 0; display: block; }
  .cover-media { position: relative; height: 280px; }
  .cover-media img { animation-duration: 40s; }
  .cover-scrim { display: none; }
  .cover-frame::before { inset: 8px; border-color: rgba(201,169,97,0.5); }
  .cover-content {
    background: var(--navy-dark);
    padding: var(--s-6) var(--s-5);
    max-width: none;
  }
}

/* ===================================================================
   STORY GRID — article cards
   =================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6) var(--s-5);
}
.story-grid.story-grid-2 { grid-template-columns: repeat(2, 1fr); }

.story {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: none;
  position: relative;
}
.story-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--cream-deep);
  border: 1px solid var(--rule-dark);
}
.story-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-soft);
}
.story:hover .story-media img { transform: scale(1.06); }
.story-num {
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.story-body { padding: var(--s-4) 0 0; }
.story-kicker {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flag-red);
  display: flex;
  align-items: center;
  gap: 8px;
}
.story-kicker .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--rule-dark);
}
.story-kicker .read { color: var(--muted); }
.story-title {
  font-family: var(--font-display);
  font-size: 1.4375rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.018em;
  line-height: 1.16;
  margin: var(--s-2) 0 var(--s-2);
  text-wrap: balance;
}
.story:hover .story-title { color: var(--flag-red); }
.story-title, .story-kicker, .story-dek { transition: color 0.18s var(--ease-soft); }
.story-dek {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: var(--s-3);
}
.story-more {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.story-more svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease-soft); }
.story:hover .story-more { color: var(--flag-red); }
.story:hover .story-more svg { transform: translateX(4px); }

/* feature-sized story (2-up row) */
.story--feature .story-media { aspect-ratio: 16 / 10; }
.story--feature .story-title { font-size: clamp(1.5rem, 1.4vw + 1rem, 1.875rem); }
.story--feature .story-dek { font-size: 1rem; }

@media (max-width: 880px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .story-grid,
  .story-grid.story-grid-2 { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ===================================================================
   CREED BAND — navy editorial statement
   =================================================================== */
.creed {
  background: var(--navy);
  color: var(--cream);
  margin: var(--s-9) 0;
  padding: var(--s-8) 0;
  position: relative;
  overflow: hidden;
}
.creed::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right,
    var(--flag-red) 0 33.3%, var(--cream) 33.3% 66.6%, var(--gold) 66.6% 100%);
}
.creed-star {
  position: absolute;
  font-family: var(--font-display);
  color: rgba(201, 169, 97, 0.10);
  font-size: 22rem;
  line-height: 1;
  right: -2rem; bottom: -7rem;
  pointer-events: none;
  user-select: none;
}
.creed-inner {
  position: relative;
  max-width: 760px;
  text-align: center;
}
.creed h2 {
  color: var(--cream);
  font-size: clamp(1.625rem, 2.2vw + 1rem, 2.5rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.creed h2 em { font-style: italic; color: var(--gold); }
.creed p {
  color: rgba(250, 247, 242, 0.78);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 56ch;
  margin: var(--s-4) auto 0;
}
.creed-sign {
  margin-top: var(--s-5);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===================================================================
   DEPARTMENTS STRIP
   =================================================================== */
.depts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule-dark);
  background: var(--paper);
}
.dept {
  padding: var(--s-5) var(--s-4);
  text-align: center;
  text-decoration: none;
  border-right: 1px solid var(--rule);
  transition: background-color 0.18s var(--ease-soft);
}
.dept:last-child { border-right: none; }
.dept:hover { background: var(--cream-warm); }
.dept svg {
  width: 30px; height: 30px;
  color: var(--navy);
  margin: 0 auto var(--s-3);
  stroke-width: 1.5;
  transition: color 0.18s, transform 0.22s var(--ease-soft);
}
.dept:hover svg { color: var(--flag-red); transform: translateY(-3px); }
.dept-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
}
.dept-meta {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
@media (max-width: 720px) {
  .depts { grid-template-columns: repeat(2, 1fr); }
  .dept:nth-child(2) { border-right: none; }
  .dept:nth-child(1), .dept:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* ===================================================================
   ARTICLE PAGE
   =================================================================== */
.article { padding-top: var(--s-6); }
.article-head {
  max-width: var(--read);
  margin: 0 auto;
  text-align: center;
}
.article-kicker { justify-content: center; margin-bottom: var(--s-4); }
.article-title {
  font-size: clamp(2rem, 3vw + 1rem, 3.125rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}
.article-dek {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 0.7vw + 1rem, 1.375rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--navy-light);
  margin-top: var(--s-4);
  text-wrap: balance;
}
.article-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-byline b { color: var(--navy); }
.article-byline .sep {
  width: 4px; height: 4px;
  background: var(--flag-red);
  transform: rotate(45deg);
}

.article-figure {
  max-width: 940px;
  margin: var(--s-7) auto;
}
.article-figure img {
  width: 100%;
  border: 1px solid var(--rule-dark);
  display: block;
}
.article-figure figcaption {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: var(--s-3);
  text-align: center;
}
.article-figure figcaption b {
  color: var(--navy);
  text-transform: uppercase;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  margin-right: 6px;
}

/* prose */
.prose {
  max-width: var(--read);
  margin: 0 auto;
}
.prose > p {
  font-size: 1.1875rem;
  line-height: 1.72;
  color: var(--ink);
  margin-bottom: var(--s-5);
}
.prose > p > strong { color: var(--navy); }
.prose > h2 {
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem);
  letter-spacing: -0.02em;
  margin: var(--s-7) 0 var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}
.prose > h3 {
  font-size: 1.3125rem;
  color: var(--navy);
  margin: var(--s-6) 0 var(--s-3);
}
.prose .dropcap::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4.6rem;
  line-height: 0.78;
  float: left;
  margin: 8px 12px 0 0;
  color: var(--flag-red);
}
.prose ul, .prose ol {
  margin: 0 0 var(--s-5) 0;
  padding-left: 0;
  list-style: none;
}
.prose li {
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  padding: 8px 0 8px 32px;
  position: relative;
  border-bottom: 1px dotted var(--rule);
}
.prose li:last-child { border-bottom: none; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 16px;
  width: 9px; height: 9px;
  background: var(--flag-red);
  transform: rotate(45deg);
}
.prose ol { counter-reset: li; }
.prose ol li::before {
  counter-increment: li;
  content: counter(li);
  position: absolute;
  left: 0; top: 9px;
  width: 20px; height: 20px;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.prose li b { color: var(--navy); }

/* pull quote */
.pullquote {
  margin: var(--s-7) 0;
  padding: var(--s-5) 0 var(--s-5) var(--s-6);
  border-left: 3px solid var(--flag-red);
}
.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.4vw + 1rem, 1.875rem);
  font-style: italic;
  line-height: 1.32;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.pullquote cite {
  display: block;
  margin-top: var(--s-3);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--muted);
}

/* stat callout row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin: var(--s-7) 0;
  padding: var(--s-5) 0;
  border-top: 3px double var(--rule-dark);
  border-bottom: 3px double var(--rule-dark);
}
.stat-cell { text-align: center; }
.stat-cell .n {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--flag-red);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-cell .l {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}
@media (max-width: 560px) {
  .stat-row { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* in-article offer card */
.offer {
  margin: var(--s-7) 0;
  background: var(--cream-warm);
  border: 1px solid var(--rule-dark);
  position: relative;
  padding: var(--s-6);
}
.offer::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 4px;
  background: linear-gradient(to right, var(--navy) 0 70%, var(--flag-red) 70% 100%);
}
.offer .kicker { margin-bottom: var(--s-3); }
.offer h3 {
  font-size: clamp(1.375rem, 1.2vw + 1rem, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
.offer p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: var(--s-5);
  max-width: 52ch;
}
.offer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 28px;
  text-decoration: none;
  box-shadow: 0 2px 0 var(--navy-dark);
  transition: transform 0.16s var(--ease-soft), box-shadow 0.16s var(--ease-soft), background-color 0.16s;
}
.offer-cta svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease-soft); }
.offer-cta:hover {
  background: var(--navy-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--navy-dark);
}
.offer-cta:hover svg { transform: translateX(4px); }
.offer-fine {
  margin-top: var(--s-3);
  font-size: 0.75rem;
  color: var(--muted);
}

/* article foot — author note + related */
.article-foot {
  max-width: var(--read);
  margin: var(--s-8) auto 0;
  padding-top: var(--s-5);
  border-top: 3px double var(--rule-dark);
}
.editor-note {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-display);
}
.related-head {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin: var(--s-6) 0 var(--s-4);
}
.related {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.related a {
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: var(--s-4);
  background: var(--paper);
  transition: border-color 0.18s, transform 0.18s var(--ease-soft);
}
.related a:hover { border-color: var(--navy); transform: translateY(-2px); }
.related .rk {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flag-red);
}
.related .rt {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-top: 6px;
}
@media (max-width: 560px) { .related { grid-template-columns: 1fr; } }

/* ===================================================================
   SCROLL REVEAL — only active when JS is on (.js on <html>)
   =================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft);
  will-change: opacity, transform;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .cover-media img { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   BLOG FOOTER — expanded
   =================================================================== */
.blog-footer {
  background: var(--navy-dark);
  color: rgba(250, 247, 242, 0.7);
  margin-top: var(--s-9);
  padding: var(--s-8) 0 var(--s-6);
}
.blog-footer .wrap { text-align: center; }
.blog-footer-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.blog-footer-mark span { color: var(--flag-red); }
.blog-footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(250, 247, 242, 0.6);
  margin-top: 6px;
}
.blog-footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin: var(--s-5) 0;
}
.blog-footer-nav a {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.72);
  text-decoration: none;
}
.blog-footer-nav a:hover { color: var(--gold); }
.blog-footer-rule {
  height: 1px;
  background: rgba(250, 247, 242, 0.14);
  margin: var(--s-5) 0;
}
.blog-footer-fine {
  font-size: 0.6875rem;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.5);
  max-width: 64ch;
  margin: 0 auto;
}
.blog-footer-meta {
  margin-top: var(--s-4);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.4);
}
