/*
Theme Name: The Tuned Cup
Theme URI: https://thetunedcup.com/
Author: Alfredo Ramses
Description: El tema de thetunedcup.com: el blog como afinador. ESTA HOJA NO SE EDITA A MANO: la escribe export-a-tema.py desde la maqueta (blogs/tunedcup/theme/maqueta-desde-cero/assets/site.css).
Version: 0.1.5
Requires PHP: 8.1
Text Domain: tunedcup
*/

/* === fuentes (bajar-fuentes.py) === */
@font-face{font-family:'Anybody';font-style:italic;font-weight:300 900;font-stretch:50% 150%;font-display:swap;src:url(fonts/anybody-italic-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:'Anybody';font-style:italic;font-weight:300 900;font-stretch:50% 150%;font-display:swap;src:url(fonts/anybody-italic-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:'Anybody';font-style:normal;font-weight:300 900;font-stretch:50% 150%;font-display:swap;src:url(fonts/anybody-normal-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:'Anybody';font-style:normal;font-weight:300 900;font-stretch:50% 150%;font-display:swap;src:url(fonts/anybody-normal-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:'Newsreader';font-style:italic;font-weight:400 700;font-display:swap;src:url(fonts/newsreader-italic-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:'Newsreader';font-style:italic;font-weight:400 700;font-display:swap;src:url(fonts/newsreader-italic-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:'Newsreader';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/newsreader-normal-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:'Newsreader';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/newsreader-normal-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}

/* === la maqueta: assets/site.css === */
/* ==========================================================================
   The Tuned Cup — la maqueta desde cero (Claude, 25 sep 2026)
   Idea: el blog es un AFINADOR. El café malo no está mal: está desafinado.
   Ébano + porcelana + latón. Anybody (ancha y estrecha) + Newsreader.
   ========================================================================== */

:root {
  --ebony: #15100D;
  --ebony-2: #1C1511;
  --ebony-3: #2A211B;
  --ebony-line: rgba(243, 238, 231, .12);
  --porcelain: #F3EEE7;
  --porcelain-2: #EAE3D8;
  --paper: #F8F4EE;
  --line: #D9D0C3;
  --ink: #1B1511;
  --ink-2: #5B5048;
  --fog: #B4A697;
  --milk: #DCD2C6;
  --brass: #D8A54F;
  --brass-2: #EBC47E;
  --brass-ink: #8A5716;
  --caramel: #C8853F;
  --cherry: #B8322A;
  --sour: #BBC656;
  --bitter: #D35B3D;
  --grid: rgba(27, 21, 17, .055);

  --gut: clamp(16px, 4vw, 44px);
  --maxw: 1320px;
  --f-disp: "Anybody", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Newsreader", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brass); color: var(--ebony); }

.wrap { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--brass); color: var(--ebony); padding: 10px 16px; border-radius: 8px;
  font: 700 .9rem var(--f-disp);
}
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.ph { display: block; }

/* ---------- letra ---------- */
.lbl {
  font-family: var(--f-disp);
  font-stretch: 125%;
  font-weight: 640;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.2;
}
.disp {
  font-family: var(--f-disp);
  font-stretch: 60%;
  font-weight: 820;
  line-height: .9;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.h2 { font-size: clamp(2.7rem, 5.6vw, 5.3rem); margin: .18em 0 .28em; }
.sub { font-size: clamp(1.06rem, 1.32vw, 1.24rem); color: var(--ink-2); max-width: 42ch; margin: 0; text-wrap: pretty; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--brass-ink); }
.dark .eyebrow { color: var(--brass); }
.dark .sub { color: var(--fog); }
.note {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid currentColor;
  font-family: var(--f-disp); font-stretch: 100%; font-weight: 750;
  font-size: .78rem; letter-spacing: 0; text-transform: none;
}

/* Titulares: el subrayado es una cuerda que vibra */
.t { text-decoration: underline transparent; text-decoration-thickness: 1.5px; text-underline-offset: .22em; transition: text-decoration-color .25s; }
a:hover .t, a:focus-visible .t { text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--brass); }
.dark a:hover .t { text-decoration-color: var(--brass); }

.sec { position: relative; padding-block: clamp(72px, 9vw, 136px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(36px, 4.6vw, 64px); }
.sec-head .sub { justify-self: end; }
.dark { background: var(--ebony); color: var(--porcelain); }

/* grano de papel/madera sobre las zonas oscuras */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   CABECERA
   ========================================================================== */
.mast { position: sticky; top: -39px; z-index: 60; background: var(--ebony); color: var(--porcelain); }
.tipbar { border-bottom: 1px solid var(--ebony-line); }
.tipbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 38px; }
.tip { display: flex; align-items: center; gap: 10px; color: var(--fog); min-width: 0; }
.tip svg { width: 14px; height: 14px; flex: none; color: var(--brass); }
.tip-k { color: var(--brass); flex: none; }
.tip-text { font-family: var(--f-text); font-style: italic; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .45s, transform .45s; }
.tip-text.out { opacity: 0; transform: translateY(6px); }
.tiplinks { display: flex; gap: 22px; color: var(--fog); flex: none; }
.tiplinks a:hover { color: var(--porcelain); }

.bar .wrap { display: flex; align-items: center; gap: 24px; height: 98px; }
.brand { display: flex; align-items: center; gap: 15px; flex: none; }
.brand .logo { width: 66px; height: 66px; color: var(--porcelain); overflow: visible; }
.lg-b { fill: currentColor; }
.lg-v { fill: var(--brass); transform-box: fill-box; transform-origin: 30% 100%; }
.brand:hover .lg-v { animation: hum .12s linear 6; }
@keyframes hum { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(1.4px); } }
/* en la portada el nombre es el <h1> (base.jinja): el margin 0 lo deja idéntico al <span> del resto */
.wordmark { font-family: var(--f-disp); font-stretch: 134%; font-weight: 780; font-size: 1.42rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1; white-space: nowrap; margin: 0; }
.wordmark small { display: block; font-size: .5em; letter-spacing: .38em; color: var(--brass); margin-bottom: 7px; font-weight: 660; }

.strings { display: flex; align-items: stretch; margin-left: auto; height: 100%; }
.string {
  position: relative; display: flex; align-items: center; gap: 8px;
  height: 100%; padding: 0 15px; color: var(--porcelain);
  font-family: var(--f-disp); font-stretch: 122%; font-weight: 640; font-size: .76rem;
  letter-spacing: .13em; text-transform: uppercase;
}
.string .n { font-stretch: 100%; font-weight: 760; letter-spacing: 0; color: var(--brass); font-size: .74rem; text-transform: none; }
.string .wire { position: absolute; left: 8px; width: calc(100% - 16px); bottom: 20px; height: 16px; pointer-events: none; overflow: visible; }
.string .wire path { fill: none; stroke: var(--fog); opacity: .35; transition: stroke .25s, opacity .25s; }
.string:hover .wire path, .string[aria-expanded="true"] .wire path { stroke: var(--brass); opacity: 1; }
.string:hover, .string[aria-expanded="true"] { color: var(--brass-2); }

.mast-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ebony-line); transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--brass); color: var(--brass-2); }
.icon-btn svg { width: 18px; height: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--brass); color: var(--brass-2);
  font-family: var(--f-disp); font-stretch: 118%; font-weight: 680; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.pill:hover { background: var(--brass); color: var(--ebony); }
.burger { display: none; }

/* el desplegable de cada cuerda */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #1A1310; color: var(--porcelain);
  border-top: 1px solid var(--ebony-line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s linear .25s;
}
.mega.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.mega .wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr) 330px; gap: 44px; padding-block: 34px 40px; }
.mega-intro .disp { font-size: 3rem; margin: .22em 0 .25em; }
.mega-intro p { color: var(--fog); margin: 0 0 18px; }
.mega-intro .lbl { color: var(--brass); }
.mega-all { color: var(--brass-2); display: inline-flex; gap: 8px; align-items: center; }
.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; align-content: start; }
.branch { display: block; padding: 14px 0 16px; border-top: 1px solid var(--ebony-line); }
.branch h4 { margin: 0 0 3px; font: 600 1.14rem/1.25 var(--f-text); display: flex; justify-content: space-between; gap: 12px; }
.branch h4 span { font-family: var(--f-disp); font-stretch: 100%; font-size: .72rem; font-weight: 700; color: var(--brass); letter-spacing: .06em; white-space: nowrap; }
.branch p { margin: 0; color: var(--fog); font-size: .94rem; line-height: 1.4; }
.branch:hover h4 { color: var(--brass-2); }
.mega-feat { display: grid; gap: 14px; align-content: start; }
.mega-feat .lbl { color: var(--fog); }
/* En el blog, «Start with» solo sale si alguno de sus artículos está publicado (la regla de
   Alfre: el hueco se cierra). Sin él, el panel se queda en dos columnas, como a ≤1240 px. */
.mega .wrap.no-feat { grid-template-columns: 250px minmax(0, 1fr); }
.mf { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; }
.mf .ph { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--ebony-3); }
.mf img { width: 100%; height: 100%; object-fit: cover; }
.mf b { font: 600 1rem/1.25 var(--f-text); display: block; }
.mf i { font-style: normal; color: var(--brass); }

/* ==========================================================================
   PORTADA · EL AFINADOR
   ========================================================================== */
.hero {
  color: var(--porcelain); overflow: hidden;
  background:
    radial-gradient(52% 62% at 73% 47%, rgba(216, 165, 79, .10) 0%, rgba(216, 165, 79, 0) 60%),
    radial-gradient(70% 80% at 72% 46%, #2A1F18 0%, #19120F 52%, #120D0B 100%);
}
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  grid-template-areas: "intro inst" "ctrl inst"; grid-template-rows: auto 1fr;
  column-gap: clamp(24px, 3.4vw, 60px); align-items: start;
  padding-block: clamp(22px, 3vw, 44px) clamp(48px, 5vw, 80px);
}
.hero-intro { grid-area: intro; }
.hero-ctrl { grid-area: ctrl; }
.instrument { grid-area: inst; }
.hero .eyebrow { color: var(--brass); }
/* el titular del afinador es un <h2 class="hero-t">: el <h1> de la portada es el nombre del blog */
.hero .hero-t { font-size: clamp(3.1rem, 6.3vw, 6.5rem); margin: .16em 0 .22em; color: var(--porcelain); }
.hero .hero-t em { display: block; font-style: italic; font-weight: 780; color: var(--brass); }
.lede { font-size: clamp(1.1rem, 1.36vw, 1.28rem); color: #DCD2C6; max-width: 40ch; margin: 0 0 22px; text-wrap: pretty; line-height: 1.45; }
.ask { color: var(--fog); margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 15px 0 13px;
  border: 1px solid rgba(243, 238, 231, .24); border-radius: 999px;
  font-family: var(--f-disp); font-stretch: 110%; font-weight: 620; font-size: .88rem; letter-spacing: .01em;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--fog)); box-shadow: 0 0 0 3px rgba(0, 0, 0, .15); }
.chip:hover { border-color: var(--brass); color: var(--brass-2); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--porcelain); border-color: var(--porcelain); color: var(--ebony); }

.readout {
  position: relative; border: 1px solid rgba(243, 238, 231, .14); border-radius: 20px;
  padding: 16px 20px 10px;
  background: linear-gradient(180deg, rgba(243, 238, 231, .055), rgba(243, 238, 231, .02));
  min-height: 236px;
}
.ro-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ro-lamp { width: 12px; height: 12px; border-radius: 50%; background: var(--lamp, #5b5048); box-shadow: 0 0 0 4px rgba(0, 0, 0, .25), 0 0 18px var(--lamp, transparent); flex: none; transition: background .3s, box-shadow .3s; }
.ro-state { font-family: var(--f-disp); font-stretch: 66%; font-weight: 820; font-size: 2.05rem; line-height: 1; }
.ro-sub { color: var(--fog); }
.ro-read { margin-left: auto; color: var(--brass); font-family: var(--f-disp); font-stretch: 100%; font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.ro-why { font-style: italic; color: #DCD2C6; margin: 9px 0 11px; font-size: 1.02rem; line-height: 1.42; max-width: 56ch; }
.ro-steps { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; counter-reset: s; font-size: .98rem; }
.ro-steps li { counter-increment: s; display: flex; gap: 9px; align-items: baseline; }
.ro-steps li::before {
  content: counter(s); flex: none; width: 21px; height: 21px; border-radius: 50%;
  display: inline-grid; place-items: center; transform: translateY(-1px);
  background: var(--brass); color: var(--ebony); font: 750 .72rem var(--f-disp);
}
.ro-links { display: grid; }
.ro-links a { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid rgba(243, 238, 231, .1); line-height: 1.3; font-size: .98rem; }
.ro-links a::before { content: "→"; color: var(--brass); font-family: var(--f-disp); }
.ro-links a:hover { color: var(--brass-2); }
.readout .fade { transition: opacity .35s, transform .35s; }
.readout.swap .fade { opacity: 0; transform: translateY(4px); }

.instrument { position: relative; }
.cup { position: relative; width: min(100%, 660px, calc(100vh - 217px)); min-width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.cup canvas, .cup .dial { position: absolute; inset: 0; width: 100%; height: 100%; }
.cup .dial { pointer-events: none; overflow: visible; }
/* La foto fija de la taza (poster.py) va debajo del lienzo: se ve al instante, sin WebGL,
   en capturas y en pestañas de fondo. En cuanto la taza viva pinta, se quita (.live). */
.cup { background: url("img/cup-poster.webp") center / 100% 100% no-repeat; }
.cup.live { background-image: none; }
.dial .tick { stroke: #4a3d34; }
.dial .num { fill: #4a3d34; font-family: var(--f-disp); font-stretch: 100%; font-weight: 700; font-size: 25px; }
.dial .eng { fill: #4d4037; font-family: var(--f-disp); font-stretch: 130%; font-weight: 740; font-size: 18px; letter-spacing: .2em; }
.dial .band { stroke: var(--brass); }
.dial .lamp { transition: fill .25s; }
.dial .vib { opacity: 0; transition: opacity .4s; }
.dial .vib.on { opacity: 1; }
.inst-cap { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; color: var(--fog); flex-wrap: wrap; text-align: center; }
.sound { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ebony-line); color: var(--fog); }
.sound svg { width: 16px; height: 16px; }
.sound[aria-pressed="true"] { color: var(--brass-2); border-color: var(--brass); }
.sound:hover { color: var(--porcelain); }

/* ==========================================================================
   EN EL BANCO (destacados)
   ========================================================================== */
.bench { background: var(--porcelain); }
.bench-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 40px); }
.story { display: block; }
.story .ph { position: relative; border-radius: 6px; overflow: hidden; background: var(--porcelain-2); }
.story img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.story:hover img { transform: scale(1.035); }
.story .tag { display: inline-flex; gap: 8px; align-items: center; color: var(--brass-ink); margin-top: 16px; }
.story .tag .note { width: 20px; height: 20px; font-size: .64rem; border-width: 1.2px; }
.story h3 { font-family: var(--f-text); font-weight: 600; font-size: clamp(1.22rem, 1.55vw, 1.48rem); line-height: 1.2; margin: .38em 0 .32em; text-wrap: balance; }
.story p { color: var(--ink-2); margin: 0; font-size: 1.02rem; }
.lead { grid-column: span 7; }
.lead .ph { aspect-ratio: 16 / 10; }
.lead h3 { font-size: clamp(1.9rem, 3.1vw, 3rem); line-height: 1.04; letter-spacing: -.01em; margin-top: .3em; }
.lead p { font-size: 1.14rem; max-width: 50ch; }
.bench-side { grid-column: span 5; display: grid; gap: clamp(22px, 2.4vw, 34px); align-content: start; }
.story.row { display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 20px; align-items: start; }
.story.row .ph { aspect-ratio: 4 / 3; }
.story.row .tag { margin-top: 2px; }
.story.row h3 { font-size: clamp(1.14rem, 1.4vw, 1.32rem); }
.bench-c { grid-column: span 4; }
.bench-c .ph { aspect-ratio: 4 / 3; }
.also { grid-column: span 4; border-top: 2px solid var(--ink); padding-top: 14px; }
.also h3 { margin: 0 0 6px; color: var(--ink); }
.also ol { list-style: none; margin: 0; padding: 0; }
.also li a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 560; line-height: 1.28; }
.also li svg { width: 22px; height: 22px; color: var(--brass-ink); margin-top: 1px; }
/* En el blog, sin su artículo grande (la regla de Alfre: el hueco se cierra) las piezas del
   banco se reparten el ancho en vez de dejar tres columnas vacías a la derecha. Solo en
   escritorio: por debajo de 1060 px ya van todas a lo ancho. */
@media (min-width: 1061px) {
  .bench-grid.no-lead .bench-side { grid-column: span 8; }
}

/* ==========================================================================
   E · BASICS
   ========================================================================== */
.basics { background: var(--paper); }
.tools { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); gap: 22px; }
.device { position: relative; background: var(--ebony); color: var(--porcelain); border-radius: 24px; padding: clamp(20px, 2.4vw, 30px); overflow: hidden; }
.device-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.device-top .lbl { color: var(--brass); }
.device-top .hint { color: var(--fog); font-style: italic; font-size: .95rem; }
.device h3 { font-family: var(--f-disp); font-stretch: 64%; font-weight: 820; font-size: clamp(2rem, 3vw, 2.7rem); line-height: .95; margin: 0 0 6px; }
.grounds { position: relative; height: 230px; margin: 6px -6px 10px; }
.grounds canvas { width: 100%; height: 100%; }
.grind-read { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: end; }
.grind-read .name { font-family: var(--f-disp); font-stretch: 64%; font-weight: 820; font-size: 2.2rem; line-height: .95; }
.grind-read .like { color: var(--fog); font-style: italic; }
.grind-read .mic { font-family: var(--f-disp); font-stretch: 100%; font-weight: 700; color: var(--brass); font-variant-numeric: tabular-nums; text-align: right; }
.grind-read .for { grid-column: 1 / -1; color: #DCD2C6; }
.grind-read .for a { color: var(--porcelain); border-bottom: 1px solid rgba(216, 165, 79, .5); }
.grind-read .for a:hover { color: var(--brass-2); }

/* el control deslizante, como la escala de un molinillo */
.range { position: relative; margin: 18px 0 6px; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: grab; position: relative; z-index: 2; }
.range input:active { cursor: grabbing; }
.range input::-webkit-slider-runnable-track { height: 2px; background: rgba(243, 238, 231, .25); }
.range input::-moz-range-track { height: 2px; background: rgba(243, 238, 231, .25); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3d392, #c9923e 55%, #8a5a1c); box-shadow: 0 4px 10px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(0, 0, 0, .15); }
.range input::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3d392, #c9923e 55%, #8a5a1c); box-shadow: 0 4px 10px rgba(0, 0, 0, .45); }
.range-ticks { display: flex; justify-content: space-between; padding: 0 12px; margin-top: -8px; color: var(--fog); }
.range-ticks span { width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; white-space: nowrap; }
.range-ticks span::before { content: ""; width: 1px; height: 8px; background: rgba(243, 238, 231, .35); }
.range-ticks .lbl { font-size: .58rem; letter-spacing: .1em; }

.ratio .seg { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.ratio .seg button { height: 34px; padding: 0 11px; border-radius: 999px; border: 1px solid rgba(243, 238, 231, .2); font-family: var(--f-disp); font-stretch: 96%; font-weight: 640; font-size: .8rem; }
.ratio .seg button[aria-pressed="true"] { background: var(--porcelain); color: var(--ebony); border-color: var(--porcelain); }
.ratio .seg button:hover { border-color: var(--brass); }
.ratio-out { display: grid; grid-template-columns: auto auto 1fr; gap: 8px 22px; align-items: end; padding: 16px 0 10px; border-top: 1px solid var(--ebony-line); border-bottom: 1px solid var(--ebony-line); }
.ratio-out b { display: block; font-family: var(--f-disp); font-stretch: 58%; font-weight: 820; font-size: clamp(3rem, 5.2vw, 4.4rem); line-height: .85; font-variant-numeric: tabular-nums; }
.ratio-out b small { font-size: .38em; color: var(--brass); margin-left: .08em; font-stretch: 100%; }
.ratio-out .lbl { color: var(--fog); display: block; margin-top: 8px; }
.ratio-out .rt { justify-self: end; text-align: right; }
.ratio-out .rt b { color: var(--brass); font-size: clamp(2rem, 3.2vw, 2.7rem); }
.ratio-note { color: #DCD2C6; margin: 12px 0 4px; font-size: .98rem; }
.ratio-note em { color: var(--porcelain); }
.stepper { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.stepper .lbl { color: var(--fog); margin-right: auto; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(243, 238, 231, .22); font: 700 1.1rem var(--f-disp); display: grid; place-items: center; }
.stepper button:hover { border-color: var(--brass); color: var(--brass-2); }
.stepper output { min-width: 110px; text-align: center; font-family: var(--f-disp); font-stretch: 100%; font-weight: 700; font-variant-numeric: tabular-nums; }
.device .go { display: inline-flex; gap: 8px; margin-top: 14px; color: var(--brass-2); }
.device .go:hover .t { text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--brass); }

/* --n: cuántas columnas salen. En el blog una columna sin artículos publicados no sale
   (la regla de Alfre: el hueco se cierra) y las demás se reparten el ancho. */
.cols { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(26px, 3vw, 48px); margin-top: clamp(48px, 5vw, 72px); }
.col-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 4px; }
.col-h h3 { font-family: var(--f-disp); font-stretch: 62%; font-weight: 820; font-size: 1.95rem; line-height: .95; margin: 0; }
.col-h span { color: var(--brass-ink); white-space: nowrap; }
.col p.desc { margin: 6px 0 8px; color: var(--ink-2); font-size: .98rem; }
.list { list-style: none; margin: 0; padding: 0; }
.list a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); line-height: 1.28; font-weight: 520; }
.list li:first-child a { font-weight: 650; font-size: 1.1rem; }
.dark .list a { border-color: var(--ebony-line); }

/* ==========================================================================
   A · BREWERS — las láminas
   ========================================================================== */
.brewers {
  background-color: var(--porcelain);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 26px 26px; background-position: -1px -1px;
}
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fig {
  position: relative; display: flex; flex-direction: column;
  background: rgba(248, 244, 238, .92); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px 16px; transition: border-color .25s, transform .3s var(--ease), background .25s;
}
.fig:hover { border-color: var(--ink); background: #FBF8F3; transform: translateY(-3px); }
.fig-top { display: flex; justify-content: space-between; align-items: center; color: var(--ink-2); }
.fig-top .lbl:last-child { color: var(--brass-ink); }
.fig-art { width: 100%; height: auto; aspect-ratio: 240 / 290; color: var(--ink); margin: 4px 0 6px; overflow: visible; }
.fig-art .d { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fig-art .d.th { stroke-width: 1.1; }
.fig-art .d.gl { stroke-width: 1.2; stroke-dasharray: none; }
.fig-art .fillk { fill: url(#hatch-dense); stroke: none; }
.fig-art .fills { fill: url(#hatch); stroke: none; }
.fig-art .fillg { fill: url(#dots); stroke: none; }
.fig-art .solid { fill: currentColor; stroke: none; }
.fig-art .hid { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-dasharray: 3 3; opacity: .75; }
.js .fig-art .hid { opacity: 0; transition: opacity .9s ease calc(var(--dl, 0s) + 1.1s); }
.js .fig.drawn .fig-art .hid { opacity: .75; }
.ph-missing { display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; background: repeating-linear-gradient(45deg, #e6ddd0 0 10px, #ede6db 10px 20px); color: var(--ink-2); font: 700 .8rem var(--f-disp); }
.fig-art .co { opacity: 0; transition: opacity .35s; }
.fig-art .co line, .fig-art .co path { stroke: var(--brass-ink); stroke-width: 1; fill: none; }
.fig-art .co circle { fill: var(--brass-ink); }
.fig-art .co text { fill: #fff; font: 800 11px var(--f-disp); text-anchor: middle; dominant-baseline: central; }
.fig:hover .fig-art .co, .fig:focus-within .fig-art .co { opacity: 1; }
.js .fig-art .d { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.9s var(--ease) var(--dl, 0s); }
.js .fig.drawn .fig-art .d { stroke-dashoffset: 0; }
.js .fig-art .fillk, .js .fig-art .fills, .js .fig-art .fillg, .js .fig-art .solid { opacity: 0; transition: opacity .9s ease calc(var(--dl, 0s) + 1.1s); }
.js .fig.drawn .fig-art .fillk, .js .fig.drawn .fig-art .fills, .js .fig.drawn .fig-art .fillg, .js .fig.drawn .fig-art .solid { opacity: 1; }
.fig h3 { font-family: var(--f-disp); font-stretch: 68%; font-weight: 820; font-size: 1.7rem; line-height: .95; margin: 0 0 2px; }
.fig .legend { margin: 0; color: var(--ink-2); font-size: .9rem; line-height: 1.35; min-height: 2.7em; }
.fig .legend b { color: var(--brass-ink); font-family: var(--f-disp); font-stretch: 100%; font-size: .72rem; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 0; border-top: 1px solid var(--line); }
.spec div { padding-top: 9px; }
.spec div + div { border-left: 1px solid var(--line); padding-left: 10px; }
.spec dt { color: var(--ink-2); font-size: .58rem; }
.spec dd { margin: 3px 0 0; font-family: var(--f-disp); font-stretch: 88%; font-weight: 720; font-size: .92rem; line-height: 1.1; }
.fig .more { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; font-size: .98rem; line-height: 1.25; }
.fig .more .t { min-width: 0; }
.fig .more::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }

/* ==========================================================================
   D · ESPRESSO
   ========================================================================== */
.esp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
/* Pegajosa, pero POR DEBAJO de la cabecera (98 px) y sin pasar del alto de la pantalla:
   así la foto se ve entera al bajar (lo cazó Alfre el 25 sep 2026: se metía bajo el menú). */
.esp-photo { position: sticky; top: 124px; }
.esp-photo .ph { border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 4; width: min(100%, calc((100vh - 230px) * .75)); }
.esp-photo img { width: 100%; height: 100%; object-fit: cover; }
.esp-photo figcaption { color: var(--fog); margin-top: 12px; font-style: italic; font-size: .95rem; }
.recipe { display: grid; grid-template-columns: repeat(3, auto) minmax(0, 1fr); gap: clamp(18px, 3.4vw, 52px); align-items: end; margin: 30px 0 14px; padding: 24px 0 22px; border-block: 1px solid var(--ebony-line); }
.recipe b { display: block; font-family: var(--f-disp); font-stretch: 56%; font-weight: 830; font-size: clamp(3.6rem, 7.6vw, 7rem); line-height: .8; font-variant-numeric: tabular-nums; }
.recipe b small { font-size: .36em; color: var(--brass); margin-left: .06em; font-stretch: 100%; }
.recipe .lbl { color: var(--fog); display: block; margin-top: 12px; }
.recipe .arrow { align-self: center; color: var(--brass); }
.recipe-note { color: #DCD2C6; margin: 0 0 8px; max-width: 58ch; }
.recipe-note a { color: var(--porcelain); border-bottom: 1px solid rgba(216, 165, 79, .5); }
.lists2 { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 36px; margin-top: 44px; }
.lists2 .col-h { border-top-color: var(--porcelain); }
.lists2 .col-h span { color: var(--brass); }
.milk-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 36px; padding: 16px; border: 1px solid var(--ebony-line); border-radius: 16px; }
.milk-card .ph { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.milk-card img { width: 100%; height: 100%; object-fit: cover; }
.milk-card b { font: 600 1.2rem/1.2 var(--f-text); display: block; margin-top: 6px; }
.milk-card .lbl { color: var(--brass); }

/* ==========================================================================
   G · DRINKS — la carta
   ========================================================================== */
.drinks { background: var(--caramel); color: var(--ebony); }
.drinks .eyebrow { color: var(--ebony); }
.drinks .sub { color: rgba(21, 16, 13, .8); }
.drinks-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.drinks-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.drinks-photos .ph { border-radius: 8px; overflow: hidden; }
.drinks-photos .tall { grid-row: span 2; aspect-ratio: 3 / 4.6; }
.drinks-photos .wide { aspect-ratio: 4 / 3; }
.drinks-photos img { width: 100%; height: 100%; object-fit: cover; }
.drinks-photos figcaption { grid-column: 2; font-style: italic; color: rgba(21, 16, 13, .78); font-size: .95rem; line-height: 1.35; }
.menu-card { background: var(--paper); border-radius: 22px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 30px 60px -30px rgba(60, 30, 5, .45); }
.menu-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 4px; }
.menu-top .disp { font-size: 2.1rem; margin: 0; }
.menu-top .lbl { color: var(--brass-ink); }
.menu { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.menu li { break-inside: avoid; }
.menu a { display: flex; align-items: baseline; gap: 8px; padding: 13px 0 12px; border-bottom: 1px solid var(--line); }
.menu .nm { font-family: var(--f-disp); font-stretch: 72%; font-weight: 800; font-size: 1.38rem; line-height: 1; }
.menu .dots { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(27, 21, 17, .35); transform: translateY(-4px); }
.menu .tm { font-family: var(--f-disp); font-stretch: 100%; font-weight: 720; font-size: .9rem; color: var(--brass-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu a:hover .nm { color: var(--brass-ink); }
/* En el blog, una bebida cuya receta aún no está publicada sale en la carta sin enlace
   (<a> sin href): la bebida y sus minutos son de la carta; el enlace, de la receta. */
.menu a:not([href]) { cursor: default; }
.menu a:not([href]):hover .nm { color: inherit; }
.menu-foot { margin: 14px 0 0; color: var(--ink-2); font-style: italic; font-size: .95rem; }

/* ==========================================================================
   B · TUNE-UP — el tablero de síntomas
   ========================================================================== */
.tuneup { background: var(--porcelain); }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sym {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 20px 18px 18px; min-height: 184px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  transition: transform .3s var(--ease), border-color .25s, background .25s;
}
.sym:hover { transform: translateY(-3px); border-color: var(--ink); background: #FFFDFA; }
.sym svg { width: 36px; height: 36px; color: var(--ink); }
.sym:hover svg { animation: wobble .5s var(--ease); }
@keyframes wobble { 0% { transform: rotate(0); } 25% { transform: rotate(-9deg); } 55% { transform: rotate(6deg); } 80% { transform: rotate(-3deg); } 100% { transform: rotate(0); } }
.sym b { font-family: var(--f-disp); font-stretch: 66%; font-weight: 820; font-size: 1.62rem; line-height: .95; }
.sym span { margin-top: auto; color: var(--ink-2); font-size: .95rem; line-height: 1.32; }
.sym .k { position: absolute; top: 18px; right: 18px; color: var(--brass-ink); }

.sched { margin-top: 44px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); padding: clamp(20px, 2.6vw, 32px); }
.sched-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sched-top .disp { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 0; }
.sched-top a { color: var(--brass-ink); font-weight: 600; }
.lanes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.lanes::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--ink) 0 0) left / 100% 100% no-repeat; opacity: .85; }
.lane { position: relative; padding-top: 34px; padding-right: 18px; }
.lane::before { content: ""; position: absolute; top: 3px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.lane:nth-child(1)::before { background: var(--brass); }
.lane h4 { margin: 0 0 8px; font-family: var(--f-disp); font-stretch: 70%; font-weight: 820; font-size: 1.45rem; line-height: 1; }
.lane ul { margin: 0; padding: 0 0 0 1.05em; color: var(--ink-2); font-size: .98rem; line-height: 1.4; }
.lane li + li { margin-top: 4px; }

/* ==========================================================================
   e · MORE
   ========================================================================== */
.more { background: var(--paper); }
.more-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: end; }
.more-top .ph { border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; }
.more-top img { width: 100%; height: 100%; object-fit: cover; }
.more-top .story h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.08; }
.more-cols { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 32px); margin-top: clamp(40px, 4.6vw, 64px); }
.more-cols .col-h h3 { font-size: 1.55rem; }
.more-cols .list a { font-size: .98rem; }
.more-cols .list li:first-child a { font-size: 1.04rem; }

/* ==========================================================================
   EL BUSCADOR DE ARREGLOS (donde iba el boletín: no habrá newsletter)
   ========================================================================== */
.finder { background: var(--ebony); color: var(--porcelain); overflow: hidden; }
.finder .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.12fr); gap: 26px clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(64px, 8vw, 110px); }
.finder .fork { width: clamp(110px, 12vw, 170px); color: var(--porcelain); }
.finder .disp { font-size: clamp(2.6rem, 5vw, 4.6rem); margin: 0 0 .15em; }
.finder p { color: var(--fog); margin: 0; max-width: 40ch; }
.finder:has(.btn:hover) .fork .lg-v, .finder:has(input:focus) .fork .lg-v { animation: hum .1s linear infinite; }
.finder-form { display: flex; gap: 10px; flex-wrap: wrap; }
.finder-form input { flex: 1 1 220px; min-width: 0; height: 56px; border-radius: 999px; border: 1px solid rgba(243, 238, 231, .26); background: rgba(243, 238, 231, .04); padding: 0 22px; color: var(--porcelain); font-size: 1.02rem; }
.finder-form input::placeholder { color: #8f8276; }
.finder-form input:focus { outline: none; border-color: var(--brass); }
.finder-form input::-webkit-search-cancel-button { filter: invert(.7); }
.finder-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.finder-chips button { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(243, 238, 231, .18); color: var(--fog); font-family: var(--f-disp); font-stretch: 108%; font-weight: 620; font-size: .78rem; }
.finder-chips button:hover { border-color: var(--brass); color: var(--brass-2); }
.finder-results { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.finder-results:empty { display: none; }
.finder-results a { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--ebony-line); line-height: 1.3; }
.finder-results .note { width: 24px; height: 24px; font-size: .68rem; color: var(--brass); }
.finder-results .lbl { color: var(--fog); }
.finder-results mark { background: none; color: var(--brass-2); }
.finder-results a:hover .t { text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--brass); }
.finder-results .none { grid-column: 1 / -1; color: var(--fog); font-style: italic; padding: 12px 0; border-top: 1px solid var(--ebony-line); }

/* el mismo buscador, en la lupa de la cabecera */
.finder-dlg { width: min(780px, calc(100% - 24px)); max-height: min(82vh, 760px); margin: 9vh auto auto; padding: 0; border: 1px solid var(--ebony-line); border-radius: 22px; background: #1A1310; color: var(--porcelain); box-shadow: 0 40px 100px rgba(0, 0, 0, .6); overflow: auto; }
.finder-dlg::backdrop { background: rgba(10, 7, 5, .74); }
.dlg-in { padding: 18px 22px 20px; }
.dlg-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dlg-top .lbl { color: var(--brass); margin: 0; }
.finder-dlg .finder-results { grid-template-columns: 1fr; margin-top: 12px; }
.btn {
  height: 56px; padding: 0 28px; border-radius: 999px; background: var(--brass); color: var(--ebony);
  font-family: var(--f-disp); font-stretch: 118%; font-weight: 740; font-size: .82rem; letter-spacing: .13em; text-transform: uppercase;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--brass-2); }
.btn:active { transform: scale(.98); }

/* ==========================================================================
   PIE
   ========================================================================== */
.foot { background: #0F0B09; color: var(--fog); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.foot-col h4 { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; color: var(--porcelain); }
.foot-col h4 .note { width: 22px; height: 22px; font-size: .66rem; color: var(--brass); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-col a { font-size: .98rem; line-height: 1.3; }
.foot-col a:hover { color: var(--porcelain); }
/* El letrero del pie se mide contra SU COLUMNA (cqi), no contra la pantalla (vw):
   con vw, en un monitor ancho se salía por la derecha (lo cazó Alfre el 25 sep 2026). */
.foot .wrap { container-type: inline-size; }
.foot-word { display: flex; align-items: flex-end; justify-content: space-between; gap: .12em; margin: clamp(56px, 7vw, 96px) 0 0; font-family: var(--f-disp); font-stretch: 150%; font-weight: 820; font-size: 6.2vw; font-size: 7.05cqi; line-height: .8; letter-spacing: -.012em; color: var(--porcelain); white-space: nowrap; text-transform: uppercase; }
.foot-word .logo-end { width: .9em; height: .9em; color: var(--porcelain); flex: none; margin-bottom: -.04em; }
.foot-wave { width: 100%; height: 40px; color: var(--brass); margin: 10px 0 0; overflow: visible; }
.foot-wave path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.foot-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding-block: 24px 30px; border-top: 1px solid var(--ebony-line); margin-top: 18px; font-size: .92rem; }
.foot-bot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-bot a:hover { color: var(--porcelain); }
.ring-fork { display: inline-flex; align-items: center; gap: 8px; color: var(--brass-2); border: 1px solid rgba(216, 165, 79, .4); border-radius: 999px; height: 36px; padding: 0 14px; }
.ring-fork svg { width: 16px; height: 16px; }
.ring-fork:hover { background: rgba(216, 165, 79, .1); }

/* ==========================================================================
   EL ARTÍCULO
   Lo del tema. El cuerpo (respuesta corta, tarjetas, tabla, FAQ) trae sus estilos
   dentro: son los componentes del pipeline, recoloreados (componentes.py).
   ========================================================================== */
html { scroll-padding-top: 118px; }
.string.here { color: var(--brass-2); }
.string.here .wire path { stroke: var(--brass); opacity: 1; }

.readbar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 90; pointer-events: none; }
.readbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brass), var(--brass-2)); transform: scaleX(0); transform-origin: 0 50%; }

.art-head { color: var(--porcelain); background: radial-gradient(60% 120% at 82% 0%, #2B2019 0%, #17110E 58%, #120D0B 100%); padding-block: clamp(24px, 3vw, 44px) clamp(150px, 15vw, 210px); }
.art-head .wrap { max-width: 1144px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--fog); }
.crumbs a:hover { color: var(--brass-2); }
.crumbs span { opacity: .45; }
.art-head h1 { font-size: clamp(2.5rem, 5.4vw, 4.8rem); max-width: 21ch; margin: .32em 0 .3em; color: var(--porcelain); }
.dek { font-size: clamp(1.1rem, 1.45vw, 1.34rem); font-style: italic; color: #DCD2C6; max-width: 54ch; margin: 0 0 24px; text-wrap: pretty; }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brass); }
.who { display: flex; flex-direction: column; line-height: 1.15; }
.who b { font-family: var(--f-disp); font-stretch: 112%; font-weight: 720; font-size: .98rem; }
.who i { font-style: normal; color: var(--fog); font-size: .92rem; }
.byline .meta { display: flex; gap: 14px; color: var(--fog); margin-left: 6px; padding-left: 16px; border-left: 1px solid var(--ebony-line); }

/* La columna lateral se queda: decisión de Alfre del 25 sep 2026 («me encantó»). */
.art-shell { display: grid; grid-template-columns: minmax(0, 760px) 320px; justify-content: center; column-gap: clamp(32px, 4.4vw, 64px); margin-top: calc(-1 * clamp(122px, 12.4vw, 176px)); position: relative; }
.art { min-width: 0; }
.art-photo { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--porcelain-2); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55); }
.art-photo img { width: 100%; height: 100%; object-fit: cover; }
.disclosure { margin: 14px 0 0; font-size: .92rem; font-style: italic; color: var(--ink-2); }
.disclosure a { color: var(--brass-ink); text-decoration: underline; text-underline-offset: 3px; }

.toc { margin: 22px 0 0; border-block: 1px solid var(--line); }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 15px 2px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .lbl { color: var(--ink); }
.toc-n { color: var(--ink-2); font-style: italic; font-size: .95rem; }
.toc summary .ic { margin-left: auto; width: 20px; height: 20px; color: var(--brass-ink); transition: transform .3s var(--ease); }
.toc[open] summary .ic { transform: rotate(45deg); }
.toc ol { list-style: none; margin: 0 0 16px; padding: 0; counter-reset: t; columns: 2; column-gap: 36px; }
.toc li { counter-increment: t; break-inside: avoid; }
.toc a { display: flex; gap: 12px; padding: 7px 0; line-height: 1.3; }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--f-disp); font-weight: 800; font-size: .78rem; color: var(--brass-ink); padding-top: .25em; }
.toc a:hover { color: var(--brass-ink); }

/* el cuerpo: TODO lo que el pipeline puede escribir tiene su regla (lección del 4 sep) */
.body { font-size: 1.2rem; line-height: 1.72; color: #2A211B; }
/* :not([style]) = solo lo que escribe el texto. Los componentes del pipeline llevan
   sus estilos en línea y NO se tocan (si no, el nombre de la tarjeta salía en mayúsculas). */
.body p:not([style]) { margin: 0 0 1.1em; }
.body h2 { font-family: var(--f-disp); font-stretch: 64%; font-weight: 820; font-size: clamp(1.95rem, 3vw, 2.55rem); line-height: 1; letter-spacing: -.004em; color: var(--ink); margin: 1.85em 0 .55em; text-wrap: balance; }
.body h2::before { content: ""; display: block; width: 58px; height: 12px; margin-bottom: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 12'%3E%3Cpath d='M1 6q3.5-6 7 0t7 0 7 0 7 0 7 0 7 0 7 0 7 0' fill='none' stroke='%23C8923F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 58px 12px no-repeat; }
.body h3:not([style]) { font-family: var(--f-text); font-weight: 650; font-size: 1.46rem; line-height: 1.25; color: var(--ink); margin: 1.6em 0 .45em; text-wrap: balance; }
.body h4:not([style]) { font-family: var(--f-disp); font-stretch: 125%; font-weight: 700; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--brass-ink); margin: 1.6em 0 .35em; }
.body ul:not([style]), .body ol:not([style]) { margin: 0 0 1.2em; padding-left: 1.35em; }
.body li:not([style]) { margin: .38em 0; padding-left: .25em; }
.body ul:not([style]) > li::marker { color: var(--brass-ink); font-size: 1.1em; }
.body ol:not([style]) > li::marker { font-family: var(--f-disp); font-weight: 800; color: var(--brass-ink); }
.body blockquote { position: relative; margin: 1.7em 0; padding: .2em 0 0 3.2rem; font-family: var(--f-disp); font-stretch: 70%; font-weight: 780; font-size: clamp(1.7rem, 2.6vw, 2.15rem); line-height: 1.08; color: var(--ink); }
.body blockquote::before { content: "“"; position: absolute; left: 0; top: -.08em; font-size: 3.6em; line-height: 1; color: var(--brass); font-stretch: 100%; }
.body blockquote p { margin: 0; }
.body figure { margin: 1.9em 0; }
.body figure img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 8px; }
.body figcaption { margin-top: 10px; font-size: .95rem; font-style: italic; color: var(--ink-2); }
.body > table , .body :not(.cn-compare) > table { width: 100%; border-collapse: collapse; margin: 1.5em 0 1.7em; font-size: 1.02rem; }
.body > table th , .body :not(.cn-compare) > table th { text-align: left; padding: 12px 14px; background: var(--ebony-2); color: var(--porcelain); font-family: var(--f-disp); font-stretch: 115%; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.body > table td , .body :not(.cn-compare) > table td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.body > table tbody tr:nth-child(even) , .body :not(.cn-compare) > table tbody tr:nth-child(even) { background: var(--porcelain-2); }

/* LAS TABLAS SE DESLIZAN, Y LO DICEN (25 sep 2026). Alfre, en su teléfono: «cuando una tabla
   tenga muchas columnas hay que dejar visualmente indicado que el lector puede moverla».
   site.js envuelve cada tabla del cuerpo en .tscroll y SOLO si no cabe enciende .can-scroll:
   el rótulo «Swipe…» con su riel, la sombra del borde que esconde algo y un amago al asomar.
   El ancho mínimo va por columna (--cols lo pone site.js): por debajo de ~110 px la celda se
   parte en 4-5 líneas — la trampa de crispside del 4 sep: aplastada no es desbordada. */
.tscroll { margin: 1.6em 0 1.8em; }
.body .tscroll .cn-compare { margin: 0 auto; }
.tbl-box { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--caramel) transparent; }
.body .tbl-box > table { margin: 0; min-width: calc(var(--cols, 1) * 8.5rem); }
.tscroll.is-cn { --tr: 14px; }
.tscroll-hint { display: none; }
.tscroll.can-scroll .tscroll-hint { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.tscroll-say { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-disp); font-stretch: 112%; font-weight: 700; font-size: .66rem; letter-spacing: .11em; line-height: 1.25; text-transform: uppercase; color: var(--brass-ink); }
.tscroll-say .ic { flex: none; width: 17px; height: 17px; stroke-width: 2.2; }
.tscroll.can-scroll:not(.touched) .tscroll-say .ic { animation: tnudge 1.4s var(--ease) infinite; }
.tscroll.at-end .tscroll-say .ic { transform: scaleX(-1); }
@keyframes tnudge { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(5px); } }
.tscroll-track { margin-left: auto; flex: none; width: 58px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.tscroll-track i { display: block; height: 100%; width: var(--tw, 50%); border-radius: 4px; background: var(--caramel); transform: translateX(var(--tx, 0%)); }
.tscroll-view { position: relative; }
.tscroll-view::before, .tscroll-view::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 34px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.tscroll-view::before { left: 0; border-radius: var(--tr, 0) 0 0 var(--tr, 0); background: linear-gradient(to right, rgba(21, 16, 13, .2), rgba(21, 16, 13, 0)); }
.tscroll-view::after { right: 0; border-radius: 0 var(--tr, 0) var(--tr, 0) 0; background: linear-gradient(to left, rgba(21, 16, 13, .2), rgba(21, 16, 13, 0)); }
.tscroll.can-scroll:not(.at-end) .tscroll-view::after, .tscroll.can-scroll.off-start .tscroll-view::before { opacity: 1; }
/* con ratón hay barra de verdad debajo: el riel sobra */
@media (hover: hover) and (pointer: fine) { .tscroll-track { display: none; } }
@media (max-width: 380px) { .tscroll-track { width: 44px; } .tscroll-say { letter-spacing: .09em; } }
.body a { color: var(--brass-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.body a:hover { text-decoration-style: wavy; }
.body strong { font-weight: 700; color: var(--ink); }
.body em { font-style: italic; }
.body code { font-family: var(--f-disp); font-stretch: 100%; font-weight: 700; font-size: .84em; background: var(--porcelain-2); border: 1px solid var(--line); border-radius: 6px; padding: .06em .42em; }
.body hr { border: 0; height: 26px; margin: 2.6em 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 26'%3E%3Cpath d='M0 13H44M76 13H120' stroke='%23D9D0C3'/%3E%3Cpath d='M55 5v7a5 5 0 0 0 10 0V5M60 17v6' fill='none' stroke='%23C8923F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 120px 26px no-repeat; }

/* la columna de al lado */
.side { position: relative; padding-top: 6px; display: flex; flex-direction: column; gap: 18px; }
.tuner-card { background: var(--ebony); color: var(--porcelain); border: 1px solid rgba(243, 238, 231, .12); border-radius: 18px; padding: 18px 18px 20px; }
.tuner-card .lbl { color: var(--brass); margin: 0 0 6px; }
.tuner-card svg { width: 100%; height: auto; margin: 2px 0 8px; }
.tuner-card b { display: block; font-family: var(--f-disp); font-stretch: 66%; font-weight: 820; font-size: 1.5rem; line-height: 1; }
.tuner-card p:not(.lbl) { color: var(--fog); font-size: .95rem; line-height: 1.4; margin: 8px 0 12px; }
.tuner-card a { color: var(--brass-2); }
.side-more h2 { color: var(--ink); margin: 0 0 4px; }
.side-more ul { list-style: none; margin: 0; padding: 0; }
.side-more a { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .98rem; line-height: 1.28; }
.side-more .ic { width: 16px; height: 16px; color: var(--brass-ink); margin-top: 2px; }
.ad:empty { display: none; }
.ad-demo { position: sticky; top: 118px; height: 600px; display: grid; place-items: center; text-align: center; border: 2px dashed #CDBFAE; border-radius: 14px; color: var(--ink-2); font-size: .9rem; line-height: 1.5; background: repeating-linear-gradient(45deg, rgba(27, 21, 17, .025) 0 10px, transparent 10px 20px); }
.ad-demo b { display: block; font-family: var(--f-disp); font-stretch: 120%; font-size: .72rem; letter-spacing: .12em; color: var(--brass-ink); margin-bottom: 6px; }

/* después del artículo */
.keep { background: var(--paper); margin-top: clamp(56px, 7vw, 96px); padding-block: clamp(48px, 6vw, 80px); }
.keep .disp { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0 0 26px; }
.keep-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.keep .story .ph { aspect-ratio: 4 / 3; }
.keep .story h3 { font-size: 1.14rem; }
.author-box { background: var(--paper); padding-bottom: clamp(48px, 6vw, 80px); }
.author-in { max-width: 820px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 34px; border-top: 2px solid var(--ink); }
.author-in img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brass); }
.author-in .lbl { color: var(--brass-ink); margin: 0 0 6px; }
.author-in .name { font-family: var(--f-disp); font-stretch: 70%; font-weight: 820; font-size: 1.9rem; line-height: 1; margin: 0 0 10px; }
.author-in .name span { display: block; font-family: var(--f-text); font-stretch: 100%; font-weight: 400; font-style: italic; font-size: 1rem; color: var(--ink-2); margin-top: 6px; }
.author-in .bio { margin: 0 0 12px; color: #2A211B; }
.author-in a.lbl { color: var(--brass-ink); }
.comments { background: var(--porcelain); padding-block: clamp(48px, 6vw, 80px); }
.com-in { max-width: 820px; }
.comments .disp { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0 0 8px; }
.com-empty { color: var(--ink-2); font-style: italic; margin: 0 0 18px; }
.com-form textarea, .com-form input { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 14px 16px; font-size: 1rem; color: var(--ink); }
.com-form textarea:focus, .com-form input:focus { outline: none; border-color: var(--brass-ink); }
.com-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 10px; }
.com-row input { height: 52px; border-radius: 999px; padding: 0 18px; }
.com-row .btn { height: 52px; }
/* En el blog: la lista de comentarios, cuando los haya (la maqueta solo enseña el estado
   vacío). Sin avatares ni «responder»: nombre, fecha y texto, como una libreta. */
.com-list { list-style: none; margin: 14px 0 28px; padding: 0; border-top: 1px solid var(--line); }
.com-item { padding: 16px 2px; border-bottom: 1px solid var(--line); }
.com-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 0 0 6px; }
.com-meta b { font-family: var(--f-disp); font-stretch: 100%; font-weight: 720; }
.com-meta .lbl { color: var(--ink-2); }
.com-body p { margin: 0 0 .6em; }
.com-body p:last-child { margin-bottom: 0; }
.com-wait { color: var(--brass-ink); font-style: italic; margin: 0 0 6px; }
.comment-respond .comment-reply-title { margin: 0; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: var(--ebony); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top .ic { width: 22px; height: 22px; stroke-width: 2; }

/* ==========================================================================
   LA CATEGORÍA — una rama del mapa (25 sep 2026)
   La lámina de patente de la rama cuelga sobre el corte, como la foto del artículo, y
   cada número es un cuarto: el dibujo ES el índice. Cada cuarto, con su pilar destacado
   y sus nodos en el orden del Excel. Sin contadores de artículos (regla de Alfre).
   ========================================================================== */
.page-cat { --hang: clamp(72px, 9vw, 132px); }
.cat-head { color: var(--porcelain); background: radial-gradient(60% 120% at 82% 0%, #2B2019 0%, #17110E 58%, #120D0B 100%); padding-top: clamp(24px, 3vw, 44px); }
.cat-head-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.cat-intro { padding-bottom: clamp(40px, 4.6vw, 64px); }
.cat-head .eyebrow { color: var(--brass); margin: clamp(18px, 2.4vw, 30px) 0 0; }
.cat-head h1 { font-size: clamp(3.1rem, 6.8vw, 6.4rem); margin: .12em 0 .26em; color: var(--porcelain); }
.cat-head .dek { max-width: 46ch; }
.cat-index { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--ebony-line); }
.cat-index a { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ebony-line); font-size: 1.05rem; line-height: 1.2; transition: color .2s; }
.cat-index .num, .seed-num .num { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; font: 800 .74rem/1 var(--f-disp); letter-spacing: 0; transition: background .2s, transform .2s var(--ease); }
.cat-index .num { background: var(--brass); color: var(--ebony); }
.cat-index a:hover, .cat-index a:focus-visible, .cat-index a.lit { color: var(--brass-2); }
.cat-index a:hover .num, .cat-index a:focus-visible .num, .cat-index a.lit .num { background: var(--porcelain); transform: scale(1.12); }

/* la lámina: papel sobre el ébano, colgando sobre el corte */
.plate { position: relative; z-index: 3; margin: 0 0 calc(-1 * var(--hang)); background: var(--paper); color: var(--ink); border-radius: 8px; padding: 14px 16px 8px; box-shadow: 0 44px 70px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(27, 21, 17, .08); }
.plate-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.plate-hint { font-style: italic; font-size: .88rem; }
.plate-art { display: block; width: 100%; max-width: 520px; height: auto; aspect-ratio: 400 / 440; margin-inline: auto; color: var(--ink); overflow: visible; }
.plate-art .d { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plate-art .d.th { stroke-width: 1.05; }
.plate-art .fills { fill: url(#hatch); stroke: none; }
.plate-art .fillg { fill: url(#dots); stroke: none; }
.plate-art .solid { fill: currentColor; stroke: none; }
.plate-art .hid { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 10 4 2 4; opacity: .5; }
.plate-art .co line { stroke: var(--brass-ink); stroke-width: 1.1; }
.plate-art .co circle { fill: var(--brass-ink); transform-box: fill-box; transform-origin: center; transition: fill .2s, transform .2s var(--ease); }
.plate-art .co text { fill: #fff; font: 800 12px var(--f-disp); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.plate-art .co:hover circle, .plate-art .co:focus-visible circle, .plate-art .co.lit circle { fill: var(--ebony); transform: scale(1.22); }
.plate-art .co:focus-visible { outline: none; }
.js .plate-art .d { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); }
.js .plate.drawn .plate-art .d { stroke-dashoffset: 0; }
.js .plate-art .fills, .js .plate-art .fillg, .js .plate-art .solid, .js .plate-art .hid { opacity: 0; transition: opacity 1s ease 1.2s; }
.js .plate.drawn .plate-art .fills, .js .plate.drawn .plate-art .fillg, .js .plate.drawn .plate-art .solid { opacity: 1; }
.js .plate.drawn .plate-art .hid { opacity: .5; }
.js .plate-art .co { opacity: 0; transition: opacity .5s ease 1.8s; }
.js .plate.drawn .plate-art .co { opacity: 1; }
/* un cuarto sin nada publicado todavía (el tema, 25 sep 2026): su número sigue en el dibujo
   —la pieza existe—, apagado y sin enlace: lo que no existe no se enlaza (regla de Alfre) */
.plate-art .co-off, .js .plate.drawn .plate-art .co-off { opacity: .3; pointer-events: none; }

/* una rama llena que aún no tiene su lámina (hoy todas menos Grind): la cabecera se queda
   con el título, la descripción y el índice, y nada cuelga sobre el corte */
.page-cat.cat-no-plate { --hang: 0px; }

/* la rama vacía: en el sitio de la lámina, el afinador que no encuentra la nota */
.plate-listen { padding: 0; background: none; box-shadow: none; max-width: 400px; justify-self: end; width: 100%; }
.plate-listen .tuner-card { padding: 22px 22px 24px; box-shadow: 0 44px 70px -40px rgba(0, 0, 0, .8); }
.plate-listen .tuner-card b { font-size: 1.8rem; }
.seek { transform-box: view-box; transform-origin: 150px 150px; transform: rotate(-80deg); animation: seek 6.5s var(--ease) infinite; }
@keyframes seek { 0%, 10% { transform: rotate(-80deg); } 22% { transform: rotate(14deg); } 30% { transform: rotate(2deg); } 40% { transform: rotate(28deg); } 50% { transform: rotate(-16deg); } 60% { transform: rotate(20deg); } 72% { transform: rotate(-34deg); } 84%, 100% { transform: rotate(-80deg); } }

/* los cuartos */
.cat-body { padding: calc(var(--hang) + clamp(28px, 3vw, 44px)) 0 clamp(40px, 5vw, 72px); }
.seed { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 24px clamp(32px, 4vw, 64px); padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.cat-body .wrap > .seed:first-child { border-top: 0; padding-top: 0; }
.seed-num { display: flex; align-items: center; gap: 10px; color: var(--brass-ink); margin: 0 0 12px; }
.seed-num .num { background: var(--brass-ink); color: #fff; }
.seed h2 { font-size: clamp(2.3rem, 3.8vw, 3.4rem); margin: 0 0 12px; color: var(--ink); }
.seed-desc { color: var(--ink-2); margin: 0 0 20px; max-width: 38ch; }
.crop { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px 8px; }
.crop-art { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; color: var(--ink); }
.crop-art .d { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.crop-art .d.th { stroke-width: 1; }
.crop-art .fills { fill: url(#hatch-c); stroke: none; }
.crop-art .fillg { fill: url(#dots-c); stroke: none; }
.crop-art .solid { fill: currentColor; stroke: none; }
.crop-art .hid { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 8 3 2 3; opacity: .45; vector-effect: non-scaling-stroke; }
.crop figcaption { color: var(--ink-2); margin-top: 6px; }
.seed-main { min-width: 0; }
.pillar { position: relative; overflow: hidden; display: grid; gap: 10px; background: var(--ebony); color: var(--porcelain); border-radius: 16px; padding: clamp(20px, 2.4vw, 30px); margin-bottom: 18px; }
.pillar::after { content: attr(data-n); position: absolute; right: 18px; bottom: -.22em; font: 900 clamp(7rem, 11vw, 10rem)/1 var(--f-disp); font-stretch: 60%; color: rgba(243, 238, 231, .06); pointer-events: none; }
.pillar .lbl { color: var(--brass); }
.pillar h3 { position: relative; margin: 0; font: 600 clamp(1.45rem, 2.2vw, 2.05rem)/1.15 var(--f-text); text-wrap: balance; max-width: 30ch; }
.pillar .pillar-go { display: inline-flex; align-items: center; gap: 8px; color: var(--brass-2); }
.pillar-go .ic { transition: transform .25s var(--ease); }
.pillar:hover .pillar-go .ic { transform: translateX(4px); }
.nodes { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.nodes li { break-inside: avoid; }
.nodes a { display: block; padding: 11px 0 12px; border-bottom: 1px solid var(--line); }
.nodes .tag { display: block; color: var(--brass-ink); font-size: .62rem; margin-bottom: 4px; }
.nodes .t { font-size: 1.05rem; line-height: 1.3; }
.still { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line); color: var(--ink-2); font-style: italic; }
.still .lbl { color: var(--brass-ink); font-style: normal; }

/* la herramienta de la rama y el hueco de anuncio */
.cat-tool { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.cat-tool-txt .disp { font-size: clamp(2rem, 3.4vw, 3rem); margin: 12px 0; }
.cat-tool-txt p:last-child { color: var(--ink-2); max-width: 40ch; margin: 0; }
.ad-band { display: grid; place-items: center; text-align: center; min-height: 130px; margin: 0 0 8px; border: 2px dashed #CDBFAE; border-radius: 14px; color: var(--ink-2); font-size: .9rem; line-height: 1.5; background: repeating-linear-gradient(45deg, rgba(27, 21, 17, .025) 0 10px, transparent 10px 20px); }
.ad-band b { display: block; font-family: var(--f-disp); font-stretch: 120%; font-size: .72rem; letter-spacing: .12em; color: var(--brass-ink); margin-bottom: 4px; }
/* solo si el hueco tiene algo: vacío no ocupa (`.ad:empty`) y el cuarto de debajo necesita su raya */
.cat-body .ad-band:not(:empty) + .seed { border-top: 0; }

/* la rama vacía */
.cat-empty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(32px, 5vw, 72px); align-items: start; }
.cat-empty h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin: 0 0 16px; }
.cat-empty-txt p { color: var(--ink-2); max-width: 44ch; margin: 0 0 20px; }
.empty-find { display: inline-flex; align-items: center; gap: 8px; color: var(--brass-ink); }
.ready { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ready a { display: block; padding: 14px 0 15px; border-bottom: 1px solid var(--line); }
.ready .tag { display: flex; align-items: center; gap: 8px; color: var(--brass-ink); margin-bottom: 5px; }
.ready .tag .note { width: 20px; height: 20px; font-size: .64rem; border-width: 1.2px; }
.ready .t { font: 600 1.2rem/1.25 var(--f-text); }

/* las ramas hermanas (la misma cuerda) y la firma */
.cat-more { background: var(--paper); padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.cat-more h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); margin: 12px 0 28px; }
.sibs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.sib { position: relative; display: block; background: var(--porcelain); border: 1px solid var(--line); border-radius: 16px; padding: 34px 24px 22px; transition: border-color .25s, transform .3s var(--ease); }
.sib:hover { border-color: var(--brass-ink); transform: translateY(-3px); }
.sib .wire { position: absolute; left: 24px; top: 14px; width: calc(100% - 48px); height: 12px; overflow: visible; }
.sib .wire path { fill: none; stroke: var(--brass); }
.sib h3 { font-size: clamp(1.9rem, 2.6vw, 2.4rem); margin: 4px 0 8px; color: var(--ink); }
.sib p { color: var(--ink-2); margin: 0 0 14px; }
.sib-seeds { display: flex; flex-wrap: wrap; gap: 6px; }
.sib-seeds i { font: normal 700 .7rem/1 var(--f-disp); font-stretch: 110%; letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; background: var(--porcelain-2); color: var(--ink-2); }
.cat-sign { background: var(--paper); padding-bottom: clamp(48px, 6vw, 72px); }
.cat-sign-in { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.cat-sign img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--brass); object-fit: cover; flex: none; }
.cat-sign p { margin: 0; color: var(--ink-2); max-width: 78ch; }
.cat-sign b { color: var(--ink); }
.cat-sign a { color: var(--brass-ink); margin-left: 4px; white-space: nowrap; }
.cat-sign a.who-link, .who-link { color: inherit; margin: 0; text-decoration: underline; text-decoration-color: rgba(200, 133, 63, .5); text-underline-offset: 3px; }

/* ==========================================================================
   LAS PÁGINAS DE SITIO (25 sep 2026): About, autor, Contact, los cuatro legales, el
   404 y la búsqueda. La misma banda de ébano que el artículo y la categoría; lo que
   cambia es lo que cuelga de ella: la foto (About), el retrato en un dial (autor), el
   sello de calibración (legales) o el afinador que lee 404 Hz (404).
   ========================================================================== */
.page-site { --hang: clamp(56px, 7vw, 110px); }
.pg-legal, .pg-puerta, .pg-s-search { --hang: 0px; }
.pg-head { color: var(--porcelain); background: radial-gradient(60% 120% at 82% 0%, #2B2019 0%, #17110E 58%, #120D0B 100%); padding-top: clamp(24px, 3vw, 44px); }
.pg-head-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: end; }
.pg-intro { padding-bottom: clamp(40px, 5vw, 64px); }
.pg-head .eyebrow { color: var(--brass); margin: clamp(18px, 2.4vw, 30px) 0 0; }
.pg-head h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); margin: .14em 0 .26em; color: var(--porcelain); max-width: 16ch; }
.pg-head .dek { max-width: 52ch; margin-bottom: 0; }
.pg-date { color: var(--fog); margin: 18px 0 0; }
/* lo que cuelga sobre el corte */
.pg-photo { position: relative; z-index: 3; width: min(480px, 40vw); margin: 0 0 calc(-1 * var(--hang)); }
.pg-photo .ph { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--porcelain-2); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .6); }
.pg-photo img { width: 100%; height: 100%; object-fit: cover; }
.pg-photo figcaption { position: absolute; top: calc(100% + 10px); left: 0; right: 0; color: var(--ink-2); font-style: italic; font-size: .9rem; }
.pg-portrait { position: relative; z-index: 3; width: clamp(160px, 17vw, 228px); aspect-ratio: 1; margin: 0 clamp(0px, 3vw, 40px) calc(-1 * var(--hang)) 0; }
.pg-portrait img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); border-radius: 50%; object-fit: cover; border: 3px solid var(--brass); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .75); }
/* el dial alrededor del retrato: 36 marcas, como la escala del afinador */
.pg-portrait .ring { position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from -1deg, var(--brass) 0 1.6deg, transparent 1.6deg 10deg); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 11px), #000 calc(100% - 10px) calc(100% - 1px), transparent 100%); mask: radial-gradient(closest-side, transparent calc(100% - 11px), #000 calc(100% - 10px) calc(100% - 1px), transparent 100%); }
.pg-seal { align-self: center; width: clamp(128px, 14vw, 184px); color: var(--brass); transform: rotate(-11deg); opacity: .94; margin-right: clamp(0px, 3vw, 48px); padding-bottom: clamp(24px, 3vw, 40px); }
.pg-seal .seal { display: block; width: 100%; height: auto; overflow: visible; }
.pg-puerta .pg-seal { width: clamp(210px, 22vw, 300px); transform: rotate(-7deg); }

/* la placa de características del About y del autor: la chapa remachada de una máquina */
.pg-voz .pg-body-in, .pg-persona .pg-body-in { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 300px); justify-content: space-between; gap: clamp(32px, 4vw, 64px); align-items: start; }
.pg-side { position: sticky; top: 130px; }
.nameplate { position: relative; border-radius: 12px; padding: 22px 22px 16px; background: linear-gradient(160deg, #241B15, #15100D 70%); color: var(--milk); box-shadow: inset 0 0 0 1px rgba(216, 165, 79, .4), inset 0 0 0 7px #17110E, inset 0 0 0 8px rgba(216, 165, 79, .16), 0 26px 44px -30px rgba(0, 0, 0, .7); }
.nameplate .rivet { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F4D9A0, #8A5716 70%); box-shadow: 0 1px 1px rgba(0, 0, 0, .5); }
.nameplate .rivet:nth-child(1) { top: 12px; left: 12px; }
.nameplate .rivet:nth-child(2) { top: 12px; right: 12px; }
.nameplate .rivet:nth-child(3) { bottom: 12px; left: 12px; }
.nameplate .rivet:nth-child(4) { bottom: 12px; right: 12px; }
.np-top { margin: 0 0 6px; padding: 0 0 10px; border-bottom: 1px solid rgba(216, 165, 79, .3); color: var(--brass); text-align: center; }
.nameplate dl { margin: 0; }
.nameplate dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(216, 165, 79, .18); }
.nameplate dl div:last-child { border-bottom: 0; }
.nameplate dt { color: var(--fog); font-size: .58rem; padding-top: 4px; }
.nameplate dd { margin: 0; font-family: var(--f-disp); font-stretch: 94%; font-weight: 700; font-size: .95rem; line-height: 1.25; color: var(--porcelain); overflow-wrap: anywhere; }
.nameplate dd a { color: var(--brass-2); }
.pg-tuner { margin-bottom: calc(-1 * var(--hang)); width: 360px; }

.pg-body { padding: calc(var(--hang) + clamp(36px, 4vw, 56px)) 0 clamp(48px, 6vw, 88px); }
.pg-body-in > .doc { max-width: 760px; }

/* el cuerpo: la letra del artículo (.body) y los bloques de la casa */
.doc a.pg-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; background: var(--ebony); color: var(--porcelain); text-decoration: none; transition: background .2s; }
.doc a.pg-btn:hover { background: var(--brass-ink); }
.doc a.pg-btn .ic { width: 16px; height: 16px; }
.doc .dato { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 1.6em 0; }
.doc .dato .lbl { display: block; color: var(--brass-ink); margin-bottom: 8px; }
.doc .dato p { margin: 0; font-size: 1.02rem; }
.doc .aviso { font-family: var(--f-disp); font-stretch: 100%; font-weight: 700; font-size: .78rem; line-height: 1.6; letter-spacing: .02em; color: var(--ink); background: var(--porcelain-2); border-radius: 10px; padding: 14px 16px; }
.doc .cierre { margin: 2.6em 0 0; padding-top: 22px; border-top: 1px dashed var(--line); text-align: center; font-style: italic; color: var(--ink-2); }
.doc .cierre::before { content: ""; display: block; width: 28px; height: 28px; margin: 0 auto 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5716' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M8.5 3v7.5a3.5 3.5 0 0 0 7 0V3M12 14v7'/%3E%3C/svg%3E") center / contain no-repeat; }
.doc .firmapag { font-style: italic; color: var(--ink-2); margin-top: 1.4em; }
.doc .correazo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; background: var(--ebony); color: var(--porcelain); border-radius: 14px; padding: 18px 22px; margin: 1.4em 0; }
.doc .correazo .lbl { color: var(--brass); }
.doc .correazo p { margin: 0; font-family: var(--f-disp); font-stretch: 92%; font-weight: 750; font-size: 1.3rem; line-height: 1.2; }
.doc .correazo a { color: var(--porcelain); text-decoration: none; }
.doc .correazo a:hover { color: var(--brass-2); }
.doc ul.hechos { list-style: none; margin: 1.4em 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.doc ul.hechos li { margin: 0; padding: 18px 18px 20px; border-radius: 14px; background: var(--ebony); color: var(--milk); }
.doc ul.hechos b { display: block; margin-bottom: 8px; font-family: var(--f-disp); font-stretch: 68%; font-weight: 820; font-size: 1.6rem; line-height: 1; color: var(--brass); }
.doc ul.hechos span { display: block; font-size: .95rem; line-height: 1.45; }
.doc ol.pasos { list-style: none; margin: 1.2em 0 1.6em; padding: 0; counter-reset: paso; }
.doc ol.pasos li { position: relative; counter-increment: paso; margin: 0; padding: 2px 0 22px 64px; }
.doc ol.pasos li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: var(--ebony); font: 800 1.1rem/1 var(--f-disp); }
.doc ol.pasos li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 4px; border-left: 2px dotted var(--line); }
.doc ol.pasos b { display: block; margin-bottom: 2px; font-weight: 650; font-size: 1.12rem; color: var(--ink); }
.doc ol.pasos span { color: var(--ink-2); }
.doc ul.puede, .doc ul.nopuede, .doc ul.tipos { list-style: none; margin: 1em 0 1.6em; padding: 0; display: grid; gap: 10px; }
.doc ul.puede li, .doc ul.nopuede li, .doc ul.tipos li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.doc ul.tipos li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.doc ul.puede .ic { width: 22px; height: 22px; color: var(--si, #4A6A35); margin-top: 3px; }
.doc ul.nopuede .ic { width: 22px; height: 22px; color: var(--cherry); margin-top: 3px; }
.doc ul.puede b, .doc ul.nopuede b, .doc ul.tipos b { display: block; color: var(--ink); }
.doc ul.puede span, .doc ul.nopuede span, .doc ul.tipos span { color: var(--ink-2); }
.doc .pg-form { display: grid; gap: 12px; margin: 1.4em 0 2em; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.doc .pg-form .lbl { color: var(--brass-ink); }
.pg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc .pg-form label { display: grid; gap: 6px; }
.doc .pg-form label span { font-family: var(--f-disp); font-stretch: 110%; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.doc .pg-form input, .doc .pg-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--porcelain); padding: 12px 14px; font-size: 1rem; color: var(--ink); }
.doc .pg-form input:focus, .doc .pg-form textarea:focus { outline: none; border-color: var(--brass-ink); }
.doc .pg-form .btn { justify-self: start; height: 50px; }
.doc .pg-form small { color: var(--ink-2); font-size: .85rem; }
/* El formulario DE VERDAD, en WordPress (27 sep 2026): Fluent Forms con «Inherit Theme Style»,
   así que no trae su aspecto y todo sale de aquí. La misma tarjeta que el dibujado de arriba.
   Fluent pone los campos y el botón (con la clase .btn); el rótulo y la letra pequeña los
   pone exportar-paginas.py alrededor del atajo, sacados de este mismo dibujo. */
/* minmax(0,1fr): sin eso la columna crece hasta los 300 px de la caja antispam y a 320 px
   de pantalla la tarjeta entera se salía 17 px por la derecha (medido el 27 sep 2026) */
.doc .tucform { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 1.4em 0 2em; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.doc .tucform .lbl { color: var(--brass-ink); }
.doc .tucform small { color: var(--ink-2); font-size: .85rem; }
.doc .tucform .ff-el-group { margin: 0 0 12px; }
.doc .tucform .ff_submit_btn_wrapper { margin: 0; }
.doc .tucform .ff-t-container { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc .tucform .ff-el-input--label { display: block; margin: 0 0 6px; }
/* display:block — en línea, la etiqueta se quedaba dentro del renglón de 33 px de su caja (letra
   de 19 px) y cada campo bajaba 13 px más que en la maqueta, donde la etiqueta es un bloque */
.doc .tucform .ff-el-input--label label { display: block; margin: 0; font-family: var(--f-disp); font-stretch: 110%; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.doc .tucform .ff-el-form-control { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--porcelain); padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); box-shadow: none; }
.doc .tucform .ff-el-form-control:focus { outline: none; border-color: var(--brass-ink); }
.doc .tucform .ff-el-is-error .ff-el-form-control { border-color: var(--cherry); }
.doc .tucform .text-danger { color: var(--cherry); font-size: .85rem; margin-top: 6px; }
.doc .tucform .btn { height: 50px; }
.doc .tucform .ff-message-success { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--porcelain); color: var(--ink); box-shadow: none; }
.doc .tucform .ff-message-success p { margin: 0; }
/* La caja antispam de Cloudflare mide 300 px FIJOS (Fluent Forms no deja elegir su tamaño).
   Por debajo de 374 px de pantalla no cabe en la tarjeta (ancho − 74 px): se encoge. */
@media (max-width: 373px) {
  .doc .tucform .cf-turnstile { transform: scale(.82); transform-origin: 0 0; margin-bottom: -12px; }
}
.doc .cn-faq { margin-top: 1.6em; }

/* los cuatro legales: el documento y, al lado, el índice de cláusulas y los otros tres */
.doc.legal h2::before { display: none; }
.doc.legal h2 { font-size: clamp(1.55rem, 2.3vw, 1.95rem); padding-top: 22px; border-top: 1px solid var(--line); margin-top: 1.6em; }
.pg-legal .pg-body-in { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: space-between; gap: clamp(32px, 4vw, 64px); align-items: start; }
.pg-aside { position: sticky; top: 118px; display: grid; gap: 22px; max-height: calc(100vh - 140px); overflow-y: auto; padding-bottom: 8px; }
.pg-toc, .pg-docs { border-top: 2px solid var(--ink); padding-top: 12px; }
.pg-toc .lbl, .pg-docs .lbl { display: block; color: var(--brass-ink); margin-bottom: 6px; }
.pg-toc ol, .pg-docs ul, .pg-toc-m ol { list-style: none; margin: 0; padding: 0; }
.pg-toc a, .pg-toc-m a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.3; color: var(--ink-2); }
.pg-toc a:hover, .pg-toc-m a:hover { color: var(--brass-ink); }
.pg-docs a { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pg-docs .ic { width: 16px; height: 16px; color: var(--brass-ink); }
.pg-toc-m { display: none; }

/* las dos de rescate: el buscador grande, los resultados y las seis cuerdas */
.pg-search { max-width: 760px; }
.pg-search .lbl { display: block; color: var(--brass-ink); margin-bottom: 10px; }
.pg-search-row { display: flex; gap: 10px; }
.pg-search-row input { flex: 1; min-width: 0; height: 58px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 1.05rem; color: var(--ink); }
.pg-search-row input:focus { outline: none; border-color: var(--brass-ink); }
.pg-search-row .btn { height: 58px; flex: none; }
.pg-results { list-style: none; margin: 26px 0 0; padding: 0; max-width: 900px; border-top: 2px solid var(--ink); }
.pg-results a { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 16px; align-items: center; padding: 14px 0 15px; border-bottom: 1px solid var(--line); }
.pg-results .tag { display: flex; align-items: center; gap: 8px; color: var(--brass-ink); }
.pg-results .tag .note { width: 20px; height: 20px; font-size: .64rem; border-width: 1.2px; }
.pg-results .t { font: 600 1.2rem/1.25 var(--f-text); }
.pg-results .ic { grid-column: 2; grid-row: 1 / span 2; color: var(--brass-ink); transition: transform .25s var(--ease); }
.pg-results a:hover .ic { transform: translateX(4px); }
.pg-results mark { background: rgba(216, 165, 79, .38); color: inherit; border-radius: 3px; padding: 0 2px; }
.pg-results .none { padding: 18px 0; color: var(--ink-2); font-style: italic; border-bottom: 1px solid var(--line); }
.pg-strings { background: var(--paper); padding-block: clamp(48px, 6vw, 88px); }
.pg-strings h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); margin: 12px 0 26px; }
.sibs.strings6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.str6-n { display: flex; align-items: center; gap: 8px; color: var(--brass-ink); margin: 0; }
.str6-n .note { width: 22px; height: 22px; font-size: .68rem; }
.str6 h3 { margin: 8px 0 6px; }
.str6 ul { list-style: none; margin: 12px 0 0; padding: 0; }
.str6 li a { display: block; padding: 8px 0; border-top: 1px solid var(--line); font-size: .98rem; }
.pg-guides { padding-block: 0 clamp(48px, 6vw, 88px); }
/* el tema (25 sep 2026): de la página 2 del archivo en adelante no se repite la biografía, así
   que las guías van justo bajo la banda y toman el aire del cuerpo (y el del retrato que cuelga) */
.pg-head + .pg-guides { padding-top: calc(var(--hang) + clamp(36px, 4vw, 56px)); }
.pg-guides h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); margin: 12px 0 0; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.pager a, .pager .cur { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font: 700 .95rem/1 var(--f-disp); }
.pager .cur { background: var(--ebony); border-color: var(--ebony); color: var(--porcelain); }
.pager a.next, .pager a.prev { display: inline-flex; align-items: center; gap: 8px; }
/* el tema (25 sep 2026): de la página 2 en adelante, «← Newer guides»; y con muchas páginas,
   el hueco entre las de al lado y la última */
.pager a.prev .ic { transform: scaleX(-1); }
.pager .gap { padding: 0 2px; color: var(--ink-2); }
.pager a:hover { border-color: var(--brass-ink); color: var(--brass-ink); }

/* ==========================================================================
   MÓVIL · menú de hoja
   ========================================================================== */
.sheet { position: fixed; inset: 0; z-index: 120; background: var(--ebony); color: var(--porcelain); overflow-y: auto; transform: translateY(-102%); transition: transform .45s var(--ease); visibility: hidden; }
.sheet.open { transform: none; visibility: visible; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 var(--gut); border-bottom: 1px solid var(--ebony-line); }
.sheet-list { list-style: none; margin: 0; padding: 8px var(--gut) 40px; }
.sheet-list > li { border-bottom: 1px solid var(--ebony-line); }
.sheet-str { width: 100%; display: flex; align-items: center; gap: 14px; padding: 20px 0 18px; text-align: left; position: relative; }
.sheet-str .disp { font-size: 2.3rem; }
.sheet-str .note { color: var(--brass); }
.sheet-str .wire { position: absolute; left: 0; width: 100%; bottom: 6px; height: 12px; overflow: visible; }
.sheet-str .wire path { fill: none; stroke: var(--fog); opacity: .35; }
.sheet-str[aria-expanded="true"] .wire path { stroke: var(--brass); opacity: 1; }
.sheet-sub { display: none; list-style: none; margin: 0; padding: 0 0 18px 40px; }
.sheet-sub.open { display: block; }
.sheet-sub a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: #DCD2C6; font-size: 1.08rem; }
.sheet-sub a span { color: var(--brass); font-family: var(--f-disp); font-size: .78rem; font-weight: 700; }

/* ==========================================================================
   Entradas al bajar
   ========================================================================== */
.js [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-rv].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-rv] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Tamaños
   ========================================================================== */
@media (max-width: 1240px) {
  .string { padding: 0 11px; letter-spacing: .1em; }
  .tiplinks { display: none; }
  .mega .wrap { grid-template-columns: 220px minmax(0, 1fr); }
  .mega-feat { display: none; }
  .more-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .strings, .mast-tools .pill, .mega { display: none; }
  .burger { display: grid; }
  .bar .wrap { height: 82px; justify-content: space-between; }
  .brand .logo { width: 56px; height: 56px; }
  .wordmark { font-size: 1.22rem; }
  .hero .wrap { grid-template-columns: 1fr; grid-template-areas: "intro" "inst" "ctrl"; grid-template-rows: auto; row-gap: 8px; }
  .hero-intro, .hero-ctrl { max-width: 720px; }
  .cup { width: min(100%, 560px); min-width: 0; }
  .lead, .bench-side, .bench-c, .also { grid-column: 1 / -1; }
  .bench-c { grid-column: span 6; }
  .figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tools { grid-template-columns: 1fr; }
  .esp-grid { grid-template-columns: 1fr; }
  .esp-photo { position: relative; top: 0; max-width: 560px; }
  .drinks-grid { grid-template-columns: 1fr; }
  .drinks-photos { max-width: 640px; }
  .more-top { grid-template-columns: 1fr; }
  .finder .wrap { grid-template-columns: auto minmax(0, 1fr); }
  .finder-box { grid-column: 1 / -1; }
  .esp-photo .ph { width: 100%; }
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .sub { justify-self: start; }
}
@media (max-width: 720px) {
  body { font-size: 1.02rem; }
  .tip-k { display: none; }
  .wordmark { font-size: 1.04rem; letter-spacing: .08em; }
  .brand .logo { width: 48px; height: 48px; }
  .bar .wrap { height: 76px; }
  .finder .wrap { grid-template-columns: 1fr; }
  .finder .fork { width: 96px; }
  .finder-results { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 18px; }
  .hero .hero-t { font-size: clamp(3rem, 15vw, 4.4rem); }
  .readout { min-height: 0; }
  .ro-read { margin-left: 0; width: 100%; }
  .bench-c { grid-column: 1 / -1; }
  .story.row { grid-template-columns: 40% minmax(0, 1fr); gap: 14px; }
  .cols, .lists2 { grid-template-columns: 1fr; }
  .figs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 14px; scrollbar-width: none; }
  .figs::-webkit-scrollbar { display: none; }
  .fig { flex: 0 0 78%; scroll-snap-align: center; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sym { min-height: 160px; padding: 16px 14px 14px; }
  .sym b { font-size: 1.36rem; }
  .sym span { font-size: .9rem; }
  .lanes { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .lanes::before { display: none; }
  .recipe { grid-template-columns: repeat(3, auto); }
  .recipe .arrow { display: none; }
  .menu { columns: 1; }
  .more-cols { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .ratio-out { grid-template-columns: auto auto; }
  .ratio-out .rt { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .range-ticks .lbl { display: none; }
  .grounds { height: 180px; }
  .milk-card { grid-template-columns: 110px minmax(0, 1fr); }
  .foot-word { font-size: 7.1vw; font-size: 7.65cqi; }
  .foot-word .logo-end { display: none; }
}
@media (max-width: 420px) {
  .more-cols { grid-template-columns: 1fr; }
  .drinks-photos { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   EL MÓVIL, A ESCALA DE MÓVIL (25 sep 2026, visto por Alfre en sus teléfonos:
   «la letra es muy grande, se come mucho espacio… el logo más chico… el menú de
   hamburguesa no me apareció… reduce las gráficas»). Medido a 320 px (su Samsung
   plegable cerrado) y a 412 px (su OnePlus 7 Pro).
   ========================================================================== */
@media (max-width: 720px) {
  body { font-size: .96rem; }
  .lbl { font-size: .62rem; }
  .note { width: 22px; height: 22px; font-size: .66rem; }

  /* cabecera: nunca más ancha que la pantalla */
  .mast { top: -33px; }
  .tipbar .wrap { height: 32px; }
  .tip-text { font-size: .84rem; }
  .bar .wrap { height: 62px; gap: 10px; }
  .brand { gap: 9px; min-width: 0; }
  .brand .logo { width: 38px; height: 38px; }
  .wordmark { font-size: .86rem; letter-spacing: .06em; overflow: hidden; text-overflow: ellipsis; }
  .wordmark small { margin-bottom: 4px; }
  .mast-tools { gap: 6px; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn svg { width: 16px; height: 16px; }
  .sheet-top { height: 62px; }
  .sheet-str .disp { font-size: 1.8rem; }

  /* letra */
  .hero .wrap { padding-top: 14px; }
  .hero .hero-t { font-size: clamp(2.15rem, 10.4vw, 2.9rem); }
  .lede { font-size: 1rem; margin-bottom: 16px; }
  .h2 { font-size: clamp(1.85rem, 8.2vw, 2.35rem); }
  .sub { font-size: .98rem; }
  .sec { padding-block: 56px; }
  .sec-head { margin-bottom: 28px; }
  .chip { height: 34px; padding: 0 12px 0 10px; font-size: .8rem; gap: 7px; }
  .readout { padding: 14px 16px 8px; }
  .ro-state { font-size: 1.6rem; }
  .ro-why { font-size: .94rem; }
  .ro-steps, .ro-links a { font-size: .9rem; }
  .story h3 { font-size: 1.1rem; }
  .lead h3 { font-size: 1.5rem; }
  .story p, .lead p { font-size: .94rem; }
  .col-h h3 { font-size: 1.5rem; }
  .list a { font-size: .95rem; padding: 9px 0; }
  .list li:first-child a { font-size: 1rem; }
  .device h3 { font-size: 1.55rem; }
  .grind-read .name { font-size: 1.6rem; }
  .ratio-out b { font-size: 2.5rem; }
  .ratio-out .rt b { font-size: 1.7rem; }
  .recipe b { font-size: 3rem; }
  .menu-top .disp { font-size: 1.55rem; }
  .menu .nm { font-size: 1.1rem; }
  .menu .tm { font-size: .8rem; }
  .menu a { padding: 11px 0 10px; }
  .sym b { font-size: 1.14rem; }
  .sym span { font-size: .82rem; }
  .sched-top .disp { font-size: 1.45rem; }
  .lane h4 { font-size: 1.12rem; }
  .lane ul { font-size: .86rem; }
  .finder .disp { font-size: 2rem; }
  .finder p { font-size: .95rem; }
  .finder-form input, .btn { height: 48px; }
  .foot-col a { font-size: .9rem; }

  /* gráficas */
  .cup { width: min(86%, 400px); }
  .grounds { height: 150px; }
  .fig { flex: 0 0 62%; max-width: 250px; padding: 12px 14px 12px; }
  .fig-art { max-width: 176px; margin-inline: auto; }
  .fig h3 { font-size: 1.28rem; }
  .fig .legend { font-size: .8rem; min-height: 0; }
  .spec dd { font-size: .8rem; }
  .fig .more { font-size: .88rem; }
  .esp-photo { max-width: 78%; margin-inline: auto; }
  .sym { min-height: 132px; padding: 14px 12px 12px; gap: 8px; }
  .sym svg { width: 28px; height: 28px; }
  .milk-card { grid-template-columns: 88px minmax(0, 1fr); }
  .milk-card b { font-size: 1rem; }
  .finder .fork { width: 64px; }
}
@media (max-width: 380px) {
  .brand .logo { width: 34px; height: 34px; }
  .wordmark { font-size: .76rem; }
  .icon-btn { width: 36px; height: 36px; }
  .hero .hero-t { font-size: 2.05rem; }
  .fig { flex-basis: 70%; }
}

/* El artículo en tableta y móvil: una sola columna; lo de al lado pasa debajo
   y el hueco del anuncio lateral desaparece (en móvil Mediavine usa otros). */
@media (max-width: 1060px) {
  .art-shell { grid-template-columns: minmax(0, 760px); }
  .side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; padding-top: 0; }
  .ad-demo { display: none; }
  .keep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* el Samsung de Alfre ABIERTO mide 768: la prosa a 19,2 px salía allí más grande, en
     milímetros, que los 17,3 del OnePlus que pidió bajar. Un peldaño intermedio. */
  .art-head h1 { font-size: clamp(2.1rem, 5vw, 2.8rem); }
  .dek { font-size: 1.02rem; }
  .toc a { font-size: .96rem; }
  .body { font-size: 1.1rem; line-height: 1.66; }
  .body h2 { font-size: 1.85rem; }
  .body h3:not([style]) { font-size: 1.3rem; }
  .body blockquote { font-size: 1.6rem; }
}
/* La letra del artículo, a escala de teléfono (25 sep 2026, 2.ª ronda de Alfre: «hay que
   hacer el tamaño de letra más pequeño para celular»). La prosa pasa de 17,3 a 16 px, la
   misma talla que la respuesta corta y los Pro Tips del pipeline, que no se tocan. */
@media (max-width: 720px) {
  html { scroll-padding-top: 80px; }
  .art-head { padding-block: 16px 108px; }
  .art-head h1 { font-size: clamp(1.7rem, 7.4vw, 2.1rem); }
  .dek { font-size: .93rem; line-height: 1.5; margin-bottom: 16px; }
  .avatar { width: 40px; height: 40px; }
  .who b { font-size: .88rem; }
  .who i { font-size: .82rem; }
  .byline .meta { margin-left: 0; padding-left: 0; border-left: 0; width: 100%; }
  .art-shell { margin-top: -86px; }
  .disclosure { font-size: .82rem; }
  .toc-n { font-size: .86rem; }
  .toc a { font-size: .92rem; padding: 6px 0; }
  .body { font-size: 1rem; line-height: 1.62; }
  .body h2 { font-size: 1.5rem; }
  .body h2::before { margin-bottom: 10px; }
  /* :not([style]) también aquí: sin él, la regla de escritorio (más específica) ganaba y el
     H3 salía a 23 px en el teléfono */
  .body h3:not([style]) { font-size: 1.12rem; }
  .body blockquote { font-size: 1.3rem; padding-left: 2.2rem; }
  .body figcaption { font-size: .84rem; }
  .body figure img { max-height: 440px; }   /* una foto vertical ocupaba 2/3 de la pantalla */
  .body > table , .body :not(.cn-compare) > table { font-size: .86rem; }
  .body > table th, .body :not(.cn-compare) > table th, .body > table td , .body :not(.cn-compare) > table td { padding: 10px; }
  .toc ol { columns: 1; }
  .side { grid-template-columns: 1fr; }
  .tuner-card b { font-size: 1.3rem; }
  .tuner-card p:not(.lbl) { font-size: .88rem; }
  .side-more a { font-size: .92rem; }
  .keep .disp, .comments .disp { font-size: 1.75rem; }
  .keep .story h3 { font-size: .94rem; }
  .author-in { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .author-in img { width: 64px; height: 64px; }
  .author-in .name { font-size: 1.3rem; }
  .author-in .name span { font-size: .9rem; }
  .author-in .bio { font-size: .92rem; }
  .com-empty { font-size: .92rem; }
  .com-row { grid-template-columns: 1fr; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}
/* La tabla comparativa del pipeline se desliza en vez de aplastarse: lo mismo que el tema de
   crispside (4 sep 2026), a partir del mismo corte de 600 px en que el componente encoge su
   letra. `.body .cn-compare` (dos clases) para ganarle al <style> que el componente trae
   dentro, que va DESPUÉS de esta hoja. Mínimo 520 px, o 8,5rem por columna si tiene más. */
@media (max-width: 600px) {
  .body .cn-compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .body .cn-compare table { min-width: max(520px, calc(var(--cols, 3) * 8.5rem)); }
}

/* La categoría en tableta y móvil: la lámina pasa debajo del título (y sigue colgando
   sobre el corte); cada cuarto, en una columna, con su detalle al lado del nombre. */
@media (max-width: 1060px) {
  .cat-head-in { grid-template-columns: minmax(0, 1fr); }
  .cat-intro { padding-bottom: 8px; }
  /* su Samsung abierto (768) ve esto: la lámina, contenida, que no ocupe la pantalla entera */
  .plate { width: 100%; max-width: 460px; justify-self: center; }
  .plate-art { max-width: 360px; }
  .plate-hint { display: none; }
  .plate-listen { justify-self: start; }
  .plate-listen .tuner-card svg { max-width: 280px; margin-inline: auto; }
  .seed { grid-template-columns: minmax(0, 1fr); }
  .seed-aside { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 0 28px; align-items: start; }
  .seed-aside .crop { grid-column: 2; grid-row: 1 / span 3; }
  /* sin lámina: sin detalle al lado del nombre, y la cabecera cierra con aire (no cuelga nada) */
  .cat-no-plate .seed-aside { grid-template-columns: minmax(0, 1fr); }
  .cat-no-plate .cat-intro { padding-bottom: clamp(28px, 6vw, 40px); }
  .cat-tool, .cat-empty { grid-template-columns: minmax(0, 1fr); }
  /* el peldaño intermedio de la letra (su plegable abierto), como en el artículo */
  .cat-index a { font-size: .98rem; }
  .seed-desc, .cat-empty-txt p { font-size: .98rem; }
  .pillar h3 { font-size: 1.5rem; }
  .nodes .t { font-size: .98rem; }
}
@media (max-width: 720px) {
  .page-cat { --hang: 56px; }
  .cat-head h1 { font-size: clamp(2.3rem, 11vw, 3.1rem); }
  .cat-index { gap: 0 16px; }
  .cat-index a { font-size: .92rem; padding: 9px 0; gap: 9px; }
  .cat-index .num, .seed-num .num { width: 22px; height: 22px; font-size: .66rem; }
  .plate { padding: 10px 10px 4px; }
  .plate-art { max-width: 300px; }   /* «reduce las gráficas» (2.ª ronda): la lámina no pasa de media pantalla */
  .plate-hint { display: none; }
  .seed { padding: 28px 0; gap: 18px; }
  .plate-listen .tuner-card b { font-size: 1.5rem; }
  .seed-aside { grid-template-columns: minmax(0, 1fr) 118px; gap: 0 14px; }
  .seed h2 { font-size: clamp(1.8rem, 8.6vw, 2.2rem); }
  .seed-desc { font-size: .92rem; margin-bottom: 12px; }
  .crop { padding: 6px 6px 4px; }
  .crop figcaption { font-size: .56rem; }
  .pillar { padding: 18px 18px 20px; border-radius: 14px; }
  .pillar h3 { font-size: 1.28rem; }
  .pillar::after { font-size: 6.4rem; }
  .nodes { columns: 1; }
  .nodes a { padding: 10px 0; }
  .nodes .t { font-size: .98rem; }
  .cat-tool-txt .disp { font-size: 1.9rem; }
  .ad-band { min-height: 280px; }
  .cat-empty h2 { font-size: 2.3rem; }
  .cat-empty-txt p { font-size: .96rem; }
  .ready .t { font-size: 1.05rem; }
  .cat-more h2 { font-size: 2.1rem; }
  .sib { padding: 30px 18px 18px; }
  .sib h3 { font-size: 1.7rem; }
  .sib p { font-size: .92rem; }
  .cat-sign-in { align-items: flex-start; }
  .cat-sign img { width: 44px; height: 44px; }
  .cat-sign p { font-size: .88rem; }
}

/* Las páginas de sitio en tableta y móvil: lo que colgaba al lado pasa debajo del título;
   en los legales, el índice se pliega arriba y «the rest of the paperwork» va al final. */
@media (max-width: 1060px) {
  .pg-head-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pg-photo { width: 100%; max-width: 520px; }
  .pg-photo figcaption { position: static; margin-top: 10px; }
  .pg-seal { position: absolute; right: var(--gut); top: clamp(24px, 3vw, 44px); width: 104px; padding: 0; margin: 0; }
  .pg-head .wrap { position: relative; }
  .pg-legal .pg-intro { padding-right: 120px; }
  .pg-tuner { width: 100%; max-width: 380px; }
  .pg-legal .pg-body-in { grid-template-columns: minmax(0, 1fr); }
  .pg-aside { position: static; max-height: none; overflow: visible; }
  .pg-toc { display: none; }
  .pg-toc-m { display: block; margin-bottom: 20px; border-block: 1px solid var(--line); }
  .pg-toc-m summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; }
  .pg-toc-m summary::-webkit-details-marker { display: none; }
  .pg-toc-m summary .lbl { color: var(--ink); }
  .pg-toc-m summary .ic { width: 20px; height: 20px; color: var(--brass-ink); transition: transform .3s var(--ease); }
  .pg-toc-m[open] summary .ic { transform: rotate(45deg); }
  .pg-toc-m ol { padding-bottom: 12px; }
  .sibs.strings6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-voz .pg-body-in, .pg-persona .pg-body-in { grid-template-columns: minmax(0, 1fr); }
  .pg-side { position: static; max-width: 440px; }
  .pg-puerta .pg-seal { width: 190px; }
  .pg-puerta .pg-intro { padding-right: 200px; }
}
@media (max-width: 720px) {
  .page-site { --hang: 48px; }
  .pg-legal, .pg-puerta, .pg-s-search { --hang: 0px; }
  .pg-puerta .pg-intro { padding-right: 0; }
  .pg-puerta .pg-seal { width: 118px; }
  .pg-head h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  /* el sello, pequeño en la esquina: debajo del título se comía una fila entera */
  .pg-legal .pg-intro { padding-right: 68px; }
  .pg-seal { top: 10px; width: 60px; }
  .pg-portrait { width: 150px; }
  .pg-date { margin-top: 12px; }
  .doc ul.hechos { grid-template-columns: minmax(0, 1fr); }
  .doc ul.hechos b { font-size: 1.4rem; }
  .doc ol.pasos li { padding-left: 54px; }
  .doc ol.pasos li::before { width: 38px; height: 38px; font-size: 1rem; }
  .doc ol.pasos li:not(:last-child)::after { left: 18px; top: 44px; }
  .doc ol.pasos b { font-size: 1.02rem; }
  .doc .correazo p { font-size: 1.1rem; }
  .pg-form-row { grid-template-columns: minmax(0, 1fr); }
  .doc .tucform .ff-t-container { grid-template-columns: minmax(0, 1fr); }
  .doc .aviso { font-size: .72rem; }
  .pg-search-row { flex-direction: column; }
  /* flex:none — en columna, «flex: 1» dejaba la caja con el alto de una línea */
  .pg-search-row input { flex: none; }
  .pg-search-row input, .pg-search-row .btn { height: 52px; }
  .pg-results .t { font-size: 1.02rem; }
  .pg-strings h2, .pg-guides h2 { font-size: 2.1rem; }
  /* las seis cuerdas, de dos en dos y sin la frase: una a una medían 1.800 px */
  .sibs.strings6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .str6 { padding: 26px 14px 12px; }
  .str6 > p:not(.str6-n), .str6-n span { display: none; }
  .str6 h3 { font-size: 1.45rem; }
  .str6 li a { font-size: .88rem; padding: 7px 0; }
  .pager a, .pager .cur { min-width: 40px; height: 40px; }
}
