/* ==========================================================================
   ASSAI /read — editorial blog styles
   Depends on tokens in global.css (colors, fonts, fluid sizes).
   ========================================================================== */

:root {
  --read-measure: 700px;
  --read-aside: 232px;
  --read-max: 1200px;
  --read-gutter: 3rem;
  --read-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --read-border: rgba(28, 43, 86, 0.1);
  --read-border-strong: rgba(28, 43, 86, 0.18);
  --read-gold-line: rgba(201, 169, 110, 0.35);
}

.read-body {
  line-height: 1.6;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.read-body ::selection {
  background: rgba(201, 169, 110, 0.35);
  color: var(--navy-deep);
}

/* --------------------------------------------------------------------------
   Shared bits
   -------------------------------------------------------------------------- */

.read-label {
  font-size: var(--fs-082);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mahogany);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.read-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.read-label-gold {
  color: var(--gold);
}

.dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
  margin: 0 0.6rem;
  vertical-align: middle;
}

.read-btn-primary,
.read-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 50px;
  padding: 0.9rem 1.7rem;
  text-decoration: none;
  font-size: var(--fs-084);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.35s var(--read-ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.read-btn-primary svg,
.read-btn-ghost svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--read-ease);
}

.read-btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border: 1px solid var(--gold);
  box-shadow: 0 14px 34px rgba(201, 169, 110, 0.2);
}

.read-btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
}

.read-btn-primary:hover svg {
  transform: translateX(4px);
}

.read-btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(244, 241, 235, 0.3);
}

.read-btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 101;
  background: transparent;
  pointer-events: none;
}

.read-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 14px rgba(201, 169, 110, 0.5);
}

.read-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.1rem var(--read-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(17, 29, 58, 0.84);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.12);
  box-shadow: 0 10px 30px rgba(6, 10, 20, 0.18);
  transition: padding 0.4s var(--read-ease);
}

.read-nav.scrolled {
  padding: 0.75rem var(--read-gutter);
}

.read-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.read-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.read-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(244, 241, 235, 0.78);
  text-decoration: none;
  font-size: var(--fs-082);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.read-nav-back svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--read-ease);
}

.read-nav-back:hover {
  color: var(--gold);
}

.read-nav-back:hover svg {
  transform: translateX(-4px);
}

.read-nav-cta {
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 2px;
  color: var(--gold-bright);
  text-decoration: none;
  font-size: var(--fs-080);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.read-nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

/* --------------------------------------------------------------------------
   Article hero
   -------------------------------------------------------------------------- */

.article-hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--cream);
  padding: 9.5rem var(--read-gutter) 7.5rem;
  overflow: hidden;
  isolation: isolate;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 110, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 100%);
  opacity: 0.6;
  z-index: -1;
}

.article-hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 45% 55% at 12% 30%, rgba(82, 45, 35, 0.45), transparent 65%),
    radial-gradient(ellipse 35% 45% at 88% 20%, rgba(201, 169, 110, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(10, 15, 30, 0) 40%, rgba(10, 15, 30, 0.5) 100%);
}

.article-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.article-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  font-size: var(--fs-080);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(189, 178, 162, 0.7);
  margin-bottom: 1.8rem;
  animation: readFadeUp 0.9s 0.05s var(--read-ease) both;
}

.eyebrow-category {
  color: var(--gold-bright);
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(201, 169, 110, 0.4);
  background: rgba(201, 169, 110, 0.08);
  font-weight: 700;
}

.eyebrow-sep {
  width: 18px;
  height: 1px;
  background: rgba(201, 169, 110, 0.4);
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 0 auto 1.6rem;
  text-wrap: balance;
  animation: readFadeUp 0.9s 0.15s var(--read-ease) both;
}

.article-title em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 400;
}

.article-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: rgba(244, 241, 235, 0.78);
  max-width: 680px;
  margin: 0 auto 2.6rem;
  text-wrap: pretty;
  animation: readFadeUp 0.9s 0.25s var(--read-ease) both;
}

.article-byline {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 1.2rem 0.6rem 0.6rem;
  border: 1px solid rgba(201, 169, 110, 0.18);
  background: rgba(244, 241, 235, 0.04);
  border-radius: 999px;
  animation: readFadeUp 0.9s 0.35s var(--read-ease) both;
}

.byline-photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 110, 0.5);
  background: var(--navy);
}

.byline-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-125);
  color: var(--gold-bright);
}

.byline-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.3;
}

.byline-name {
  font-size: var(--fs-094);
  font-weight: 700;
  color: var(--cream);
}

.byline-role {
  font-size: var(--fs-078);
  letter-spacing: 0.08em;
  color: rgba(189, 178, 162, 0.7);
}

@keyframes readFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cover overlapping the hero */
.article-cover {
  padding: 0 var(--read-gutter);
  margin-top: -4.5rem;
  position: relative;
  z-index: 2;
}

.article-cover figure {
  max-width: 1080px;
  margin: 0 auto;
}

.article-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 110, 0.35);
  box-shadow: 0 40px 90px rgba(10, 15, 30, 0.35);
  background: var(--navy-deep);
  animation: readFadeUp 1s 0.45s var(--read-ease) both;
}

.article-cover figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: var(--fs-084);
  font-style: italic;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Article layout
   -------------------------------------------------------------------------- */

.article-layout {
  max-width: var(--read-max);
  margin: 0 auto;
  padding: 4.5rem var(--read-gutter) 5rem;
  display: grid;
  grid-template-columns: var(--read-aside) minmax(0, var(--read-measure));
  column-gap: clamp(2.5rem, 5vw, 5rem);
  justify-content: center;
  align-items: start;
}

.article-aside-sticky {
  position: sticky;
  top: 6.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article-toc {
  padding-left: 1.2rem;
  border-left: 1px solid var(--read-border);
}

.toc-title {
  font-size: var(--fs-078);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mahogany);
  margin-bottom: 1rem;
  font-weight: 700;
}

.article-toc ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.article-toc a {
  display: block;
  position: relative;
  padding: 0.4rem 0 0.4rem 0;
  margin-left: -1.2rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--fs-088);
  line-height: 1.45;
  transition: color 0.25s, padding-left 0.3s var(--read-ease);
}

.article-toc a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s var(--read-ease);
}

.article-toc a:hover {
  color: var(--navy);
}

.article-toc a.is-active {
  color: var(--navy);
  font-weight: 700;
  padding-left: 1.5rem;
}

.article-toc a.is-active::before {
  transform: scaleY(1);
}

/* Share */
.share-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.share-label {
  font-size: var(--fs-078);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 0.4rem;
}

.share-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--read-border-strong);
  background: #fff;
  color: var(--navy);
  border-radius: 50%;
  text-decoration: none;
  font: inherit;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--read-ease);
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

.share-btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.share-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.share-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 4px);
  background: var(--navy-deep);
  color: var(--gold-bright);
  font-size: var(--fs-070);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--read-ease);
}

.share-btn.is-copied .share-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Article body typography
   -------------------------------------------------------------------------- */

.article-body {
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--text-body);
  min-width: 0;
}

.article-body > * + * {
  margin-top: 1.5em;
}

.article-body > p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 4.9em;
  font-weight: 500;
  line-height: 0.8;
  float: left;
  margin: 0.08em 0.14em 0 0;
  color: var(--mahogany);
}

.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.18;
  text-wrap: balance;
  scroll-margin-top: 6rem;
}

.article-body h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-top: 2.6em;
  padding-top: 1.4rem;
  position: relative;
}

.article-body h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--gold);
}

.article-body h2 em,
.article-body h3 em {
  font-style: italic;
  color: var(--mahogany);
}

.article-body h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 600;
  margin-top: 2em;
}

.article-body h4 {
  font-size: var(--fs-120);
  font-weight: 700;
  margin-top: 1.8em;
}

.article-body h2 + *,
.article-body h3 + *,
.article-body h4 + * {
  margin-top: 0.9em;
}

.article-body p {
  text-wrap: pretty;
}

.article-body a {
  color: var(--mahogany);
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: background-size 0.3s var(--read-ease), color 0.3s;
}

.article-body a:hover {
  color: var(--navy);
  background-size: 100% 2px;
}

.article-body strong {
  color: var(--navy);
  font-weight: 700;
}

.article-body mark {
  background: linear-gradient(transparent 55%, rgba(201, 169, 110, 0.4) 55%);
  color: inherit;
  padding: 0 0.1em;
}

.article-body code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(28, 43, 86, 0.06);
  padding: 0.12em 0.4em;
  border-radius: 3px;
  color: var(--navy);
}

.article-code {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 1.4rem 1.6rem;
  overflow-x: auto;
  border: 1px solid rgba(201, 169, 110, 0.2);
  position: relative;
  font-size: 0.9rem;
  line-height: 1.65;
}

.article-code[data-lang]::before {
  content: attr(data-lang);
  position: absolute;
  top: 0.55rem;
  right: 0.9rem;
  font-family: var(--font-body);
  font-size: var(--fs-070);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.7);
}

.article-code code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.article-list {
  padding-left: 1.4rem;
}

.article-list li {
  padding-left: 0.4rem;
  margin-top: 0.55em;
}

.article-list li::marker {
  color: var(--mahogany);
  font-weight: 700;
}

ul.article-list {
  list-style: none;
  padding-left: 0;
}

ul.article-list li {
  position: relative;
  padding-left: 1.6rem;
}

ul.article-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

.article-rule {
  border: none;
  height: 1px;
  margin: 3rem auto;
  width: 120px;
  background: var(--gold);
  position: relative;
}

.article-rule::after {
  content: "✦";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--cream);
  padding: 0 0.6rem;
  color: var(--gold);
  font-size: 0.8rem;
  line-height: 1;
}

/* Blockquote */
.article-quote {
  margin: 2.2em 0;
  padding: 0.4rem 0 0.4rem 1.8rem;
  border-left: 2px solid var(--gold);
}

.article-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--navy);
}

.article-quote cite,
.article-pullquote cite {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
  font-size: var(--fs-084);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.article-quote cite::before,
.article-pullquote cite::before {
  content: "— ";
  color: var(--gold);
}

/* Pull quote */
.article-pullquote {
  margin: 3rem calc(-1 * clamp(0rem, 4vw, 3.5rem));
  padding: 2.6rem clamp(1.5rem, 4vw, 3.2rem);
  background: #fff;
  border-top: 1px solid var(--read-gold-line);
  border-bottom: 1px solid var(--read-gold-line);
  position: relative;
  text-align: center;
}

.article-pullquote::before {
  content: "“";
  position: absolute;
  top: -0.35em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  background: #fff;
  padding: 0 0.4rem;
}

.article-pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 400;
  line-height: 1.32;
  color: var(--navy);
  text-wrap: balance;
}

/* Stats */
.article-stats {
  margin: 2.8rem calc(-1 * clamp(0rem, 4vw, 3.5rem));
}

.stats-title {
  font-size: var(--fs-078);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mahogany);
  margin-bottom: 0.9rem;
  padding: 0 clamp(0rem, 4vw, 3.5rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: rgba(201, 169, 110, 0.25);
  border: 1px solid rgba(201, 169, 110, 0.25);
}

.stat-card {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 1.8rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.18), transparent 70%);
  pointer-events: none;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  white-space: nowrap;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
}

.stat-label {
  font-size: var(--fs-084);
  line-height: 1.45;
  color: rgba(244, 241, 235, 0.85);
}

.stat-note {
  margin-top: 0.5rem;
  font-size: var(--fs-076, 0.76rem);
  color: rgba(189, 178, 162, 0.6);
  letter-spacing: 0.04em;
}

/* Callout */
.article-callout {
  margin: 2.4em 0;
  padding: 1.6rem 1.8rem 1.6rem 2rem;
  background: var(--deep-cream);
  border-left: 3px solid var(--mahogany);
  font-size: 1rem;
  line-height: 1.75;
}

.article-callout.is-note {
  border-left-color: var(--navy);
  background: rgba(28, 43, 86, 0.05);
}

.article-callout.is-warning {
  border-left-color: var(--blood);
  background: rgba(168, 59, 42, 0.06);
}

.callout-title {
  font-size: var(--fs-078);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mahogany);
  margin-bottom: 0.6rem;
}

.article-callout.is-note .callout-title { color: var(--navy); }
.article-callout.is-warning .callout-title { color: var(--blood); }

.callout-body > * + * { margin-top: 0.8em; }

/* Takeaways */
.article-takeaways {
  margin: 2.8em 0;
  padding: 2rem 2.2rem;
  background: #fff;
  border: 1px solid var(--read-border);
  box-shadow: 0 20px 50px rgba(28, 43, 86, 0.06);
  position: relative;
}

.article-takeaways::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--mahogany));
}

.takeaways-title {
  font-family: var(--font-display);
  font-size: var(--fs-155);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.article-takeaways ol {
  list-style: none;
  counter-reset: takeaway;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.article-takeaways li {
  counter-increment: takeaway;
  position: relative;
  padding-left: 2.8rem;
  font-size: 1rem;
  line-height: 1.7;
}

.article-takeaways li::before {
  content: counter(takeaway, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.15em;
  font-family: var(--font-display);
  font-size: var(--fs-125);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* Timeline */
.article-timeline {
  margin: 2.6em 0;
}

.timeline-title {
  font-size: var(--fs-078);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mahogany);
  margin-bottom: 1.2rem;
}

.article-timeline ol {
  list-style: none;
  position: relative;
  padding-left: 1.9rem;
}

.article-timeline ol::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(201, 169, 110, 0.15));
}

.timeline-item {
  position: relative;
  padding-bottom: 1.4rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  top: 0.45rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px var(--cream);
}

.timeline-label {
  font-size: var(--fs-078);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.timeline-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* Compare (before / after) */
.article-compare {
  margin: 2.8em 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--read-border);
}

.compare-col {
  padding: 1.7rem 1.8rem;
  font-size: 0.98rem;
  line-height: 1.65;
}

.compare-col.is-before {
  background: var(--deep-cream);
  color: var(--text-body);
}

.compare-col.is-after {
  background: var(--navy-deep);
  color: var(--cream);
}

.compare-title {
  font-size: var(--fs-078);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--mahogany);
}

.compare-col.is-after .compare-title { color: var(--gold); }

.compare-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.compare-col li {
  position: relative;
  padding-left: 1.4rem;
}

.compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1.5px solid currentColor;
  opacity: 0.6;
}

.compare-col.is-after li::before {
  border-color: var(--gold);
  opacity: 1;
}

/* Table */
.article-table-wrap {
  overflow-x: auto;
  margin: 2.4em 0;
  border: 1px solid var(--read-border);
  background: #fff;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
  line-height: 1.5;
}

.article-table th,
.article-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--read-border);
  vertical-align: top;
}

.article-table th {
  background: var(--navy-deep);
  color: var(--gold-bright);
  font-size: var(--fs-078);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom-color: transparent;
}

.article-table tbody tr:last-child td { border-bottom: none; }
.article-table tbody tr:nth-child(even) td { background: rgba(28, 43, 86, 0.025); }

/* Figures */
.article-figure {
  margin: 2.4em 0;
}

.article-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--read-border);
}

.article-figure figcaption {
  margin-top: 0.8rem;
  font-size: var(--fs-084);
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
}

/* Portrait / phone-screenshot figures: :::narrow around an image */
.article-block.is-narrow {
  max-width: 400px;
  margin-inline: auto;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--read-border);
}

.article-tag {
  font-size: var(--fs-078);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--read-border-strong);
  color: var(--navy);
  background: #fff;
}

.article-share-bottom {
  margin-top: 2rem;
}

/* Author card */
.article-author-card {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.6rem;
  align-items: center;
  padding: 2rem 2.2rem;
  background: #fff;
  border: 1px solid var(--read-border);
  box-shadow: 0 20px 50px rgba(28, 43, 86, 0.05);
}

.author-card-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--read-gold-line);
  background: var(--deep-cream);
}

.article-author-card:not(:has(.author-card-photo)) {
  grid-template-columns: 1fr;
}

.author-card-label {
  font-size: var(--fs-076, 0.76rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mahogany);
  margin-bottom: 0.3rem;
}

.author-card-name {
  font-family: var(--font-display);
  font-size: var(--fs-165);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}

.author-card-role {
  font-size: var(--fs-088);
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.author-card-bio {
  margin-top: 0.8rem;
  font-size: var(--fs-094);
  line-height: 1.7;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   Cards (index + related)
   -------------------------------------------------------------------------- */

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--read-border);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--read-ease), box-shadow 0.5s var(--read-ease), border-color 0.3s;
}

.article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--read-ease);
  z-index: 2;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(28, 43, 86, 0.12);
  border-color: rgba(201, 169, 110, 0.5);
}

.article-card:hover::before { transform: scaleX(1); }

.article-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-deep);
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--read-ease), filter 0.5s;
}

.article-card:hover .card-cover img {
  transform: scale(1.05);
}

.card-cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 70% at 20% 30%, rgba(82, 45, 35, 0.5), transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(201, 169, 110, 0.2), transparent 70%),
    var(--navy-deep);
}

.card-cover-fallback span {
  font-family: var(--font-display);
  font-size: var(--fs-200);
  font-style: italic;
  color: rgba(201, 169, 110, 0.6);
}

.card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(17, 29, 58, 0.8);
  backdrop-filter: blur(8px);
  color: var(--gold-bright);
  font-size: var(--fs-070);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.card-body {
  padding: 1.5rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  font-size: var(--fs-078);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--fs-155);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 0.7rem;
  text-wrap: balance;
  transition: color 0.3s;
}

.article-card:hover .card-title { color: var(--mahogany); }

.card-desc {
  font-size: var(--fs-094);
  line-height: 1.7;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-084);
  color: var(--navy);
}

.card-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid var(--read-border-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--read-ease);
}

.card-arrow svg { width: 14px; height: 14px; }

.article-card:hover .card-arrow {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--gold-bright);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Related
   -------------------------------------------------------------------------- */

.related-section {
  padding: 4.5rem var(--read-gutter) 6rem;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  border-top: 1px solid var(--read-border);
}

.related-inner {
  max-width: var(--read-max);
  margin: 0 auto;
}

.related-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
}

.related-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  text-decoration: none;
  font-size: var(--fs-082);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.related-all svg { width: 14px; height: 14px; transition: transform 0.3s var(--read-ease); }
.related-all:hover { color: var(--mahogany); }
.related-all:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.read-cta {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 6rem var(--read-gutter);
  position: relative;
  overflow: hidden;
}

.read-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 85% 50%, rgba(82, 45, 35, 0.45), transparent 65%),
    radial-gradient(ellipse 30% 50% at 10% 20%, rgba(201, 169, 110, 0.12), transparent 70%);
  pointer-events: none;
}

.read-cta-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.read-cta-label {
  font-size: var(--fs-082);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.read-cta h2 {
  font-family: var(--font-display);
  font-size: var(--fs-fluid-cta);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1.2rem;
  text-wrap: balance;
}

.read-cta h2 em {
  font-style: italic;
  color: var(--gold-bright);
}

.read-cta p {
  font-size: var(--fs-102);
  line-height: 1.75;
  color: rgba(244, 241, 235, 0.72);
  max-width: 600px;
  margin: 0 auto 2.4rem;
}

.read-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.read-footer {
  background: var(--black);
  color: var(--cream);
  padding: 4.5rem var(--read-gutter) 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.08);
}

.read-footer-inner {
  max-width: var(--read-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.read-footer-name {
  font-size: var(--fs-095);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.read-footer-brand p {
  font-size: var(--fs-088);
  line-height: 1.75;
  opacity: 0.4;
  max-width: 270px;
}

.read-footer-col h4 {
  font-size: var(--fs-082);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.35;
}

.read-footer-col a {
  display: block;
  color: var(--cream);
  text-decoration: none;
  font-size: var(--fs-088);
  opacity: 0.5;
  margin-bottom: 0.7rem;
  transition: opacity 0.3s, color 0.3s;
}

.read-footer-col a:hover {
  opacity: 1;
  color: var(--gold-bright);
}

.read-footer-bottom {
  max-width: var(--read-max);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-080);
  opacity: 0.3;
}

/* --------------------------------------------------------------------------
   Index page
   -------------------------------------------------------------------------- */

.index-hero {
  position: relative;
  padding: 11rem var(--read-gutter) 5rem;
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.index-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(82, 45, 35, 0.5), transparent 65%),
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(201, 169, 110, 0.16), transparent 70%);
}

.index-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(201, 169, 110, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 90% at 70% 40%, #000 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 70% 40%, #000 10%, transparent 100%);
}

.index-hero-inner {
  max-width: var(--read-max);
  margin: 0 auto;
}

.index-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 1.4rem 0 1.6rem;
  color: var(--cream);
  animation: readFadeUp 0.9s 0.1s var(--read-ease) both;
}

.index-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-bright);
}

.index-sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
  color: rgba(244, 241, 235, 0.72);
  max-width: 600px;
  animation: readFadeUp 0.9s 0.25s var(--read-ease) both;
}

.index-main {
  max-width: var(--read-max);
  margin: 0 auto;
  padding: 0 var(--read-gutter) 6rem;
}

/* Featured */
.featured-section {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
  border: 1px solid var(--read-border);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 40px 90px rgba(10, 15, 30, 0.22);
  overflow: hidden;
  transition: transform 0.5s var(--read-ease), box-shadow 0.5s var(--read-ease);
  animation: readFadeUp 1s 0.35s var(--read-ease) both;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 50px 100px rgba(10, 15, 30, 0.26);
}

.featured-cover {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: var(--navy-deep);
}

.featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--read-ease);
}

.featured-card:hover .featured-cover img {
  transform: scale(1.04);
}

.featured-body {
  padding: clamp(2rem, 4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
  font-size: var(--fs-078);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.featured-badge {
  padding: 0.3rem 0.7rem;
  background: var(--mahogany);
  color: var(--cream);
  font-weight: 700;
}

.featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 1rem;
  text-wrap: balance;
  transition: color 0.3s;
}

.featured-card:hover .featured-title { color: var(--mahogany); }

.featured-desc {
  font-size: var(--fs-100);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.featured-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: var(--fs-082);
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 1.8rem;
}

.featured-author-photo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.7rem;
  border: 1px solid var(--read-gold-line);
}

.featured-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-082);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mahogany);
}

.featured-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--read-ease);
}

.featured-card:hover .featured-link svg { transform: translateX(5px); }

/* List */
.list-section {
  margin-top: 5rem;
}

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--read-border);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  font: inherit;
  font-size: var(--fs-080);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--read-border-strong);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.chip-count {
  font-size: var(--fs-070);
  opacity: 0.55;
}

.filter-chip:hover {
  border-color: var(--gold);
}

.filter-chip.is-active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--gold-bright);
}

.filter-chip.is-active .chip-count { opacity: 0.8; }

.filter-chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.article-card.is-hidden { display: none; }

.list-empty {
  text-align: center;
  padding: 3rem 1rem;
  font-family: var(--font-display);
  font-size: var(--fs-140);
  font-style: italic;
  color: var(--text-muted);
}

/* Reveal on scroll */
.read-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--read-ease), transform 0.8s var(--read-ease);
}

.read-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  :root {
    --read-aside: 200px;
  }
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: minmax(0, var(--read-measure));
    padding-top: 3.5rem;
  }

  .article-aside {
    display: none;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .read-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --read-gutter: 1.4rem;
  }

  .read-nav {
    padding: 0.9rem var(--read-gutter);
  }

  .read-nav-cta { display: none; }

  .read-nav-back span { display: none; }
  .read-nav-back svg { width: 20px; height: 20px; }

  .article-hero {
    padding: 7.5rem var(--read-gutter) 6rem;
    text-align: left;
  }

  .article-hero-inner { text-align: left; }

  .article-eyebrow { justify-content: flex-start; }

  .eyebrow-sep { display: none; }

  .article-eyebrow { gap: 0.6rem 1rem; }

  .article-title {
    font-size: var(--fs-fluid-mobile-hero);
    margin-left: 0;
  }

  .article-lead { margin-left: 0; }

  .article-cover { margin-top: -3.5rem; }

  .article-cover img { aspect-ratio: 16 / 10; }

  .article-body { font-size: 1.05rem; line-height: 1.8; }

  .article-pullquote,
  .article-stats {
    margin-left: 0;
    margin-right: 0;
  }

  .article-pullquote { padding: 2.2rem 1.4rem; }

  .stats-title { padding: 0; }

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

  .article-author-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .article-takeaways { padding: 1.6rem 1.4rem; }

  .index-hero { padding: 8rem var(--read-gutter) 4rem; }

  .featured-section { margin-top: -1.5rem; }

  .list-section { margin-top: 3.5rem; }

  .read-cta { padding: 4.5rem var(--read-gutter); }

  .read-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .read-footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-title,
  .article-lead,
  .article-eyebrow,
  .article-byline,
  .article-cover img,
  .index-title,
  .index-sub,
  .featured-card,
  .read-reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
