/* ============================================================
   EL DESPERTAR DE MINERVA — styles.css
   Archetype: Brutalist Grid, adapted to the Minerva brand
   (antiquity × Bauhaus/Kandinsky on aged paper).
   ============================================================ */

/* ---------- Font (self-hosted Anton) ---------- */
@font-face {
  font-family: "Anton";
  src: url("assets/fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

/* Inter autoalojada (SIL Open Font License).
   Antes se pedia a fonts.gstatic.com, lo que enviaba la IP de cada
   visitante a Google en cada visita. Generado por tools/bajar_inter.py */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter/Inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter/Inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter/Inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter/Inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter/Inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter/Inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/inter/Inter-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/inter/Inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --paper:      #ECE3D0;
  --paper-2:    #E4D9C0;
  --bone:       #F1E9D6;
  --ink:        #141414;
  --ink-soft:   #2b2723;
  --ink-mute:   #6B6357;   /* AA: 4.64:1 sobre papel */
  --terracotta: #B34A2F;
  --terracotta-txt: #AB4227; /* AA: 4.65:1 sobre papel, solo texto */
  --teal:       #3C7A7B;
  --ochre:      #D69B3D;
  --line:       rgba(20,20,20,0.16);
  --line-2:     rgba(20,20,20,0.30);

  --display: "Anton", "Arial Narrow", "Haettenschweiler", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --maxw: 1280px;
  --pad: clamp(1.1rem, 4vw, 3.4rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--terracotta); color: var(--bone); }

/* ---------- Paper grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9;
  pointer-events: none; opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* ---------- Reveal system ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensive: split-text elements must never stay invisible */
.reveal[data-split] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .4s; }
}

/* ---------- Custom cursor (desktop only) ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); }
.cursor.is-ready { opacity: 1; }
.cursor-ring {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid var(--terracotta); border-radius: 50%;
  transition: width .2s var(--ease), height .2s var(--ease), background .2s var(--ease);
  mix-blend-mode: multiply;
}
.cursor.is-hover .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(179,74,47,0.12); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink); color: var(--bone);
  display: grid; place-items: center;
  animation: splashSafety .01s 4.2s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); transition: opacity .6s var(--ease), clip-path .8s var(--ease); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 2rem; }
.splash-owl { width: clamp(78px, 18vw, 120px); height: auto; border-radius: 16px; display: block; }
.splash-text { font-family: var(--display); letter-spacing: .04em; font-size: clamp(1rem, 3.4vw, 1.7rem); text-align: center; }
.splash-bar { width: 0; height: 4px; background: var(--terracotta); animation: splashBar 1.6s var(--ease) forwards; }
@keyframes splashBar { to { width: 180px; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
.nav.is-solid {
  background: rgba(236,227,208,0.86);
  backdrop-filter: blur(9px) saturate(140%);
  -webkit-backdrop-filter: blur(9px) saturate(140%);
  border-bottom-color: var(--line-2);
}
.nav-brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.nav-owl {
  width: 44px; height: 44px; border-radius: 9px; display: block;
  border: 1.5px solid var(--line-2);
  transition: transform .3s var(--ease);
}
.nav-brand:hover .nav-owl { transform: rotate(-4deg) scale(1.06); }
.footer-brand .nav-owl { width: 40px; height: 40px; }
.nav-name { font-family: var(--display); font-size: 1.35rem; letter-spacing: .03em; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; position: relative; padding: .3rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--terracotta); transition: width .3s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--display); letter-spacing: .04em; font-size: .95rem;
  background: var(--ink); color: var(--bone); padding: .5rem 1.1rem;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-cta:hover { background: var(--terracotta); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; gap: 6px; justify-content: center; align-items: center; }
.nav-burger span { width: 26px; height: 2.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--paper); display: flex; flex-direction: column; justify-content: center; gap: 1.2rem;
  padding: var(--pad); transform: translateY(-100%); transition: transform .45s var(--ease);
}
.mobile-menu.is-open { transform: none; }
.mobile-menu a { font-family: var(--display); font-size: 2rem; letter-spacing: .02em; }
.mobile-menu .mm-cta { color: var(--terracotta); }

/* ---------- Layout helpers ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 9vw, 7rem) var(--pad); position: relative; }
.section-head { display: flex; align-items: baseline; gap: 1rem; border-top: 2px solid var(--ink); padding-top: 1rem; margin-bottom: 2.6rem; }
.section-num { font-family: var(--display); font-size: 1.1rem; color: var(--terracotta); letter-spacing: .05em; }
.section-kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--ink-mute); }

.ink-block { background: var(--ink); color: var(--paper); padding: 0 .12em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); letter-spacing: .03em; font-size: 1.05rem;
  padding: .8rem 1.5rem; border: 2px solid var(--ink);
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--terracotta); border-color: var(--terracotta); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.btn-lg { font-size: 1.3rem; padding: 1rem 2rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(6rem, 14vh, 9rem) var(--pad) 3rem;
  display: flex; align-items: center;
}
.hero-grid {
  display: grid; width: 100%;
  grid-template-columns: 1fr .82fr;
  grid-template-areas:
    "eyebrow eyebrow"
    "title   title"
    "sub     figure"
    "actions figure";
  gap: 1rem 2.5rem; align-items: start;
}
.hero-eyebrow { grid-area: eyebrow; display: flex; align-items: flex-start; gap: .6rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); margin-bottom: .6rem; }
.hero-eyebrow .tick { width: 26px; height: 10px; background: var(--terracotta); flex: 0 0 auto; margin-top: .38em; }
.hero-title {
  grid-area: title; position: relative; z-index: 3;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.7rem, 9.4vw, 7.6rem); line-height: .92; letter-spacing: -.01em;
  text-transform: uppercase; overflow-wrap: break-word;
}
.hero-sub { grid-area: sub; align-self: start; max-width: 38ch; font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--ink-soft); margin: 1.2rem 0 0; }
.hero-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; align-self: start; }

.hero-figure { grid-area: figure; position: relative; align-self: start; z-index: 2; }
/* El plano de color se ancla a la imagen, no a la figura entera (que incluye
   el rótulo). Así la geometría no puede solaparse con el texto. */
.hero-figure-media { position: relative; display: block; }
.hero-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; position: relative; z-index: 2; filter: saturate(1.02) contrast(1.03); display: block; }
.hero-figure-block { position: absolute; z-index: 1; inset: auto -18px -18px auto; width: 78%; height: 62%; background: var(--terracotta); }
/* El margen supera los 18px que el plano sobresale por debajo de la imagen. */
.hero-figure figcaption { position: relative; z-index: 3; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin-top: 1.75rem; }

/* Bauhaus decorations */
.deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.deco span { position: absolute; will-change: transform; }
.deco-rect { width: 120px; height: 46px; }
.deco-rect--teal { top: 15%; right: 26%; background: var(--teal); }
.deco-rect--ochre { bottom: 8%; left: 33%; width: 84px; height: 84px; background: var(--ochre); opacity: .9; }
.deco-circle { border-radius: 50%; }
/* Circle + ring live in the empty left column BELOW the headline — never behind it. */
.deco-circle--terra { width: 122px; height: 122px; background: var(--terracotta); top: 60%; left: 7%; }
.deco-ring { width: 172px; height: 172px; border: 2px solid var(--ink); border-radius: 50%; top: 56%; left: 3%; }
.deco-arc { width: 210px; height: 210px; border: 26px solid var(--teal); border-radius: 50%; clip-path: polygon(0 0, 50% 0, 50% 50%, 0 50%); bottom: -6%; right: 3%; opacity: .5; }
.deco-line--v { width: 2px; height: 34%; background: var(--ink); top: 58%; left: 44%; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  background: var(--ink); color: var(--bone); overflow: hidden; padding: .55rem 0;
}
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 1.4rem; letter-spacing: .05em; text-transform: uppercase; padding: 0 1.4rem; }
.marquee-track span::after { content: "✦"; color: var(--ochre); margin-left: 2.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ============================================================
   MANIFIESTO
   ============================================================ */
.manifiesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.manifiesto-lead { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1; text-transform: uppercase; }
.manifiesto-body p { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 46ch; }
.dropcap { float: left; font-family: var(--display); font-size: 3.6rem; line-height: .8; padding: .1em .12em 0 0; color: var(--terracotta); }

/* Hegel counter-quote */
.contra {
  margin-top: 3.2rem; padding: 2rem 2.2rem; position: relative;
  border-left: 6px solid var(--terracotta); background: var(--paper-2);
}
.contra blockquote {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.15rem, 2.6vw, 2rem); line-height: 1.06; letter-spacing: .005em;
  max-width: 30ch;
}
.contra figcaption {
  margin-top: .9rem; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-mute);
}
.contra figcaption span { color: var(--terracotta); text-transform: none; letter-spacing: .01em; font-style: italic; font-weight: 500; }

/* Principios (rigor, respeto, ejemplaridad, no ad hominem) */
.principios {
  list-style: none; margin-top: 3.2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--ink); border: 1px solid var(--ink);
}
.principio { background: var(--paper); padding: 1.5rem 1.3rem 1.7rem; position: relative; transition: background .3s var(--ease), color .3s var(--ease); }
.principio::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: var(--c); }
.principio-n { font-family: var(--display); font-size: .95rem; color: var(--ink-mute); }
.principio h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.02; margin: .7rem 0 .5rem; text-transform: uppercase; }
.principio h3 em { font-style: italic; }
.principio p { font-size: .92rem; color: var(--ink-soft); }
.principio:hover { background: var(--ink); color: var(--bone); }
.principio:hover .principio-n, .principio:hover p { color: rgba(241,233,214,.72); }

/* ============================================================
   TEMAS
   ============================================================ */
.temas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.tema { background: var(--paper); padding: 1.8rem 1.6rem 2rem; position: relative; overflow: hidden; transition: background .3s var(--ease), color .3s var(--ease); min-height: 210px; }
.tema::before { content: ""; position: absolute; top: 1.6rem; right: 1.6rem; width: 16px; height: 16px; background: var(--c); border-radius: 50%; }
.tema-n { font-family: var(--display); font-size: 1rem; color: var(--ink-mute); }
.tema h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; margin: 1.8rem 0 .6rem; text-transform: uppercase; }
.tema p { font-size: .96rem; color: var(--ink-soft); max-width: 26ch; }
.tema:hover { background: var(--ink); color: var(--bone); }
.tema:hover .tema-n, .tema:hover p { color: rgba(241,233,214,0.7); }
.tema { display: flex; flex-direction: column; }
.tema-go {
  margin-top: auto; padding-top: 1.1rem;
  font-family: var(--display); font-size: .95rem; letter-spacing: .03em;
  color: var(--terracotta); opacity: 0; transform: translateY(6px);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.tema:hover .tema-go { opacity: 1; transform: none; color: var(--ochre); }
@media (hover: none) { .tema-go { opacity: 1; transform: none; } }

/* ============================================================
   APOYAR / PATREON
   ============================================================ */
.apoyar-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; }
.apoyar-text h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1; text-transform: uppercase; margin-bottom: 1.2rem; }
.apoyar-text p { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 1rem; max-width: 46ch; }
.apoyar-text .btn { margin-top: .8rem; }
.apoyar-nota { font-size: .82rem !important; color: var(--ink-mute) !important; margin-top: .9rem !important; }
.apoyar-list { list-style: none; display: grid; gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.apoyar-list li { background: var(--paper); padding: 1.4rem 1.5rem; display: grid; gap: .25rem; position: relative; }
.apoyar-ic { width: 30px; height: 8px; background: var(--c); display: block; margin-bottom: .5rem; }
.apoyar-list strong { font-family: var(--display); font-weight: 400; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .01em; }
.apoyar-list em { font-style: normal; font-size: .95rem; color: var(--ink-soft); }

/* ============================================================
   ARCHIVO DE REFLEXIONES
   ============================================================ */
.archive-head {
  position: relative; overflow: hidden; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(7rem, 16vh, 10rem) var(--pad) 2rem;
}
.archive-head .hero-eyebrow { margin-bottom: 1rem; }
.archive-title { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 12vw, 8rem); line-height: .9; text-transform: uppercase; }
.archive-sub { max-width: 46ch; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-soft); margin-top: 1rem; }
/* `left`/`top` must be reset — these elements also carry the hero deco classes. */
.ah-circle { width: 150px; height: 150px; background: var(--terracotta); top: 30%; left: auto; right: 9%; opacity: .9; }
.ah-rect { width: 110px; height: 44px; background: var(--teal); top: auto; bottom: 18%; left: auto; right: 27%; }

.filtros {
  position: sticky; top: 64px; z-index: 30;
  display: flex; flex-wrap: wrap; gap: .5rem;
  max-width: var(--maxw); margin: 0 auto; padding: .9rem var(--pad);
  background: rgba(236,227,208,.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-block: 1px solid var(--line-2);
}
.filtro {
  font-family: var(--display); font-size: .98rem; letter-spacing: .03em; text-transform: uppercase;
  background: transparent; color: var(--ink); border: 2px solid var(--ink);
  padding: .42rem 1rem; cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.filtro:hover { background: var(--c, var(--ink)); border-color: var(--c, var(--ink)); color: var(--bone); }
.filtro.is-active { background: var(--ink); color: var(--bone); }
.filtro.is-active[style*="--c"] { background: var(--c); border-color: var(--c); }

.archive { padding-top: 2rem; }
.archive-count { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-mute); margin-bottom: 1.6rem; font-weight: 700; }
/* two classes → beats plain .refl-grid regardless of source order */
.refl-grid.archive-grid { grid-template-columns: repeat(4, 1fr); gap: 2.2rem 1.4rem; }
.refl[hidden] { display: none; }
.archive-empty { margin-top: 2rem; font-size: 1.05rem; color: var(--ink-mute); }

/* ============================================================
   REFLEXIONES
   ============================================================ */
.refl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.refl { display: flex; flex-direction: column; }
.refl-img { overflow: hidden; background: var(--paper-2); aspect-ratio: 1/1; border: 2px solid var(--ink); }
.refl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .5s var(--ease); filter: saturate(.96); }
.refl:hover .refl-img img { transform: scale(1.07); filter: saturate(1.1); }
.refl-tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--terracotta); margin: .9rem 0 .35rem; }
.refl h3 { font-family: var(--display); font-weight: 400; font-size: 1.28rem; line-height: 1.02; text-transform: uppercase; }
.refl p { font-size: .92rem; color: var(--ink-soft); margin-top: .4rem; }
.refl-all { display: inline-block; margin-top: 2.4rem; font-family: var(--display); font-size: 1.15rem; border-bottom: 3px solid var(--terracotta); padding-bottom: .2rem; }
.refl-all:hover { color: var(--terracotta); }

/* ============================================================
   SOBRE / COLLAGE
   ============================================================ */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.sobre-collage { position: relative; aspect-ratio: 1/1; }
.sobre-collage img { position: absolute; object-fit: cover; border: 2px solid var(--ink); }
.sobre-collage .col-a { width: 58%; aspect-ratio: 3/4; top: 0; left: 4%; z-index: 2; }
.sobre-collage .col-b { width: 46%; aspect-ratio: 1/1; bottom: 4%; right: 2%; z-index: 3; }
.col-rect { position: absolute; }
.col-rect--terra { width: 40%; height: 30%; background: var(--terracotta); bottom: 14%; left: 0; z-index: 1; }
.col-rect--teal { width: 26%; height: 26%; background: var(--teal); top: 8%; right: 8%; z-index: 1; }
.col-circle { position: absolute; width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--ink); background: var(--ochre); bottom: 0; left: 30%; z-index: 4; }
.sobre-text h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; text-transform: uppercase; margin-bottom: 1.2rem; }
.sobre-text p { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 1rem; max-width: 44ch; }
.stats { display: flex; gap: 2.2rem; margin-top: 2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-n { font-family: var(--display); font-size: 2.8rem; line-height: 1; color: var(--terracotta); }
.stat-l { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); }

/* ============================================================
   ARTÍCULO (una reflexión escrita)
   ============================================================ */
.articulo { max-width: 820px; margin: 0 auto; padding: clamp(7rem, 15vh, 9.5rem) var(--pad) 3rem; }
.art-back { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-mute); }
.art-back:hover { color: var(--terracotta); }
.art-tag { display: block; width: fit-content; margin: 1.6rem 0 .8rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--bone); background: var(--terracotta); padding: .32rem .7rem; }
.art-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 6.4vw, 4rem); line-height: .95; text-transform: uppercase; }
.art-meta { margin-top: 1rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); font-weight: 600; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: .7rem 0; }
.art-figure { margin: 2rem 0; }
.art-figure img { width: 100%; max-height: 62vh; object-fit: cover; border: 2px solid var(--ink); }
.art-figure figcaption { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin-top: .5rem; }
.art-body { font-size: 1.14rem; line-height: 1.75; color: var(--ink-soft); }
.art-body > p { margin-bottom: 1.35rem; }
.art-body h2 { font-family: var(--display); font-weight: 400; color: var(--ink); font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.04; text-transform: uppercase; margin: 2.4rem 0 1rem; }
.art-body h3 { font-family: var(--display); font-weight: 400; color: var(--ink); font-size: 1.3rem; text-transform: uppercase; margin: 1.8rem 0 .7rem; }
.art-body strong { color: var(--ink); }
.art-body a { color: var(--terracotta); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.art-body ul, .art-body ol { margin: 0 0 1.35rem 1.4rem; }
.art-body li { margin-bottom: .5rem; }
.art-quote { margin: 2.2rem 0; padding: 1.6rem 1.8rem; border-left: 6px solid var(--terracotta); background: var(--paper-2); }
.art-quote p { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.1rem, 2.4vw, 1.7rem); line-height: 1.08; color: var(--ink); margin: 0; }
.art-quote cite { display: block; margin-top: .8rem; font-style: normal; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); font-weight: 700; }
.art-end { margin-top: 3rem; padding-top: 1.6rem; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final { position: relative; overflow: hidden; background: var(--ink); color: var(--bone); text-align: center; padding: clamp(4rem, 10vw, 7rem) var(--pad); }
.cta-final h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 8vw, 6rem); line-height: .92; text-transform: uppercase; }
.cta-final p { color: rgba(241,233,214,0.8); font-size: 1.15rem; margin: 1rem 0 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-final .btn-primary { background: var(--terracotta); border-color: var(--terracotta); color: var(--bone); }
.cta-final .btn-primary:hover { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
.cta-final .btn-ghost { color: var(--bone); border-color: var(--bone); }
.cta-final .btn-ghost:hover { background: var(--bone); color: var(--ink); }
.cta-deco { position: absolute; width: 320px; height: 320px; opacity: .16; top: -140px; right: -80px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 2px solid var(--ink); padding: 2.6rem var(--pad); max-width: var(--maxw); margin: 0 auto; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: .5rem; font-family: var(--display); font-size: 1.2rem; }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-links a { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-links a:hover { color: var(--terracotta); }
.footer-credit { font-size: .74rem; color: var(--ink-mute); line-height: 1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "figure" "sub" "actions"; }
  .hero-figure { max-width: 300px; margin-top: 1.6rem; }
  .manifiesto-grid, .sobre-grid, .apoyar-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .refl-grid.archive-grid { grid-template-columns: repeat(2, 1fr); }
  .filtros { top: 58px; }
  .ah-circle, .ah-rect { display: none; }
  .temas-grid { grid-template-columns: repeat(2, 1fr); }
  .refl-grid { grid-template-columns: repeat(2, 1fr); }
  .principios { grid-template-columns: repeat(2, 1fr); }
  .deco-ring, .deco-arc, .deco-line--v { display: none; }
  .sobre-collage { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 540px) {
  .temas-grid { grid-template-columns: 1fr; }
  .refl-grid { grid-template-columns: 1fr; }
  .principios { grid-template-columns: 1fr; }
  .refl-grid.archive-grid { grid-template-columns: 1fr; }
  .contra { padding: 1.4rem 1.3rem; }
  /* geometry must not collide with the hero photo on narrow screens */
  .deco-rect--teal, .deco-rect--ochre { display: none; }
  .hero-title { font-size: clamp(2.8rem, 16vw, 4.5rem); }
  .stats { gap: 1.4rem; }
  .deco-circle--terra { width: 90px; height: 90px; }
}
