/* =========================================================
   ABL · v2 (21-oct) · visuales de la historia
   abundancia (campo) · verificación (escorpión, loop) · cadena
   · cuello de botella · intención · continuidad · piezas · PHP
   · unanimidad. Sin .is-active todo queda en su estado final.
   ========================================================= */

.kicker { font-size: var(--label); letter-spacing: .02em; color: var(--accent-ink); margin: -4px 0 14px; }
.dark .kicker { color: #ffb28a; }
.photo-credit { position: absolute !important; right: 40px; bottom: 58px; z-index: 2; font-size: 12.5px; color: rgba(255,255,255,.55); }

/* Imagen a sangre (divisor con foto) */
.slide > img.bleed, .slide > .shade { position: absolute !important; inset: 0; z-index: 0 !important; }
.slide > img.bleed { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.photo-div > .shade { background: linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.82) 45%, rgba(10,10,10,.45) 100%); }
.photo-div::before { display: none; }
.is-active > img.bleed { animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- 01 · Campo de 10,000 ---------- */
.field-layout { max-width: 1200px; width: 100%; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.field-copy h2 { font-size: clamp(34px, 3.8vw, 56px); font-weight: 400; letter-spacing: -.035em; line-height: 1.03; margin-bottom: 18px; }
.field-lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.42; color: var(--dark-muted); max-width: 34ch; }
.field-stats { display: flex; gap: 40px; margin: 26px 0; padding-top: 18px; border-top: 1px solid var(--dark-faint); }
.field-stats b { display: block; font-size: clamp(40px, 4.2vw, 62px); font-weight: 500; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.field-stats span { display: block; font-size: 15px; color: var(--dark-muted); margin-top: 8px; max-width: 18ch; }
.field-punch { font-size: clamp(22px, 2vw, 30px); line-height: 1.22; letter-spacing: -.02em; }
.field-viz { position: relative; width: 100%; aspect-ratio: 1; max-height: min(66vh, 600px); justify-self: center; max-width: min(66vh, 600px); }
.field-canvas { width: 100%; height: 100%; display: block; }
.field-legend { position: absolute; left: 0; right: 0; bottom: -34px; display: flex; justify-content: space-between; font-size: 15px; color: var(--dark-muted); }
.field-legend b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.field-legend .f-one::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); margin-right: 8px; vertical-align: 1px; }

/* ---------- 02 · Escorpión ---------- */
.scorp-photo { position: absolute !important; top: 0; right: 0; bottom: 0; width: 60%; z-index: 0 !important; }
.scorp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; display: block; opacity: .92;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.is-active .scorp-photo img { animation: kenburns 16s ease-out both; }
[data-name="scorpion"]::before { display: none; }
.scorp-layout { max-width: 1200px; width: 100%; }
.scorp-copy { max-width: 560px; }
.scorp-copy h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 400; letter-spacing: -.034em; line-height: 1.05; margin-bottom: 22px; }
.funnel { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.funnel li { display: grid; grid-template-columns: 200px 1fr; align-items: baseline; gap: 16px; padding: 8px 0; border-top: 1px solid var(--dark-faint); transition: opacity .6s ease; }
.funnel b { font-size: clamp(34px, 3.3vw, 50px); font-weight: 500; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.funnel span { font-size: clamp(15px, 1.2vw, 18px); color: var(--dark-muted); line-height: 1.35; }
.dots { display: grid; grid-template-columns: repeat(30, 1fr); gap: 5px; max-width: 420px; margin: 18px 0 14px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.2); transition: opacity .4s ease, transform .5s cubic-bezier(.16,1,.3,1), background .5s ease, box-shadow .5s ease; }
.dots i.hit { background: var(--accent); box-shadow: 0 0 10px rgba(255,79,0,.8); }
.fine { font-size: 14.5px; color: var(--dark-muted); }
/* secuencia: .anim reinicia, ph1-3 avanzan */
[data-name="scorpion"].anim .funnel li { opacity: .18; }
[data-name="scorpion"].anim.ph1 .funnel li:nth-child(1),
[data-name="scorpion"].anim.ph2 .funnel li:nth-child(-n+2),
[data-name="scorpion"].anim.ph3 .funnel li { opacity: 1; }
[data-name="scorpion"].anim .dots i { opacity: 0; transform: scale(.2); }
[data-name="scorpion"].anim.ph2 .dots i { opacity: 1; transform: none; transition-delay: calc(var(--k) * 3ms); }
[data-name="scorpion"].anim.ph2:not(.ph3) .dots i.hit { background: rgba(255,255,255,.55); box-shadow: none; }
[data-name="scorpion"].anim.ph3 .dots i { transition-delay: 0s; }
[data-name="scorpion"].anim.ph3 .dots i:not(.hit) { opacity: .45; }
[data-name="scorpion"].anim.ph3 .dots i.hit { transform: scale(1.35); }

/* ---------- 02 · Loop de verificación ---------- */
.verifier-wrap { gap: 26px; max-width: 1160px; }
.verifier { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; width: 100%; }
.vloop { max-width: 440px; justify-self: center; }
.labs { display: flex; flex-direction: column; }
.labs-k { font-size: var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 10px; }
.lab { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--hair); }
.lab:last-child { border-bottom: 1px solid var(--hair); }
.lab-d { font-size: var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.lab-t { font-size: clamp(20px, 1.8vw, 27px); letter-spacing: -.02em; line-height: 1.2; }
.lab.hot { background: linear-gradient(90deg, rgba(255,79,0,.07), rgba(255,79,0,0)); padding-left: 14px; margin-left: -14px; border-top-color: rgba(255,79,0,.5); }
.lab.hot .lab-d, .lab.hot .lab-t { color: var(--accent-ink); }
.lab.hot .lab-t { font-weight: 500; }

/* ---------- 03 · Cadena ---------- */
.chain { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; width: 100%; padding-top: 34px; }
.chain-line { position: absolute; top: 12.5px; left: 32px; right: calc((100% - 66px) / 4 - 32px); height: 2px; background: var(--accent); transform-origin: left center; }
.is-active .chain-line { animation: grow-x 1.8s cubic-bezier(.45,0,.2,1) .1s both; }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: none; } }
.link { position: relative; border: 1px solid var(--hair); border-radius: 20px; background: var(--card); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.link::before { content: ''; position: absolute; top: -27px; left: 26px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.link.hot { border-color: rgba(255,79,0,.55); background: linear-gradient(180deg, rgba(255,79,0,.06), rgba(255,79,0,0) 70%), var(--card); }
.link.hot::before { background: var(--accent); box-shadow: 0 0 12px rgba(255,79,0,.6); }
.link-n { font-size: 14px; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.link-k { font-size: clamp(20px, 1.7vw, 25px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.link-t { font-size: clamp(16px, 1.25vw, 19px); color: var(--muted); line-height: 1.4; margin-top: auto; }

/* ---------- 03 · Pregunta central (palabra por palabra) ---------- */
.q-wrap { max-width: 1060px; }
.q-wrap h2 { font-size: clamp(36px, 4.4vw, 66px); line-height: 1.1; letter-spacing: -.035em; }
.words .w { display: inline-block; white-space: pre; }
.is-active .words .w { animation: dg-rise .9s cubic-bezier(.16,1,.3,1) both; animation-delay: var(--d, 0s); }

/* ---------- 04 · Cuello de botella ---------- */
.bn { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.bn-heads, .bn-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.bn-heads > div { border-top: 1px solid var(--hair-strong); padding-top: 12px; }
.bn-heads > div.hot { border-top-color: var(--accent); }
.bn-heads b { display: block; font-size: clamp(20px, 1.7vw, 25px); font-weight: 600; letter-spacing: -.02em; }
.bn-heads .hot b { color: var(--accent-ink); }
.bn-heads span { display: block; font-size: 15.5px; color: var(--muted); margin-top: 4px; }
.bn-canvas { width: 100%; height: clamp(230px, 34vh, 340px); display: block; }
.bn-foot > div { display: flex; gap: 28px; font-size: 15.5px; color: var(--muted); }
.bn-foot b { color: var(--ink); font-size: 26px; font-weight: 500; letter-spacing: -.03em; margin-left: 8px; font-variant-numeric: tabular-nums; vertical-align: -3px; }
.bn-foot > div:first-child span:first-child b { color: #b3261e; }
.bn-foot .hot span:last-child b { color: var(--accent-ink); }

/* ---------- 05 · Intención (propuesta de honorarios) ---------- */
.intent { display: grid; grid-template-columns: .78fr 1.22fr; gap: 48px; align-items: start; width: 100%; }
.intent .k { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 12px; }
.intent .k.hot { color: var(--accent-ink); }
.intent-today { border-right: 1px solid var(--hair); padding-right: 40px; }
.intent-today .dg { max-width: 380px; }
.intent-today .dg .t { font-size: 16px; font-weight: 500; }
.intent-today .zig { stroke-dasharray: 5 6; animation: dashflow 1.4s linear infinite; }
.intent-today p { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); margin-top: 8px; }
.intent-today p strong { color: var(--ink); font-weight: 600; }
.intent-agent .prompt-card { margin: 0 0 14px; }
.trace { list-style: none; display: flex; flex-direction: column; }
.trace li { display: grid; grid-template-columns: 30px 1fr auto; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--hair); }
.trace li:last-child { border-bottom: 1px solid var(--hair); }
.trace b { font-size: clamp(16.5px, 1.3vw, 19.5px); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.trace span { font-size: 14px; color: var(--faint); text-align: right; white-space: nowrap; }
.trace i { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px; font-weight: 700; }
.trace .ok i { background: rgba(13,13,13,.06); color: var(--ink); }
.trace .ok i::before { content: '✓'; }
.trace .wait i { border: 1.5px solid var(--ink); }
.trace .wait i::before { content: '‖'; font-size: 13px; }
.trace .up i { background: var(--accent); color: #fff; }
.trace .up i::before { content: '↑'; }
.trace .lock i { background: var(--ink); position: relative; }
.trace .lock i::before { content: ''; position: absolute; left: 8px; top: 12px; width: 10px; height: 8px; border-radius: 2px; background: #fff; }
.trace .lock i::after { content: ''; position: absolute; left: 9.5px; top: 6.5px; width: 7px; height: 7px; box-sizing: border-box; border: 1.6px solid #fff; border-bottom: 0; border-radius: 4px 4px 0 0; }
.trace .wait b, .trace .up b, .trace .lock b { font-weight: 600; }
.trace .up span, .trace .up b { color: var(--accent-ink); }
.trace .wait span, .trace .lock span { color: var(--ink); }

/* ---------- 05 · Continuidad (chat del asunto) ---------- */
.cont { max-width: 1220px; width: 100%; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.cont-copy h2 { font-size: clamp(34px, 3.7vw, 54px); font-weight: 400; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 26px; }
.cont-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.cont-vs > div { border: 1px solid var(--hair); border-radius: 16px; padding: 14px 16px; background: var(--card); }
.cont-vs > div.hot { border-color: rgba(255,79,0,.55); background: rgba(255,79,0,.05); }
.cont-vs b { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.cont-vs .hot b { color: var(--accent-ink); }
.cont-vs span { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.3; }
.cont-props { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cont-props li { font-size: clamp(16px, 1.25vw, 19px); color: var(--muted); line-height: 1.35; padding-left: 20px; position: relative; }
.cont-props li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.cont-props b { color: var(--ink); font-weight: 600; }
.chat { border: 1px solid var(--hair-strong); border-radius: 22px; background: var(--card); box-shadow: 0 30px 70px rgba(20,22,40,.10); overflow: hidden; display: flex; flex-direction: column; height: min(64vh, 600px); }
.chat-head { padding: 14px 20px; border-bottom: 1px solid var(--hair); font-weight: 600; font-size: 16px; display: flex; align-items: baseline; gap: 6px; }
.chat-head .hash { color: var(--faint); font-weight: 400; }
.chat-head em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--faint); margin-left: auto; }
.chat-body { flex: 1; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; justify-content: flex-start; }
.msg { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.msg .av { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; background: #ecece6; color: var(--ink); }
.msg.ai .av { background: var(--ink); color: #fff; }
.msg b { font-size: 14.5px; font-weight: 700; }
.msg p, .msg li { font-size: clamp(15px, 1.12vw, 17px); line-height: 1.42; color: var(--body); }
.msg p strong, .msg li strong { color: var(--ink); font-weight: 600; }
.msg ul { list-style: none; margin-top: 4px; display: flex; flex-direction: column; gap: 5px; }
.msg li { padding-left: 14px; position: relative; }
.msg li::before { content: '–'; position: absolute; left: 0; color: var(--faint); }
.msg .src { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.msg .src span { font-size: 12.5px; color: var(--muted); border: 1px solid var(--hair-strong); border-radius: 999px; padding: 3px 10px; background: var(--bg); }
.msg.ask > div { background: rgba(255,79,0,.07); border-left: 2px solid var(--accent); padding: 8px 12px; border-radius: 0 10px 10px 0; }
.msg.ask p { color: var(--ink); }
.typing { display: none; gap: 5px; padding: 6px 0 0 46px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #b9b9b2; animation: typing 1s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat.anim .msg { display: none; }
.chat.anim .msg.shown { display: grid; animation: dg-rise .55s cubic-bezier(.16,1,.3,1) both; }
.chat.anim .typing.on { display: flex; }

/* ---------- 05 · Piezas ---------- */
.pieces { position: relative; width: min(1000px, 100%); height: clamp(320px, 46vh, 440px); container-type: size; }
.pieces-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.pieces-lines line { stroke: var(--accent); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 4 5; opacity: .75; }
.agent-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(108px, 32cqh, 150px); height: clamp(108px, 32cqh, 150px); border-radius: 50%; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; z-index: 2; box-shadow: 0 0 0 10px rgba(255,79,0,.08), 0 0 0 22px rgba(255,79,0,.04); }
.agent-core b { font-size: 26px; font-weight: 600; }
.agent-core span { font-size: 12.5px; color: rgba(255,255,255,.7); max-width: 12ch; line-height: 1.3; margin-top: 4px; }
.piece { position: absolute; left: calc(var(--l) * 1%); top: calc(var(--t) * 1%); transform: translate(-50%, -50%); width: clamp(190px, 22cqw, 250px); border: 1px solid var(--hair-strong); border-radius: 18px; background: var(--card); padding: 14px 18px; z-index: 3; }
.piece b { display: block; font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.015em; }
.piece span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.35; margin-top: 3px; }
.piece em { display: inline-block; font-style: normal; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: var(--faint); margin-top: 8px; }
.piece.hot { border-color: rgba(255,79,0,.6); background: linear-gradient(180deg, rgba(255,79,0,.07), rgba(255,79,0,0)), var(--card); }
.piece.hot b { color: var(--accent-ink); }
.app-box { position: absolute; left: 50%; top: 50%; width: 360px; height: 200px; transform: translate(-50%, -50%); border: 1.5px solid var(--ink); border-radius: 20px; background: var(--card); z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; opacity: 0; pointer-events: none; }
.app-box span { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.app-box em { font-style: normal; font-size: 14.5px; color: var(--muted); max-width: 40ch; padding: 0 16px; }
.is-active .app-box { animation: appbox 1.5s cubic-bezier(.65,0,.35,1) both; }
@keyframes appbox { 0%, 55% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); } }
.is-active .piece { animation: piece-out 1.1s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.85s + var(--i, 0) * .07s); }
.piece:nth-of-type(1) { --i: 0; } .piece:nth-of-type(2) { --i: 1; } .piece:nth-of-type(3) { --i: 2; } .piece:nth-of-type(4) { --i: 3; } .piece:nth-of-type(5) { --i: 4; }
@keyframes piece-out { from { opacity: 0; transform: translate(calc(-50% + (50 - var(--l)) * 1cqw), calc(-50% + (50 - var(--t)) * 1cqh)) scale(.5); } 30% { opacity: 1; } to { opacity: 1; transform: translate(-50%, -50%); } }
.is-active .agent-core { animation: core-in .8s cubic-bezier(.16,1,.3,1) 1.2s both; }
@keyframes core-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } to { opacity: 1; transform: translate(-50%, -50%); } }
.is-active .pieces-lines line { animation: lines-in .9s ease 1.7s both; }
@keyframes lines-in { from { opacity: 0; } to { opacity: .75; } }

/* ---------- 05 · PHP ---------- */
.php-wrap { max-width: 1120px; gap: 26px; }
.php-line { max-width: 1060px; }
.php-line .php-track { stroke: var(--dark-faint); stroke-width: 2; }
.php-line .php-prog { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 860; stroke-dashoffset: 0; }
.is-active .php-line .php-prog { animation: php-prog 2.6s cubic-bezier(.45,0,.2,1) .4s both; }
@keyframes php-prog { from { stroke-dashoffset: 860; } to { stroke-dashoffset: 0; } }
.php-line .php-dot { fill: var(--accent); }
.php-line .php-dot.end { fill: #fff; }
.is-active .php-line .php-dot.end { animation: php-end .5s ease 2.9s both; }
@keyframes php-end { from { fill: var(--dark); } to { fill: #fff; } }
.php-line text { fill: #fff; }
.php-line .php-t { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.php-line .php-s { font-size: 15.5px; fill: rgba(255,255,255,.62); }
.php-quote { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; color: rgba(255,255,255,.8); text-align: center; max-width: 860px; }
.php-quote span { display: block; font-size: 14px; color: var(--dark-muted); margin-top: 6px; }
.dark .diagram-punch { color: #fff; }

/* ---------- 06 · Unanimidad ---------- */
.una { max-width: 1200px; width: 100%; display: grid; grid-template-columns: 1fr .9fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.una-copy h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 400; letter-spacing: -.034em; line-height: 1.06; margin-bottom: 18px; }
.una-num { display: flex; flex-direction: column; gap: 6px; padding: 16px 0 18px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); margin-bottom: 20px; }
.una-big { font-size: clamp(96px, 11vw, 168px); font-weight: 500; letter-spacing: -.06em; line-height: .9; color: var(--accent); font-variant-numeric: tabular-nums; }
.una-cap { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); }
.una-cap.c2 { display: none; }
.una.ph2 .una-cap.c1 { display: none; }
.una.ph2 .una-cap.c2 { display: block; color: var(--ink); }
.una-punch { font-size: clamp(20px, 1.8vw, 27px); line-height: 1.28; letter-spacing: -.02em; }
.una-punch strong { font-weight: 600; }
.una-viz { display: flex; flex-direction: column; gap: 12px; }
.waffle { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; width: min(100%, 52vh, 470px); align-self: center; }
.waffle i { aspect-ratio: 1; border-radius: 6px; background: #ebebe5; position: relative; transition: background .5s ease, transform .6s cubic-bezier(.16,1,.3,1), opacity .4s ease, box-shadow .5s ease; }
.waffle i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 46%; height: 14%; transform: translate(-50%, -50%); background:
  radial-gradient(circle, rgba(13,13,13,.28) 45%, transparent 50%) 0 0 / 33.3% 100% repeat-x; }
.waffle i.agree { background: var(--accent); box-shadow: 0 6px 16px rgba(255,79,0,.25); }
.waffle i.agree::after { background: radial-gradient(circle, rgba(255,255,255,.95) 45%, transparent 50%) 0 0 / 33.3% 100% repeat-x; }
.waffle i.agree.drop { background: rgba(255,79,0,.18); box-shadow: none; }
.waffle i.agree.drop::after { background: radial-gradient(circle, rgba(13,13,13,.28) 45%, transparent 50%) 0 0 / 33.3% 100% repeat-x; }
.waffle-cap { font-size: 13.5px; color: var(--faint); text-align: center; }
.una.anim .waffle i { opacity: 0; transform: scale(.4); }
.una.anim.ph0 .waffle i { opacity: 1; transform: none; transition-delay: calc(var(--k) * 9ms); }
.una.anim:not(.ph1) .waffle i.agree { background: #ebebe5; box-shadow: none; }
.una.anim:not(.ph1) .waffle i.agree::after { background: radial-gradient(circle, rgba(13,13,13,.28) 45%, transparent 50%) 0 0 / 33.3% 100% repeat-x; }
.una.anim.ph1 .waffle i { transition-delay: 0s; }
.una.anim.ph1 .waffle i.agree { transition-delay: calc(var(--j) * 40ms); }
.una:not(.ph2) .waffle i.agree.drop { background: var(--accent); box-shadow: 0 6px 16px rgba(255,79,0,.25); }
.una:not(.ph2) .waffle i.agree.drop::after { background: radial-gradient(circle, rgba(255,255,255,.95) 45%, transparent 50%) 0 0 / 33.3% 100% repeat-x; }
.una.anim:not(.ph1) .waffle i.agree.drop { background: #ebebe5; box-shadow: none; }
.una.anim:not(.ph1) .waffle i.agree.drop::after { background: radial-gradient(circle, rgba(13,13,13,.28) 45%, transparent 50%) 0 0 / 33.3% 100% repeat-x; }

/* ---------- Ajustes de altura / móvil ---------- */
@media (max-height: 800px) and (min-width: 901px) {
  .field-copy h2, .cont-copy h2 { font-size: 40px; }
  .field-stats { margin: 18px 0; }
  .funnel li { padding: 5px 0; }
  .link { min-height: 180px; padding: 20px; }
  .trace li { padding: 8px 0; }
  .lab { padding: 13px 0; }
  .chat { height: min(70vh, 520px); }
  .msg p, .msg li { font-size: 14.5px; }
  .una-big { font-size: 120px; }
  .q-wrap h2 { font-size: 48px; }
}
@media (max-width: 900px) {
  .field-layout, .verifier, .intent, .cont, .una, .bn-heads, .bn-foot { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr 1fr; } .chain-line { display: none; } .link::before { display: none; }
  .intent-today { border-right: 0; padding-right: 0; }
  .scorp-photo { width: 100%; opacity: .35; }
  .funnel li { grid-template-columns: 130px 1fr; }
  .lab { grid-template-columns: 1fr; gap: 4px; }
  .field-legend { position: static; margin-top: 8px; }
  .pieces { height: auto; container-type: normal; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .pieces-lines, .app-box { display: none; }
  .agent-core { position: static; transform: none; width: auto; height: auto; border-radius: 18px; padding: 16px; grid-column: 1 / -1; }
  .piece { position: static; transform: none; width: auto; animation: none !important; }
  .is-active .agent-core { animation: none; }
  .chat { height: auto; }
  .trace span { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .is-active .words .w, .is-active .app-box, .is-active .piece, .is-active .agent-core, .is-active .pieces-lines line,
  .is-active .chain-line, .is-active .php-line .php-prog, .is-active > img.bleed, .is-active .scorp-photo img { animation: none !important; }
}
