/* ============================================================
   The Agentic CMO — Blog stylesheet
   Built on the Reyes Brusola Design System
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Guard against accidental horizontal scroll from full-bleed sections whose
   negative margins slightly exceed the container padding. overflow-x: clip does
   not break position: sticky the way overflow-x: hidden does. */
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

/* Skip link — WCAG */
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--color-navy); color: var(--color-white);
  padding: 8px 12px; border-radius: 6px;
  font-weight: 700; z-index: 1000;
}
.skip-link:focus { left: 8px; }

/* Layout container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}
@media (max-width: 640px) {
  .container { padding-left: var(--space-4); padding-right: var(--space-4); }
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; flex-direction: column; gap: 2px;
  text-decoration: none; color: var(--fg);
  border: none;
}
.brand:hover { border: none; }
.brand-eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-pink); line-height: 1;
}
.brand-mark {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.01em; line-height: 1.1;
  color: var(--fg);
}

.nav-links {
  display: flex; align-items: center; gap: var(--space-8);
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--fg); border: none;
  font-size: 14px; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--color-pink);
  transition: right var(--duration-normal) var(--ease-standard);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a:hover { border: none; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-pink); color: var(--color-white);
  padding: 10px 18px; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 700;
  text-decoration: none; border: none;
  transition: background var(--duration-fast) var(--ease-standard);
}
.nav-cta:hover { background: var(--color-navy); border: none; }

.lang-switcher {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
}
.lang-sep {
  color: var(--fg-muted);
}
.lang-item {
  color: var(--fg-muted); text-decoration: none; border: none;
  transition: color var(--duration-fast) var(--ease-standard);
}
.lang-item:hover { color: var(--color-pink); border: none; }
.lang-item--active { color: var(--color-pink); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border);
  width: 44px; height: 44px; border-radius: 8px;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--fg); }

@media (max-width: 860px) {
  /* Collapsed bar: brand (left) · language · hamburger (right).
     The language switcher stays visible — it is primary navigation,
     not something to hide behind the menu. */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; order: 3; }
  .brand { order: 0; flex: 1 1 auto; }
  .lang-switcher {
    display: inline-flex;
    order: 2;
    margin-left: auto;
    margin-right: var(--space-4);
  }

  /* Open state: brand + language + toggle stay on the first row,
     the menu items wrap onto rows below in natural flow. */
  .nav-mobile-open .nav {
    flex-wrap: wrap;
    align-items: center;
    height: auto;
    row-gap: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border);
  }
  /* When the mobile menu is open, hide the language switcher:
     it is not needed while navigating the open menu. */
  .nav-mobile-open .lang-switcher { display: none; }
  /* Author bio links: smaller, each link on one line (arrow never wraps alone) */
  .author-bio .links { gap: 10px 16px; flex-wrap: wrap; font-size: 10px; letter-spacing: 0.02em; }
  .author-bio .links a { white-space: nowrap; }
  /* Post hero eyebrow: hide it entirely on mobile (category + read time + rule).
     !important is required because the span has an inline display:inline-flex. */
  .post-hero-eyebrow { display: none !important; }
  /* "Most read this month" featured eyebrow: drop the rule + category on mobile,
     keep only the read time (avoids the dash floating next to a long category). */
  .eyebrow-line .eyebrow-rule,
  .eyebrow-line .eyebrow-cat { display: none !important; }
  /* "This week" featured block (#featured): hide "Read all posts" link and the
     category + read time eyebrow under the image, on mobile. */
  #featured .section-head .section-link { display: none !important; }
  #featured .featured-eyebrow { display: none !important; }
  /* Category archive header: hide the redundant category eyebrow above the
     "Posts on [Category]" heading, on mobile. Only on category pages (body.category),
     so the /blog/ index "The blog" eyebrow stays visible. */
  body.category .blog-header .section-eyebrow { display: none !important; }
  /* "What everyone is reading" numbered list: category + min on one line */
  .top-list-meta { flex-wrap: nowrap; gap: 7px; font-size: 8.5px; letter-spacing: 0.03em; min-width: 0; }
  .top-list-meta > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .top-list-meta > span:last-child { white-space: nowrap; flex-shrink: 0; }
  /* Nav links: full-width rows below the bar */
  .nav-mobile-open .nav-links {
    order: 4;
    display: flex; flex-direction: column;
    flex-basis: 100%; width: 100%;
    gap: var(--space-2);
    padding-top: var(--space-2);
    border-top: 1px solid var(--border);
  }
  .nav-mobile-open .nav-links a { padding: 8px 0; font-size: 16px; }
  .nav-mobile-open .nav-cta {
    order: 5;
    display: inline-flex;
    flex-basis: 100%; width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(28px, 4vw, 48px) 0 0;
  overflow: hidden;
  background: var(--bg);
}

/* Featured sits flush under the hero — same surface, tight spacing */
.section--featured {
  padding-top: clamp(12px, 1.5vw, 20px);
  padding-bottom: clamp(20px, 2.5vw, 32px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-pink);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: var(--space-6);
}
.hero-eyebrow::before {
  content: ""; width: 24px; height: 1.5px; background: var(--color-pink);
}
.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 var(--space-8);
  max-width: 18ch;
}
.hero h1 .swap-wrap {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  color: var(--color-pink);
}
.hero h1 .swap-word {
  display: inline-block;
  transition: transform 420ms var(--ease-emphasized), opacity 280ms var(--ease-standard);
}
.hero h1 .swap-word.out {
  transform: translateY(-12px); opacity: 0;
}
.hero h1 .swap-word.in {
  transform: translateY(12px); opacity: 0;
}
.hero-lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55; color: var(--fg-secondary);
  max-width: 56ch;
  margin: 0 0 var(--space-10);
}

/* Subscribe form */
.subscribe-form {
  display: flex; gap: var(--space-2);
  max-width: 520px;
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  transition: border-color var(--duration-normal) var(--ease-standard),
              box-shadow var(--duration-normal) var(--ease-standard);
}
.subscribe-form:focus-within {
  border-color: var(--color-navy);
  box-shadow: var(--elevation-2);
}
.subscribe-form input {
  flex: 1; min-width: 0;
  border: none; outline: none;
  font-family: inherit; font-size: 15px;
  padding: 10px 14px;
  color: var(--fg); background: transparent;
}
.subscribe-form input::placeholder { color: var(--fg-muted); }
.subscribe-form button {
  background: var(--color-pink); color: var(--color-white);
  border: none; cursor: pointer;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.01em;
  transition: background var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
.subscribe-form button:hover { background: var(--pink-600); }
.subscribe-form button:active { background: var(--pink-700); }
.subscribe-form button:focus-visible { outline: 2px solid var(--color-navy); outline-offset: 2px; }
.nav-cta:hover { background: var(--navy-700); border: none; transform: translateY(-1px); }
.nav-cta:active { background: var(--navy-900); }

.hero-trust {
  margin-top: var(--space-4);
  font-size: 13px; color: var(--fg-muted);
  display: flex; align-items: center; gap: var(--space-2);
}
.hero-trust strong { color: var(--fg); font-weight: 700; }

/* Hero CTA button (replaces the inline email form) */
.hero-cta { margin-top: var(--space-4); }
.hero-cta-button {
  display: inline-block;
  background: var(--color-pink); color: var(--color-white);
  border: none; cursor: pointer; text-decoration: none;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  transition: background var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
.hero-cta-button:hover { background: var(--pink-600); transform: translateY(-1px); }
.hero-cta-button:active { background: var(--pink-700); }
.hero-cta-button:focus-visible { outline: 2px solid var(--color-navy); outline-offset: 2px; }

/* Hero inline subscribe box (replaces the anchor button) */
.hero-subbox { max-width: 520px; text-align: left; margin-top: var(--space-2); }
.hero-subbox-label {
  display: flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--color-pink);
}
.hero-subbox-label svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-subbox-authority { margin: 0 0 14px; font-size: 13px; line-height: 1.4; color: var(--fg-secondary); font-weight: 500; }
.hero-subbox-authority strong { color: var(--fg); font-weight: 700; }
.hero-subbox form { display: flex; gap: 10px; }
.hero-subbox input {
  flex: 1; min-width: 0; border: 1.5px solid var(--color-pink); border-radius: 8px;
  font-family: inherit; font-size: 15px; padding: 12px 14px; color: var(--fg); outline: none;
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}
.hero-subbox input::placeholder { color: var(--fg-muted); }
.hero-subbox input:focus { border-color: var(--color-pink); box-shadow: 0 0 0 3px rgba(233,51,129,0.15); }
.hero-subbox button {
  background: var(--color-pink); color: #fff; border: none; cursor: pointer;
  padding: 12px 22px; border-radius: 8px; font-weight: 800; font-size: 14px; white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-standard);
}
.hero-subbox button:hover { background: var(--pink-600); }
.hero-subbox button:focus-visible { outline: 2px solid var(--color-navy); outline-offset: 2px; }
.hero-subbox-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 14px 0 0;
  font-size: 12.5px; font-weight: 500; color: var(--fg-secondary);
}
.hero-subbox-trust .item { display: inline-flex; align-items: center; gap: 5px; }
.hero-subbox-trust .item svg { width: 14px; height: 14px; color: #1F8A5B; }
@media (max-width: 560px) { .hero-subbox form { flex-direction: column; } .hero-subbox button { width: 100%; } }

/* Hero side panel — quote + dot grid */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: end;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  /* "From this week's post" quote card: desktop-only, hide on mobile.
     !important needed: the base `.hero-aside { display:flex }` rule lives
     further down the file and would otherwise win on source order. */
  .hero-aside { display: none !important; }
}

.hero-aside {
  position: relative;
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: var(--space-8);
  min-height: 320px;
}
.dot-grid { display: none !important; }
@keyframes dotShift {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-6px,4px,0); }
}
.hero-meta {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  border-left: 2px solid var(--color-pink);
  padding: var(--space-5);
  align-self: flex-end;
  max-width: 360px;
}
.hero-meta .label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--space-2);
}
.hero-meta .quote {
  font-size: 17px; line-height: 1.45;
  font-weight: 600; color: var(--fg);
  border-left: none; padding-left: 0;
  margin: 0 0 var(--space-3);
}
.hero-meta .attr {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hero-meta .attr-cta {
  color: var(--color-pink);
  transition: transform 200ms var(--ease-standard);
}

/* Make the whole quote card a link */
a.hero-meta--link {
  display: block;
  text-decoration: none;
  border: none;
  border-left: 2px solid var(--color-pink);
  transition: border-color 200ms var(--ease-standard),
              box-shadow 200ms var(--ease-standard),
              transform 200ms var(--ease-standard);
  color: inherit;
}
a.hero-meta--link:hover {
  border-left-color: var(--color-pink);
  box-shadow: 0 8px 28px rgba(23, 25, 37, 0.10);
  transform: translateY(-2px);
}
a.hero-meta--link:hover .quote { color: var(--color-pink); }
a.hero-meta--link:hover .attr-cta { transform: translateX(3px); }
a.hero-meta--link:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}

/* Ticker section — anchored, contextualized */
.ticker-section {
  background: var(--color-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-5) 0;
}
.ticker-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  align-items: center;
}
@media (max-width: 640px) {
  .ticker-wrap { grid-template-columns: 1fr; gap: var(--space-3); }
}
.ticker-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-pink);
  margin: 0;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.ticker-label::before {
  content: ""; width: 18px; height: 1.5px; background: var(--color-pink);
}
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee-track {
  display: flex; gap: var(--space-10);
  white-space: nowrap;
  animation: scroll-x 44s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600;
  color: var(--fg);
  text-decoration: none; border: none;
  cursor: pointer;
  padding: 6px 0;
  transition: color var(--duration-fast) var(--ease-standard);
}
.marquee-item:hover { color: var(--color-pink); border: none; }
.marquee-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-pink);
}
.marquee-item .label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-muted);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Section frames
   ============================================================ */
.section {
  padding: clamp(32px, 4vw, 56px) 0;
}
.section--alt {
  background: var(--color-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: var(--space-8); margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0; max-width: 22ch;
}
.section-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-pink);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: var(--space-4);
}
.section-eyebrow::before {
  content: ""; width: 18px; height: 1.5px; background: var(--color-pink);
}
.section-link {
  font-size: 14px; font-weight: 700;
  color: var(--fg); border: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.section-link::after {
  content: "→"; transition: transform var(--duration-normal) var(--ease-standard);
}
.section-link:hover { border: none; color: var(--color-pink); }
.section-link:hover::after { transform: translateX(4px); }

/* ============================================================
   Featured essay (hero of feed)
   ============================================================ */
.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: stretch;
}
@media (max-width: 880px) {
  .featured { grid-template-columns: 1fr; gap: var(--space-8); }
}
.featured-tile {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-navy);
  isolation: isolate;
}
.featured-tile .tile-art {
  position: absolute; inset: 0;
}
.featured-tile .tile-meta {
  position: absolute; left: var(--space-6); top: var(--space-6);
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: 9999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-navy);
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.featured-tile .tile-meta .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-pink);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.featured-body { display: flex; flex-direction: column; justify-content: center; }
.featured-eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-pink);
  margin-bottom: var(--space-4);
}
.featured-title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 var(--space-6);
}
.featured-title a {
  color: var(--fg); border: none;
  background-image: linear-gradient(var(--color-pink), var(--color-pink));
  background-size: 0 2px; background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--duration-slow) var(--ease-standard);
}
.featured-title a:hover { background-size: 100% 2px; border: none; }
.featured-dek {
  font-size: 17px; line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0 0 var(--space-6);
  max-width: 50ch;
}
.featured-foot {
  display: flex; align-items: center; gap: var(--space-4);
  font-size: 13px; color: var(--fg-muted);
}
.featured-foot .author {
  color: var(--fg); font-weight: 700;
}

/* ============================================================
   Article grid — the post cards
   ============================================================ */
.grid-essays {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-10) var(--space-8);
}
@media (max-width: 980px) { .grid-essays { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-essays { grid-template-columns: 1fr; gap: var(--space-8); } }

.essay-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border: none;
  position: relative;
  isolation: isolate;
}
.essay-card:hover { border: none; }
.essay-tile {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-light);
  margin-bottom: var(--space-5);
  transition: transform var(--duration-slow) var(--ease-standard);
}
.essay-card:hover .essay-tile {
  transform: translateY(-2px);
  box-shadow: var(--elevation-3);
}
/* Editorial focus state — keyboard + a11y */
.essay-card:focus-visible {
  outline: none;
}
.essay-card:focus-within .essay-tile {
  outline: 2px solid var(--color-navy);
  outline-offset: 4px;
}
.essay-card:focus-within h3 { background-size: 100% 1.5px; }
.essay-card:focus-within .essay-cta { border-bottom-color: var(--color-pink); }
.essay-card:focus-within .essay-cta .arrow { transform: translateX(4px); }
.essay-tile .art { position: absolute; inset: 0; }
.essay-tile .reading-time {
  position: absolute; right: 12px; bottom: 12px;
  background: var(--color-white);
  padding: 4px 10px; border-radius: 9999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; color: var(--color-navy);
  border: 1px solid var(--border);
}
.essay-card h3 {
  font-size: 20px; line-height: 1.25;
  font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
  background-image: linear-gradient(var(--color-pink), var(--color-pink));
  background-size: 0 1.5px; background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--duration-slow) var(--ease-standard);
}
.essay-card:hover h3 { background-size: 100% 1.5px; }
.essay-card p {
  font-size: 14px; line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0 0 var(--space-4);
}
.essay-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700;
  color: var(--color-pink);
  letter-spacing: 0.02em;
  margin: 0 0 var(--space-4);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  width: fit-content;
  transition: border-color var(--duration-normal) var(--ease-standard);
}
.essay-card:hover .essay-cta { border-bottom-color: var(--color-pink); }
.essay-cta .arrow {
  display: inline-block;
  transition: transform var(--duration-normal) var(--ease-standard);
}
.essay-card:hover .essay-cta .arrow { transform: translateX(4px); }
.featured-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700;
  color: var(--color-pink);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-6);
  text-decoration: none; border: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--duration-normal) var(--ease-standard);
  width: fit-content;
}
.featured-cta:hover { border-bottom-color: var(--color-pink); }
.featured-cta .arrow { transition: transform var(--duration-normal) var(--ease-standard); }
.featured-cta:hover .arrow { transform: translateX(4px); }
.essay-foot {
  margin-top: auto;
  display: flex; align-items: center; gap: var(--space-2);
  font-size: 12px; color: var(--fg-muted);
}
.essay-foot .cat {
  background: var(--color-white);
  border: 1.5px solid var(--fg-muted);
  padding: 4px 10px; border-radius: 9999px;
  font-weight: 700; color: var(--color-navy) !important;
  font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background var(--duration-fast) var(--ease-standard),
              color var(--duration-fast) var(--ease-standard),
              border-color var(--duration-fast) var(--ease-standard);
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.essay-foot a.cat:hover,
.essay-foot a.cat:focus-visible {
  background: var(--color-pink);
  color: var(--color-white) !important;
  border-color: var(--color-pink);
}
.essay-foot .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fg-muted); }

/* ============================================================
   Concept-tile language (no photos — geometry, type, dot grids)
   ============================================================ */
.art--measure {
  background:
    radial-gradient(circle at 20% 30%, var(--color-pink) 1.5px, transparent 1.8px) 0 0/16px 16px,
    var(--color-light);
}
.art--measure::after {
  content: ""; position: absolute;
  left: 14%; right: 14%; top: 50%;
  height: 2px; background: var(--color-navy); transform: translateY(-50%);
}
.art--axis {
  background: var(--color-light);
}
.art--axis::before, .art--axis::after {
  content: ""; position: absolute;
  background: var(--color-navy);
}
.art--axis::before { left: 18%; right: 18%; bottom: 24%; height: 1.5px; }
.art--axis::after  { left: 18%; top: 18%; bottom: 24%; width: 1.5px; }
.art--axis .peak {
  position: absolute; left: 22%; right: 22%; top: 28%; bottom: 26%;
  background: linear-gradient(180deg, var(--color-pink) 0%, transparent 90%);
  clip-path: polygon(0 100%, 18% 80%, 32% 65%, 50% 35%, 65% 50%, 82% 30%, 100% 8%, 100% 100%);
  opacity: 0.9;
}
.art--type {
  background: var(--color-navy);
  display: flex; align-items: center; justify-content: center;
}
.art--type span {
  font-family: var(--font-display);
  font-weight: 900; color: var(--color-white);
  font-size: clamp(56px, 11vw, 120px);
  letter-spacing: -0.04em; line-height: 0.9;
}
.art--type span em {
  color: var(--color-pink); font-style: normal;
}
.art--quote {
  background: var(--color-light);
  display: flex; align-items: center; justify-content: center;
  padding: 12%;
}
.art--quote span {
  font-size: clamp(22px, 3.6vw, 36px);
  font-weight: 700; color: var(--color-navy);
  line-height: 1.05; letter-spacing: -0.02em;
}
.art--quote .mark {
  color: var(--color-pink); font-family: Georgia, serif;
  font-size: 1.5em; line-height: 0; vertical-align: -0.3em;
  margin-right: 6px;
}
.art--rings {
  background: var(--color-light);
}
.art--rings::before, .art--rings::after {
  content: ""; position: absolute;
  border-radius: 50%; border: 2px solid var(--color-navy);
}
.art--rings::before { left: 18%; top: 18%; width: 38%; height: 56%; }
.art--rings::after  { left: 38%; top: 22%; width: 48%; height: 64%; border-color: var(--color-pink); }
.art--bars {
  background: var(--color-navy);
  display: flex; align-items: end; justify-content: center; gap: 8%;
  padding: 16% 14% 18%;
}
.art--bars span {
  flex: 1; background: var(--color-white); border-radius: 2px;
}
.art--bars span:nth-child(1) { height: 40%; }
.art--bars span:nth-child(2) { height: 60%; }
.art--bars span:nth-child(3) { height: 90%; background: var(--color-pink); }
.art--bars span:nth-child(4) { height: 70%; }
.art--bars span:nth-child(5) { height: 50%; }
.art--grid-lg {
  background:
    radial-gradient(var(--color-pink) 2px, transparent 2.5px) 0 0 / 22px 22px,
    var(--color-navy);
  opacity: 1;
}
.art--circle-cut {
  background: var(--color-light); overflow: hidden;
}
.art--circle-cut::before {
  content: ""; position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: var(--color-pink);
}
.art--circle-cut::after {
  content: ""; position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: var(--color-navy);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}
.art--bracket {
  background: var(--color-light);
  display: flex; align-items: center; justify-content: center;
}
.art--bracket::before, .art--bracket::after {
  content: "";
  width: 18%; height: 50%;
  border: 3px solid var(--color-navy);
}
.art--bracket::before { border-right: none; }
.art--bracket::after  { border-left: none; border-color: var(--color-pink); }

/* ============================================================
   Topic strip
   ============================================================ */
.topic-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}
@media (max-width: 880px) { .topic-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .topic-strip { grid-template-columns: repeat(2, 1fr); } }
.topic-card {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-5);
  text-decoration: none; color: inherit;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--duration-normal) var(--ease-standard),
              border-color var(--duration-normal) var(--ease-standard),
              box-shadow var(--duration-normal) var(--ease-standard);
}
.topic-card::before {
  content: ""; position: absolute;
  inset: 0; z-index: -1;
  background: var(--color-navy);
  transform: translateY(101%);
  transition: transform 380ms var(--ease-emphasized);
}
.topic-card::after {
  content: ""; position: absolute;
  top: 12px; right: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background-image: radial-gradient(var(--color-pink) 1.2px, transparent 1.4px);
  background-size: 6px 6px;
  opacity: 0; transform: scale(0.6);
  transition: opacity var(--duration-normal) var(--ease-standard), transform var(--duration-normal) var(--ease-standard);
}
.topic-card:hover {
  border: 1px solid var(--color-navy);
  transform: translateY(-3px);
  box-shadow: var(--elevation-3);
}
.topic-card:hover::before { transform: translateY(0); }
.topic-card:hover::after { opacity: 0.9; transform: scale(1); }
.topic-card:hover .num { color: var(--color-pink); }
.topic-card:hover .name { color: var(--color-white); }
.topic-card:hover .count { color: rgba(255,255,255,0.65); }
.topic-card .num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; color: var(--color-pink);
  transition: color var(--duration-fast);
}
.topic-card .name {
  font-size: 19px; font-weight: 700;
  color: var(--fg); letter-spacing: -0.01em;
  transition: color var(--duration-fast);
}
.topic-card .count {
  font-size: 12px; color: var(--fg-muted);
  margin-top: var(--space-3);
  transition: color var(--duration-fast);
}

/* ============================================================
   Subscribe band (mid-page)
   ============================================================ */
.subscribe-band {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: center;
  position: relative; overflow: hidden;
}
.subscribe-band::before {
  content: ""; position: absolute;
  right: 32px; top: 32px;
  width: 140px; height: 140px;
  background-image: radial-gradient(var(--color-pink) 1.6px, transparent 1.8px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(225deg, #000 0, #000 50%, transparent 50%);
          mask-image: linear-gradient(225deg, #000 0, #000 50%, transparent 50%);
  opacity: 0.85;
  pointer-events: none;
}
@media (max-width: 880px) {
  .subscribe-band { grid-template-columns: 1fr; gap: var(--space-8); }
}
.subscribe-band h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
  color: var(--color-white);
}
.subscribe-band p {
  font-size: 16px; line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0;
}
.subscribe-band .subscribe-form {
  background: var(--color-white);
  position: relative; z-index: 1;
}
.subscribe-band-stats {
  display: flex; gap: var(--space-8);
  margin-top: var(--space-6);
}
.subscribe-band-stats div {
  display: flex; flex-direction: column; gap: 2px;
}
.subscribe-band-stats .num {
  font-size: 22px; font-weight: 800; color: var(--color-pink);
  letter-spacing: -0.01em;
}
.subscribe-band-stats .lbl {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   About strip
   ============================================================ */
.about-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 880px) {
  .about-strip { grid-template-columns: 1fr; }
}
.about-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(var(--color-pink) 1.5px, transparent 1.8px) 0 0/14px 14px,
    var(--color-navy);
  position: relative;
  overflow: hidden;
  display: flex; align-items: end; padding: var(--space-6);
  max-width: 360px;
}
.about-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: inherit;
}
.about-portrait .portrait-placeholder {
  position: absolute;
  top: var(--space-5); left: var(--space-5);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(23,25,37,0.6);
  border: 1px dashed rgba(255,255,255,0.3);
  padding: 6px 10px; border-radius: 4px;
}
.about-portrait .signature {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--color-white);
  font-size: 28px;
  letter-spacing: -0.01em;
}
.about-strip h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12; letter-spacing: -0.02em;
  margin: 0 0 var(--space-6);
}
.about-strip p {
  font-size: 17px; line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 60ch;
  margin: 0 0 var(--space-4);
}
.about-strip .credentials {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
.about-strip .credentials div {
  display: flex; flex-direction: column; gap: 4px;
  cursor: default;
  transition: transform 250ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.about-strip .credentials div:hover { transform: translateY(-2px); }
.about-strip .credentials .num {
  font-size: 28px; font-weight: 800;
  color: var(--color-navy); letter-spacing: -0.02em;
  transition: color 200ms ease;
}
.about-strip .credentials div:hover .num { color: var(--color-pink); }
.about-strip .credentials div:hover .lbl { color: var(--color-pink); }
.about-strip .credentials .lbl {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-muted);
}

/* ============================================================
   FAQ — for AEO
   ============================================================ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--space-12);
}
@media (max-width: 880px) { .faq { grid-template-columns: 1fr; } }
.faq h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12; letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
}
.faq dl { margin: 0; }
.faq dt {
  font-size: 18px; font-weight: 700;
  color: var(--fg); letter-spacing: -0.01em;
  cursor: pointer;
  padding: var(--space-5) 0;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  border-top: 1px solid var(--border);
}
.faq dt:first-of-type { border-top: 1px solid var(--color-navy); }
.faq dt::after {
  content: "+"; font-size: 22px; font-weight: 400;
  color: var(--color-pink);
  transition: transform var(--duration-normal) var(--ease-standard);
}
.faq details[open] dt::after { transform: rotate(45deg); }
.faq dd {
  margin: 0; padding: 0 0 var(--space-6);
  font-size: 15px; line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 60ch;
}
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-of-type { border-bottom: 1px solid var(--color-navy); }

/* ============================================================
   Definition blocks (#20)
   ============================================================ */
.definition {
  border-left: 2px solid var(--color-pink);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--bg-subtle, #F8F8FA);
}
.definition strong:first-child {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-pink);
  margin-bottom: 6px;
}
.definition p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fg-secondary, #4A4D5C); }

/* ============================================================
   FAQ accordion in post body (.faq-list) (#18)
   ============================================================ */
.faq-list { margin: 40px 0; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  padding: 18px 0;
  font-size: 15px; font-weight: 600;
  cursor: pointer; list-style: none;
  display: grid; grid-template-columns: 16px 1fr 24px;
  gap: 12px; align-items: center;
  color: var(--fg); text-align: left;
}
.faq-list summary::-webkit-details-marker { display: none; }
/* Leading chevron — rotates when the item opens */
.faq-list summary::before {
  content: ""; width: 8px; height: 8px;
  border-right: 1.5px solid var(--color-pink);
  border-bottom: 1.5px solid var(--color-pink);
  transform: rotate(-45deg);
  transition: transform 200ms; flex-shrink: 0;
}
.faq-list details[open] summary::before { transform: rotate(45deg); }
.faq-list summary::after {
  content: '+'; font-size: 18px; font-weight: 300; color: var(--color-pink);
  flex-shrink: 0; text-align: center;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details > div,
.faq-list details > p {
  padding: 0 0 20px;
  font-size: 15px; line-height: 1.65;
  color: var(--fg-secondary, #4A4D5C);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-light);
  padding: clamp(64px, 8vw, 96px) 0 var(--space-8);
  border-top: 1px solid var(--border);
  margin-top: var(--space-8);
}
.front-no-footer-gap .site-footer {
  margin-top: 0;
  border-top: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand h3 {
  font-size: 28px; letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
}
.footer-brand p {
  font-size: 14px; line-height: 1.6;
  color: var(--fg-secondary);
  margin: 0 0 var(--space-6); max-width: 36ch;
}
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg);
  transition: background var(--duration-fast) var(--ease-standard),
              color var(--duration-fast) var(--ease-standard),
              border-color var(--duration-fast) var(--ease-standard);
}
.footer-social a:hover {
  background: var(--color-navy); color: var(--color-white);
  border-color: var(--color-navy);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 var(--space-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a {
  font-size: 14px; color: var(--fg);
  border: none;
}
.footer-col a:hover { color: var(--color-pink); border: none; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--fg-muted);
  flex-wrap: wrap; gap: var(--space-4);
}
.footer-bottom a { color: var(--fg-muted); border: none; }
.footer-bottom a:hover { color: var(--color-navy); border: none; }

/* ============================================================
   Article page
   ============================================================ */
.article {
  padding: clamp(48px, 6vw, 96px) 0;
  background: var(--color-white);
}
.article-head {
  max-width: 760px;
  margin: 0 auto var(--space-12);
  text-align: left;
}
.article-cat {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-pink);
  margin-bottom: var(--space-5);
}
.article-head h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 var(--space-6);
}
.article-dek {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--fg-secondary);
  max-width: 60ch;
  margin: 0 0 var(--space-8);
}
.article-byline {
  display: flex; align-items: center; gap: var(--space-4);
  font-size: 13px; color: var(--fg-muted);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.article-byline .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background:
    radial-gradient(var(--color-pink) 1px, transparent 1.2px) 0 0/8px 8px,
    var(--color-navy);
}
.article-byline .author { color: var(--fg); font-weight: 700; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: var(--space-12);
  max-width: 1100px; margin: 0 auto;
}
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; gap: var(--space-8); }
}

.toc {
  position: sticky; top: 100px;
  align-self: start;
  font-size: 13px;
}
.toc h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 var(--space-4);
}
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.toc a {
  color: var(--fg); border: none;
  padding-left: var(--space-3);
  border-left: 1.5px solid var(--border);
  display: block; padding-top: 4px; padding-bottom: 4px;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}
.toc a:hover, .toc a.active {
  color: var(--color-pink);
  border-left-color: var(--color-pink);
  border-bottom: none;
}
.toc .share {
  margin-top: var(--space-8); padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
.toc .share-row { display: flex; gap: var(--space-2); margin-top: var(--space-3); }
.toc .share-row a {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  padding-left: 0;
}
.toc .share-row a:hover {
  background: var(--color-navy); color: var(--color-white);
  border-color: var(--color-navy);
}
.toc .share-row svg { width: 14px; height: 14px; }

.article-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg);
  max-width: 68ch;
}
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4.4em; line-height: 0.85;
  float: left; padding: 4px 12px 0 0;
  color: var(--color-pink);
}
.article-body p { margin: 0 0 var(--space-6); }
.article-body h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em; line-height: 1.15;
  margin: var(--space-12) 0 var(--space-5);
}
.article-body h2::before {
  content: ""; display: block;
  width: 32px; height: 2px;
  background: var(--color-pink);
  margin-bottom: var(--space-4);
}
.article-body h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em;
  margin: var(--space-8) 0 var(--space-3);
}
.article-body ul, .article-body ol {
  padding-left: var(--space-6); margin: 0 0 var(--space-6);
}
.article-body li { margin-bottom: var(--space-2); }
.article-body strong { color: var(--fg); font-weight: 700; }
.article-body a { color: var(--color-pink); border-bottom: 1px solid transparent; }
.article-body a:hover { border-bottom-color: var(--color-pink); }
.article-body blockquote {
  margin: var(--space-8) 0;
  padding: var(--space-2) 0 var(--space-2) var(--space-6);
  border-left: 3px solid var(--color-pink);
  font-size: 22px; line-height: 1.4;
  font-weight: 600; color: var(--fg);
}
.article-body .pull {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25; letter-spacing: -0.01em;
  font-weight: 700; color: var(--fg);
  margin: var(--space-12) 0;
  padding: 0;
  border: none;
  position: relative;
  max-width: 22ch;
}
.article-body .pull::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 3em; line-height: 0;
  color: var(--color-pink);
  margin-right: 6px;
  vertical-align: -0.4em;
}
.article-body .takeaway {
  background: var(--color-light);
  border-left: 3px solid var(--color-pink);
  padding: var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-8) 0;
}
.article-body .takeaway .lbl {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-pink);
  margin-bottom: var(--space-3);
}
.article-body .takeaway p { margin: 0; font-size: 16px; line-height: 1.55; }

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity 600ms var(--ease-standard), transform 600ms var(--ease-standard);
}
.reveal.in {
  opacity: 1; transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Footer mini-grid alt motif */
.footer-mini-art {
  margin-top: var(--space-8);
  width: 100%;
  height: 80px;
  background-image: radial-gradient(var(--color-pink) 1.4px, transparent 1.6px);
  background-size: 18px 18px;
  background-position: 0 0;
  opacity: 0.5;
}

/* ============================================================
   Reading progress bar (post pages only)
   Mounted by JS; renders a 2px pink rule under the sticky header.
   ============================================================ */
.read-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  z-index: 60; /* above .site-header (z:50) */
  pointer-events: none;
}
.read-progress .bar {
  height: 100%;
  width: 0%;
  background: var(--color-pink);
  transform-origin: left center;
  transition: width 60ms linear;
}
@media (prefers-reduced-motion: reduce) {
  .read-progress .bar { transition: none; }
}

/* ============================================================
   Cross-page mobile refinements
   (Applied AFTER all existing rules so they win without !important.)
   ============================================================ */

/* --- Hero: tighten on small screens --- */
@media (max-width: 640px) {
  .hero h1 { margin-bottom: var(--space-6); }
  .hero-lede { margin-bottom: var(--space-6); }
  .hero-meta { max-width: 100%; }
  /* Trust line: stack as 2 text lines (block), not 2 flex columns */
  .hero-trust { display: block; line-height: 1.5; }
  .hero-trust strong { display: block; }
  .subscribe-form { flex-direction: column; gap: var(--space-2); padding: 8px; }
  .subscribe-form input { padding: 12px 14px; }
  .subscribe-form button { padding: 14px 22px; width: 100%; }
}

/* --- Section heads: stack the right-side link below on small screens --- */
@media (max-width: 640px) {
  .section-head { gap: var(--space-4); }
  .section-head .section-link { font-size: 13px; }
}

/* --- Featured: ease the dense pad on mobile --- */
@media (max-width: 640px) {
  .featured-tile { aspect-ratio: 4/3; }
  .featured-title { font-size: clamp(24px, 6vw, 32px); }
  .featured-dek { font-size: 15px; }
  .featured-foot { flex-wrap: wrap; row-gap: 6px; }
}

/* --- Essay cards on mobile: kill the lift (less noisy on touch) --- */
@media (max-width: 640px) {
  .essay-card:hover .essay-tile { transform: none; box-shadow: none; }
  .essay-card h3 { font-size: 19px; }
  /* Compact card footer on mobile: keep cat + dot + date on a single line */
  .essay-foot { flex-wrap: nowrap; gap: 8px; font-size: 11px; min-width: 0; }
  .essay-foot .cat {
    font-size: 9px; padding: 3px 8px; letter-spacing: 0.03em;
    border-width: 1px; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; max-width: 62%;
  }
  .essay-foot > span:last-child { white-space: nowrap; flex-shrink: 0; }
  /* "Most read" featured block: hide author on mobile so date · reads fit on one line */
  .blog-featured-body .foot { flex-wrap: nowrap; gap: 8px; font-size: 10px; letter-spacing: 0.02em; }
  .blog-featured-body .foot span { white-space: nowrap; }
  /* Hide the author span and the "·" separator immediately after it */
  .blog-featured-body .foot .author,
  .blog-featured-body .foot .author + span { display: none; }
}

/* --- Topic cards: less padding on small screens --- */
@media (max-width: 480px) {
  .topic-card { padding: var(--space-5) var(--space-4); }
  .topic-card .name { font-size: 17px; }
}

/* --- Subscribe band: full-width, less inner padding --- */
@media (max-width: 640px) {
  .subscribe-band { padding: var(--space-8) var(--space-6) !important; border-radius: var(--radius-md); }
  .subscribe-band::before { width: 80px; height: 80px; right: 16px; top: 16px; }
  /* Keep the 3 stats on a single row on mobile (smaller type). Labels may wrap
     onto two lines so longer translations (e.g. "SIEMPRE GRATIS") do not overflow. */
  .subscribe-band-stats { gap: var(--space-3); flex-wrap: nowrap; justify-content: space-between; }
  .subscribe-band-stats div { flex: 1 1 0; min-width: 0; }
  .subscribe-band-stats .num { font-size: 17px; white-space: nowrap; }
  .subscribe-band-stats .lbl { font-size: 9px; letter-spacing: 0.06em; white-space: normal; line-height: 1.25; }
}

/* --- About strip: stack portrait above text neatly --- */
@media (max-width: 880px) {
  .about-portrait { max-width: 100%; aspect-ratio: 16/10; }
}
@media (max-width: 640px) {
  .about-strip .credentials { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .about-strip .credentials .num { font-size: 22px; }
  .about-strip p { font-size: 16px; }
}

/* --- FAQ: a touch more breathing room --- */
@media (max-width: 640px) {
  .faq dt { font-size: 16px; padding: var(--space-4) 0; }
  .faq dd { font-size: 15px; }
}

/* --- Article body on small screens --- */
@media (max-width: 640px) {
  .article-body { font-size: 17px; }
  .article-body > p:first-of-type::first-letter { font-size: 3.6em; padding-right: 8px; }
}

/* --- Site footer: keep the brand column readable on tiny screens --- */
@media (max-width: 480px) {
  .footer-brand h3 { font-size: 24px; }
  .footer-bottom { font-size: 11px; }
}

/* --- Touch targets: bump nav-cta and footer social to >=44px on touch --- */
@media (hover: none) and (pointer: coarse) {
  .nav-cta { padding: 12px 18px; }
  .footer-social a { width: 44px; height: 44px; }
}

/* ============================================================
   VariantC shared — method grid (used on About and Strategy)
   Extracted from page-about.php inline styles
   ============================================================ */

.vC-method-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; border:1px solid var(--border); }
.vC-method-col { padding:32px; border-right:1px solid var(--border); }
.vC-method-col:last-child { border-right:none; }
.vC-method-col .num { font-family:"Montserrat",sans-serif; font-weight:900; font-size:14px; color:var(--color-pink); letter-spacing:0.08em; margin-bottom:16px; }
.vC-method-col h2,
.vC-method-col h3 { font-size:22px; line-height:1.2; font-weight:700; margin:0 0 12px; letter-spacing:-0.01em; }
.vC-method-col p { font-size:14px; line-height:1.6; color:var(--fg-secondary); margin:0 0 16px; }
.vC-method-col .case { padding:16px; background:var(--color-light); border-left:2px solid var(--color-pink); font-size:12px; color:var(--fg); line-height:1.5; }
.vC-method-col .case strong { display:block; font-size:10px; letter-spacing:0.16em; text-transform:uppercase; color:var(--color-pink); font-weight:700; margin-bottom:6px; }

@media (max-width: 768px) {
  .vC-method-grid { grid-template-columns:1fr; }
  .vC-method-col { border-right:none; border-bottom:1px solid var(--border); }
  .vC-method-col:last-child { border-bottom:none; }
}

/* ============================================================
   Strategy page (.s- prefix)
   Reuses VariantC tokens from colors_and_type.css
   ============================================================ */

.s-hero { padding: clamp(40px,6vw,80px) clamp(24px,5vw,56px) clamp(24px,3vw,40px); }
.s-eyebrow { font-size:11px; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--color-pink); margin-bottom:20px; }
.s-h1 { font-size:clamp(36px,5vw,64px); line-height:1.05; letter-spacing:-0.025em; font-weight:800; max-width:18ch; margin:0 0 24px; }
.s-lede { font-size:17px; line-height:1.65; color:var(--fg-secondary); max-width:56ch; margin:0 0 32px; }
.s-cta-btn { display:inline-flex; align-items:center; gap:12px; padding:16px 28px; background:var(--color-pink); color:#fff; font-weight:800; font-size:14px; letter-spacing:0.04em; text-decoration:none; }
.s-cta-btn:hover { background:var(--pink-600); }
.s-availability { margin-top:16px; font-size:12px; color:var(--fg-muted); font-weight:600; letter-spacing:0.08em; text-transform:uppercase; }

.s-method { padding: clamp(24px,4vw,48px) clamp(24px,5vw,56px) clamp(48px,6vw,80px); }

.s-book { padding:clamp(48px,6vw,80px) clamp(24px,5vw,56px); background:var(--color-navy); color:#fff; }
.s-book-inner { display:grid; grid-template-columns:1.4fr 1fr; gap:clamp(40px,6vw,80px); align-items:center; max-width:1440px; }
.s-book-h2 { font-size:clamp(28px,4vw,52px); line-height:1.05; letter-spacing:-0.025em; font-weight:800; margin:0 0 20px; }
.s-book-lede { font-size:16px; line-height:1.6; color:rgba(255,255,255,0.8); margin:0 0 32px; max-width:480px; }
.s-book-btn { display:inline-flex; align-items:center; gap:12px; padding:16px 28px; background:var(--color-pink); color:#fff; font-weight:800; font-size:14px; letter-spacing:0.04em; text-decoration:none; }
.s-book-btn:hover { background:var(--pink-600); }
.s-book-side { border-left:1px solid rgba(255,255,255,0.2); padding-left:clamp(24px,3vw,40px); }
.s-book-side-label { display:block; font-size:11px; letter-spacing:0.2em; text-transform:uppercase; font-weight:700; color:#fff; margin-bottom:16px; }
.s-book-list { list-style:none; padding:0; margin:0; font-size:14px; line-height:1.6; color:rgba(255,255,255,0.85); }
.s-book-list li { padding:8px 0 8px 20px; position:relative; }
.s-book-list li::before { content:"→"; position:absolute; left:0; top:8px; color:var(--color-pink); font-weight:700; }

@media (max-width: 768px) {
  .s-book-inner { grid-template-columns:1fr; }
  .s-book-side { border-left:none; border-top:1px solid rgba(255,255,255,0.2); padding-left:0; padding-top:24px; }
}

/* Share buttons — outline style, overrides global a { color: pink } */
a.rbt-share-btn,
button.rbt-share-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent !important;
  color: var(--fg) !important;
  border: 1.5px solid var(--border) !important;
  border-bottom: 1.5px solid var(--border) !important;
  border-radius: 6px;
  text-decoration: none !important;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
  padding: 0;
}
a.rbt-share-btn:hover,
button.rbt-share-btn:hover {
  border-color: var(--color-navy) !important;
  border-bottom-color: var(--color-navy) !important;
  color: var(--color-navy) !important;
}
a.rbt-share-btn svg,
button.rbt-share-btn svg {
  display: block;
  flex-shrink: 0;
  color: inherit;
  pointer-events: none;
}

/* ============================================================
   Mobile responsiveness for inline-grid layouts
   archive.php (blog), single.php (post) and front-page.php build
   their main grids as inline style="" attributes, which beat any
   external rule on specificity. These overrides need !important
   to collapse them on small screens. Applied last so they win.
   ============================================================ */

/* --- Tablet and below: collapse the big two/three-column grids --- */
@media (max-width: 900px) {
  /* Blog archive (archive.php) */
  .header-grid        { grid-template-columns: 1fr !important; gap: var(--space-8) !important; align-items: start !important; }
  .header-aside       { border-left: none !important; padding-left: 0 !important; padding-bottom: 0 !important; }
  .blog-featured-card { grid-template-columns: 1fr !important; }
  .blog-featured-art  { min-height: 220px !important; }
  .blog-layout        { grid-template-columns: 1fr !important; gap: var(--space-10) !important; padding: 32px 0 56px !important; }
  /* Grid items must shrink below their content width, or the post card image
     stretches the single column past the viewport (same fix as .post-layout). */
  .blog-layout > *    { min-width: 0 !important; max-width: 100% !important; }
  .sidebar-sticky     { position: static !important; top: auto !important; }
  /* "Most recent" numbered list (.top-read ol): let the content column shrink
     so long titles/categories wrap inside the column instead of overflowing. */
  .top-read           { min-width: 0 !important; max-width: 100% !important; }
  .top-read ol li     { min-width: 0 !important; }
  .top-read ol li > *  { min-width: 0 !important; max-width: 100% !important; }
  .top-read ol li a   { white-space: normal !important; overflow-wrap: anywhere; }

  /* Post (single.php) */
  .post-hero-card     { grid-template-columns: 1fr !important; }
  .post-hero-art      { min-height: 260px !important; }
  .post-hero-body     { padding: 32px 24px !important; }
  .post-layout        { grid-template-columns: 1fr !important; gap: var(--space-8) !important; padding: 40px 0 64px !important; }
  /* Grid items must be allowed to shrink below their content, or a long
     TOC link / wide block stretches the single column past the viewport. */
  .post-layout > *    { min-width: 0 !important; max-width: 100% !important; }
  .post-toc           { position: static !important; top: auto !important; max-height: none !important; overflow: visible !important; width: 100% !important; }
  .post-body          { max-width: 100% !important; }
  /* Wide tables (e.g. .compare-table) scroll inside their own box instead
     of stretching the whole page past the viewport. */
  .post-body table    { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .post-body table thead th,
  .post-body table tbody td { white-space: normal; }
  .related-grid       { grid-template-columns: 1fr !important; }

  /* Editorial pillars (front-page.php + archive.php) */
  .rbt-pillars-grid   { grid-template-columns: 1fr !important; }

  /* North-star block (front-page.php) */
  .rbt-northstar-grid { grid-template-columns: 1fr !important; }
}

/* --- Phone: single-column post grid + stacked filter row --- */
@media (max-width: 640px) {
  .posts-grid         { grid-template-columns: 1fr !important; gap: var(--space-8) !important; }
  .posts-grid > *     { min-width: 0 !important; max-width: 100% !important; }
  .posts-grid .essay-tile img,
  .posts-grid .essay-tile { max-width: 100% !important; }
  /* "Filter by topic" (chips + search) is desktop-only — hide the whole row on phones */
  .filter-row         { display: none !important; }
  .filter-row-inner   { grid-template-columns: 1fr !important; gap: var(--space-5) !important; padding: 20px 0 !important; }
  .search-cluster     { min-width: 0 !important; width: 100%; }
  .blog-header h1     { font-size: clamp(34px, 9vw, 52px) !important; }
  .stats              { flex-wrap: wrap; gap: 16px !important; }
  .prev-next          { grid-template-columns: 1fr !important; }
  .post-meta-row      { grid-template-columns: 1fr !important; gap: 16px !important; }
  .post-hero-body h1  { font-size: clamp(26px, 7vw, 36px) !important; }
}
