@font-face { font-family: Sora; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/fonts/sora-latin.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); }
@font-face { font-family: Caveat; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/caveat-latin.woff2) format('woff2'); }

/* SDP v2 · sdp.net.co (built from wireframe/src.html by prod.py) — was: an engineer's graph-paper sketchbook (the "stage") holding a mid-fidelity site frame; stick figures mark where real photos and videos go. */
:root {
  color-scheme: light;
  --paper: #F7FAFC;        /* graph paper */
  --grid: #DDE7EF;
  --ink: #071827;          /* SDP navy, the pen */
  --ink-2: #4A6178;        /* slate */
  --line: #C9D6E2;
  --turq: #1FC8B4;         /* highlighter */
  --turq-ink: #0B7F72;
  --hl: rgba(31, 200, 180, .30);
  --note: #FFF1A1;         /* sticky note */
  --note-ink: #3D3300;
  --risk: #D9622B;         /* AMEF "antes" */
  --white: #FFFFFF;
  --on-navy: #C9D3DD;
  --f-display: "Sora", "Inter", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); font: 400 16px/1.55 var(--f-body);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 4px; }
.hand { font-family: var(--f-hand); font-weight: 700; letter-spacing: .01em; }

/* ---------- Sketchbook chrome (not part of the site) ---------- */
.desk { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 20px 64px; }
.desk-head { max-width: 1180px; margin: 0 auto 18px; display: grid; gap: 14px; }
.desk-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.desk-title h1 { font-size: clamp(24px, 4vw, 34px); }
.desk-title .hand { font-size: 24px; color: var(--turq-ink); }
.legend { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.legend i { display: inline-block; width: 18px; height: 14px; border-radius: 3px; }
.lg-fig { background: repeating-linear-gradient(45deg, var(--white) 0 4px, var(--grid) 4px 6px); border: 1.5px dashed var(--ink-2); }
.lg-real { background: #3b3b3b; }
.lg-ai { background: linear-gradient(135deg, #b7c9d6, #1FC8B4); }
.lg-hand { font-style: normal; font-family: var(--f-hand); font-weight: 700; color: var(--turq-ink); width: auto !important; height: auto !important; font-size: 17px; line-height: 1; }
.lg-note { background: var(--note); border: 1px solid #e4d36b; }
.toggle { display: inline-flex; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; width: max-content; background: var(--white); }
.toggle button { border: 0; background: transparent; padding: 8px 14px; font-weight: 600; cursor: pointer; color: var(--ink); min-height: 40px; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.desk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.desk-row p { color: var(--ink-2); font-size: 14px; max-width: 60ch; }

.stage { max-width: 1180px; margin: 0 auto; }
.stage.is-mobile .site { width: 390px; max-width: 100%; margin-inline: auto; border-radius: 34px; border-width: 10px; }
.site { container: site / inline-size; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; overflow: clip; box-shadow: 8px 8px 0 rgba(7, 24, 39, .12); position: relative; }

/* sticky production notes */
.note { font-family: var(--f-hand); font-size: 19px; line-height: 1.2; color: var(--note-ink); background: var(--note); padding: 10px 14px 12px; border-radius: 3px; box-shadow: 2px 3px 0 rgba(0,0,0,.08); transform: rotate(-1.2deg); max-width: 300px; }
.note b { display: block; font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; color: #7a6500; }
.note.r { transform: rotate(1.4deg); }

/* ---------- Site frame ---------- */
.wrap { padding-inline: clamp(18px, 5cqi, 56px); }
.band { padding-block: clamp(48px, 8cqi, 96px); position: relative; }
.navy { background: var(--ink); color: var(--white); }
.navy p { color: var(--on-navy); }
.soft { background: #F4F6F8; }
.eyebrow { font: 600 12.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--turq-ink); }
.navy .eyebrow { color: var(--turq); }
.h2 { font-size: clamp(28px, 5.4cqi, 46px); font-weight: 800; }
.lead { font-size: clamp(17px, 2.1cqi, 20px); color: var(--ink-2); max-width: 58ch; }
.navy .lead { color: var(--on-navy); }
.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4cqi, 44px); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-p { background: var(--turq); color: var(--ink); }
.btn-g { border-color: currentColor; background: transparent; }
.btn svg { width: 20px; height: 20px; flex: none; }
.src { font-size: 12.5px; color: var(--ink-2); }
.navy .src { color: #8FA3B6; }

/* nav + rocket progress */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--ink); color: var(--white); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.logo { font: 800 20px var(--f-display); display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo svg { width: 18px; height: 30px; }
.links { display: flex; gap: 22px; font-weight: 600; font-size: 14.5px; color: var(--on-navy); }
.links a { text-decoration: none; }
.nav .btn { min-height: 40px; padding: 8px 14px; font-size: 14.5px; }
.trail { position: relative; height: 14px; background: var(--ink); }
.trail::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; border-top: 2px dotted rgba(31,200,180,.45); }
.trail .fill { position: absolute; left: 0; top: 6px; height: 2px; width: var(--p, 0%); background: var(--turq); }
.trail .rk { position: absolute; top: -5px; left: calc(var(--p, 0%) - 12px); width: 24px; height: 24px; transform: rotate(90deg); color: var(--turq); }
@container site (max-width: 760px) { .links { display: none; } .links.main { display: flex; flex: 1; justify-content: center; gap: 20px; font-size: 15px; } .links.main .m-hide { display: none; } }

/* media slot = where a real photo/video goes */
.slot { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background-color: #FBFDFE; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 16px 16px; border: 2px dashed var(--ink-2); max-width: 100%; }
.slot > svg.scene { display: block; width: 100%; height: 100%; }
.navy .slot { background-color: #0d2236; background-image: linear-gradient(#173049 1px, transparent 1px), linear-gradient(90deg, #173049 1px, transparent 1px); border-color: #5d7891; }
.tag { position: absolute; top: 10px; left: 10px; z-index: 3; display: inline-flex; gap: 6px; align-items: center; font: 600 11.5px/1.2 var(--f-body); background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 6px; padding: 4px 8px; max-width: calc(100% - 20px); }
.tag b { font-family: var(--f-display); }
.tag.real { background: #222; color: #fff; border-color: #222; }
.tag.ai { background: var(--turq); border-color: var(--turq); }
.scene { color: var(--ink); --figfill: #FFFFFF; }
.navy .scene { color: #E8EEF3; --figfill: #0d2236; }
.ink { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.thin { stroke-width: 1.6; }
.fill-w { fill: var(--figfill, #fff); }
.fill-t { fill: var(--turq); stroke: none; }
.fill-hl { fill: var(--hl); stroke: none; }
.fill-n { fill: var(--note); }
.fill-soft { fill: var(--grid); stroke: none; }
.rough { filter: url(#rough); }
.svgt { font: 600 12px var(--f-body); fill: var(--ink); }
.svgh { font: 700 15px var(--f-hand); fill: var(--turq-ink); }
.navy .svgt { fill: #E8EEF3; }
.navy .svgh { fill: var(--turq); }
.slot > svg.scene-t { display: none; }
@container site (max-width: 640px) { .slot > svg.scene-w { display: none; } .slot > svg.scene-t { display: block; } }

/* overlay text on media */
.over { position: absolute; z-index: 2; inset: auto 0 0 0; padding: clamp(16px, 3cqi, 32px); color: var(--white); background: linear-gradient(transparent, rgba(7,24,39,.92) 38%); display: grid; gap: 10px; }
.over p { color: var(--on-navy); }
.ann { position: absolute; z-index: 3; color: var(--turq-ink); font: 700 24px/1 var(--f-hand); display: flex; align-items: flex-end; gap: 4px; pointer-events: none; }
.navy .ann, .over .ann, .ann.lt { color: var(--turq); }
.ann svg { width: 60px; height: 44px; overflow: visible; }
.ann path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* HERO */
.hero { padding-block: clamp(20px, 3cqi, 32px) clamp(40px, 6cqi, 72px); }
.hero .slot { aspect-ratio: 16 / 8.2; }
.hero-chip { display: inline-flex; width: max-content; max-width: 100%; gap: 8px; align-items: center; font: 600 12.5px var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--turq); }
.hero-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 0 4px rgba(31,200,180,.25); }
.hero h1 { font-size: clamp(32px, 5.6cqi, 58px); font-weight: 800; color: var(--white); max-width: 13em; }
.hero h1 .w { display: inline-block; }
.hero h1 .w:last-child, .h2 .hl { color: var(--turq); }
.hero .over { gap: 14px; inset: 0 auto 0 0; width: min(60%, 640px); align-content: end; background: linear-gradient(90deg, rgba(7,24,39,.96) 58%, rgba(7,24,39,0)); }
.hero .row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.hero .row a.more { color: var(--white); font-weight: 600; }
.ann.hero-ann { bottom: 7%; right: 3%; flex-direction: column-reverse; align-items: flex-end; }
.ann.hero-ann span { max-width: 12ch; text-align: right; }
.ann.hero-ann svg { transform: scaleY(-1); }
.below-note { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
@container site (max-width: 640px) {
  .hero .slot { aspect-ratio: 9 / 15; }
  .hero .over { inset: auto 0 0 0; width: auto; background: linear-gradient(transparent, rgba(7,24,39,.94) 30%); }
  .ann.hero-ann { bottom: auto; top: 3%; right: 38%; flex-direction: row; align-items: flex-end; font-size: 21px; }
  .ann.hero-ann svg { transform: none; }
  .ann.hero-ann span { max-width: 11ch; }
}

/* swipe rows (cards on desktop, slides on phone) */
.swipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dots { display: none; justify-content: center; gap: 2px; margin-top: 14px; }
.dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 10px; height: 10px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--ink); }
.dots button[aria-current="true"] { width: 32px; }
.dots button[aria-current="true"]::before { background: var(--ink); width: 26px; border-radius: 6px; }
.navy .dots button::before { border-color: var(--white); }
.navy .dots button[aria-current="true"]::before { background: var(--white); }
.swipe-hint { display: none; font: 700 22px var(--f-hand); color: var(--turq-ink); justify-content: flex-end; }
@container site (max-width: 760px) {
  .swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(-1 * clamp(18px, 5cqi, 56px)); padding-inline: clamp(18px, 5cqi, 56px); scroll-padding-inline: clamp(18px, 5cqi, 56px); }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 84%; scroll-snap-align: start; }
  .dots { display: flex; }
  .swipe-hint { display: flex; }
}

/* problem cards */
.pcard { display: grid; gap: 10px; }
.pcard .slot { aspect-ratio: 4 / 5; }
.big-over { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 16px; background: linear-gradient(transparent, rgba(7,24,39,.9) 45%); color: var(--white); }
.big-over strong { display: block; font: 800 clamp(22px, 3cqi, 28px)/1.1 var(--f-display); }
.pcard p { color: var(--ink-2); }

/* numbers section */
.stores { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(4px, 1cqi, 12px); max-width: 640px; }
.store { aspect-ratio: 1 / 1.05; }
.store svg { width: 100%; height: 100%; display: block; }
.store .shop { fill: var(--turq); stroke: var(--white); stroke-width: 2; transition: fill .5s, opacity .5s; }
.store.off .shop { fill: transparent; stroke: #5d7891; }
.stat-lead { display: grid; gap: 18px; grid-template-columns: 1.1fr 1fr; align-items: center; margin-bottom: 40px; }
.stat-lead .h3 { font: 800 clamp(22px, 3.4cqi, 32px)/1.15 var(--f-display); color: var(--white); }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-row { margin-top: 40px; padding-top: 28px; border-top: 1.5px dashed #2a4560; }
.ai-h { font: 800 clamp(22px, 3.4cqi, 30px)/1.15 var(--f-display); color: var(--white); margin-bottom: 18px; }
.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.counter.hot b { color: var(--turq); }
.counter.hot .bar i { min-width: 4px; }
.counter { border-top: 3px solid var(--turq); padding-top: 14px; display: grid; gap: 6px; align-content: start; }
.counter b { font: 800 clamp(34px, 5cqi, 52px)/1 var(--f-display); color: var(--white); font-variant-numeric: tabular-nums; }
.counter span { color: var(--on-navy); font-size: 15px; }
.bar { height: 6px; background: #173049; border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--turq); border-radius: 4px; }
.punch { margin-top: 40px; font: 700 clamp(20px, 2.8cqi, 26px)/1.3 var(--f-display); color: var(--white); max-width: 34ch; }
@container site (max-width: 900px) { .stat-lead { grid-template-columns: 1fr; } }
@container site (max-width: 700px) { .counters, .ai-grid { grid-template-columns: 1fr; } }
@container site (max-width: 460px) { .counters { grid-template-columns: 1fr; } }

/* warehouse scrub */
.scrub { height: 260vh; position: relative; }
.scrub-pin { position: sticky; top: 76px; display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(20px, 4cqi, 56px); align-items: center; }
.phone-v { position: relative; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; border: 8px solid var(--ink); background: #222; max-width: 100%; }
.phone-v video { width: 100%; height: 100%; object-fit: cover; display: block; }
.clock { position: absolute; z-index: 2; left: 10px; bottom: 10px; background: rgba(7,24,39,.82); color: var(--white); font: 700 15px var(--f-body); font-variant-numeric: tabular-nums; padding: 6px 10px; border-radius: 8px; display: flex; gap: 8px; align-items: center; }
.clock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; }
.scrub-copy { display: grid; gap: 16px; }
.speed { font: 800 clamp(40px, 7cqi, 72px)/1 var(--f-display); color: var(--ink); }
.speed small { font-size: .38em; color: var(--ink-2); font-weight: 600; display: block; margin-top: 6px; }
.progress-line { height: 6px; background: var(--grid); border-radius: 4px; overflow: hidden; max-width: 360px; }
.progress-line i { display: block; height: 100%; width: var(--p, 0%); background: var(--turq); }
@container site (max-width: 700px) {
  .scrub { height: auto; }
  .scrub-pin { position: static; grid-template-columns: 1fr; }
  .phone-v { width: min(280px, 80%); margin-inline: auto; }
}

/* method */
.ai-banner { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 21 / 9; background: #cfdbe4; }
.ai-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-banner .over2 { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 46%; padding: clamp(16px, 3.4cqi, 40px); display: grid; align-content: center; gap: 12px; }
.ai-banner h2 { font-size: clamp(22px, 4.2cqi, 44px); font-weight: 800; color: var(--ink); }
.ai-banner p { color: #20384d; font-weight: 500; font-size: clamp(14px, 1.7cqi, 17px); }
@container site (max-width: 700px) {
  .ai-banner { aspect-ratio: auto; display: grid; }
  .ai-banner img { aspect-ratio: 4 / 3; object-position: 72% 50%; }
  .ai-banner .over2 { position: static; width: auto; background: #DCE6EE; }
  .ai-banner .over2 .eyebrow { color: #08695E; }
}
.method-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-block: 32px 8px; max-width: 760px; }
.example { display: inline-flex; gap: 8px; align-items: center; width: fit-content; max-width: 100%; font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--note); padding: 6px 12px; border-radius: 6px; }
.method { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4cqi, 48px); margin-top: 28px; }
.m-index { position: sticky; top: 96px; align-self: start; display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; counter-reset: m; }
.m-index li { counter-increment: m; }
.m-index a { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.m-index a::before { content: counter(m); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid currentColor; font: 700 13px var(--f-display); }
.m-index a.on { color: var(--ink); background: var(--hl); }
.m-panels { display: grid; gap: clamp(40px, 7cqi, 88px); min-width: 0; }
.panel { display: grid; gap: 16px; min-width: 0; scroll-margin-top: 90px; }
.panel h3 { font-size: clamp(22px, 3.2cqi, 30px); font-weight: 800; }
.panel .q { font: 700 26px/1.1 var(--f-hand); color: var(--turq-ink); }
.panel .what { color: var(--ink-2); max-width: 62ch; }
.board { background: #FBFDFE; border: 2px solid var(--ink); border-radius: 14px; padding: clamp(14px, 2.4cqi, 24px); min-width: 0; }
@container site (max-width: 760px) { .method { grid-template-columns: 1fr; } .m-index { display: none; } }

/* 1 fishbone */
.fish svg { width: 100%; height: auto; display: block; }
.fish .cat { font: 700 15px var(--f-display); fill: var(--ink); }
.fish .head-t { font: 700 20px var(--f-hand); fill: var(--turq-ink); }
.causes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; list-style: none; padding: 0; }
.causes li { background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14.5px; }
.causes b { display: block; font: 700 12px var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: var(--turq-ink); }
@container site (max-width: 640px) { .causes { grid-template-columns: 1fr; } }
.draw path, .draw line, .draw polyline { stroke-dasharray: 1; stroke-dashoffset: 0; }
.play .draw path, .play .draw line, .play .draw polyline { animation: draw 1s ease-out both; animation-delay: calc(var(--d, 0) * 120ms); }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* 2 requirements */
.req { width: 100%; border-collapse: collapse; font-size: 15px; }
.req th, .req td { text-align: left; padding: 10px 8px; border-bottom: 1.5px solid var(--line); vertical-align: top; }
.req th { font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.k { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 7px; font: 800 14px var(--f-display); }
.k.e { background: var(--ink); color: var(--white); }
.k.r { background: #FBE3D6; color: #8a3410; border: 1.5px solid var(--risk); }
.k.d { background: var(--hl); color: var(--ink); border: 1.5px solid var(--turq-ink); }
.req .chk { font: 700 22px var(--f-hand); color: var(--turq-ink); white-space: nowrap; }
.play .req tbody tr { animation: rowin .45s ease-out both; animation-delay: calc(var(--i) * 110ms); }
@keyframes rowin { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.keys { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink-2); margin-top: 12px; }
.keys span { display: inline-flex; gap: 6px; align-items: center; }

/* 3 functions */
.bb { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.io { border: 2px dashed var(--ink-2); border-radius: 10px; padding: 10px 12px; font-size: 14px; text-align: center; }
.box { background: var(--ink); color: var(--white); border-radius: 10px; padding: 14px 18px; font: 700 15px var(--f-display); text-align: center; }
.arrow { font: 700 24px var(--f-hand); color: var(--turq-ink); text-align: center; }
.subs { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 6px; align-items: center; counter-reset: s; }
.subs li { counter-increment: s; display: inline-flex; align-items: center; gap: 6px; }
.subs li span { border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; background: var(--white); }
.subs li span::before { content: counter(s) " · "; color: var(--turq-ink); font-weight: 700; }
.subs li:not(:last-child)::after { content: "→"; font: 700 20px var(--f-hand); color: var(--turq-ink); }
.play .subs li { animation: rowin .4s ease-out both; animation-delay: calc(var(--i) * 120ms); }
@container site (max-width: 560px) { .bb { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); } }

/* 4 morphological table */
.morph-wrap { position: relative; overflow-x: auto; }
.morph { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 6px; font-size: 14px; position: relative; z-index: 2; }
.morph th { text-align: left; font: 700 13px var(--f-body); color: var(--ink); padding: 8px 6px; white-space: nowrap; }
.morph thead th { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.morph td { background: rgba(255,255,255,.72); border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 10px; text-align: center; transition: background .3s, border-color .3s; }
.morph td.pick { background: var(--hl); border-color: var(--turq-ink); font-weight: 700; }
.play .morph td.pick { animation: pick .5s ease-out both; animation-delay: calc(var(--i) * 260ms); }
@keyframes pick { from { background: var(--white); border-color: var(--line); } to { background: var(--hl); border-color: var(--turq-ink); } }
.morph-line { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: visible; }
.morph-line polyline { fill: none; stroke: var(--turq); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.play .morph-line polyline { animation: draw 1.8s .3s ease-in-out both; }

/* 5 AMEF */
.amef-wrap { overflow-x: auto; }
.amef { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.amef th, .amef td { text-align: left; padding: 10px 8px; border-bottom: 1.5px solid var(--line); vertical-align: top; }
.amef th { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.amef td.n { font-variant-numeric: tabular-nums; text-align: center; font-weight: 600; }
.npr { display: grid; gap: 4px; min-width: 150px; }
.npr .b { height: 12px; border-radius: 3px; display: block; width: calc(var(--v) / 200 * 100%); }
.npr .before { background: var(--risk); opacity: .85; }
.npr .after { background: var(--turq); }
.npr small { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.play .npr .after { animation: shrink 1.2s ease-in-out both; animation-delay: calc(var(--i) * 180ms + 300ms); }
@keyframes shrink { from { width: calc(var(--from) / 200 * 100%); background: var(--risk); } to { width: calc(var(--v) / 200 * 100%); } }
.formula { font-size: 14px; color: var(--ink-2); }
.formula b { color: var(--ink); }

/* 6 integration */
.sys svg { width: 100%; height: auto; display: block; }
.sys .node rect { fill: var(--white); stroke: var(--ink); stroke-width: 2; }
.sys .node text { font: 600 13px var(--f-body); fill: var(--ink); }
.sys .core rect { fill: var(--ink); }
.sys .core text { fill: var(--white); font: 700 14px var(--f-display); }
.sys .wire { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-dasharray: 5 6; }
.sys .dot { fill: var(--turq); }

/* manifesto */
.manifesto { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5cqi, 64px); align-items: center; }
.manifesto blockquote { margin: 0; font: 800 clamp(26px, 4.4cqi, 42px)/1.15 var(--f-display); color: var(--white); }
.manifesto blockquote em { font-style: normal; color: var(--turq); }
.manifesto .txt { display: grid; gap: 14px; }
.manifesto .left { display: grid; gap: 20px; }
.manifesto .slot { aspect-ratio: 16 / 9; }
@container site (max-width: 760px) { .manifesto { grid-template-columns: 1fr; } }

/* services posters */
.posters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.poster { aspect-ratio: 4 / 4.4; border-style: solid; border-color: var(--ink); }
.poster .info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(14px, 2.4cqi, 24px); background: linear-gradient(transparent, rgba(7,24,39,.94) 30%); color: var(--white); display: grid; gap: 8px; }
.poster .info h3 { font-size: clamp(19px, 2.6cqi, 24px); color: var(--white); }
.poster .info p { color: var(--on-navy); font-size: 15px; }
.poster .plazo { font: 700 14.5px var(--f-body); color: var(--turq); }
/* wireframe only: shows which WhatsApp message each button sends */
.wa[data-ref] { position: relative; }
.wa[data-ref]::after { content: "ref: " attr(data-ref); position: absolute; top: -11px; right: -10px; font: 700 10px/1 var(--f-body); letter-spacing: .02em; background: var(--note); color: var(--note-ink); padding: 3px 6px; border-radius: 4px; transform: rotate(3deg); white-space: nowrap; box-shadow: 1px 1px 0 rgba(0,0,0,.12); pointer-events: none; }
.cta-line { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.poster .btn { min-height: 42px; padding: 8px 14px; font-size: 14.5px; width: max-content; }
@container site (max-width: 760px) { .posters { grid-template-columns: 1fr; } .poster { aspect-ratio: 4 / 5; } }
/* web build animation */
.mini-web { position: absolute; z-index: 1; inset: 12% 14% auto 14%; height: 52%; background: var(--white); border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; display: grid; grid-template-rows: 18px 1fr; }
.mini-web .bar2 { background: var(--grid); display: flex; gap: 4px; align-items: center; padding-inline: 6px; }
.mini-web .bar2 i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); }
.mini-web .pg { display: grid; gap: 5px; padding: 8px; align-content: start; }
.mini-web .blk { height: 14px; border-radius: 3px; background: var(--grid); }
.mini-web .blk.h { height: 30px; background: var(--ink); }
.mini-web .blk.c { width: 40%; height: 12px; background: var(--turq); }
.mini-web .blk.g { height: 26px; background: repeating-linear-gradient(90deg, var(--grid) 0 30%, transparent 30% 35%); }
.play .mini-web .blk { animation: stack .5s ease-out both; animation-delay: calc(var(--i) * 260ms); }
@keyframes stack { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

/* steps */
.steps-wrap { position: relative; }
.trail2 { position: relative; height: 36px; margin-bottom: 10px; }
.trail2::before { content: ""; position: absolute; left: 4%; right: 4%; top: 17px; border-top: 3px dotted var(--ink-2); }
.trail2 .rk { position: absolute; top: 4px; left: calc(4% + var(--p, 0) * 88% - 14px); width: 28px; height: 28px; transform: rotate(90deg); color: var(--turq-ink); transition: left .1s linear; }
.step { display: grid; gap: 10px; }
.step .slot { aspect-ratio: 3 / 2; }
.step .num { font: 800 15px var(--f-display); color: var(--turq-ink); }
.step h3 { font-size: 22px; }
.step p { color: var(--ink-2); }
.step .when { font-weight: 700; color: var(--ink); font-size: 14.5px; }
@container site (max-width: 760px) { .trail2 { display: none; } }

/* case */
.case { display: grid; grid-template-columns: 2.3fr 1fr; gap: 18px; align-items: start; }
.case .slot.wide { aspect-ratio: 16 / 10; }
.case .slot.tall { aspect-ratio: 9 / 16; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
@container site (max-width: 760px) { .case { grid-template-columns: 1fr; } .case .slot.tall { width: min(300px, 80%); margin-inline: auto; } .case-stats { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4cqi, 52px); align-items: center; }
.about .slot { aspect-ratio: 16 / 10; }
.title-ing { font: 800 clamp(30px, 5cqi, 48px)/1.05 var(--f-display); }
.title-ing span { color: var(--turq-ink); }
.polas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.pola { background: var(--white); padding: 8px 8px 6px; box-shadow: 0 3px 10px rgba(7,24,39,.14); transform: rotate(var(--r)); border: 1px solid var(--line); }
.pola .slot { aspect-ratio: 1; border-radius: 2px; border-width: 1.5px; }
.pola .tag { font-size: 10.5px; top: 6px; left: 6px; padding: 2px 6px; }
.pola p { font: 700 19px var(--f-hand); text-align: center; padding-top: 4px; color: var(--ink); }
@container site (max-width: 760px) { .about { grid-template-columns: 1fr; } .polas.swipe > * { flex-basis: 62%; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 4cqi, 48px); align-items: start; }
.faq-grid .slot { aspect-ratio: 4 / 5; }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative; font-weight: 600; font-size: 16.5px; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 400 28px/1 var(--f-body); color: var(--turq-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 16px; }
.more-q { margin-top: 14px; font-weight: 600; color: var(--turq-ink); }
@container site (max-width: 700px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .slot { width: min(240px, 70%); } }

/* closing */
.close { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4cqi, 56px); align-items: center; }
.close .slot { aspect-ratio: 4 / 5; max-width: 420px; justify-self: center; width: 100%; }
.close .phone-btn { position: absolute; z-index: 3; left: 50%; bottom: 23%; transform: translateX(-50%); white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
@container site (max-width: 700px) { .close { grid-template-columns: 1fr; } }

/* footer + phone bottom bar */
.foot { background: var(--ink); color: var(--on-navy); padding-block: 36px 28px; font-size: 14px; }
.foot .cols { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; }
.foot strong { color: var(--white); }
.botbar { display: none; position: sticky; bottom: 0; z-index: 25; background: rgba(7,24,39,.96); padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); }
.botbar .btn { width: 100%; justify-content: center; }
@container site (max-width: 760px) { .botbar { display: block; } .nav .btn { display: none; } }

/* section-level notes placement */
.notes-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* case on a light band (it now follows the navy hero) */
.light-case { background: #F4F6F8; }
.light-case .counter b { color: var(--ink); }
.light-case .counter span { color: var(--ink-2); }
/* clients strip */
.clients { padding-block: clamp(32px, 5cqi, 56px); border-top: 1.5px solid var(--line); }
.clients-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.h3c { font: 800 clamp(20px, 2.8cqi, 28px)/1.2 var(--f-display); margin-top: 6px; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.logos img { width: 110px; height: auto; display: block; }
.logos .ghost { width: 110px; height: 110px; border-radius: 50%; border: 2px dashed var(--line); display: grid; place-items: center; text-align: center; font: 700 17px var(--f-hand); color: var(--ink-2); }
/* scroll-driven questions */
.qs-track { height: 500vh; position: relative; }
.qs-pin { position: sticky; top: 76px; height: calc(100vh - 76px); min-height: 520px; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 4cqi, 56px); align-items: center; padding-inline: clamp(18px, 5cqi, 56px); padding-block: clamp(40px, 8vh, 72px) 24px; overflow: hidden; }
.qs-text { display: grid; gap: 22px; align-content: center; }
.qs-stack, .qs-subs, .qs-media { display: grid; }
.qs-stack > *, .qs-subs > *, .qs-media > * { grid-area: 1 / 1; }
.qs-q { font: 800 clamp(30px, min(5.6cqi, 7vh), 64px)/1.04 var(--f-display); color: var(--white); letter-spacing: -.02em; opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity .55s, transform .55s cubic-bezier(.2,.7,.2,1), filter .55s; }
.qs-q em { font-style: normal; color: var(--on-navy); transition: color .6s .25s; }
.qs-sub { color: var(--on-navy); font-size: clamp(17px, 2.2cqi, 21px); opacity: 0; transform: translateY(14px); transition: opacity .5s .1s, transform .5s .1s; }
.qs-m { aspect-ratio: 4 / 5; opacity: 0; transform: scale(.94) rotate(-1.5deg); transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1); }
.qs-pin [data-i] { pointer-events: none; }
.qs-pin[data-active="0"] [data-i="0"], .qs-pin[data-active="1"] [data-i="1"], .qs-pin[data-active="2"] [data-i="2"], .qs-pin[data-active="3"] [data-i="3"], .qs-pin[data-active="4"] [data-i="4"] { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.qs-sub[data-i="4"] { display: grid; gap: 16px; justify-items: start; }
.qs-sub[data-i="4"] p { color: var(--on-navy); }
.qs-sub[data-i="4"] .btn { min-height: 58px; padding: 14px 26px; font-size: 19px; }
@container site (max-width: 700px) { .qs-sub[data-i="4"] .btn { min-height: 48px; padding: 12px 20px; font-size: 16px; } }
.qs-pin[data-active="0"] .qs-q[data-i="0"] em, .qs-pin[data-active="1"] .qs-q[data-i="1"] em, .qs-pin[data-active="2"] .qs-q[data-i="2"] em, .qs-pin[data-active="3"] .qs-q[data-i="3"] em, .qs-pin[data-active="4"] .qs-q[data-i="4"] em { color: var(--turq); }
.qs-count { display: flex; align-items: center; gap: 10px; font: 700 15px var(--f-body); color: #8FA3B6; font-variant-numeric: tabular-nums; }
.qs-count b { color: var(--white); font: 800 22px var(--f-display); }
.qs-bar { flex: 0 1 200px; height: 4px; background: #173049; border-radius: 3px; overflow: hidden; }
.qs-bar i { display: block; height: 100%; width: var(--p, 33%); background: var(--turq); }
.qs-next { color: var(--turq); font-weight: 700; text-decoration: none; width: max-content; }
.qs .notes-row { padding-bottom: 40px; }
/* 23-oct: the whole question + photo fit inside the screen, with air under the bottom edge */
@container site (min-width: 701px) {
  .qs-pin { padding-block: clamp(28px, 5vh, 56px) clamp(36px, 7vh, 72px); }
  .qs-text { gap: clamp(12px, 2.2vh, 22px); }
  .qs-media { justify-items: center; }
  .qs-m { height: min(calc(100vh - 76px - clamp(28px, 5vh, 56px) - clamp(36px, 7vh, 72px)), 620px); width: auto; max-width: 100%; }
}
@container site (max-width: 700px) {
  .qs-pin { grid-template-columns: 1fr; align-content: center; gap: 18px; }
  .qs-media { order: -1; width: min(220px, 60%); }
  .qs-m { aspect-ratio: 1; }
}
/* method summary tools */
.tools { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: t; }
.tools li { counter-increment: t; background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: 36px 1fr; gap: 2px 10px; }
.tools li::before { content: counter(t); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--turq); font: 800 14px var(--f-display); }
.tools b { font: 700 16px var(--f-display); }
.tools span { color: var(--ink-2); font-size: 14px; }
@container site (max-width: 760px) { .tools { grid-template-columns: 1fr; } }

/* method summary: on phones only the illustration, one line and the button */
@container site (max-width: 700px) {
  .sum-extra { display: none !important; }
  #metodo .cta-line { margin-top: 18px; }
  #metodo .cta-line .btn-p { width: 100%; justify-content: center; }
}
.hero-note { font-size: 14px; color: var(--on-navy); }
.poster.wide { grid-column: 1 / -1; aspect-ratio: 16 / 6; }
/* 23-oct: smaller service posters on wide screens: 3 per row, the custom-solution poster takes 2 */
@container site (min-width: 1000px) {
  /* 3 per row, all the same size; the last row is centred */
  .posters { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .posters > .poster, .posters > .poster.wide { flex: 0 0 calc((100% - 32px) / 3); aspect-ratio: 4 / 5; grid-column: auto; }
  .poster .info p { font-size: 14px; }
}
/* «Soluciones a la medida»: the whole landscape photo shows at the top; the space left is a navy brand gradient */
.slot.poster.wide.filled { background: linear-gradient(180deg, #0D2236 0%, #0A1D30 45%, #071827 100%); }
.slot.poster.wide.filled > .m { object-fit: contain; object-position: 50% 0; }
.steps4 { grid-template-columns: repeat(4, 1fr); }
@container site (max-width: 760px) { .poster.wide { aspect-ratio: 4 / 5; } }
/* second page frame */
.page-label { max-width: 1180px; margin: 48px auto 12px; font: 700 18px var(--f-body); color: var(--ink-2); }
.page-label .hand { font-size: 26px; color: var(--turq-ink); }
.stage.is-mobile .page-label { text-align: center; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .qs-track { height: auto; }
  .qs-pin { position: static; height: auto; }
  .qs-pin [data-i] { opacity: 1 !important; transform: none !important; filter: none !important; position: static; }
}

/* /politicas/ page */
.pol-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(20px, 4cqi, 48px); align-items: start; }
.pol-index { position: sticky; top: 80px; display: grid; gap: 4px; font-weight: 600; font-size: 14.5px; }
.pol-index a { text-decoration: none; padding: 8px 12px; border-left: 3px solid var(--line); color: var(--ink-2); }
.pol-index a:hover { border-color: var(--turq); color: var(--ink); }
.pol-body { display: grid; gap: clamp(28px, 4cqi, 44px); max-width: 76ch; min-width: 0; }
.pol-body article { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: clamp(20px, 3.5cqi, 36px); display: grid; gap: 12px; scroll-margin-top: 80px; min-width: 0; }
.pol-body h3 { font-size: clamp(21px, 3cqi, 27px); font-weight: 800; }
.pol-body h4 { font: 700 16.5px/1.3 var(--f-body); margin: 10px 0 0; }
.pol-body p, .pol-body li, .pol-body dd { color: var(--ink-2); }
.pol-body ul, .pol-body ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.pol-body a { color: var(--turq-ink); font-weight: 600; overflow-wrap: anywhere; }
.pol-body code { font-size: 13.5px; background: #EEF3F7; border-radius: 4px; padding: 1px 5px; }
.pol-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.pol-dl dt { font-weight: 700; }
.pol-dl dd { margin: 0; }
.pol-table { overflow-x: auto; border: 1.5px solid var(--line); border-radius: 8px; }
.pol-table table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14.5px; }
.pol-table th, .pol-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pol-table th { background: #F4F6F8; font-weight: 700; }
.pol-table tr:last-child td { border-bottom: 0; }
.pol-quote { border-left: 3px solid var(--turq); padding-left: 14px; font-style: italic; }
.pol-link { background: none; border: 0; padding: 0; color: var(--turq-ink); font-weight: 600; text-decoration: underline; cursor: pointer; }
.foot a, .foot .pol-link { color: var(--turq); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
@container site (max-width: 760px) { .pol-grid { grid-template-columns: 1fr; } .pol-index { position: static; grid-template-columns: 1fr 1fr; } .pol-dl { grid-template-columns: 1fr; gap: 2px; } .pol-dl dd { margin-bottom: 8px; } }

/* cookie banner */
.ck { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; pointer-events: none; }
.ck[hidden] { display: none; }
.ck-box { pointer-events: auto; width: min(760px, 100%); background: var(--ink); color: var(--white); border: 2px solid var(--turq); border-radius: 14px; box-shadow: 0 12px 36px rgba(7,24,39,.35); padding: 18px 20px; display: grid; gap: 14px; font-size: 15px; }
.ck-t { color: var(--on-navy); }
.ck-t b { color: var(--white); }
.ck-t a { color: var(--turq); font-weight: 600; }
.ck-opts { display: grid; gap: 10px; }
.ck-opts[hidden] { display: none; }
.ck-opts label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 600; min-height: 32px; }
.ck-opts input { width: 20px; height: 20px; accent-color: var(--turq); }
.ck-opts span { font-weight: 400; color: var(--on-navy); font-size: 13.5px; }
.ck-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.ck-btns .btn { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.ck-btns .btn-g { color: var(--white); }
@media (max-width: 560px) { .ck-btns .btn { flex: 1 1 100%; justify-content: center; } }

/* phone fixes (21-oct): questions = title, photo, question; full-frame videos; FAQ without photo */
@container site (max-width: 700px) {
  .qs-pin { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 10px; padding-top: 20px; padding-bottom: 100px; }
  .qs-text { display: contents; }
  .qs-text .eyebrow { order: 0; }
  .qs-media { order: 1; width: min(190px, 52%, 26vh); align-self: center; }
  .qs-m { aspect-ratio: 4 / 5; }
  .qs-stack { order: 2; } .qs-subs { order: 3; } .qs-count { order: 4; } .qs-next { order: 5; }
  .qs-q { font-size: clamp(26px, 8cqi, 34px); }
  .qs-sub { font-size: 16px; }
  .poster:has(video) { aspect-ratio: 9 / 16; }
  .faq-grid > .slot { display: none; }
}

/* ---------- Page 4 · /noticias/ (2026-10-25; real site: the Worker renders it from D1 sdp-noticias) ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@container site (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@container site (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.ncard { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; cursor: pointer; text-align: left; padding: 0; font: inherit; }
.ncard:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(7,24,39,.12); }
.ncover { aspect-ratio: 1200 / 630; background: var(--ink); color: var(--white); display: grid; align-content: space-between; padding: 16px 18px; position: relative; overflow: hidden; }
.ncover::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid rgba(31,200,180,.18); }
.ncover .ncat { font: 600 11.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--turq); }
.ncover .nbig { font: 800 clamp(30px, 5cqi, 44px)/1 var(--f-display); color: var(--turq); }
.ncover .nsub { font-size: 13px; color: var(--on-navy); max-width: 26ch; }
.nbody { display: grid; gap: 10px; padding: 18px; align-content: start; }
.nbody .nk { font: 600 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--turq-ink); }
.nbody h3 { font-size: 19px; }
.nbody p { font-size: 15px; color: var(--ink-2); }
.nbody .nmeta { font-size: 12.5px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.narticle { max-width: 760px; display: grid; gap: 18px; }
.narticle .back { font-weight: 700; color: var(--turq-ink); text-decoration: none; }
.narticle h2 { font-size: clamp(28px, 4.6cqi, 40px); }
.narticle h3 { font-size: 20px; margin-top: 8px; }
.narticle p, .narticle li { font-size: 17px; color: var(--ink); }
.narticle ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.narticle blockquote { margin: 0; border-left: 4px solid var(--turq); padding: 6px 0 6px 16px; font-style: italic; color: var(--ink-2); }
.nsrc { font-size: 14px; color: var(--ink-2); }
.nwho { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; }
.nwho .av { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--turq); display: grid; place-items: center; font: 800 18px var(--f-display); flex: none; }
.nwho p { font-size: 14.5px; color: var(--ink-2); }
.ndisc { font-size: 13px; color: var(--ink-2); background: #F4F6F8; border-radius: 8px; padding: 10px 12px; }
.narticle .btn { width: max-content; max-width: 100%; }
.nfix { background: #FFF4EC; border: 1.5px solid var(--risk); border-radius: 8px; padding: 10px 12px; font-size: 14px; }
/* noticias v2 + eventos (2026-11-15, worker/index.js) */
.nchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.nchip { font: 600 14px/1 var(--f-body); padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; }
.nchip.on { background: var(--ink); color: var(--turq); border-color: var(--ink); }
.ncard.nbig { grid-column: span 2; }
@container site (max-width: 600px) { .ncard.nbig { grid-column: auto; } }
.nmini { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.narticle ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.nitems { display: grid; gap: 22px; }
.nitem { display: grid; gap: 8px; border-top: 1.5px solid var(--line); padding-top: 18px; }
.nitem .nk, .ebody .nk { font: 600 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--turq-ink); }
.nuso { background: var(--ink); color: var(--white); border-radius: 14px; padding: 18px 20px; display: grid; gap: 8px; }
.nuso .eyebrow { color: var(--turq); }
.nuso p, .nuso li { color: var(--on-navy); }
.nfuentes ul { margin: 6px 0 0; padding-left: 20px; font-size: 14.5px; }
.elist { display: grid; gap: 14px; max-width: 820px; }
.emes { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-top: 14px; }
.ecard { display: grid; grid-template-columns: 76px 1fr; gap: 16px; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; }
.edate { background: var(--ink); color: var(--turq); border-radius: 10px; display: grid; place-content: center; text-align: center; height: 76px; }
.edate b { font: 800 30px/1 var(--f-display); }
.edate span { font: 600 12px/1.4 var(--f-body); text-transform: uppercase; color: var(--on-navy); }
.ebody { display: grid; gap: 8px; align-content: start; }
.ebody p { font-size: 15px; color: var(--ink-2); margin: 0; }
.ebody .nmeta { font-weight: 600; color: var(--ink); }
.ebody .btn { width: max-content; padding: 10px 16px; font-size: 15px; }
@container site (max-width: 600px) { .ecard { grid-template-columns: 58px 1fr; gap: 12px; padding: 14px; } .edate { height: 58px; } .edate b { font-size: 24px; } }

/* real media from the shoot (media.py) */
.slot.filled { border: 0; background: #0d2236; }
.slot.filled > .tag { display: none; }
.slot > .m { display: block; width: 100%; height: 100%; object-fit: cover; }
.slot > .m-t { display: none; }
@container site (max-width: 640px) { .slot > .m-w { display: none; } .slot > .m-t { display: block; } }
.slot.vert { aspect-ratio: 9 / 16 !important; max-width: 340px; width: 100%; margin-inline: auto; }
.slot > .duo { position: absolute; inset: 0; }
.duo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo img + img { animation: duo 4.9s ease-in-out infinite alternate; }
@keyframes duo { 0%, 40% { opacity: 0; } 60%, 100% { opacity: 1; } }
.duo .lbl { position: absolute; bottom: 10px; left: 10px; z-index: 2; font: 700 12px var(--f-body); background: var(--white); color: var(--ink); border-radius: 6px; padding: 3px 8px; }
.duo .lbl.b { animation: duo 4.9s ease-in-out infinite alternate; background: var(--turq); }
.duo .lbl.a { animation: duo 4.9s ease-in-out infinite alternate-reverse; }
/* hero with the real V01 (Thomas, 23-oct): the video fills the screen and the text sits on top, bottom-left, over a navy gradient */
.hero { padding: 0; }
.hero > .wrap { padding: 0; }
.hero .slot.filled { aspect-ratio: auto; height: calc(100svh - 76px); min-height: 560px; max-height: 1000px; border-radius: 0; display: block; padding: 0; }
.hero .slot.filled > .m { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero .slot.filled > .over { position: absolute; inset: 0; width: auto; display: grid; align-content: end; justify-items: start; gap: 16px; padding: clamp(24px, 6cqi, 80px) clamp(18px, 5cqi, 56px);
  background: linear-gradient(to top, rgba(7,24,39,.9), rgba(7,24,39,.35) 45%, rgba(7,24,39,0) 70%), linear-gradient(to right, rgba(7,24,39,.85), rgba(7,24,39,.25) 55%, rgba(7,24,39,0)); }
.hero .slot.filled > .over > * { max-width: 640px; }
.hero .slot.filled h1 { font-size: clamp(36px, 6.4cqi, 76px); max-width: 11em; text-shadow: 0 2px 24px rgba(7,24,39,.45); }
.hero .slot.filled > .ann { display: none; }
.hero .slot.filled .hero-chip { text-shadow: 0 1px 8px rgba(7,24,39,.8); }
@container site (max-width: 640px) {
  .hero .slot.filled { height: calc(100svh - 76px); min-height: 600px; }
  .hero .slot.filled > .m-t { object-position: 50% 35%; }
  .hero .slot.filled > .over { background: linear-gradient(to top, rgba(7,24,39,.97) 0%, rgba(7,24,39,.92) 52%, rgba(7,24,39,.72) 76%, rgba(7,24,39,.3) 92%, rgba(7,24,39,.1) 100%); padding-bottom: 92px; }
}
.snd { position: absolute; z-index: 3; left: 10px; bottom: 54px; font: 700 13px var(--f-body); background: var(--turq); color: #071827; border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; box-shadow: 0 2px 10px rgba(7,24,39,.35); }
.snd[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .duo img + img, .duo .lbl { animation: none; } .duo img + img { opacity: 0; } }

/* ---- production frame (prod.py): no sketchbook around the site ---- */
body { background: var(--white); background-image: none; }
.desk { padding: 0; }
.stage { max-width: none; }
.site { border: 0; border-radius: 0; box-shadow: none; }
.wa[data-ref]::after, .slot > .tag, .desk-head, .page-label, .note { display: none !important; }
.slot { background-image: none; }
