/* Ingelmec · Manual de Marca 2.0 — capa del manual sobre los tokens de v4-fiel.
   site.css (copiado de v4-fiel) aporta tokens, header, botones y footer.
   Aquí: retícula del manual, bloques de regla, especímenes y demos vivas.
   Reglas: esquinas rectas, filetes de 1 px, sombras azul-teñidas, solo
   transform/opacity en movimiento, todo quieto con prefers-reduced-motion. */

:root {
  --mx-gap: 56px;
  --mx-rule-col: 360px;
  --ease-reveal: cubic-bezier(.16, 1, .3, 1);
  --ease-panel: cubic-bezier(.76, 0, .24, 1);
  --elev-1: 0 1px 0 rgba(5,103,173,.05), 0 10px 22px -14px rgba(5,103,173,.28);
  --elev-2: 0 2px 4px -2px rgba(5,103,173,.10), 0 22px 40px -20px rgba(5,103,173,.36);
  --elev-3: 0 6px 14px -6px rgba(5,103,173,.18), 0 40px 70px -32px rgba(5,103,173,.48);
  --elev-ink: 0 36px 80px -36px rgba(3,38,66,.75), 0 8px 20px -10px rgba(3,38,66,.4);
  --filete-2: 0 0 0 6px var(--ix-paper), 0 0 0 7px var(--ix-border);
}

/* ---------- Header del manual ---------- */
.mx-header .header-inner { gap: 22px; }
.mx-tag { flex: none; font: 500 10px/1.2 var(--font-mono); letter-spacing: .16em; color: var(--ix-azul); border-left: 1px solid var(--ix-border); padding-left: 16px; }
.mx-header .desktop-nav { gap: 18px; }
.mx-header .nav-link { font-size: 13px; }
.mx-header .button.small { padding: 10px 18px; font-size: 13px; }
@media (max-width: 1160px) { .mx-header .header-cta { display: none; } }
@media (max-width: 1020px) {
  .mx-header .desktop-nav { display: none; }
  .mx-header .menu-toggle { display: block; }
}
@media (min-width: 1021px) { .mx-header .mobile-nav { display: none !important; } }

/* ---------- Hero de capítulo ---------- */
.mhero { max-width: var(--layout-max); margin: 0 auto; padding: 72px 40px 56px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: end; position: relative; }
.mhero-num { position: absolute; right: 40px; top: 28px; font: 900 220px/.8 var(--font-display); color: transparent; -webkit-text-stroke: 1px var(--ix-border-input); letter-spacing: -.04em; pointer-events: none; user-select: none; }
.mhero-copy { position: relative; z-index: 1; }
.mhero h1 { margin: 18px 0 18px; font: 800 58px/1.02 var(--font-display); text-transform: uppercase; letter-spacing: -.015em; color: var(--ix-tinta); }
.mhero h1 span { display: block; }
.mhero h1 .accent { color: var(--ix-azul); }
.mhero h1 .alt { color: var(--ix-title-alt); }
.mhero-lead { margin: 0; max-width: 60ch; font: 400 17px/1.65 var(--font-body); color: var(--ix-body); }
.mhero-aside { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.mhero-toc { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ix-tinta); }
.mhero-toc li { border-bottom: 1px solid var(--ix-border); }
.mhero-toc a { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: baseline; padding: 11px 2px; color: var(--ix-tinta); font: 600 14px var(--font-display); text-transform: uppercase; letter-spacing: .02em; transition: background .2s, padding .25s var(--ease-reveal); }
.mhero-toc a:hover { background: #fff; padding-left: 8px; color: var(--ix-azul); }
.mhero-toc a small { font: 400 10.5px var(--font-mono); color: var(--ix-azul); letter-spacing: .08em; }
.mhero-toc a i { font-style: normal; color: var(--ix-muted); font: 400 10px var(--font-mono); }
.heritage { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 400 10.5px/1.5 var(--font-mono); letter-spacing: .08em; color: var(--ix-body); }
.heritage b { font-weight: 500; color: var(--ix-tinta); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 14px; background: var(--ix-tinta); color: #fff; font: 500 10px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; clip-path: var(--ix-cut); }
.chip.azul { background: var(--ix-azul); }
.chip.verde { background: var(--ix-verde); color: #0d2027; }
.chip.ambar { background: var(--ix-ambar); color: #2a1f05; }
.chip.rojo { background: var(--ix-rojo); }
.chip.line { background: transparent; color: var(--ix-tinta); box-shadow: inset 0 0 0 1px var(--ix-border-input); clip-path: none; padding: 4px 10px; }

/* ---------- Secciones y bloques de regla ---------- */
.mx-section { max-width: var(--layout-max); margin: 0 auto; padding: 72px 40px; border-top: 1px solid var(--ix-border); scroll-margin-top: 80px; }
.mx-section.warm { max-width: none; background: var(--ix-surface-warm); border-bottom: 1px solid var(--ix-border); }
.mx-section.warm > .mx-inner { max-width: var(--layout-max); margin: 0 auto; }
.mx-section.ink { max-width: none; background: var(--ix-tinta); color: #fff; border-top: 0; }
.mx-section.ink > .mx-inner { max-width: var(--layout-max); margin: 0 auto; }
.mx-head { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; margin-bottom: 40px; }
.mx-code { width: 64px; height: 56px; display: grid; place-items: center; clip-path: var(--ix-hex); background: var(--ix-azul); color: #fff; font: 800 15px var(--font-display); letter-spacing: .02em; }
.mx-head h2 { margin: 2px 0 10px; font: 800 36px/1.06 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; }
.mx-head h2 .accent { color: var(--ix-azul); }
.mx-head h2 .alt { color: var(--ix-title-alt); }
.mx-head p { margin: 0; max-width: 70ch; font: 400 15.5px/1.7 var(--font-body); color: var(--ix-body); }
.ink .mx-head p, .ink .rule p, .ink .rule li { color: #a9bcc2; }
.ink .mx-head h2 .accent { color: #6fb6e8; }

.rule { display: grid; grid-template-columns: var(--mx-rule-col) 1fr; gap: var(--mx-gap); padding: 36px 0; border-top: 1px solid var(--ix-border); align-items: start; }
.ink .rule { border-top-color: rgba(255,255,255,.12); }
.rule:first-of-type { border-top: 0; padding-top: 0; }
.rule-text h3 { margin: 6px 0 12px; font: 700 21px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .005em; }
.rule-text p { margin: 0 0 12px; font: 400 14.5px/1.7 var(--font-body); color: var(--ix-body); }
.rule-text ul { margin: 0 0 12px; padding: 0; list-style: none; }
.rule-text li { position: relative; padding: 7px 0 7px 20px; border-bottom: 1px solid var(--ix-hairline); font: 400 14px/1.55 var(--font-body); color: var(--ix-body); }
.ink .rule-text li { border-bottom-color: rgba(255,255,255,.08); }
.rule-text li::before { content: ''; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; background: var(--ix-azul); clip-path: var(--ix-hex); }
.rule-text li.no::before { background: var(--ix-rojo); }
.rule-text li.ok::before { background: var(--ix-verde); }
.rule-id { font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .16em; color: var(--ix-azul); text-transform: uppercase; }
.ink .rule-id { color: #6fb6e8; }
.rule-id .new { color: var(--ix-verde-ink); }
.ink .rule-id .new { color: var(--ix-verde); }
.rule-demo { min-width: 0; }
.spec { background: #fff; border: 1px solid var(--ix-border); box-shadow: var(--elev-1); position: relative; }
.spec-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--ix-border); font: 400 10px/1.3 var(--font-mono); letter-spacing: .14em; color: var(--ix-muted); text-transform: uppercase; }
.spec-bar b { color: var(--ix-azul); font-weight: 500; }
.spec-body { padding: 28px; }
.spec.ink-spec { background: var(--ix-tinta-deep); border-color: var(--ix-tinta-deep); color: #fff; }
.spec.ink-spec .spec-bar { border-bottom-color: rgba(255,255,255,.1); color: #8fa4ab; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.ctl { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 9px 16px; background: transparent; border: 1px solid var(--ix-border-input); color: var(--ix-tinta); font: 600 13px var(--font-body); cursor: pointer; transition: border-color .2s, color .2s, background .2s, transform .2s; }
.ctl:hover { border-color: var(--ix-azul); color: var(--ix-azul); }
.ctl[aria-pressed="true"], .ctl.is-on { background: var(--ix-tinta); border-color: var(--ix-tinta); color: #fff; }
.ctl.primary { background: var(--ix-azul); border-color: var(--ix-azul); color: #fff; box-shadow: var(--shadow-cta); }
.ctl.primary:hover { background: var(--ix-azul-hover); color: #fff; }
.ctl:disabled { opacity: .45; cursor: not-allowed; }
.ctl-label { font: 400 10.5px var(--font-mono); letter-spacing: .12em; color: var(--ix-muted); text-transform: uppercase; }
.ink .ctl { color: #fff; border-color: rgba(255,255,255,.25); }
.ink .ctl:hover { border-color: #6fb6e8; color: #6fb6e8; }
input[type="range"] { accent-color: var(--ix-azul); }
.rm-note { display: none; margin: 10px 0 0; font: 400 11px/1.5 var(--font-mono); color: var(--ix-ambar-ink); letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) { .rm-note { display: block; } }
.dos-donts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.verdict { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 500 10.5px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.verdict::before { content: ''; width: 10px; height: 10px; clip-path: var(--ix-hex); background: var(--ix-verde); }
.verdict.no { color: var(--ix-rojo); }
.verdict.no::before { background: var(--ix-rojo); }
.verdict.ok { color: var(--ix-verde-ink); }
.caption { margin: 10px 0 0; font: 400 11px/1.55 var(--font-mono); color: var(--ix-muted); letter-spacing: .03em; }
.ink .caption { color: #8fa4ab; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font: 400 12px/1.5 var(--font-mono); }
.kv dt { color: var(--ix-muted); letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; padding-top: 1px; }
.kv dd { margin: 0; color: var(--ix-tinta); }
.ink .kv dd { color: #fff; }
.tbl { width: 100%; border-collapse: collapse; font: 400 13px/1.5 var(--font-body); }
.tbl th { text-align: left; font: 500 10px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ix-muted); padding: 10px 12px; border-bottom: 1px solid var(--ix-tinta); }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--ix-border); color: var(--ix-body); vertical-align: top; }
.tbl td:first-child { color: var(--ix-tinta); font-weight: 600; }
.tbl code, code { font: 400 12px var(--font-mono); color: var(--ix-azul); background: var(--ix-azul-tint); padding: 1px 5px; }
.ink code { background: rgba(111,182,232,.12); color: #8fcaf2; }
.tbl-wrap { overflow-x: auto; }

/* ---------- Índice (portada) ---------- */
.cover { max-width: var(--layout-max); margin: 0 auto; padding: 56px 40px 40px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; min-height: 600px; }
.cover h1 { margin: 20px 0 22px; font: 800 74px/.98 var(--font-display); text-transform: uppercase; letter-spacing: -.02em; }
.cover h1 span { display: block; }
.cover h1 .accent { color: var(--ix-azul); }
.cover h1 .alt { color: var(--ix-title-alt); }
.cover-lead { margin: 0 0 30px; max-width: 56ch; font: 400 17px/1.65 var(--font-body); color: var(--ix-body); }
.cover-stage { position: relative; aspect-ratio: 1 / 1; max-width: 520px; justify-self: end; width: 100%; }
.cover-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-hex { position: absolute; inset: 13%; clip-path: var(--ix-hex); background: #0d1e26; box-shadow: var(--elev-3); overflow: hidden; }
.cover-hex img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-meta { position: absolute; left: 0; right: 0; bottom: -6px; display: flex; justify-content: space-between; font: 400 10px var(--font-mono); letter-spacing: .14em; color: var(--ix-muted); }
.cover-node { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--ix-ambar); right: 21%; top: 13%; box-shadow: 0 0 0 5px rgba(250,175,44,.2); }
.chapter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ix-tinta); border-left: 1px solid var(--ix-border); }
.chapter-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 26px 24px 22px; border-right: 1px solid var(--ix-border); border-bottom: 1px solid var(--ix-border); background: transparent; color: var(--ix-tinta); overflow: hidden; transition: background .25s, transform .25s var(--ease-out), box-shadow .25s; }
.chapter-card:hover { background: #fff; color: var(--ix-tinta); box-shadow: var(--elev-2); transform: translateY(-4px); z-index: 1; }
.chapter-card .n { font: 900 46px/1 var(--font-display); color: var(--ch, var(--ix-azul)); }
.chapter-card h3 { margin: 0; font: 800 19px/1.15 var(--font-display); text-transform: uppercase; }
.chapter-card p { margin: 0; font: 400 13.5px/1.6 var(--font-body); color: var(--ix-body); }
.chapter-card .go { margin-top: auto; font: 500 10.5px var(--font-mono); letter-spacing: .14em; color: var(--ix-azul); text-transform: uppercase; transition: transform .3s var(--ease-reveal); }
.chapter-card:hover .go { transform: translateX(6px); }
.chapter-card::after { content: ''; position: absolute; right: -38px; bottom: -38px; width: 96px; height: 84px; clip-path: var(--ix-hex); background: var(--ch, var(--ix-azul)); opacity: .08; transition: opacity .25s, transform .4s var(--ease-reveal); }
.chapter-card:hover::after { opacity: .18; transform: rotate(30deg); }
.chapter-card.live { --ch: var(--ix-verde); }
.chapter-card .badge-new { position: absolute; right: 18px; top: 22px; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flow-step { background: #fff; border: 1px solid var(--ix-border); padding: 26px; position: relative; }
.flow-step .n { font: 500 11px var(--font-mono); letter-spacing: .16em; color: var(--ix-azul); }
.flow-step h3 { margin: 10px 0 8px; font: 800 18px var(--font-display); text-transform: uppercase; }
.flow-step p { margin: 0; font: 400 14px/1.65 var(--font-body); color: var(--ix-body); }
.flow-step + .flow-step::before { content: ''; position: absolute; left: -20px; top: 50%; width: 20px; border-top: 1.5px dotted var(--ix-azul); }

/* ---------- Identidad ---------- */
.voice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.voice-card { background: #fff; border: 1px solid var(--ix-border); padding: 24px; }
.voice-card .say { margin: 8px 0 0; font: 800 26px/1.1 var(--font-display); text-transform: uppercase; }
.voice-card .say .accent { color: var(--ix-azul); }
.voice-card p { margin: 10px 0 0; font: 400 13.5px/1.6 var(--font-body); color: var(--ix-body); }
.vs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ix-border); background: #fff; }
.vs > div { padding: 20px 22px; }
.vs > div + div { border-left: 1px solid var(--ix-border); }
.vs p { margin: 8px 0 0; font: 400 15px/1.55 var(--font-body); color: var(--ix-tinta); }
.vs .no p { color: var(--ix-muted); text-decoration: line-through; text-decoration-color: rgba(227,40,86,.5); }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ix-tinta); }
.proof { padding: 24px 20px 20px 0; border-right: 1px solid var(--ix-border); }
.proof + .proof { padding-left: 22px; }
.proof:last-child { border-right: 0; }
.proof strong { display: block; font: 900 50px/1 var(--font-display); color: var(--ix-tinta); letter-spacing: -.01em; }
.proof strong span { font-size: 20px; color: var(--ix-azul); margin-left: 4px; }
.proof small { display: block; margin-top: 10px; font: 400 11px/1.5 var(--font-mono); letter-spacing: .08em; color: var(--ix-body); text-transform: uppercase; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pillar { position: relative; padding: 34px 30px; min-height: 340px; display: flex; flex-direction: column; gap: 14px; color: #fff; overflow: hidden; }
.pillar:nth-child(1) { background: var(--ix-azul); }
.pillar:nth-child(2) { background: var(--ix-tinta); }
.pillar:nth-child(3) { background: var(--ix-verde); color: #0d2027; }
.pillar .n { font: 500 11px var(--font-mono); letter-spacing: .16em; opacity: .8; }
.pillar h3 { margin: 0; font: 900 34px/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.pillar p { margin: 0; font: 400 14px/1.65 var(--font-body); opacity: .92; }
.pillar .keys { margin-top: auto; font: 400 10.5px/1.6 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.pillar::after { content: ''; position: absolute; right: -50px; top: -50px; width: 150px; height: 130px; clip-path: var(--ix-hex); background: currentColor; opacity: .08; }
.motion-ok .pillar::after { animation: ixHexSpin 120s linear infinite; }
.lexicon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ix-tinta); }
.lexicon div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--ix-border); font: 400 14px/1.5 var(--font-body); color: var(--ix-body); }
.lexicon b { display: block; font: 700 14px var(--font-display); color: var(--ix-tinta); text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Color ---------- */
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.swatch { background: #fff; border: 1px solid var(--ix-border); display: flex; flex-direction: column; transition: transform .25s var(--ease-out), box-shadow .25s; }
.swatch:hover { transform: translateY(-4px); box-shadow: var(--elev-2); }
.swatch-chip { height: 150px; position: relative; display: flex; align-items: flex-end; justify-content: space-between; padding: 14px 16px; font: 500 10.5px var(--font-mono); letter-spacing: .1em; }
.swatch-chip .ratio { padding: 3px 7px; background: rgba(255,255,255,.92); color: var(--ix-tinta); }
.swatch-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.swatch-body h3 { margin: 0; font: 800 18px var(--font-display); text-transform: uppercase; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.swatch-body h3 small { font: 400 10px var(--font-mono); letter-spacing: .12em; color: var(--ix-muted); }
.swatch-body p { margin: 0; font: 400 13px/1.55 var(--font-body); color: var(--ix-body); }
.copy-hex { align-self: flex-start; padding: 6px 10px; border: 1px solid var(--ix-border-input); background: transparent; font: 500 12px var(--font-mono); color: var(--ix-tinta); cursor: pointer; transition: border-color .2s, color .2s; }
.copy-hex:hover { border-color: var(--ix-azul); color: var(--ix-azul); }
.copy-hex.done { border-color: var(--ix-verde); color: var(--ix-verde-ink); }
.neutral-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--ix-border); }
.neutral-row > div { padding: 64px 12px 12px; font: 400 10.5px/1.45 var(--font-mono); color: var(--ix-body); border-right: 1px solid var(--ix-border); }
.neutral-row > div:last-child { border-right: 0; }
.neutral-row b { display: block; color: var(--ix-tinta); font-weight: 500; }
.proportion { display: flex; height: 64px; border: 1px solid var(--ix-border); overflow: hidden; }
.proportion > span { position: relative; display: flex; align-items: flex-end; padding: 6px 8px; font: 500 10px var(--font-mono); letter-spacing: .06em; transform-origin: left center; }
.motion-ok .proportion.is-in > span { animation: ixGrow 1.1s var(--ease-reveal) both; }
.motion-ok .proportion.is-in > span:nth-child(2) { animation-delay: .08s; }
.motion-ok .proportion.is-in > span:nth-child(3) { animation-delay: .16s; }
.motion-ok .proportion.is-in > span:nth-child(4) { animation-delay: .24s; }
.motion-ok .proportion.is-in > span:nth-child(5) { animation-delay: .32s; }
.motion-ok .proportion.is-in > span:nth-child(6) { animation-delay: .40s; }
@keyframes ixGrow { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
.contrast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.contrast-cell { padding: 16px 14px; min-height: 110px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--ix-border); }
.contrast-cell b { font: 800 22px var(--font-display); text-transform: uppercase; }
.contrast-cell span { font: 500 10.5px var(--font-mono); letter-spacing: .06em; }
.semantic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.semantic > div { border: 1px solid var(--ix-border); background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.semantic .badge { align-self: flex-start; padding: 4px 10px; font: 600 10.5px var(--font-mono); letter-spacing: .1em; color: #fff; }
.semantic p { margin: 0; font: 400 13px/1.55 var(--font-body); color: var(--ix-body); }

/* ---------- Tipografía ---------- */
.type-spec { display: grid; grid-template-columns: 1.3fr .7fr; gap: 0; border: 1px solid var(--ix-border); background: #fff; }
.type-spec + .type-spec { margin-top: 16px; }
.type-spec .big { padding: 30px 30px 26px; border-right: 1px solid var(--ix-border); min-width: 0; }
.type-spec .aa { font-size: 132px; line-height: .9; color: var(--ix-tinta); }
.type-spec .aa .accent { color: var(--ix-azul); }
.type-spec .glyphs { margin-top: 18px; font-size: 21px; line-height: 1.45; color: var(--ix-body); word-break: break-word; }
.type-spec .side { padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.type-spec .side h3 { margin: 0; font: 800 20px var(--font-display); text-transform: uppercase; }
.weights { display: flex; flex-direction: column; gap: 4px; }
.weights span { font-size: 19px; color: var(--ix-tinta); }
.f-display { font-family: var(--font-display); }
.f-body { font-family: var(--font-body); }
.f-mono { font-family: var(--font-mono); }
.editable { outline: none; border-bottom: 1px dashed transparent; transition: border-color .2s; }
.editable:hover, .editable:focus { border-bottom-color: var(--ix-azul); }
.scale-row { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--ix-border); }
.scale-row .meta { font: 400 10.5px/1.55 var(--font-mono); color: var(--ix-muted); letter-spacing: .06em; }
.scale-row .meta b { display: block; color: var(--ix-azul); font-weight: 500; letter-spacing: .12em; }
.scale-row .sample { min-width: 0; overflow-wrap: anywhere; }
.bicolor-stage { padding: 34px 30px; min-height: 230px; display: flex; flex-direction: column; justify-content: center; }
.bicolor-title { margin: 0; font: 800 50px/1.04 var(--font-display); text-transform: uppercase; letter-spacing: -.012em; color: var(--ix-tinta); }
.bicolor-title span { display: block; transition: color .45s var(--ease-out); }
.bicolor-title[data-mode="accent"] .k { color: var(--ix-azul); }
.bicolor-title[data-mode="alt"] .k { color: var(--ix-title-alt); }
.bicolor-title[data-mode="green"] .k { color: var(--ix-verde); }
.bicolor-title[data-mode="bad"] span:nth-child(1) { color: var(--ix-rojo); }
.bicolor-title[data-mode="bad"] span:nth-child(2) { color: var(--ix-ambar); }
.bicolor-title[data-mode="bad"] span:nth-child(3) { color: var(--ix-verde); }

/* ---------- Forma: imagotipo, hexágono, filetes, sombras ---------- */
.logo-stage { display: grid; place-items: center; min-height: 240px; padding: 40px; position: relative; background: var(--ix-paper); }
.logo-stage img { display: block; height: auto; }
.respect { position: relative; display: inline-block; padding: var(--x); outline: 1px dashed rgba(227,40,86,.7); background: repeating-linear-gradient(135deg, rgba(227,40,86,.07) 0 6px, transparent 6px 12px); }
.respect img { position: relative; background: var(--ix-paper); }
.respect-cota { position: absolute; left: 0; top: 0; width: var(--x); height: var(--x); display: grid; place-items: center; font: 500 10px var(--font-mono); color: var(--ix-rojo); border-right: 1px solid var(--ix-rojo); border-bottom: 1px solid var(--ix-rojo); }
.size-ruler { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.size-ruler output { font: 500 12px var(--font-mono); color: var(--ix-azul); min-width: 210px; }
.size-ruler .warn { color: var(--ix-rojo); }
.iso-crop { display: inline-block; overflow: hidden; height: var(--h, 96px); width: calc(var(--h, 96px) * 299 / 299); }
.iso-crop img { height: 100%; width: auto; max-width: none; display: block; }
.bg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bg-tile { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; border: 1px solid var(--ix-border); position: relative; overflow: hidden; }
.bg-tile img { width: 72%; max-width: 220px; height: auto; position: relative; z-index: 1; align-self: center; margin: auto 0; }
.bg-tile .k { position: relative; z-index: 1; font: 500 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.bg-tile.photo .duo { position: absolute; inset: 0; }
.bg-tile.photo .plate { position: relative; z-index: 1; align-self: center; margin: auto 0; background: var(--ix-azul); padding: 14px 18px; width: 78%; display: grid; place-items: center; }
.bg-tile.photo .plate img { width: 100%; margin: 0; }
.logo-white { filter: brightness(0) invert(1); }
.logo-black { filter: brightness(0); }
.logo-gray { filter: brightness(0) invert(.43); }
.misuse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.misuse { border: 1px solid var(--ix-border); background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.misuse .stage { height: 96px; display: grid; place-items: center; background: var(--ix-paper); position: relative; overflow: hidden; }
.misuse .stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(227,40,86,.55) 50%, transparent calc(50% + 1px)); }
.misuse .stage img { width: 70%; height: auto; }
.misuse p { margin: 0; font: 400 12.5px/1.45 var(--font-body); color: var(--ix-body); }
.hex-construct { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.hex-construct svg { width: 100%; height: auto; display: block; }
.hex-construct .guide { stroke: var(--ix-border-input); stroke-width: 1; stroke-dasharray: 4 4; fill: none; }
.hex-construct .shape { fill: var(--ix-azul-tint); stroke: var(--ix-azul); stroke-width: 2; }
.hex-construct .v { fill: var(--ix-azul); }
.hex-construct .node { fill: var(--ix-ambar); }
.hex-construct text { font: 500 11px var(--font-mono); fill: var(--ix-body); }
.motion-ok .hex-construct.is-in .shape { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ixDraw 1.4s var(--ease-reveal) .2s forwards; }
@keyframes ixDraw { to { stroke-dashoffset: 0; } }
.hex-uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hex-use { background: #fff; border: 1px solid var(--ix-border); padding: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 190px; position: relative; overflow: hidden; }
.hex-use p { margin: auto 0 0; font: 400 12.5px/1.5 var(--font-body); color: var(--ix-body); }
.hex-use .hex-photo { width: 120px; height: 104px; clip-path: var(--ix-hex); overflow: hidden; background: #0d1e26; }
.hex-use .hex-photo img { width: 100%; height: 100%; object-fit: cover; }
.hex-use .outline { position: absolute; right: -24px; top: -24px; width: 110px; height: 110px; }
.motion-ok .hex-use .outline { animation: ixHexSpin 90s linear infinite; }
.hex-sizes { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.hex-sizes figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font: 400 10px var(--font-mono); color: var(--ix-muted); letter-spacing: .08em; }
.hexagon { clip-path: var(--ix-hex); background: var(--ix-azul); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; }
.rules-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rules-demo > div { background: #fff; padding: 22px; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.rules-demo b { font: 500 10.5px var(--font-mono); letter-spacing: .12em; color: var(--ix-azul); text-transform: uppercase; }
.rules-demo span { font: 400 12.5px/1.5 var(--font-body); color: var(--ix-body); }
.cropmarks { position: relative; }
.cropmarks > i { position: absolute; z-index: 2; width: 14px; height: 14px; border-color: var(--ix-azul); border-style: solid; border-width: 0; }
.cropmarks > i:nth-of-type(1) { left: -8px; top: -8px; border-left-width: 1px; border-top-width: 1px; }
.cropmarks > i:nth-of-type(2) { right: -8px; top: -8px; border-right-width: 1px; border-top-width: 1px; }
.cropmarks > i:nth-of-type(3) { left: -8px; bottom: -8px; border-left-width: 1px; border-bottom-width: 1px; }
.cropmarks > i:nth-of-type(4) { right: -8px; bottom: -8px; border-right-width: 1px; border-bottom-width: 1px; }
.shadow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 26px 6px 10px; }
.shadow-card { background: #fff; border: 1px solid var(--ix-border); min-height: 130px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s var(--ease-out), box-shadow .25s; }
.shadow-card:hover { transform: translateY(-4px); }
.shadow-card b { font: 800 16px var(--font-display); text-transform: uppercase; }
.shadow-card span { font: 400 10px/1.5 var(--font-mono); color: var(--ix-muted); }
.shadow-card.ink-card { background: var(--ix-tinta); color: #fff; border-color: var(--ix-tinta); }
.corner-demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.corner-demo > div { min-height: 110px; display: grid; place-items: center; font: 500 11px var(--font-mono); letter-spacing: .1em; }
.portal-frame { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(90deg, rgba(5,103,173,.05) 1px, transparent 1px) 0 0 / 60px 60px, linear-gradient(rgba(5,103,173,.05) 1px, transparent 1px) 0 0 / 60px 60px, var(--ix-paper); overflow: hidden; border: 1px solid var(--ix-border); }
.portal-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.portal-frame .lockup { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; pointer-events: none; }
.portal-frame .lockup strong { font: 800 clamp(30px, 5vw, 64px)/1 var(--font-display); letter-spacing: .06em; color: var(--ix-tinta); }
.portal-frame .lockup strong span { color: var(--ix-azul); }
.portal-frame .lockup small { font: 500 10px var(--font-mono); letter-spacing: .16em; color: var(--ix-body); background: rgba(248,247,243,.85); padding: 3px 8px; }

/* ---------- Fotografía ---------- */
.duo { display: block; width: 100%; height: 100%; background: #0d1e26; overflow: hidden; position: relative; }
.duo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.duo-map { height: 46px; background: linear-gradient(90deg, #0d1e26 0%, #06528c 42%, #0567AD 62%, #7fb2d8 82%, #f4f5f1 100%); position: relative; border: 1px solid var(--ix-border); }
.duo-stops { position: relative; height: 54px; font: 400 10px/1.35 var(--font-mono); color: var(--ix-body); }
.duo-stops span { position: absolute; top: 8px; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.duo-stops span::before { content: ''; position: absolute; left: 50%; top: -8px; height: 6px; border-left: 1px solid var(--ix-tinta); }
.duo-stops span:first-child { transform: none; text-align: left; }
.duo-stops span:first-child::before { left: 0; }
.duo-stops span:last-child { transform: translateX(-100%); text-align: right; }
.duo-stops span:last-child::before { left: auto; right: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-grid .wide { grid-column: span 2; grid-row: span 2; }
.dt { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #0d1e26; cursor: pointer; border: 0; padding: 0; display: block; width: 100%; text-align: left; }
.photo-grid .wide.dt { aspect-ratio: auto; min-height: 100%; }
.dt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease-out), transform 1.2s var(--ease-reveal); }
.dt .orig { opacity: 0; }
.dt:hover .orig, .dt:focus-visible .orig, .dt[aria-pressed="true"] .orig { opacity: 1; }
.dt:hover img { transform: scale(1.03); }
.dt .lbl { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: flex; gap: 6px; font: 500 9.5px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.dt .lbl span { background: rgba(13,30,38,.82); color: #fff; padding: 4px 7px; }
.dt .lbl .state::after { content: 'DUOTONO'; }
.dt:hover .lbl .state::after, .dt:focus-visible .lbl .state::after, .dt[aria-pressed="true"] .lbl .state::after { content: 'ORIGINAL'; color: var(--ix-ambar); }
.dt .ilus { position: absolute; right: 10px; top: 10px; z-index: 2; background: rgba(248,247,243,.9); color: var(--ix-tinta); font: 500 9px var(--font-mono); letter-spacing: .12em; padding: 3px 6px; }
.compare { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d1e26; --pos: 50%; user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(5,103,173,.6); pointer-events: none; }
.compare .handle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 34px; height: 30px; margin: -15px 0 0 -17px; clip-path: var(--ix-hex); background: var(--ix-azul); }
.compare .tag { position: absolute; top: 12px; z-index: 2; font: 500 10px var(--font-mono); letter-spacing: .14em; background: rgba(13,30,38,.82); color: #fff; padding: 4px 8px; }
.compare .tag.l { left: 12px; } .compare .tag.r { right: 12px; background: var(--ix-azul); }
.compare input { position: absolute; inset: auto 0 0 0; width: 100%; opacity: 0; height: 100%; cursor: ew-resize; margin: 0; }
.compare:focus-within .handle { box-shadow: 0 0 0 3px var(--ix-ambar); }
.kb-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kb-pair figure { margin: 0; }
.kb-pair .duo { aspect-ratio: 3 / 2; height: auto; }
.motion-ok .duo.kb img { animation: ixKenA 11s ease-in-out infinite alternate; animation-play-state: paused; transform-origin: 50% 50%; }
.motion-ok .duo.kb--b img { animation-name: ixKenB; animation-duration: 9.5s; }
.motion-ok .duo.kb.is-live img { animation-play-state: running; }
.kb-pair.fast .duo.kb img { animation-duration: 3s !important; }
@keyframes ixKenA { from { transform: scale(1.05) translate3d(-1.4%, .8%, 0); } to { transform: scale(1.15) translate3d(1.6%, -1.2%, 0); } }
@keyframes ixKenB { from { transform: scale(1.15) translate3d(1.4%, 1.1%, 0); } to { transform: scale(1.05) translate3d(-1.2%, -.9%, 0); } }
.rhythm { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.rhythm figure { margin: 0; position: relative; aspect-ratio: 4 / 3; }
.rhythm figcaption { position: absolute; left: 6px; bottom: 6px; z-index: 2; font: 500 8.5px var(--font-mono); letter-spacing: .1em; padding: 3px 5px; background: rgba(248,247,243,.92); color: var(--ix-tinta); }
.rhythm figure.live figcaption { background: var(--ix-verde); color: #0d2027; }
.rhythm-meter { display: flex; align-items: center; gap: 14px; margin-top: 14px; font: 500 12px var(--font-mono); }
.rhythm-meter .bar { flex: 1; height: 8px; background: var(--ix-border); position: relative; }
.rhythm-meter .bar i { position: absolute; inset: 0 auto 0 0; background: var(--ix-verde); width: var(--live, 47%); transition: width .5s var(--ease-out); }
.rhythm-meter .bar::before, .rhythm-meter .bar::after { content: ''; position: absolute; top: -5px; bottom: -5px; border-left: 1px dashed var(--ix-tinta); }
.rhythm-meter .bar::before { left: 40%; } .rhythm-meter .bar::after { left: 50%; }

/* ---------- Motion ---------- */
.timeline { position: relative; border: 1px solid var(--ix-border); background: #fff; padding: 22px 22px 14px; }
.tl-row { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: center; height: 26px; font: 400 10.5px var(--font-mono); color: var(--ix-body); letter-spacing: .04em; }
.tl-track { position: relative; height: 10px; background: var(--ix-hairline); }
.tl-track i { position: absolute; top: 0; bottom: 0; left: calc(var(--s) / 2.5 * 100%); width: calc(var(--d) / 2.5 * 100%); background: var(--c, var(--ix-azul)); }
.tl-axis { display: grid; grid-template-columns: 170px 1fr; gap: 14px; margin-top: 8px; font: 400 9.5px var(--font-mono); color: var(--ix-muted); }
.tl-axis div { display: flex; justify-content: space-between; }
.tl-head { position: absolute; top: 14px; bottom: 30px; left: calc(22px + 170px + 14px); width: 1px; background: var(--ix-rojo); opacity: 0; pointer-events: none; }
.timeline.playing .tl-head { opacity: 1; animation: tlHead 2.5s linear forwards; }
@keyframes tlHead { from { transform: translateX(0); } to { transform: translateX(var(--tlw, 600px)); } }
.video-frame { position: relative; background: var(--ix-paper); border: 1px solid var(--ix-border); overflow: hidden; }
.video-frame video, .video-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.video-frame .filete { position: absolute; inset: 12px; border: 1px solid rgba(5,103,173,.45); pointer-events: none; }
.video-meta { position: absolute; left: 22px; bottom: 18px; display: flex; gap: 10px; font: 500 10px var(--font-mono); letter-spacing: .14em; }
.video-meta span { background: rgba(248,247,243,.92); color: var(--ix-tinta); padding: 4px 8px; }
.explode-stage { height: 420px; perspective: 1400px; perspective-origin: 50% 20%; display: grid; place-items: center; background: linear-gradient(90deg, rgba(5,103,173,.05) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(rgba(5,103,173,.05) 1px, transparent 1px) 0 0 / 40px 40px, var(--ix-paper); border: 1px solid var(--ix-border); overflow: hidden; --e: 1; }
.explode-stack { position: relative; width: 300px; height: 190px; transform-style: preserve-3d; transform: rotateX(calc(56deg * var(--e))) rotateZ(calc(-32deg * var(--e))); }
.explode-layer { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px; background: #fff; border: 1px solid var(--ix-border); box-shadow: var(--elev-2); transform: translateZ(calc(var(--z) * var(--e) * 1px)); }
.explode-layer b { font: 800 15px var(--font-display); text-transform: uppercase; }
.explode-layer small { font: 400 10px var(--font-mono); letter-spacing: .1em; color: var(--ix-muted); }
.explode-layer.l1 { background: var(--ix-tinta); color: #fff; border-color: var(--ix-tinta); }
.explode-layer.l1 small { color: #8fa4ab; }
.explode-layer.l2 { background: var(--ix-azul); color: #fff; border-color: var(--ix-azul); }
.explode-layer.l2 small { color: #cfe3f2; }
.explode-layer.l3 { background: #fff; }
.explode-layer.l4 { background: var(--ix-verde); color: #0d2027; border-color: var(--ix-verde); }
.explode-layer.l4 small { color: #0d3b30; }
.explode-layer .num { position: absolute; right: 12px; top: 10px; width: 30px; height: 26px; clip-path: var(--ix-hex); display: grid; place-items: center; background: var(--ix-ambar); color: #2a1f05; font: 800 11px var(--font-display); }
.cube-scene { height: 330px; perspective: 1100px; display: grid; place-items: center; background: var(--ix-paper); border: 1px solid var(--ix-border); overflow: hidden; }
.cube { position: relative; width: 300px; height: 220px; transform-style: preserve-3d; transform: translateZ(-150px) rotateY(calc(var(--face, 0) * -90deg)); transition: transform 1s cubic-bezier(.2, .9, .25, 1); }
.cube-face { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--ix-border); box-shadow: var(--elev-2); backface-visibility: hidden; }
.cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(150px); }
.cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(150px); }
.cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(150px); }
.cube-face:nth-child(4) { transform: rotateY(270deg) translateZ(150px); }
.cube-face .hexagon { width: 44px; height: 38px; font-size: 13px; }
.cube-face h4 { margin: 4px 0 0; font: 800 22px/1.1 var(--font-display); text-transform: uppercase; }
.cube-face p { margin: 0; font: 400 13px/1.55 var(--font-body); color: var(--ix-body); }
.ease-lab { display: flex; flex-direction: column; gap: 10px; }
.ease-row { display: grid; grid-template-columns: 220px 1fr; gap: 14px; align-items: center; }
.ease-row .lane { position: relative; height: 34px; background: var(--ix-hairline); border: 1px solid var(--ix-border); }
.ease-row .dot { position: absolute; left: 4px; top: 4px; width: 30px; height: 26px; clip-path: var(--ix-hex); background: var(--ix-azul); transition: transform var(--dur, 1s) var(--ease); }
.ease-lab.go .dot { transform: translateX(calc(var(--lane, 400px) - 38px)); }
.ease-row .meta { font: 400 10.5px/1.4 var(--font-mono); color: var(--ix-body); }
.ease-row .meta b { display: block; color: var(--ix-tinta); font-weight: 500; }
.reveal-demo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; min-height: 140px; }
.reveal-demo > div { background: #fff; border: 1px solid var(--ix-border); padding: 16px; font: 600 13px var(--font-display); text-transform: uppercase; display: flex; flex-direction: column; justify-content: space-between; min-height: 120px; }
.reveal-demo > div small { font: 400 10px var(--font-mono); color: var(--ix-muted); text-transform: none; }
.reveal-demo.armed > div { opacity: 0; translate: 0 28px; }
.reveal-demo.run > div { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease-reveal) var(--rd), translate 1s var(--ease-reveal) var(--rd); }

/* ---------- Web: componentes ---------- */
.mini-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: 40px; position: relative; overflow: hidden; background: var(--ix-paper); }
.mini-hero h3 { margin: 12px 0 14px; font: 800 40px/1.04 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; }
.mini-hero h3 span { display: block; }
.mini-hero h3 .accent { color: var(--ix-azul); }
.mini-hero p { margin: 0 0 20px; font: 400 14.5px/1.65 var(--font-body); color: var(--ix-body); max-width: 46ch; }
.mini-hero .frame { position: relative; }
.mini-hero .frame .duo { aspect-ratio: 3 / 2; height: auto; box-shadow: var(--filete-2), var(--elev-3); }
.mini-hero .seal { position: absolute; left: -26px; bottom: -22px; width: 96px; height: 96px; border-radius: 50%; background: var(--ix-tinta); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: var(--elev-ink); }
.mini-hero .seal strong { display: block; font: 800 26px/1 var(--font-display); }
.mini-hero .seal small { display: block; font: 600 8px var(--font-mono); letter-spacing: .14em; }
.mini-hero .seal::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed var(--ix-azul); }
.motion-ok .mini-hero .seal::before { animation: ixHexSpin 30s linear infinite; }
.mini-hero .hexmark { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; opacity: .5; pointer-events: none; }
.motion-ok .mini-hero .hexmark { animation: ixHexSpin 120s linear infinite; }
@keyframes ixHexSpin { to { rotate: 360deg; } }
.stats-line { display: flex; flex-wrap: wrap; gap: 8px 0; font: 400 13px var(--font-body); color: var(--ix-body); }
.stats-line > span { padding: 0 18px; border-right: 1px solid var(--ix-border); }
.stats-line > span:first-child { padding-left: 0; }
.stats-line > span:last-child { border-right: 0; }
.stats-line strong { color: var(--ix-tinta); font-size: 15px; font-family: var(--font-display); }

.sc { position: relative; border: 1px solid var(--ix-border); background: var(--ix-paper); overflow: hidden; }
.sc-track { position: relative; height: 430px; perspective: 1600px; }
.sc-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: 36px 40px 60px; opacity: 0; visibility: hidden; transform: translate3d(36px, 0, -80px) rotateY(-4deg) scale(.992); transition: opacity .7s var(--ease-out), transform .9s var(--ease-reveal), visibility 0s .9s; }
.sc-slide[data-active="true"] { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease-out), transform .9s var(--ease-reveal), visibility 0s; }
.sc-slide .kick { font: 500 10.5px var(--font-mono); letter-spacing: .18em; color: var(--ix-azul); text-transform: uppercase; }
.sc-slide h3 { margin: 10px 0 12px; font: 800 38px/1.03 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; }
.sc-slide h3 span { display: block; }
.sc-slide h3 .accent { color: var(--ix-azul); }
.sc-slide p { margin: 0 0 16px; font: 400 14px/1.6 var(--font-body); color: var(--ix-body); max-width: 44ch; }
.sc-video { position: absolute; inset: 0; z-index: 0; }
.sc-video video, .sc-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.sc-video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ix-paper) 0%, var(--ix-paper) 34%, rgba(248,247,243,.6) 52%, rgba(248,247,243,0) 70%); }
.sc-slide--video > div { position: relative; z-index: 1; }
.sc-slide .big-tr { font: 900 96px/.9 var(--font-display); color: var(--ix-verde); letter-spacing: -.02em; }
.sc-slide .big-tr span { font-size: 32px; color: var(--ix-tinta); margin-left: 6px; }
.sc-slide .duo { aspect-ratio: 3 / 2; height: auto; box-shadow: var(--filete-2), var(--elev-3); }
.sc-sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; perspective: 1100px; }
.sc-sol { background: #fff; border: 1px solid var(--ix-border); padding: 16px; min-height: 120px; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--c); }
.sc-sol b { font: 800 15px/1.15 var(--font-display); text-transform: uppercase; }
.sc-sol small { font: 400 10px var(--font-mono); letter-spacing: .08em; color: var(--ix-muted); }
.sc-slide[data-active="true"] .sc-sol { animation: showcaseCuboid .9s cubic-bezier(.2, .9, .25, 1) backwards; transform-origin: 50% 50% -120px; }
.sc-slide[data-active="true"] .sc-sol:nth-child(2) { animation-delay: .09s; }
.sc-slide[data-active="true"] .sc-sol:nth-child(3) { animation-delay: .18s; }
.sc-slide[data-active="true"] .sc-sol:nth-child(4) { animation-delay: .27s; }
@keyframes showcaseCuboid { from { opacity: 0; transform: rotateY(-88deg); } 50% { opacity: 1; } to { opacity: 1; transform: rotateY(0); } }
.sc-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; perspective: 1200px; transform-style: preserve-3d; }
.sc-prod { background: #fff; border: 1px solid var(--ix-border); padding: 10px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--elev-1); }
.sc-prod img { width: 100%; height: 78px; object-fit: contain; mix-blend-mode: multiply; }
.sc-prod small { font: 400 9.5px/1.3 var(--font-mono); color: var(--ix-body); letter-spacing: .02em; }
.sc-slide[data-active="true"] .sc-prod { animation: showcaseExplode 1.1s cubic-bezier(.16, 1, .3, 1) backwards; }
.sc-slide[data-active="true"] .sc-prod:nth-child(1) { --ex: 60%; --ey: 50%; --ez: 160px; }
.sc-slide[data-active="true"] .sc-prod:nth-child(2) { --ex: 0%; --ey: 50%; --ez: 80px; animation-delay: .06s; }
.sc-slide[data-active="true"] .sc-prod:nth-child(3) { --ex: -60%; --ey: 50%; --ez: 0px; animation-delay: .12s; }
.sc-slide[data-active="true"] .sc-prod:nth-child(4) { --ex: 60%; --ey: -50%; --ez: -80px; animation-delay: .18s; }
.sc-slide[data-active="true"] .sc-prod:nth-child(5) { --ex: 0%; --ey: -50%; --ez: -160px; animation-delay: .24s; }
.sc-slide[data-active="true"] .sc-prod:nth-child(6) { --ex: -60%; --ey: -50%; --ez: -240px; animation-delay: .3s; }
@keyframes showcaseExplode {
  0% { opacity: 0; transform: translate3d(var(--ex), var(--ey), var(--ez)) rotateX(52deg) rotateZ(-28deg) scale(.7); }
  45% { opacity: 1; transform: translate3d(calc(var(--ex) * .2), calc(var(--ey) * .2), calc(var(--ez) * .6 + 60px)) rotateX(22deg) rotateZ(-10deg) scale(.9); }
  100% { opacity: 1; transform: none; }
}
.sc-ui { position: absolute; left: 40px; right: 40px; bottom: 16px; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.sc-dots { display: flex; gap: 6px; }
.sc-dot { width: 44px; height: 24px; border: 0; background: transparent; padding: 0; cursor: pointer; position: relative; }
.sc-dot::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--ix-border-input); }
.sc-dot i { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--ix-azul); transform: scaleX(0); transform-origin: left center; }
.sc-dot[aria-current="true"] i { transform: scaleX(var(--p, 0)); }
.sc-status { margin-left: auto; font: 500 10.5px var(--font-mono); letter-spacing: .12em; color: var(--ix-body); }
.sc-btn { width: 36px; height: 36px; border: 1px solid var(--ix-border-input); background: var(--ix-paper); cursor: pointer; font: 600 15px var(--font-body); color: var(--ix-tinta); }
.sc-btn:hover { border-color: var(--ix-azul); color: var(--ix-azul); }

.grid-demo { position: relative; padding: 24px; background: var(--ix-paper); }
.grid-cols { position: absolute; inset: 0 24px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.grid-cols i { background: rgba(227,40,86,.07); border-left: 1px solid rgba(227,40,86,.25); border-right: 1px solid rgba(227,40,86,.25); }
.grid-demo.show .grid-cols { opacity: 1; }
.grid-demo .row { display: grid; gap: 20px; margin-bottom: 20px; position: relative; }
.grid-demo .row:last-child { margin-bottom: 0; }
.grid-demo .cell { background: #fff; border: 1px solid var(--ix-border); padding: 14px; min-height: 76px; display: flex; flex-direction: column; justify-content: space-between; font: 400 10.5px var(--font-mono); color: var(--ix-muted); }
.grid-demo .cell b { font: 800 14px var(--font-display); color: var(--ix-tinta); text-transform: uppercase; }
.grid-demo .cell.ink { background: var(--ix-tinta); border-color: var(--ix-tinta); color: #8fa4ab; }
.grid-demo .cell.ink b { color: #fff; }

.cf { position: relative; }
.cf-viewport { position: relative; height: 380px; overflow: hidden; perspective: 1200px; background: var(--ix-paper); border: 1px solid var(--ix-border); }
.cf-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.cf-card { position: absolute; left: 50%; top: 26px; width: 300px; height: 320px; margin-left: -150px; background: #fff; border: 1px solid var(--ix-border); border-top: 4px solid var(--c); padding: 22px; display: flex; flex-direction: column; box-shadow: var(--elev-2); transition: transform .6s var(--ease-reveal), opacity .5s; cursor: pointer; overflow: hidden; }
.cf-card::after { content: ''; position: absolute; right: -44px; bottom: -44px; width: 110px; height: 96px; clip-path: var(--ix-hex); background: var(--c); opacity: .12; }
.cf-card .type { align-self: flex-start; padding: 4px 9px; background: var(--c); color: var(--t, #fff); font: 600 9.5px var(--font-mono); letter-spacing: .12em; }
.cf-card .tr { margin: 20px 0 10px; font: 900 62px/.9 var(--font-display); color: var(--ix-tinta); }
.cf-card .tr span { font-size: 22px; color: var(--ix-muted); }
.cf-card h4 { margin: 0; font: 800 20px/1.15 var(--font-display); text-transform: uppercase; }
.cf-card .sector { margin: 6px 0 0; font: 400 10px var(--font-mono); letter-spacing: .1em; color: var(--ix-muted); }
.cf-card p { margin: auto 0 0; font: 400 12.5px/1.5 var(--font-body); color: var(--ix-body); }
.cf-ui { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.cf-status { font: 500 10.5px var(--font-mono); letter-spacing: .12em; color: var(--ix-body); }
.cf-total { font: 400 11px var(--font-mono); color: var(--ix-muted); }
.cf-total strong { color: var(--ix-verde-ink); font: 800 16px var(--font-display); }
.atoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.atom { background: #fff; border: 1px solid var(--ix-border); padding: 20px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.atom > small { font: 400 10px var(--font-mono); letter-spacing: .12em; color: var(--ix-muted); text-transform: uppercase; }
.case-chip { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--ix-border); width: 100%; }
.case-chip .top { display: flex; justify-content: space-between; align-items: baseline; }
.case-chip b { font: 700 15px var(--font-display); }
.case-chip .d { font: 800 15px var(--font-display); color: var(--ix-verde-ink); }
.case-chip small { font: 400 10.5px var(--font-mono); color: var(--ix-muted); letter-spacing: .06em; }
.code-block { margin: 0; padding: 18px 20px; background: var(--ix-tinta-deep); color: #cfe3f2; font: 400 12px/1.65 var(--font-mono); overflow-x: auto; white-space: pre; }
.code-block .k { color: #6fb6e8; } .code-block .s { color: #7fe0c8; } .code-block .c { color: #6f8790; }

/* ---------- Aplicaciones ---------- */
.ba { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.ba-col > .rule-id { display: block; margin-bottom: 12px; }
.paper-sheet { background: #fff; aspect-ratio: 21.59 / 27.94; box-shadow: var(--elev-3); position: relative; overflow: hidden; font-family: var(--font-body); color: var(--ix-tinta); container-type: inline-size; }
.paper-sheet.old { filter: saturate(.95); }
.old-band { position: absolute; left: 0; right: 0; height: 2.6cqw; }
.old-logo { position: absolute; left: 8cqw; top: 6cqw; width: 34cqw; }
.old-motif { position: absolute; right: 0; bottom: 6cqw; display: flex; gap: 1.4cqw; padding-right: 6cqw; }
.old-motif i { width: 4cqw; height: 11cqw; display: block; }
.old-lines { position: absolute; left: 8cqw; right: 8cqw; top: 24cqw; display: flex; flex-direction: column; gap: 2.4cqw; }
.old-lines i { height: .9cqw; background: #e8e8ea; display: block; }
.old-lines i:nth-child(4n) { width: 62%; }
.old-foot { position: absolute; left: 8cqw; right: 8cqw; bottom: 2.4cqw; font-size: 1.7cqw; color: #6D6E71; font-family: Arial, Helvetica, sans-serif; }
.sheet-new { padding: 7.4cqw 9.3cqw 6cqw; display: flex; flex-direction: column; height: 100%; }
.lh-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 3cqw; border-bottom: .25cqw solid var(--ix-azul); }
.lh-head img { width: 30cqw; height: auto; display: block; }
.lh-head .ref { text-align: right; font: 400 1.55cqw/1.5 var(--font-mono); letter-spacing: .08em; color: var(--ix-body); }
.lh-head .ref b { display: block; color: var(--ix-azul); font-weight: 500; }
.lh-hex { position: absolute; right: -9cqw; top: -9cqw; width: 30cqw; height: 26cqw; clip-path: var(--ix-hex); background: var(--ix-azul-tint); }
.lh-hex2 { position: absolute; right: 9cqw; top: 3cqw; width: 4cqw; height: 3.5cqw; clip-path: var(--ix-hex); background: var(--ix-azul); }
.lh-body { flex: 1; padding-top: 6cqw; font-size: 1.95cqw; line-height: 1.6; color: var(--ix-body); }
.lh-body .date { font: 400 1.6cqw var(--font-mono); letter-spacing: .08em; color: var(--ix-muted); margin-bottom: 4cqw; }
.lh-body h4 { margin: 0 0 2.6cqw; font: 800 3.4cqw/1.1 var(--font-display); text-transform: uppercase; color: var(--ix-tinta); }
.lh-body h4 span { color: var(--ix-azul); }
.lh-body p { margin: 0 0 2.2cqw; }
.lh-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; padding-top: 2.6cqw; border-top: 1px solid var(--ix-border); font: 400 1.35cqw/1.5 var(--font-mono); color: var(--ix-body); letter-spacing: .02em; }
.lh-foot b { display: block; color: var(--ix-tinta); font-weight: 500; letter-spacing: .1em; }
.lh-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1cqw; background: var(--ix-azul); }
.lh-bar::after { content: ''; position: absolute; right: 12cqw; top: 0; bottom: 0; width: 10cqw; background: var(--ix-verde); }
.margin-guides .sheet-new { outline: 0; }
.paper-sheet .guides { position: absolute; inset: 7.4cqw 9.3cqw 6cqw; border: 1px dashed rgba(227,40,86,.6); pointer-events: none; opacity: 0; transition: opacity .3s; }
.paper-sheet .guides span { position: absolute; font: 500 1.4cqw var(--font-mono); color: var(--ix-rojo); background: #fff; padding: 0 .6cqw; }
.paper-sheet .guides .t { top: -1cqw; left: 50%; transform: translate(-50%, -50%); }
.paper-sheet .guides .l { left: 0; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.show-guides .paper-sheet .guides { opacity: 1; }
.quote-tbl { width: 100%; border-collapse: collapse; font-size: 1.6cqw; margin-top: 2cqw; }
.quote-tbl th { text-align: left; font: 500 1.3cqw var(--font-mono); letter-spacing: .1em; color: #fff; background: var(--ix-tinta); padding: 1.1cqw 1.2cqw; }
.quote-tbl td { padding: 1.3cqw 1.2cqw; border-bottom: 1px solid var(--ix-border); color: var(--ix-muted); }
.quote-tbl td.n { font-family: var(--font-mono); text-align: right; }
.quote-tbl th.n { text-align: right; }
.quote-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw 3cqw; font: 400 1.45cqw/1.4 var(--font-mono); }
.quote-fields div { border-bottom: 1px solid var(--ix-border); padding-bottom: .8cqw; color: var(--ix-muted); }
.quote-fields b { display: block; font-weight: 500; letter-spacing: .1em; color: var(--ix-azul); }
.quote-total { margin-left: auto; margin-top: 2.4cqw; width: 46%; font: 400 1.5cqw var(--font-mono); }
.quote-total div { display: flex; justify-content: space-between; padding: .9cqw 0; border-bottom: 1px solid var(--ix-border); color: var(--ix-body); }
.quote-total div:last-child { background: var(--ix-azul); color: #fff; padding: 1.2cqw; border: 0; font-weight: 500; }
.quote-num { display: inline-flex; align-items: center; gap: 1.2cqw; font: 800 3cqw var(--font-display); text-transform: uppercase; }
.quote-num i { width: 3.4cqw; height: 3cqw; clip-path: var(--ix-hex); background: var(--ix-azul); display: block; }
.sig { background: #fff; border: 1px solid var(--ix-border); padding: 26px; font-family: var(--font-body); }
.sig-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; border-left: 3px solid var(--ix-azul); padding-left: 18px; }
.sig-card .hexagon { width: 56px; height: 48px; font-size: 15px; }
.sig-card b { display: block; font: 800 17px var(--font-display); text-transform: uppercase; }
.sig-card span { display: block; font: 400 13px/1.5 var(--font-body); color: var(--ix-body); }
.sig-card small { display: block; margin-top: 6px; font: 400 11px/1.5 var(--font-mono); color: var(--ix-muted); }
.sig-card a { color: var(--ix-azul); }
.slide-169 { aspect-ratio: 16 / 9; background: var(--ix-paper); position: relative; overflow: hidden; box-shadow: var(--elev-3); container-type: inline-size; display: grid; grid-template-columns: 1.1fr .9fr; }
.slide-169 .l { padding: 6cqw 5cqw; display: flex; flex-direction: column; justify-content: center; gap: 1.6cqw; }
.slide-169 .l small { font: 500 1.3cqw var(--font-mono); letter-spacing: .18em; color: var(--ix-azul); }
.slide-169 .l h4 { margin: 0; font: 800 4.4cqw/1.02 var(--font-display); text-transform: uppercase; }
.slide-169 .l h4 span { display: block; color: var(--ix-azul); }
.slide-169 .l p { margin: 0; font: 400 1.6cqw/1.55 var(--font-body); color: var(--ix-body); }
.slide-169 .r { position: relative; }
.slide-169 .r .duo { position: absolute; inset: 0; }
.slide-169 .r::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 6cqw; background: var(--ix-paper); clip-path: polygon(0 0, 100% 50%, 0 100%); z-index: 1; }
.slide-169 .foot { position: absolute; left: 5cqw; bottom: 2.6cqw; font: 400 1.1cqw var(--font-mono); letter-spacing: .14em; color: var(--ix-muted); }
.slide-169 .bar { position: absolute; left: 0; right: 0; bottom: 0; height: .7cqw; background: var(--ix-azul); z-index: 2; }
.print-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ix-tinta); }
.print-specs > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--ix-border); }
.print-specs b { display: block; font: 800 22px var(--font-display); text-transform: uppercase; }
.print-specs span { display: block; margin-top: 4px; font: 400 11px/1.5 var(--font-mono); color: var(--ix-body); }

/* Marcas de corte dentro del marco de video (overflow hidden) */
.video-frame.cropmarks > i:nth-of-type(1) { left: 4px; top: 4px; } .video-frame.cropmarks > i:nth-of-type(2) { right: 4px; top: 4px; }
.video-frame.cropmarks > i:nth-of-type(3) { left: 4px; bottom: 4px; } .video-frame.cropmarks > i:nth-of-type(4) { right: 4px; bottom: 4px; }

/* ---------- Navegación entre capítulos y pie ---------- */
.pager { max-width: var(--layout-max); margin: 0 auto; padding: 0 40px 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: #fff; border: 1px solid var(--ix-border); color: var(--ix-tinta); transition: border-color .2s, transform .25s var(--ease-out), box-shadow .25s; }
.pager a:hover { border-color: var(--ix-azul); transform: translateY(-3px); box-shadow: var(--elev-2); color: var(--ix-tinta); }
.pager a.next { text-align: right; }
.pager small { font: 400 10.5px var(--font-mono); letter-spacing: .14em; color: var(--ix-azul); text-transform: uppercase; }
.pager b { font: 800 20px var(--font-display); text-transform: uppercase; }
.mx-foot-note { max-width: 46ch; }

/* ---------- Reveals del manual ---------- */
.motion-ok .rv:not(.is-in) { opacity: 0; translate: 0 26px; }
.motion-ok .rv.is-in { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease-reveal) var(--rd, 0ms), translate 1s var(--ease-reveal) var(--rd, 0ms); }
.motion-ok .mhero-copy > *, .motion-ok .cover-copy > * { animation: fadeUp .8s var(--ease-reveal) both; }
.motion-ok .mhero-copy > :nth-child(2), .motion-ok .cover-copy > :nth-child(2) { animation-delay: .1s; }
.motion-ok .mhero-copy > :nth-child(3), .motion-ok .cover-copy > :nth-child(3) { animation-delay: .2s; }
.motion-ok .mhero-copy > :nth-child(4), .motion-ok .cover-copy > :nth-child(4) { animation-delay: .3s; }
.motion-ok .mhero-copy > :nth-child(5), .motion-ok .cover-copy > :nth-child(5) { animation-delay: .4s; }
.motion-ok .mhero-toc li { animation: ixRow .7s var(--ease-reveal) both; }
.motion-ok .mhero-toc li:nth-child(1) { animation-delay: .35s; } .motion-ok .mhero-toc li:nth-child(2) { animation-delay: .42s; }
.motion-ok .mhero-toc li:nth-child(3) { animation-delay: .49s; } .motion-ok .mhero-toc li:nth-child(4) { animation-delay: .56s; }
.motion-ok .mhero-toc li:nth-child(5) { animation-delay: .63s; } .motion-ok .mhero-toc li:nth-child(6) { animation-delay: .7s; }
.motion-ok .mhero-toc li:nth-child(7) { animation-delay: .77s; }
@keyframes ixRow { from { opacity: 0; transform: translate3d(-14px, 0, 0); } to { opacity: 1; transform: none; } }
.ix-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; background: var(--ix-azul); transform-origin: left center; transform: scaleX(0); pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --mx-rule-col: 280px; --mx-gap: 36px; }
  .chapter-grid { grid-template-columns: repeat(2, 1fr); }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .shadow-grid, .hex-uses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .mhero, .cover { grid-template-columns: 1fr; padding: 44px 20px 36px; gap: 32px; }
  .mhero-num { font-size: 120px; right: 16px; top: 18px; }
  .mhero h1 { font-size: 38px; }
  .cover h1 { font-size: 44px; }
  .cover { min-height: 0; }
  .cover-stage { justify-self: center; max-width: 360px; }
  .mx-section { padding: 52px 20px; }
  .mx-head { grid-template-columns: 1fr; gap: 14px; }
  .mx-head h2 { font-size: 27px; }
  .rule { grid-template-columns: 1fr; gap: 20px; }
  .flow, .pillars, .voice-grid, .dos-donts, .kb-pair, .ba, .hex-construct, .rules-demo, .mini-hero, .sc-slide { grid-template-columns: 1fr; }
  .flow-step + .flow-step::before { display: none; }
  .proof-row { grid-template-columns: 1fr 1fr; }
  .proof { padding: 18px 12px 16px 0 !important; border-bottom: 1px solid var(--ix-border); }
  .proof:nth-child(2n) { border-right: 0; padding-left: 14px !important; }
  .proof strong { font-size: 38px; }
  .lexicon, .semantic, .contrast-grid, .bg-grid, .misuse-grid, .print-specs, .atoms, .corner-demo { grid-template-columns: 1fr 1fr; }
  .neutral-row { grid-template-columns: repeat(3, 1fr); }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .rhythm { grid-template-columns: repeat(3, 1fr); }
  .type-spec { grid-template-columns: 1fr; }
  .type-spec .big { border-right: 0; border-bottom: 1px solid var(--ix-border); }
  .type-spec .aa { font-size: 88px; }
  .scale-row { grid-template-columns: 1fr; gap: 6px; }
  .bicolor-title { font-size: 32px; }
  .vs { grid-template-columns: 1fr; }
  .vs > div + div { border-left: 0; border-top: 1px solid var(--ix-border); }
  .tl-row, .tl-axis { grid-template-columns: 96px 1fr; font-size: 9px; }
  .tl-head { left: calc(22px + 96px + 14px); }
  .ease-row { grid-template-columns: 1fr; gap: 6px; }
  .sc-track { height: 640px; }
  .sc-slide { padding: 26px 20px 64px; align-content: start; }
  .sc-slide h3 { font-size: 28px; }
  .sc-slide .big-tr { font-size: 64px; }
  .sc-ui { left: 20px; right: 20px; }
  .sc-status { flex-basis: 100%; margin-left: 0; }
  .sc-track { height: 700px; }
  .sc-slide { padding-bottom: 110px; }
  .sc-video::after { background: linear-gradient(180deg, var(--ix-paper) 0%, var(--ix-paper) 48%, rgba(248,247,243,0) 70%); }
  .sc-video video, .sc-video img { top: 45%; height: 55%; }
  .mini-hero { padding: 24px; }
  .mini-hero h3 { font-size: 30px; }
  .mini-hero .seal { left: 8px; }
  .explode-stage { height: 360px; }
  .explode-stack { width: 230px; height: 150px; }
  .cube { width: 240px; height: 220px; transform: translateZ(-120px) rotateY(calc(var(--face, 0) * -90deg)); }
  .cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(120px); }
  .cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(120px); }
  .cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(120px); }
  .cube-face:nth-child(4) { transform: rotateY(270deg) translateZ(120px); }
  .cf-card { width: 250px; margin-left: -125px; }
  .pager { grid-template-columns: 1fr; padding: 0 20px 52px; }
  .mx-tag { display: none; }
  .chapter-grid { grid-template-columns: 1fr; }
  .slide-169 { grid-template-columns: 1fr 1fr; }
  .grid-demo .row { grid-template-columns: 1fr !important; }
  .grid-cols { grid-template-columns: repeat(4, 1fr); inset: 0 24px; }
  .grid-cols i:nth-child(n+5) { display: none; }
  .spec-body { padding: 18px; }
  .logo-stage { padding: 24px; }
  .atoms { grid-template-columns: 1fr; }
  .reveal-demo { grid-template-columns: 1fr 1fr; }
  .shadow-grid, .hex-uses { grid-template-columns: 1fr 1fr; }
  .sc-prod img { height: 54px; }
}
@media (max-width: 480px) {
  .lexicon, .semantic, .misuse-grid, .bg-grid, .print-specs, .contrast-grid { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: 1fr; }
  .neutral-row { grid-template-columns: 1fr 1fr; }
  .rhythm { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Movimiento reducido: todo quieto y visible ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .duo.kb img { animation: none !important; transform: none !important; }
  .ix-progress { display: none; }
  .rv { opacity: 1 !important; translate: none !important; }
}
