/*
Theme Name: MY Insights (Astra child)
Theme URI: https://morayglesias.com/insights/
Description: Tema editorial magazine-boutique para el blog Insights de Mora, Yglesias & Asociados. Diseño marino + dorado, tipografía Source Serif 4 + Inter, con hero a pantalla completa, TOC sticky y barra de progreso. Solo afecta single posts y la página Insights — el resto del sitio queda intacto.
Author: Mora, Yglesias & Asociados
Author URI: https://morayglesias.com/
Template: astra
Version: 1.0.3
Text Domain: my-insights
*/

/* =========================================================
   MORA, YGLESIAS & ASOCIADOS — Blog redesign prototype
   Aesthetic: Magazine boutique (Carey Olsen / Wachtell-inspired)
   Palette: Navy + Gold + Cream — from existing logo
   Performance: System fonts + 1 Google font, no JS frameworks,
   ~25KB total CSS, lazy images.
   ========================================================= */

/* ---------- Astra container override ---------- */
/* Astra wraps page content in .ast-container with display:flex which breaks our full-bleed sections.
   Force block layout + remove width constraints + remove padding on insights pages only. */
body.my-insights .ast-container,
body.my-insights .site-content > .ast-container,
body.my-insights #primary,
body.my-insights .ast-row {
  display: block !important;
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.my-insights .site-content,
body.my-insights #content {
  padding: 0 !important;
}
body.my-insights .entry-content,
body.my-insights .entry-header,
body.my-insights .ast-article-single,
body.my-insights .ast-article-post {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

/* ---------- Reset & variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

:root {
  /* Brand palette extracted from logo */
  --navy:        #1a3556;
  --navy-deep:   #0f2240;
  --navy-soft:   #34507a;
  --gold:        #b08a3e;
  --gold-light:  #d4b465;
  --cream:       #f7f3ec;
  --cream-deep:  #ede5d3;
  --ink:         #1c1c1c;
  --ink-soft:    #444444;
  --ink-mute:    #767676;
  --rule:        #d9d2c1;
  --bg:          #fefcf8;

  /* Type system */
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Scale */
  --step--2: clamp(0.78rem, 0.76rem + 0.1vw, 0.83rem);
  --step--1: clamp(0.89rem, 0.86rem + 0.15vw, 0.94rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.2vw,  1.06rem);
  --step-1:  clamp(1.13rem, 1.07rem + 0.3vw,  1.20rem);
  --step-2:  clamp(1.27rem, 1.18rem + 0.45vw, 1.40rem);
  --step-3:  clamp(1.50rem, 1.36rem + 0.7vw,  1.75rem);
  --step-4:  clamp(1.85rem, 1.6rem + 1.25vw,  2.40rem);
  --step-5:  clamp(2.30rem, 1.9rem + 2vw,     3.30rem);
  --step-6:  clamp(2.80rem, 2.2rem + 3vw,     4.40rem);

  --container:  72rem;
  --container-narrow: 44rem;
  --gap: clamp(1rem, 0.7rem + 1.5vw, 2rem);
}

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 252, 248, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem var(--gap);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.brand__logo {
  height: 44px; width: auto; display: block;
}
.brand__logo--cream { height: 56px; }
.brand__mark {
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--gold-light);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--navy-deep);
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand__name small {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-primary {
  display: flex; gap: 2rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
}
.nav-primary a {
  color: var(--ink-soft);
  transition: color 0.15s ease;
  position: relative;
  padding: 0.25rem 0;
}
.nav-primary a:hover { color: var(--navy); }
.nav-primary a.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold);
}
.nav-meta {
  display: flex; align-items: center; gap: 1.25rem;
  font-size: var(--step--1);
}
.lang-switch {
  display: flex; gap: 0.5rem;
  font-family: var(--sans); font-weight: 500;
  color: var(--ink-mute);
}
.lang-switch a { padding: 0.25rem 0.4rem; }
.lang-switch a.is-active { color: var(--navy); border-bottom: 1px solid var(--gold); }
.cta-btn {
  background: var(--navy);
  color: var(--cream);
  padding: 0.55rem 1.1rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  transition: background 0.15s ease;
}
.cta-btn:hover { background: var(--navy-deep); }
.menu-toggle {
  display: none;
  width: 32px; height: 32px;
  color: var(--navy-deep);
}

/* ---------- Hero (article) ---------- */
.article-hero {
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(176, 138, 62, 0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(52, 80, 122, 0.5), transparent 70%);
  pointer-events: none;
}
.article-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 4vw, 5rem) var(--gap) clamp(2.5rem, 3vw, 4rem);
  position: relative;
}
.article-hero__crumbs {
  font-family: var(--sans);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  display: flex; gap: 0.75rem; align-items: center;
  flex-wrap: wrap;
}
.article-hero__crumbs a { color: var(--gold-light); }
.article-hero__crumbs a:hover { color: var(--cream); }
.article-hero__crumbs .sep { opacity: 0.5; }
.article-hero__title {
  font-family: var(--serif);
  font-size: var(--step-6);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 22ch;
  margin-bottom: 1.5rem;
  color: var(--cream);
}
.article-hero__deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(247, 243, 236, 0.85);
  max-width: 50ch;
  margin-bottom: 2.25rem;
}
.article-hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  align-items: center;
  font-family: var(--sans);
  font-size: var(--step--1);
  color: rgba(247, 243, 236, 0.7);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(176, 138, 62, 0.3);
}
.article-hero__meta strong {
  color: var(--cream);
  font-weight: 500;
  margin-right: 0.4rem;
}
.article-hero__meta-item {
  display: flex; align-items: center; gap: 0.5rem;
}
.article-hero__meta-item svg { width: 16px; height: 16px; opacity: 0.7; }

/* ---------- Reading progress ---------- */
.reading-progress {
  position: sticky; top: 0; z-index: 60;
  height: 2px;
  background: transparent;
  margin-bottom: -2px;
}
.reading-progress__bar {
  height: 100%;
  background: var(--gold);
  width: 0;
  transition: width 0.05s linear;
}

/* ---------- Article layout ---------- */
.article-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 4vw, 4rem) var(--gap);
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: clamp(2rem, 3vw, 4rem);
  align-items: start;
}

/* ---------- Sticky TOC ---------- */
.toc {
  position: sticky;
  top: 6rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  border-left: 1px solid var(--rule);
  padding-left: 1.25rem;
}
.toc__label {
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}
.toc__list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.toc__list a {
  color: var(--ink-soft);
  display: block;
  line-height: 1.4;
  padding: 0.15rem 0;
  transition: color 0.15s ease, transform 0.15s ease;
}
.toc__list a:hover { color: var(--navy); transform: translateX(2px); }
.toc__list a.is-active {
  color: var(--navy-deep);
  font-weight: 600;
  position: relative;
}
.toc__list a.is-active::before {
  content: "";
  position: absolute; left: -1.27rem; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 1.4rem;
  background: var(--gold);
}

/* ---------- Article body ---------- */
.article-body {
  max-width: 38rem;
  font-family: var(--serif);
  font-size: var(--step-1);
  line-height: 1.7;
  color: var(--ink);
}
.article-body > * + * { margin-top: 1.25em; }
.article-body p { font-feature-settings: "kern", "liga", "onum"; }
.article-body p > strong { font-weight: 700; color: var(--navy-deep); }

.article-body h2 {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-deep);
  margin-top: 3rem;
  letter-spacing: -0.01em;
  scroll-margin-top: 6rem;
}
.article-body h2::before {
  content: "";
  display: block;
  width: 2.5rem; height: 3px;
  background: var(--gold);
  margin-bottom: 1rem;
}
.article-body h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.25;
  color: var(--navy);
  margin-top: 2rem;
  letter-spacing: -0.005em;
  scroll-margin-top: 6rem;
}

/* Lead paragraph */
.article-body > p:first-of-type::first-line {
  font-variant: small-caps;
  letter-spacing: 0.05em;
}

/* Drop cap for first paragraph */
.article-body > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 4.5em;
  float: left;
  line-height: 0.85;
  margin: 0.1em 0.1em 0 -0.05em;
  color: var(--gold);
}

/* ---------- Callouts ---------- */
.callout {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  font-family: var(--sans);
  font-size: var(--step-0);
  margin-top: 1.5rem;
  display: flex; gap: 1rem;
  align-items: flex-start;
}
.callout__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  color: var(--gold);
  margin-top: 2px;
}
.callout__body { color: var(--ink-soft); line-height: 1.5; }
.callout__label {
  display: block;
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
}
.callout__deadline {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--navy-deep);
}

.callout--warning { background: #fbf2e6; border-left-color: #c87a2c; }
.callout--warning .callout__icon { color: #c87a2c; }

/* ---------- Pull quote ---------- */
.pullquote {
  font-family: var(--serif);
  font-size: var(--step-3);
  line-height: 1.3;
  font-style: italic;
  color: var(--navy-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.75rem 0;
  margin: 2.5rem 0;
  text-align: center;
  letter-spacing: -0.01em;
}
.pullquote::before { content: "“"; color: var(--gold); font-size: 1.4em; line-height: 0; vertical-align: -0.4em; margin-right: 0.05em;}
.pullquote::after { content: "”"; color: var(--gold); font-size: 1.4em; line-height: 0; vertical-align: -0.4em; margin-left: 0.05em;}

/* ---------- FAQ ---------- */
.faq { margin-top: 1.5rem; }
.faq__item {
  border-bottom: 1px solid var(--rule);
}
.faq__item:first-child { border-top: 1px solid var(--rule); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--navy-deep);
  line-height: 1.35;
}
.faq__q-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--gold);
  margin-top: 4px;
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__q-icon { transform: rotate(45deg); }
.faq__a {
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-soft);
  padding: 0 0 1.5rem 0;
}

/* ---------- Disclaimer ---------- */
.disclaimer {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  background: #fbfaf6;
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-mute);
  border-radius: 2px;
}
.disclaimer p { margin: 0; }
.disclaimer strong { color: var(--navy); font-weight: 600; }
.disclaimer a { color: var(--navy); text-decoration: underline; }

/* ---------- Author bio ---------- */
.author-card {
  margin-top: 4rem;
  background: var(--cream);
  padding: 2rem;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.5rem;
  align-items: start;
  border-top: 3px solid var(--gold);
}
.author-card__avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.02em;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold);
}
.author-card__name {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
}
.author-card__role {
  font-family: var(--sans);
  font-size: var(--step--1);
  color: var(--ink-mute);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.author-card__bio {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink-soft);
}
.author-card__contact {
  margin-top: 1rem;
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-family: var(--sans);
  font-size: var(--step--1);
}
.author-card__contact a {
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.author-card__contact a:hover { border-color: var(--gold); }

/* ---------- Related ---------- */
.related {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) var(--gap);
  border-top: 1px solid var(--rule);
}
.related__title {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.related__title::before {
  content: "";
  display: block;
  width: 2.5rem; height: 3px;
  background: var(--gold);
  margin-bottom: 0.75rem;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
}
.related-card {
  display: flex; flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  transition: transform 0.2s ease;
}
.related-card:hover { transform: translateY(-2px); }
.related-card__cat {
  font-family: var(--sans);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 600;
}
.related-card__title {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-deep);
  letter-spacing: -0.005em;
}
.related-card:hover .related-card__title { color: var(--navy); }
.related-card__meta {
  font-family: var(--sans);
  font-size: var(--step--1);
  color: var(--ink-mute);
  margin-top: auto;
}

/* ---------- Contact CTA ---------- */
.contact-strip {
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.contact-strip::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(176, 138, 62, 0.15), transparent 50%);
}
.contact-strip__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) var(--gap);
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.contact-strip__title {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.contact-strip__deck {
  font-family: var(--sans);
  font-size: var(--step-0);
  color: rgba(247, 243, 236, 0.75);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.contact-strip__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.85rem 1.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: 0.02em;
  transition: background 0.15s ease;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost {
  border: 1px solid rgba(247, 243, 236, 0.3);
  color: var(--cream);
  padding: 0.85rem 1.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--step-0);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(176, 138, 62, 0.08); }
.contact-strip__office {
  font-family: var(--sans);
  font-size: var(--step--1);
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.75);
  border-left: 1px solid rgba(176, 138, 62, 0.3);
  padding-left: 2rem;
}
.contact-strip__office strong { color: var(--cream); display: block; margin-bottom: 0.25rem; font-weight: 600; }
.contact-strip__office + .contact-strip__office { margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(247, 243, 236, 0.6);
  padding: 3rem var(--gap) 2rem;
  font-family: var(--sans);
  font-size: var(--step--1);
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
}
.site-footer h4 {
  color: var(--cream);
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer__bottom {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 243, 236, 0.1);
  display: flex; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
  font-size: var(--step--2);
}

/* =========================================================
   BLOG INDEX PAGE
   ========================================================= */
.index-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.index-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) var(--gap) clamp(2.5rem, 4vw, 4rem);
}
.index-hero__eyebrow {
  font-family: var(--sans);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.index-hero__title {
  font-family: var(--serif);
  font-size: var(--step-6);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.index-hero__deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 50ch;
}

/* Featured article */
.featured {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) var(--gap) clamp(2rem, 3vw, 3rem);
}
.featured__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.featured__media {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.featured__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(176, 138, 62, 0.25), transparent 60%);
}
.featured__media-num {
  position: absolute;
  bottom: -2rem; right: 1rem;
  font-family: var(--serif);
  font-size: 16rem;
  font-weight: 700;
  color: rgba(176, 138, 62, 0.18);
  line-height: 0.8;
  letter-spacing: -0.06em;
}
.featured__media-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30%; height: 30%;
  color: rgba(247, 243, 236, 0.4);
}
.featured__tag {
  font-family: var(--sans);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.featured__tag::before {
  content: "";
  width: 1.5rem; height: 1px; background: var(--gold);
}
.featured__title {
  font-family: var(--serif);
  font-size: var(--step-5);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
  margin-bottom: 1rem;
}
.featured__title a:hover { color: var(--navy); }
.featured__excerpt {
  font-family: var(--serif);
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.featured__meta {
  display: flex; gap: 1.25rem; align-items: center;
  font-family: var(--sans);
  font-size: var(--step--1);
  color: var(--ink-mute);
  margin-bottom: 1.5rem;
}
.featured__cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--navy-deep);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.25rem;
  transition: gap 0.2s ease;
}
.featured__cta:hover { gap: 1rem; }

/* Filter bar */
.filters {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  border-bottom: 1px solid var(--rule);
}
.filters__inner {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  padding: 1.25rem 0;
  font-family: var(--sans);
  font-size: var(--step--1);
}
.filters__chip {
  padding: 0.5rem 1rem;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-weight: 500;
  background: transparent;
  transition: all 0.15s ease;
  border-radius: 999px;
}
.filters__chip:hover { border-color: var(--navy); color: var(--navy); }
.filters__chip.is-active {
  background: var(--navy-deep);
  color: var(--cream);
  border-color: var(--navy-deep);
}

/* Article grid */
.article-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2rem, 3vw, 3rem) var(--gap) clamp(3rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: clamp(2rem, 3vw, 3rem) clamp(2rem, 3vw, 3.5rem);
}
.article-card {
  display: flex; flex-direction: column; gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  transition: transform 0.2s ease;
}
.article-card:hover { transform: translateY(-3px); }
.article-card__cat {
  font-family: var(--sans);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--gold);
}
.article-card__title {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--navy-deep);
}
.article-card:hover .article-card__title { color: var(--navy); }
.article-card__excerpt {
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink-soft);
}
.article-card__meta {
  font-family: var(--sans);
  font-size: var(--step--2);
  color: var(--ink-mute);
  margin-top: auto;
  letter-spacing: 0.02em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc {
    position: static;
    border-left: none;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 1rem 0;
    margin-bottom: 2rem;
  }
  .toc__list { flex-direction: row; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
  .toc__list a.is-active::before { display: none; }
  .toc__list a.is-active { border-bottom: 2px solid var(--gold); }
  .featured__inner { grid-template-columns: 1fr; }
  .featured__media { aspect-ratio: 16/9; }
  .featured__media-num { font-size: 11rem; }
  .contact-strip__inner { grid-template-columns: 1fr; }
  .contact-strip__office { border-left: none; border-top: 1px solid rgba(176, 138, 62, 0.3); padding-left: 0; padding-top: 1.5rem; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-primary { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-meta .lang-switch { display: none; }
  .article-body { font-size: var(--step-0); }
  .article-body > p:first-of-type::first-letter {
    font-size: 3.2em;
  }
  .author-card {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 1.5rem;
  }
  .author-card__avatar { width: 64px; height: 64px; font-size: 1.5rem; }
  .pullquote { font-size: var(--step-2); padding: 1.25rem 0; margin: 2rem 0; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .toc, .reading-progress, .contact-strip, .related, .site-footer { display: none; }
  .article-hero { background: white; color: black; }
  .article-hero__title, .article-hero__deck { color: black; }
  .article-body { max-width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
