/* Local to Cómo trabajamos: the shared glass background remains untouched. */
.work-editorial-page { --process-dock-space:0px; }
.work-editorial { width:min(1440px,88%);max-width:1440px;margin-inline:auto;padding-top:clamp(110px,12vw,180px);overflow:visible; }
.work-editorial .work-hero { display:grid;grid-template-columns: minmax(0,.92fr) minmax(0,1.3fr);gap:clamp(28px,4vw,70px);align-items:center;min-height: min(680px,78vh);padding:0 0 90px;margin:0;background:none;border:0;box-shadow:none; }
.work-editorial .work-hero-copy { max-width:none; }
.work-editorial .work-eyebrow { font-size:12px;letter-spacing:.13em;color:var(--vidia-text,#e8eff1);margin:0 0 22px; }
.work-editorial .work-hero h1 { font-size:clamp(34px,3.55vw,57px);font-weight:400;line-height:1.13;letter-spacing:-.045em;margin:0 0 30px; }
.work-editorial .work-hero h1 span { color:var(--vidia-accent,#a5e5eb); }
.work-editorial .work-hero .vidia-lead { font-size:clamp(15px,1.2vw,18px);line-height:1.85;max-width:600px; }
.work-editorial .work-text-link { display:inline-flex;margin-top:20px; }
.work-cad { position:relative;aspect-ratio:16/9;isolation:isolate;width:100%;margin:0;pointer-events:none; }
.work-cad img,.work-cad canvas,.work-cad svg { position:absolute;inset:0;width:100%;height:100%;object-fit:contain; }
.work-cad .wire { opacity:0; }
.work-cad .solid { opacity:1;z-index:2; }
.work-cad.cad-ready .solid { opacity:0; }
.work-cad canvas { z-index:1; }
.work-cad .cad-overlay { z-index:3;opacity:0;overflow:visible; }
.work-cad .cad-tool { z-index:5;opacity:0;overflow:visible; }
.work-cad.cad-ready .cad-tool { opacity:1; }
.work-cad .cad-overlay text { font:12px Consolas,monospace;fill:#b5dce3;letter-spacing:1.6px;paint-order:stroke;stroke:#071116;stroke-width:1px;stroke-linejoin:round; }
.work-cad .cad-overlay .dim { stroke:#99c7d0;stroke-width:1.35;fill:none; }
.work-cad .cad-overlay .extension { stroke:#7ca4ae;stroke-width:1;stroke-dasharray:6 5;opacity:.65;fill:none; }
.work-cad .cad-overlay .guide { stroke:#86bac5;stroke-width:1;opacity:.16;fill:none; }
.work-cad .cad-overlay .axis { font-size:13px; }
.work-cad .cad-tool text { font:18px Consolas,monospace;fill:#d7e9ed; }
.work-cad .cad-tool .hint { font-size:15px;fill:#9ebec5; }
.work-cad .cad-tool line,.work-cad .cad-tool path { vector-effect:non-scaling-stroke; }
.work-cad .edit { fill:#162a33;stroke:#71949e;stroke-width:1.2; }
.work-cad .cad-tool .editvalue { fill:#e2f6fa;font-size:19px; }
.work-cad .cmd { fill:#0a171d;stroke:#37535e;stroke-width:1; }
.work-cad .selection { stroke:#91c5d5;stroke-width:1.1;stroke-dasharray:4 4;fill:none; }
.work-cad .ghost { stroke:#a8d7e2;stroke-width:1;stroke-dasharray:3 3;fill:none;opacity:.65; }
.work-cad .snap { stroke:#b7d4be;fill:none;stroke-width:1; }
.work-cad .cross { stroke:#d9ecef;stroke-width:.8;fill:none; }
.work-cad .caret { stroke:#e6f4f6;stroke-width:1.2; }
.work-editorial.vidia-page { width:min(calc(100% - 64px),1360px);padding-top:130px;background:transparent; }
.work-editorial-page { --process-dock-space:0px; }
.work-editorial .work-hero { grid-template-columns:1fr 1.25fr;gap:40px; }
.work-editorial .work-hero h1 { font-size:clamp(34px,3vw,48px); }
.work-editorial .work-process { margin:0;padding:0;border:0;background:none; }
.work-editorial .work-stages { display:block;position:relative;padding:0;margin:0;list-style:none; }
.work-editorial .work-track { position:absolute;left:50%;top:46px;bottom:46px;width:1px;background:rgba(151,213,225,.19);pointer-events:none; }
.work-editorial #work-progress { position:absolute;inset:0;display:block;background:var(--vidia-accent,#a5e5eb);box-shadow:0 0 7px #8bd9e74d;transform:scaleY(0);transform-origin:top; }
.work-editorial .work-stage { position:relative;display:grid;grid-template-columns:1fr 1fr;gap:clamp(70px,12vw,180px);padding:42px 0 100px;margin:0;border:0;background:none;min-height:360px;scroll-margin-top:120px; }
.work-editorial .work-stage::before { display:none; }
.work-editorial .work-stage-number { left:50%;top:42px;transform:translateX(-50%);width:32px;height:32px;border-radius:50%;background:#081217;color:var(--vidia-accent);font:11px Montserrat,sans-serif; }
.work-editorial .work-stage.is-active .work-stage-number,.work-editorial .work-stage.is-complete .work-stage-number { background:#10262d;border-color:var(--vidia-accent);box-shadow:0 0 10px #8bd9e733; }
.work-editorial .work-stage-inner { display:block;grid-column:1;grid-row:1;padding:0;border:0;background:none;box-shadow:none;animation:none; }
.work-editorial .work-stage.work-stage-reverse .work-stage-inner { grid-column:2; }
.work-editorial .work-stage-visual { grid-column:2;grid-row:1;display:grid;place-items:center;align-self:start;min-height:210px;opacity:.55; }
.work-editorial .work-stage.work-stage-reverse .work-stage-visual { grid-column:1; }
.work-editorial .work-stage-visual svg { width:64px;height:64px;stroke:var(--vidia-accent,#a5e5eb);stroke-width:1; }
.work-editorial .work-stage-visual.work-analysis { width:100%;opacity:1;align-self:center;min-height:0; }
.work-editorial .work-analysis .work-analysis-svg { display:block;width:100%;height:auto;aspect-ratio:1000/680;background:none;border:0;box-shadow:none;stroke:none;stroke-width:1;overflow:visible; }
.work-editorial .work-analysis #wa-grid { opacity:.65; }
.work-editorial .work-stage h3 { font-size:clamp(25px,2.4vw,36px);line-height:1.25;font-weight:400;margin:0 0 26px;letter-spacing:-.025em; }
.work-editorial .work-stage .work-prose { font-size:16px;line-height:1.85; }
.work-editorial .work-stage .work-prose p { margin:0 0 17px; }
.work-editorial .work-closing { border:0;background:none;box-shadow:none;margin:30px auto 110px;padding:45px 0;text-align:center;max-width:800px; }
@media(max-width:900px) {
 .work-editorial .work-hero { grid-template-columns:1fr;min-height:0;gap:32px;padding-bottom:65px; }
 .work-cad { width:100%;max-width:720px;margin:0 auto; }
 .work-editorial .work-hero-copy { max-width:680px; }
}
@media(max-width:600px) {
 .work-editorial.vidia-page { width:88%;padding-top:40px; }
 .work-editorial .work-hero h1 { font-size:clamp(31px,7.8vw,42px); }
 .work-editorial .work-hero .vidia-lead { font-size:15px; }
 .work-editorial .work-track { left:13px; }
 .work-editorial .work-stage { display:flex;flex-direction:column;gap:20px;padding:40px 0 50px 48px;min-height:0; }
 .work-editorial .work-stage-number { left:13px;top:42px;width:26px;height:26px; }
 .work-editorial .work-stage-visual { min-height:70px;order:2;align-self:start; }
 .work-editorial .work-stage-visual svg { width:42px;height:42px; }
 .work-editorial .work-eyebrow { font-size:10px;line-height:1.7;letter-spacing:.1em; }
 .work-editorial .work-stage h3 { font-size:26px; }
 .work-editorial .work-stage .work-prose { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) {
 .work-cad .solid,.work-cad.cad-ready .solid { opacity:1!important;clip-path:none!important; }
 .work-cad canvas,.work-cad .cad-overlay,.work-cad .cad-tool { display:none; }
 .work-editorial * { scroll-behavior:auto;transition:none;animation:none; }
}

/* Four-stage methodology: quiet markers, open visual spaces, no cards. */
.work-editorial .work-stage-visual.work-photo-gallery { display:block;position:relative;width:100%;aspect-ratio:1.55;min-height:0;align-self:center;opacity:1;isolation:isolate; }
.work-editorial .work-photo-frame { position:absolute;inset:0;display:block;margin:0;opacity:0;visibility:hidden;transition:opacity .85s ease,visibility 0s .85s;pointer-events:none; }
.work-editorial .work-photo-frame.is-active { opacity:1;visibility:visible;transition:opacity .85s ease; }
.work-editorial .work-photo-frame img { display:block;width:100%;height:calc(100% - 34px);object-fit:cover;border:0;border-radius:0;box-shadow:none;filter:brightness(.91) saturate(.94);-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(0deg,transparent,#000 7%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(0deg,transparent,#000 7%,#000 94%,transparent);-webkit-mask-composite:source-in;mask-composite:intersect; }
.work-editorial .work-photo-frame img.work-photo-portrait { object-fit:contain; }
.work-editorial .work-photo-frame img {
 filter:brightness(.9) saturate(.9) contrast(1.02);
 -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(0deg,transparent,#000 5%,#000 96%,transparent);
 mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(0deg,transparent,#000 5%,#000 96%,transparent);
 -webkit-mask-composite:source-in;mask-composite:intersect;
}
.work-editorial .work-photo-frame figcaption { position:absolute;inset:auto 7% 0;margin:0;color:var(--vidia-muted);font-size:10px;font-weight:400;line-height:1.6;letter-spacing:.07em;text-transform:none; }
.work-editorial .work-diagnostic { position:absolute;inset:0 0 34px;pointer-events:none;color:#d4edf0;font:10px/1.5 Montserrat,sans-serif; }
.work-editorial .work-diagnostic span,.work-editorial .work-diagnostic small { position:absolute;z-index:1;left:8%;top:8%;padding:5px 7px;background:rgba(5,18,24,.75);font-size:9px;letter-spacing:.04em; }
.work-editorial .work-diagnostic small { top:auto;bottom:9%;left:auto;right:7%; }
.work-editorial .work-diagnostic svg { width:100%;height:100%;fill:none;stroke:#a5d7df;stroke-width:1;opacity:.65; }
.work-editorial .work-gallery-pause { position:absolute;z-index:3;left:8%;top:8%;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
.work-editorial .work-gallery-pause:focus-visible { width:auto;height:auto;clip-path:none;overflow:visible;padding:8px 12px;color:var(--vidia-text);background:#081217;border:1px solid var(--vidia-accent); }
@media(max-width:600px) {
 .work-editorial .work-stage-visual.work-photo-gallery { aspect-ratio:1.3; }
 .work-editorial .work-diagnostic span,.work-editorial .work-diagnostic small { font-size:8px; }
}
@media(prefers-reduced-motion:reduce) {
 .work-editorial .work-photo-frame,.work-editorial .work-photo-frame.is-active { transition:none; }
 .work-editorial .work-gallery-pause { display:none; }
}
.work-editorial .work-stage { gap:clamp(64px,8vw,130px);padding:64px 0 96px;min-height:390px;align-items:center; }
.work-editorial .work-stage-inner { position:relative;padding-left:clamp(74px,7vw,100px); }
.work-editorial .work-stage-number { position:absolute;left:0;top:-12px;transform:none;display:block;width:auto;height:auto;margin:0;padding:0;border:0;border-radius:0;background:none;color:rgba(166,217,225,.38);font:300 clamp(58px,6.6vw,88px)/1 Montserrat,sans-serif;letter-spacing:-.06em;box-shadow:none; }
.work-editorial .work-stage.is-active .work-stage-number,.work-editorial .work-stage.is-complete .work-stage-number { background:none;border:0;box-shadow:none;color:rgba(166,217,225,.42); }
.work-editorial .work-stage-marker { position:absolute;left:50%;top:80px;transform:translateX(-50%);width:9px;height:9px;box-sizing:border-box;border:1px solid rgba(166,217,225,.5);border-radius:50%;background:#081217; }
.work-editorial .work-stage.is-active .work-stage-marker,.work-editorial .work-stage.is-complete .work-stage-marker { border-color:var(--vidia-accent);background:var(--vidia-accent);box-shadow:0 0 5px #8bd9e733; }
.work-editorial #work-progress { box-shadow:none;opacity:.65; }
.work-editorial .work-stage h3 { font-size:clamp(25px,2.6vw,36px);line-height:1.2;margin-bottom:24px; }
.work-editorial .work-stage .work-prose p { margin:0;font-size:16px;line-height:1.8; }
.work-editorial .work-visual-reserved { aspect-ratio:3/2;min-height:0;width:100%;opacity:0; }
.work-editorial .work-closing { max-width:1100px;margin:40px auto 90px;padding:35px 0; }
.work-editorial .work-closing h2 { margin:0 0 32px;font-size:clamp(25px,3vw,38px);font-weight:400; }
@media(max-width:900px) and (min-width:601px) {
 .work-editorial .work-stage { gap:50px; }
 .work-editorial .work-stage-inner { padding-left:0; }
 .work-editorial .work-stage-number { position:static;margin-bottom:18px;font-size:58px; }
}
@media(max-width:600px) {
 .work-editorial .work-stage { gap:28px;padding:42px 0 66px 40px;min-height:0; }
 .work-editorial .work-stage-inner { padding-left:58px; }
 .work-editorial .work-stage-number { left:0;top:-5px;font-size:48px; }
 .work-editorial .work-stage-marker { left:13px;top:52px; }
 .work-editorial .work-stage h3 { font-size:25px; }
 .work-editorial .work-stage .work-prose p { font-size:14px; }
 .work-editorial .work-visual-reserved { aspect-ratio:2/1;min-height:90px; }
 .work-editorial .work-stage-visual.work-analysis { width:100%; }
}
