/* =============================================================
   1. Tokens — dos ambientes: indigo (lógico) × teal/coral (humano)
   ============================================================= */
:root {
  --bg:          #141a3d;
  --bg-2:        #1a2150;
  --surface:     #1f2657;
  --surface-2:   #262d66;
  --ink:         #f5f2e9;
  --ink-soft:    #cfccc4;
  --ink-faint:   #8b89a6;

  --eco:         #52e0c4;
  --eco-dark:    #2caf95;
  --eco-ink:     #08211c;
  --human:       #ff6b4a;
  --human-dark:  #e14f2d;
  --human-ink:   #2c0d05;

  --line:        rgba(245, 242, 233, 0.12);
  --line-strong: rgba(245, 242, 233, 0.24);

  --f-display: "Bricolage Grotesque", "Space Grotesk", "Segoe UI", sans-serif;
  --f-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono:    "IBM Plex Mono", "Courier New", monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --container: 1180px;
  --measure: 66ch;
  --radius: 14px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  position: relative;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  text-wrap: balance;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 600;
}
::selection { background: var(--eco); color: var(--eco-ink); }

:focus-visible {
  outline: 2px solid var(--eco);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Ambient background — slow drifting glow (atmosphere, not intrusive)
   ============================================================= */
.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient-glow::before,
.ambient-glow::after {
  content: "";
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .22;
  animation: drift 34s var(--ease-soft) infinite alternate;
}
.ambient-glow::before {
  background: var(--eco);
  top: -18vmax; left: -14vmax;
}
.ambient-glow::after {
  background: var(--human);
  bottom: -20vmax; right: -16vmax;
  animation-delay: -12s;
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6vmax, 4vmax) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-glow::before, .ambient-glow::after { animation: none; }
}

/* =============================================================
   4. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--eco); color: var(--eco-ink);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; position: relative; z-index: 1; }
.measure { max-width: var(--measure); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-mono);
  font-size: .76rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--eco);
  font-weight: 500;
}
.eyebrow--human { color: var(--human); }

.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .45em .9em;
  border-radius: 100px;
}
.badge--construccion { background: rgba(255,107,74,.16); color: var(--human); }
.badge--live { background: rgba(82,224,196,.16); color: var(--eco); }
.badge--live .badge-dot { width: .5em; height: .5em; border-radius: 50%; background: var(--eco); display: inline-block; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Signature: dual-tag — bold solid pills, económico × humano */
.dual-tag {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6em;
  font-family: var(--f-mono);
  font-size: .74rem;
  letter-spacing: .02em;
}
.dual-tag__item {
  padding: .5em .95em;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
}
.dual-tag__item strong { font-weight: 700; }
.dual-tag__item--eco { background: var(--eco); color: var(--eco-ink); }
.dual-tag__item--human { background: var(--human); color: var(--human-ink); }
.dual-tag__cross {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink-faint);
  font-size: 1rem;
}

/* =============================================================
   5. Typography helpers
   ============================================================= */
.dropcap:first-letter {
  font-family: var(--f-display);
  font-size: 3.4em;
  float: left;
  line-height: .8;
  padding: .05em .07em 0 0;
  font-weight: 700;
  color: var(--eco);
}

blockquote.pullquote {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.35;
  color: var(--ink);
  background: var(--surface);
  border-left: 4px solid var(--human);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4em 1.6em;
  margin-block: 2rem;
}

.kicker-title { font-family: var(--f-display); font-weight: 700; }

/* =============================================================
   6. Buttons & nav
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .9em 1.6em;
  border-radius: 100px;
  transition: transform .3s var(--ease-bounce), background .25s var(--ease-out), color .25s var(--ease-out), box-shadow .3s var(--ease-out);
}
.btn-primary { background: var(--eco); color: var(--eco-ink); }
.btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 30px -8px rgba(82,224,196,.5); }
.btn-ghost { background: rgba(245,242,233,.06); color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--eco); color: var(--eco); }

.link-underline { position: relative; padding-bottom: .15em; }
.link-underline::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--eco);
  transition: right .35s var(--ease-out);
}
.link-underline:hover::after, .link-underline.is-active::after { right: 0; }
.link-underline.is-active { color: var(--eco); }

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 26, 61, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(10px)) { .masthead { background: var(--bg); } }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--nav-h); }
.brand-group { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.brand { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; }
.brand-issue { display: none; font-family: var(--f-mono); font-size: .68rem; color: var(--ink-faint); letter-spacing: .04em; text-transform: uppercase; }
.masthead-nav { display: none; align-items: center; gap: 1.9rem; }
.masthead-nav a { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); }

.lang-switch { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; }
.lang-switch button {
  background: none; border: none; padding: .2rem .15rem; margin: 0; cursor: pointer;
  font: inherit; color: var(--ink-faint); transition: color .2s var(--ease-out);
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] { color: var(--eco); }
.lang-switch__sep { color: var(--ink-faint); opacity: .5; }
.nav-mobile .lang-switch { padding: 1.1rem 1.25rem; gap: .5rem; }
.nav-mobile .lang-switch button { font-size: .82rem; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease-out), opacity .25s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--eco); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--eco); }

.nav-mobile { display: none; flex-direction: column; border-top: 1px solid var(--line); background: var(--bg-2); }
.nav-mobile.is-open { display: flex; }
.nav-mobile a { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }

/* =============================================================
   7. Sections & layout
   ============================================================= */
main { min-height: 60vh; position: relative; z-index: 1; }
.section { padding-block: clamp(3rem, 7vw, 6rem); position: relative; }
.section--alt { background: var(--bg-2); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-top: .5em; }

/* --- Hero (home) --- */
.hero { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); position: relative; overflow: clip; }
.hero-grid { display: grid; gap: 2.5rem; align-items: end; }
/* Grid items default to min-width:auto, which lets a wide headline's
   intrinsic width refuse to shrink and starve the sibling column down to
   almost nothing — the actual cause of the "invisible" ticker (confirmed via
   DevTools: text column measured 820px inside a 912px-wide grid). */
.hero-grid > * { min-width: 0; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; max-width: 16ch; margin-top: .5rem; }
.hero-title em { font-style: normal; color: var(--eco); }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 52ch; color: var(--ink-soft); margin-top: 1.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.hero-figure { position: relative; justify-self: center; width: min(420px, 100%); opacity: .95; }
.hero-figure svg { width: 100%; height: auto; }
@media (max-width: 959px) {
  /* Below the 2-column breakpoint the grid stacks; without this the tall
     wrapped headline pushes the ticker hundreds of px down, off the first
     screen — show it first instead. */
  .hero-figure { order: -1; margin-bottom: 1.6rem; }
}

/* --- Two ambientes --- */
.ambientes-grid { display: grid; gap: 1.5rem; }
.ambiente-card {
  background: var(--surface);
  padding: 1.9rem;
  border-radius: var(--radius);
  border-left: 4px solid transparent;
  transition: transform .3s var(--ease-out), background .3s var(--ease-out);
}
.ambiente-card:hover { transform: translateY(-4px); background: var(--surface-2); }
.ambiente-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.ambiente-card p { color: var(--ink-soft); }
.ambiente-card--eco { border-left-color: var(--eco); }
.ambiente-card--human { border-left-color: var(--human); }

/* --- Phase track (timeline v2) --- */
.phase-track { position: relative; display: flex; flex-direction: column; gap: 0; padding-left: 2.2rem; }
.phase-track::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px;
  background: var(--line-strong);
}
.phase { position: relative; padding-block: 1.3rem; }
.phase-dot {
  position: absolute; left: -2.2rem; top: 1.5rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--line-strong);
}
.phase[data-status="current"] .phase-dot {
  background: var(--eco); border-color: var(--eco);
  box-shadow: 0 0 0 5px rgba(82,224,196,.18);
}
.phase[data-status="current"] .phase-body {
  background: var(--surface); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-left: -1.4rem;
}
.phase h3 { font-size: 1.15rem; font-weight: 700; }
.phase[data-status="current"] h3 { color: var(--eco); }
.phase p { color: var(--ink-faint); font-size: .95rem; margin-top: .3rem; }
.phase[data-status="current"] p { color: var(--ink-soft); }

/* --- Cards grid (section previews / blog list) --- */
.card-grid { display: grid; gap: 1.4rem; }
.tile {
  display: block;
  background: var(--surface);
  padding: 1.7rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--line-strong);
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.tile:hover { transform: translateY(-5px); background: var(--surface-2); border-left-color: var(--eco); }
.tile-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .9rem; }
.tile h3 { font-size: 1.2rem; margin-top: .35rem; }
.tile p { color: var(--ink-soft); font-size: .95rem; }

/* --- Article / long-form --- */
.article-hero { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.article-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin-top: .5rem; max-width: 20ch; }
.article-deck { font-size: 1.15rem; color: var(--ink-soft); max-width: 46rem; margin-top: 1rem; }
.byline { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin-top: 1.2rem; }
.article-body { padding-block: clamp(2rem, 4vw, 3rem); max-width: var(--measure); }
.article-body h2 { font-size: 1.5rem; margin-top: 2.4rem; margin-bottom: .8rem; color: var(--eco); }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.article-body p:first-of-type { color: var(--ink); }

.sources { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.sources h3 { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .8rem; font-weight: 600; }
.sources ol { display: flex; flex-direction: column; gap: .4rem; }
.sources li { font-size: .88rem; }
.sources a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink-soft); }
.sources a:hover { color: var(--eco); }

/* --- Blog grouping --- */
.blog-year { margin-bottom: 2.5rem; }
.blog-year > h2 { font-family: var(--f-mono); font-size: .85rem; letter-spacing: .1em; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 1.2rem; }
.blog-month { margin-bottom: 1.6rem; }
.blog-month > h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; color: var(--ink-soft); margin-bottom: .9rem; }
.blog-week-label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--human); margin-bottom: .6rem; display: block; }
.entry-card { background: var(--surface); border-radius: var(--radius); border-left: 4px solid var(--eco); padding: clamp(1.4rem, 3vw, 2.2rem); }
.entry-card h4 { font-family: var(--f-display); font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: .5rem 0 .8rem; }
.entry-card .byline { margin-top: 0; margin-bottom: 1.2rem; }
.entry-card p { color: var(--ink-soft); margin-bottom: 1rem; max-width: var(--measure); }

/* Compact archived entries (mockup pattern) */
.entry-compact-list { display: flex; flex-direction: column; gap: .1rem; }
.entry-compact {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .9rem 0; border-bottom: 1px solid var(--line);
}
.entry-compact time { font-family: var(--f-mono); font-size: .74rem; color: var(--ink-faint); white-space: nowrap; }
.entry-compact h4 { font-family: var(--f-body); font-weight: 600; font-size: 1rem; color: var(--ink); }
.entry-compact p { color: var(--ink-faint); font-size: .88rem; margin-top: .15rem; }

.empty-state { text-align: center; padding-block: clamp(2rem, 5vw, 3.5rem); color: var(--ink-faint); font-family: var(--f-mono); font-size: .85rem; }

/* --- Construction state (Panorama / Cartera) --- */
.construccion { min-height: 56vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.construccion-icon {
  width: 108px; height: 108px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 1.6rem;
}
.construccion-icon svg { width: 68px; height: 68px; }
.construccion h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.construccion p { max-width: 40rem; color: var(--ink-soft); margin-top: 1rem; font-size: 1.05rem; }
.construccion .btn { margin-top: 2rem; }
.construccion-list { margin-top: 2rem; display: flex; flex-direction: column; gap: .5rem; font-size: .92rem; color: var(--ink-faint); text-align: left; }
.construccion-list li::before { content: "— "; color: var(--human); }

/* --- Footer --- */
.site-footer { border-top: 1px solid var(--line-strong); padding-block: 2.5rem; background: var(--bg-2); position: relative; z-index: 1; }
.footer-grid { display: grid; gap: 2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { font-family: var(--f-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.footer-disclaimer { font-size: .82rem; color: var(--ink-faint); max-width: 52rem; margin-top: 1.4rem; line-height: 1.55; }
.footer-meta { margin-top: 1.4rem; font-family: var(--f-mono); font-size: .72rem; color: var(--ink-faint); display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Alert banner (disclaimer, shown right on entry) --- */
.alert-banner {
  display: flex; align-items: flex-start; gap: .9rem;
  background: rgba(255, 107, 74, .14);
  border: 1px solid rgba(255, 107, 74, .45);
  border-left: 4px solid var(--human);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-block: 1.4rem 0;
}
.alert-banner__icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--human); margin-top: 1px; }
.alert-banner p { font-size: .92rem; line-height: 1.5; color: var(--ink-soft); margin: 0; }
.alert-banner strong { color: var(--human); }

/* --- Ticker wall (hero visual — stylized Wall Street screen bank, not a photo) ---
   Plain HTML/CSS, no SVG at all: earlier SVG-based attempts (presentation
   attributes + <filter> glow) rendered fine in automated checks but were
   reportedly invisible in real browsers across the board. Everything here
   uses the same div/grid/text-shadow toolkit already proven to work
   elsewhere on this page. */
/* Hardcoded hex declared before the var() sibling on every color property here,
   on purpose: if a var() reference is ever invalid at compute time in some
   environment, CSS falls back to the prior valid declaration for that same
   property instead of leaving it unset — belt-and-suspenders after custom
   properties were the prime suspect for this component not rendering. Flexbox
   instead of CSS Grid for the same reason: fewer moving parts to doubt. */
.ticker-wall { background: #1f2657; background: var(--surface); border-radius: 14px; border-radius: var(--radius); padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }
.ticker-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.ticker-cell {
  background: #1a2150; background: var(--bg-2);
  border: 1px solid rgba(245,242,233,.12); border: 1px solid var(--line);
  border-radius: 6px; padding: 8px 9px; min-height: 58px;
  width: calc(20% - 7px); min-width: 68px; flex-grow: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
}
.ticker-symbol { font-family: "IBM Plex Mono", monospace; font-family: var(--f-mono); font-size: 10.5px; color: #8b89a6; color: var(--ink-faint); letter-spacing: .04em; }
.ticker-value { font-family: "IBM Plex Mono", monospace; font-family: var(--f-mono); font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.ticker-up { color: #52e0c4; color: var(--eco); text-shadow: 0 0 6px #52e0c4; text-shadow: 0 0 6px var(--eco); }
.ticker-down { color: #ff6b4a; color: var(--human); text-shadow: 0 0 6px #ff6b4a; text-shadow: 0 0 6px var(--human); }
.ticker-flicker { animation: tickerFlicker 5.5s infinite; }
@keyframes tickerFlicker {
  0%, 15%, 19%, 100% { opacity: 1; }
  17% { opacity: .45; }
}
.ticker-tape { overflow: hidden; border-top: 1px solid var(--line); margin-top: 14px; }
.ticker-tape__track {
  display: flex; width: max-content; white-space: nowrap;
  font-family: var(--f-mono); font-size: .78rem; color: var(--ink-faint);
  padding-block: .6rem; gap: 0;
  animation: tickerScroll 26s linear infinite;
}
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-flicker { animation: none; }
  .ticker-tape__track { animation-duration: 60s; }
}

/* --- Reading progress --- */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--eco); z-index: 200; }

/* =============================================================
   8. Effects (reveal, reduced-motion aware)
   ============================================================= */
.reveal { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transition-duration: .01s; } }

/* =============================================================
   9. Responsive
   ============================================================= */
@media (min-width: 540px) { .ambientes-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 720px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .brand-issue { display: inline-flex; align-items: center; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
}
@media (min-width: 960px) {
  .masthead-nav { display: flex; }
  .masthead-nav .lang-switch { margin-left: .3rem; padding-left: 1.5rem; border-left: 1px solid var(--line); }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.3fr .9fr; }
  .article-body { padding-inline: 0; }
}
@media (min-width: 1280px) { .hero-title { font-size: clamp(3rem, 5vw, 5rem); } }
