:root{--cobalt:#1f4e8c;--brand:#1f4e8c;--brand-deep:#14375f;--brand-pale:#edf2f7;--ink:#172a40}body{font-family:'DM Sans',sans-serif;font-size:16px;line-height:1.65}.architecture-rail,.order-mobile{display:none!important}.order-cell{position:relative;overflow:hidden;flex:none;width:100%;height:100%;isolation:isolate}.order-cell>img{position:absolute;top:0;left:calc(var(--order-slot,0)*-100%);width:600%;height:100%;object-fit:fill;max-width:none;pointer-events:none}.order-cell-single>img{width:260%;left:-80%}.order-cell-classic[style*="--order-slot:4"]{clip-path:inset(0 18% 0 0)}.order-cell-classic[style*="--order-slot:5"]>img{width:500%;left:-400%}.chapter{position:relative}.chapter>.section-inner{max-width:1280px!important;padding:65px 7% 95px!important}.architecture-scene{height:clamp(370px,57svh,600px);position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:55px 7%;background:#1f4e8c;color:#fff;border-bottom:1px solid #ffffff1f}.architecture-scene:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 60% 34% at 50% 55%,#1f4e8cd9,transparent);z-index:1;pointer-events:none}.scene-column{position:absolute;left:50%;top:50%;height:105%;width:min(29svh,235px);transform:translate(-50%,-50%) translateY(var(--scene-y,0px)) rotateY(var(--scene-turn,0deg)) scale(var(--scene-scale,1));filter:drop-shadow(20px 15px 14px #0b274b30);opacity:.55;will-change:transform}.scene-orbit{position:absolute;left:50%;top:50%;width:55svh;height:55svh;border:1px solid #ffffff20;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.scene-orbit:after{content:'';position:absolute;inset:13%;border:1px solid #ffffff12;border-radius:50%}.architecture-title{position:relative;z-index:2;text-align:center;max-width:920px}.architecture-title>span{font:11px monospace!important;letter-spacing:.1em;color:#d5e2f2!important}.architecture-title .editorial-title{font-family:'DM Sans',sans-serif;font-size:clamp(38px,4.8vw,67px);font-weight:450;line-height:1.13;letter-spacing:-.045em;color:#fff;margin:20px auto 0;text-wrap:balance;max-width:20ch}.architecture-scene[data-composition=offset]{justify-content:flex-start}.architecture-scene[data-composition=offset] .architecture-title{text-align:left;max-width:67%}.architecture-scene[data-composition=offset] .scene-column{left:78%;height:115%;opacity:.95}.architecture-scene[data-composition=offset]:after{background:linear-gradient(90deg,#1f4e8c88,transparent 75%)}.architecture-scene[data-composition=offset] .scene-orbit{left:78%}.chapter-2 .section-inner>.grid{display:block}.chapter-2 .space-y-6{max-width:850px;margin:auto}.chapter-2 .space-y-6>p:first-child{font-size:23px;line-height:1.6;letter-spacing:-.015em}.chapter-2 .space-y-6>p{font-size:17px;line-height:1.8}.chapter-3 .section-inner>.flex{justify-content:flex-end}.chapter-3 .section-inner>.flex p{max-width:640px;margin:0 auto;font-size:17px;line-height:1.75}.chapter-3 .group p{font-size:15px;line-height:1.7}.chapter-3 .group h3{font-size:23px;line-height:1.2}.chapter-4 .section-inner>.max-w-2xl{display:none}.chapter-4 .section-inner>.mt-14{margin-top:0}.chapter-4 .divide-y p{font-size:16px;line-height:1.75}.chapter-4 h3{font-size:23px;line-height:1.3}.chapter-5 .section-inner p{font-size:16px;line-height:1.75}.chapter-6 .section-inner>.max-w-2xl{display:none}.chapter-6 .group p{font-size:15px;line-height:1.75}.chapter-6 article h3{font-family:'DM Sans',sans-serif;font-size:23px;font-weight:500;line-height:1.25}.chapter-7 .section-inner>.grid{grid-template-columns:1fr 1.35fr;gap:45px}.chapter-7 .section-inner>.grid>div{grid-column:auto!important}.chapter-7 p{font-size:16px;line-height:1.75}.chapter-8 .section-inner>.flex{justify-content:flex-end}.chapter-8 .section-inner>.flex p{font-size:17px;line-height:1.7;max-width:650px}.chapter-8 h3{font-family:'DM Sans',sans-serif;font-size:31px;font-weight:500;line-height:1.2}.chapter-8 p{font-size:16px;line-height:1.75}.chapter-9 .section-inner p{font-size:16px;line-height:1.75}.chapter-9 .section-inner h3{font-family:'DM Sans',sans-serif;font-size:24px;font-weight:500}.embedded-architecture{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}.embedded-architecture>.order-cell{position:absolute;left:50%;top:50%;width:25svh;height:108%;opacity:.17;transform:translate(-50%,-50%) translateY(var(--scene-y,0px)) rotateY(var(--scene-turn,0deg));filter:drop-shadow(12px 15px 10px #0002)}.embedded-recorrido>.order-cell{left:70%;height:118%;width:35svh;opacity:.17}.story-heading,.story-stage,.story-navigation{position:relative;z-index:2}.brand-film{position:relative;isolation:isolate;padding:85px 7% 95px;grid-template-columns:1fr 1.75fr;gap:7%}.film-copy,.film-player{position:relative;z-index:2}.embedded-presentacion>.order-cell{left:27%;height:145%;opacity:.16}.film-copy h2{font-family:'DM Sans',sans-serif;font-size:clamp(38px,4vw,59px);line-height:1.13;font-weight:450;letter-spacing:-.04em}.film-copy p{font-size:16px;line-height:1.8}.chapter-10{position:relative;isolation:isolate}.chapter-10 .section-inner{position:relative;z-index:2}.embedded-demo>.order-cell{left:80%;height:150%;width:33svh;opacity:.14}.chapter-10 .editorial-title{font-family:'DM Sans',sans-serif;font-size:clamp(40px,4.5vw,66px);line-height:1.12;font-weight:450;letter-spacing:-.04em}.chapter-10 p{font-size:17px!important;line-height:1.8}.site-footer{position:relative;isolation:isolate}.embedded-footer>.order-cell{left:82%;height:130%;opacity:.13;width:29svh}.site-footer>div:not(.embedded-architecture):not(.footer-signature){position:relative;z-index:2;max-width:1280px;padding:65px 7% 30px}.site-footer>.footer-signature{position:relative;z-index:2;padding:0 6%}.story-pin{padding:5vh 5% 3vh}.story-stage{grid-template-columns:27% 73%}.story-copy h3{font-size:clamp(34px,3.7vw,51px);line-height:1.1}.story-copy p{font-size:15px;line-height:1.7}.story-copy a{font-size:13px}.story-heading h2{font-size:clamp(38px,4.6vw,66px);line-height:1.08}.story-capture-date{display:block}.story-tabs button{font-size:12px;min-height:44px}.story-scroll-hint{font-size:9px}.hero{min-height:760px;max-height:1100px;background:#1f4e8c}.hero-copy{padding-top:clamp(130px,16vh,190px);width:78%}.hero h1{font-size:clamp(56px,6.7vw,98px);line-height:1.09;letter-spacing:-.055em;font-weight:450;margin:27px 0}.hero h1 em{font-size:1.12em;letter-spacing:-.025em}.hero-copy>p{font-size:16px;line-height:1.8;max-width:465px;color:#e2ebf5}.hero-art{width:47%;height:90%;right:0;bottom:0;opacity:1}.hero-art>img{object-fit:contain;mask-image:none;mix-blend-mode:normal;transition:opacity .6s}.hero-art:after{background:linear-gradient(0deg,#1f4e8c 0%,transparent 13%);z-index:5}.hero-webgl-ready .hero-art>img{opacity:0}.hero-motion-toggle{position:absolute;z-index:9;right:5%;bottom:110px;background:#173d7050;color:#e9f1fa;border:1px solid #ffffff45;border-radius:28px;padding:10px 15px;display:flex;gap:9px;align-items:center;min-height:44px;font-size:11px}.hero-motion-toggle:hover{background:#14375f;color:#fff}#hero-sculpture{position:absolute;inset:0;z-index:3}#hero-sculpture canvas{display:block;width:100%;height:100%;opacity:1}.hero .eyebrow{font-size:10px;letter-spacing:.08em}.hero-actions .cta-light{font-size:14px;padding:17px 23px}.hero-actions .text-link{font-size:13px}.site-header nav a,.client-link{font-size:13px}.header-demo{font-size:13px}.header-actions{gap:22px}.hero-bottom p{font-size:12px}.eyebrow i{background:#c7dcf2;box-shadow:0 0 16px #8cb3db80}.passage-order{width:28svh;height:102svh;filter:drop-shadow(14px 25px 18px #102b4b40)}.passage-order>.order-cell{height:100%;width:100%}.columns-pin{background:radial-gradient(ellipse at 50% 43%,#4475ae 0%,#1f4e8c 60%,#153b6c 100%)}.columns-glow{background:radial-gradient(ellipse 26% 44% at center,#1f4e8cbd 0%,#1f4e8c45 68%,transparent 100%)}::selection{background:#14375f;color:#fff}a:focus-visible,button:focus-visible{outline:3px solid #7ca7d4;outline-offset:5px}.cta-light:hover,.chapter-10 a:hover,.columns-outro a:hover{background:#14375f!important;color:#fff!important}.header-demo:hover{background:#14375f;color:#fff;border-color:#14375f}.chapter-3 .group:hover,.chapter-6 article:hover,.chapter-9 .rounded-lg:hover,.chapter-4 .divide-y>div:hover{background:#173d70;color:white}.chapter-3 .group:hover h3,.chapter-3 .group:hover p,.chapter-6 article:hover h3,.chapter-6 article:hover p,.chapter-6 article:hover span,.chapter-9 .rounded-lg:hover h3,.chapter-9 .rounded-lg:hover p,.chapter-4 .divide-y>div:hover h3,.chapter-4 .divide-y>div:hover p,.chapter-4 .divide-y>div:hover div{color:#fff!important}.chapter-9 .rounded-lg{transition:background .25s,color .25s}.chapter-4 .divide-y>div:hover{padding-left:12px}.reading-progress{background:#87b0da}.story-tabs button i,.columns-progress i{background:#87b0da}.image-trigger:hover{background:none}.site-footer a:hover{color:#14375f}.columns-outro a{font-size:14px}.columns-outro h2{line-height:1.08}.columns-intro p{line-height:1.05}.skip-link:focus{background:#14375f;color:white}
@media(max-width:1100px){.site-header nav{gap:14px}.site-header nav a{font-size:12px}.hero h1{font-size:76px}.hero-copy>p{max-width:420px}.architecture-title .editorial-title{font-size:52px}.story-copy p{font-size:14px}}
@media(max-width:760px){.architecture-scene{height:360px;padding:35px 6%}.architecture-title .editorial-title{font-size:clamp(32px,8.5vw,43px);line-height:1.16;letter-spacing:-.04em;max-width:20ch}.architecture-title>span{font-size:9px!important}.scene-column{height:108%;width:112px}.architecture-scene[data-composition=offset] .architecture-title{max-width:83%}.architecture-scene[data-composition=offset] .scene-column{left:86%;opacity:.5;height:115%}.architecture-scene[data-composition=offset]:after{background:linear-gradient(90deg,#1f4e8c80,transparent 90%)}.chapter>.section-inner{padding:40px 6% 65px!important}.chapter-2 .space-y-6>p:first-child{font-size:21px}.chapter-2 .space-y-6>p{font-size:16px}.chapter-3 .section-inner>.flex p{font-size:16px}.chapter-3 .group p,.chapter-6 .group p{font-size:15px}.chapter-3 .group h3{font-size:22px}.chapter-4 h3{font-size:22px}.chapter-4 .divide-y p{font-size:16px}.chapter-6 article h3{font-size:24px}.chapter-7 .section-inner>.grid{grid-template-columns:1fr;gap:28px}.chapter-8 h3{font-size:28px}.chapter-8 p{font-size:16px}.brand-film{padding:65px 6%;grid-template-columns:1fr;gap:32px}.film-copy h2{font-size:40px}.film-copy p{font-size:16px}.embedded-presentacion>.order-cell{left:80%;height:95%;opacity:.14}.embedded-demo>.order-cell{left:84%;opacity:.12}.site-footer>div:not(.embedded-architecture):not(.footer-signature){padding:45px 6% 25px}.story-pin{padding:30px 6% 22px}.story-stage{display:flex}.story-copy h3{font-size:32px}.story-copy p{font-size:14px}.story-copy a{font-size:12px}.story-heading h2{font-size:36px}.story-capture-date,.story-scroll-hint{display:none}.hero{min-height:1000px;height:auto;padding:75px 6% 0}.hero-copy{padding-top:92px;width:100%}.hero h1{font-size:clamp(44px,10.5vw,64px);line-height:1.12;letter-spacing:-.05em;margin:25px 0}.hero-copy>p{font-size:15px;line-height:1.75;max-width:100%}.hero .eyebrow{font-size:8px}.hero-art{width:85%;height:460px;right:-8%;bottom:60px;opacity:1}.hero-art:after{background:linear-gradient(0deg,#1f4e8c,transparent 13%)}.hero-actions{gap:18px;margin-top:26px}.hero-actions .cta-light{font-size:12px;padding:15px 17px;min-width:145px}.hero-actions .text-link{font-size:11px;gap:9px}.hero-motion-toggle{right:auto;left:6%;bottom:100px;font-size:10px;max-width:180px;padding:9px 12px}.hero-page{font-size:7px;max-width:130px;text-align:right}.hero-bottom p{display:none}.passage-order{width:23svh;height:90svh}.columns-glow{background:radial-gradient(ellipse 80% 32% at center,#1f4e8cf0 0%,#1f4e8cbd 45%,#1f4e8c00 100%)}.chapter-10 .editorial-title{font-size:40px}.chapter-10 p{font-size:16px!important}.embedded-recorrido>.order-cell{left:70%;height:100%;opacity:.12}.product-story{height:340svh}.motion-reduced .product-story{height:auto}}
@media(max-width:360px){.hero h1{font-size:43px}.hero-actions{gap:12px}.hero-actions .cta-light{min-width:130px}.hero-actions .text-link{font-size:10px}.architecture-scene{height:330px}}
@media(max-width:760px) and (max-height:760px){.story-heading h2{font-size:29px}.story-copy h3{font-size:27px}.story-copy p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.scene-column,.embedded-architecture>.order-cell{transform:translate(-50%,-50%)!important;will-change:auto}.hero-motion-toggle{display:none}}
@media(max-width:760px){.hero{display:flex;flex-direction:column;min-height:0;padding-bottom:100px}.hero-copy{order:1}.hero-art{order:2;position:relative;flex:none;width:100%;height:450px;right:auto;bottom:auto;margin-top:25px}.hero-motion-toggle{bottom:115px}}

/* Keep case-card backgrounds and foregrounds in the same hover state. */
#casos article.group{background:#fff;transition:background-color .2s,color .2s}
#casos article.group:hover{background:#14375f;color:#fff}
#casos article.group:hover h3,#casos article.group:hover p{color:#fff!important}
#casos article.group span,#casos article.group:hover span{background:#edf2f7;color:#14375f!important}

/* One continuous paper surface for the contact invitation and footer. */
#demo{background:var(--paper)!important;color:var(--ink);border-bottom:0}
#demo .section-inner{padding-top:82px!important;padding-bottom:65px!important}
#demo .rounded-2xl{color:var(--ink);background:transparent}
#demo .editorial-title{color:var(--cobalt);max-width:19ch;font-size:clamp(38px,4.5vw,62px);line-height:1.12}
#demo .section-inner p{color:#53657c;max-width:60ch;font-size:16px!important;line-height:1.85}
#demo .section-inner span{color:var(--cobalt)}
#demo .section-inner a{min-height:52px;justify-content:space-between;gap:24px;font-size:13px}
#demo .section-inner a:first-child{background:var(--cobalt);color:#fff;border:1px solid var(--cobalt)}
#demo .section-inner a:last-child{background:transparent;color:var(--cobalt);border:1px solid #1f4e8c50}
#demo .embedded-demo>.order-cell{left:84%;opacity:.11;filter:grayscale(.3);mask-image:linear-gradient(to bottom,#000 40%,transparent 96%)}
#pie{background:var(--paper)}
#pie>div:not(.embedded-architecture):not(.footer-signature){padding-top:44px}
#pie:before{content:'';display:block;position:relative;margin:0 auto;width:86%;max-width:1100px;height:1px;background:#1f4e8c25}
#pie .embedded-footer{opacity:.45}
@media(max-width:760px){#demo .section-inner{padding-top:55px!important;padding-bottom:45px!important}#demo .editorial-title{font-size:38px;max-width:20ch}#demo .section-inner a{min-width:215px}#demo .embedded-demo>.order-cell{left:91%;opacity:.07}#pie:before{width:88%}#pie>div:not(.embedded-architecture):not(.footer-signature){padding-top:35px}}

.site-header .header-demo{background:#fff;color:var(--cobalt);border-color:#fff;white-space:nowrap}
.site-header .header-demo:hover{background:#edf2f8;color:#14375f;border-color:#edf2f8}
.site-header .client-link{white-space:nowrap}
@media(min-width:761px) and (max-width:1100px){.site-header nav{display:none}.site-header .client-link{display:inline-flex;align-items:center;min-height:44px}.site-header .menu-toggle{display:block}}

/* Preserve the paper frame around the dark presentation panel. */
#presentacion{margin:0 4.4% 36px;border:1px solid #fff;border-radius:10px;overflow:hidden;padding-left:4%;padding-right:4%}
@media(max-width:760px){#presentacion{margin:0 5% 24px;padding:45px 6%;border-radius:8px}}

/* Four phases, one illuminated card for two seconds, then the cycle repeats. */
#metodologia .cycle-phase{background:#172d43;position:relative;animation:phase-illumination 8s linear infinite;animation-delay:var(--phase-delay);animation-play-state:paused}
#metodologia .cycle-visible .cycle-phase{animation-play-state:running}
#metodologia .cycle-phase h3{color:#fff}
#metodologia .cycle-phase p{color:#c4d0e0}
@keyframes phase-illumination{0%,22%{background:#1f4e8c;box-shadow:inset 0 3px 0 #b7d8ff,inset 0 0 38px #91c1ff20}25%,97%{background:#172d43;box-shadow:inset 0 3px 0 transparent,inset 0 0 38px transparent}100%{background:#172d43;box-shadow:inset 0 3px 0 transparent,inset 0 0 38px transparent}}
@media(prefers-reduced-motion:reduce){#metodologia .cycle-phase{animation:none}#metodologia .cycle-phase:first-child{background:#1f4e8c;box-shadow:inset 0 3px 0 #b7d8ff}}

#compania>.architecture-scene{height:clamp(430px,65svh,680px)}
@media(max-width:760px){#compania>.architecture-scene{height:400px}}

.art-coordinate{white-space:nowrap}

#casos>.architecture-scene{height:clamp(470px,70svh,740px)}
@media(max-width:760px){#casos>.architecture-scene{height:440px}}
.editorial-marquee{padding:35px 0;background:var(--paper);color:var(--cobalt);border-bottom:1px solid #1f4e8c20;overflow:hidden}
.editorial-marquee>.ribbon-track{display:flex;width:max-content;transform:none;font-size:inherit;letter-spacing:normal;animation:ribbon-right 46.6667s linear infinite;will-change:transform}
.ribbon-group{display:flex;align-items:center;gap:55px;flex:none;padding-right:55px}
.ribbon-verbs{font-size:clamp(50px,6.5vw,100px);line-height:1.1;letter-spacing:-.055em;white-space:nowrap}
.ribbon-verbs em{font-family:'Instrument Serif',serif}
.ribbon-audience{width:490px;white-space:normal;flex:none;border-left:1px solid #1f4e8c35;padding-left:40px}
.ribbon-audience>span{font:10px monospace;letter-spacing:.1em;color:#536d88}
.ribbon-audience>div{display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;margin-top:18px;font-size:14px;line-height:1.4;letter-spacing:0}
@keyframes ribbon-right{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.editorial-marquee>.ribbon-track{animation:none}.ribbon-group{flex-wrap:wrap;max-width:100vw;padding:0 6%;gap:25px}.ribbon-verbs{white-space:normal}.ribbon-group[aria-hidden=true]{display:none}.ribbon-audience{width:auto;max-width:100%;border:0;padding:0}}
/* Reuse the detailed marble artwork from the closing scene in the opening. */
#hero-sculpture .hero-marble-column{position:absolute;inset:2% 25% 4%;perspective:1000px;filter:drop-shadow(18px 20px 18px #10243d45)}
#hero-sculpture .hero-marble-column[hidden]{display:none}
#hero-sculpture .hero-marble-column>.order-cell{height:100%;width:100%;animation:hero-marble-turn 6s ease-in-out infinite alternate;animation-play-state:paused}
.hero-columns-running #hero-sculpture .hero-marble-column>.order-cell{animation-play-state:running}
.hero-webgl-ready .hero-art>img{opacity:0}
@keyframes hero-marble-turn{from{transform:rotateY(-12deg)}to{transform:rotateY(12deg)}}
@media(prefers-reduced-motion:reduce){#hero-sculpture .hero-marble-column>.order-cell{animation:none}}
.hero-columns-ready .hero-art>img{opacity:0}

/* Each atlas cell is 256 × 1024: scale the column uniformly. */
.architecture-scene .scene-column{height:94%;width:auto;aspect-ratio:1/4}
.architecture-scene[data-composition=offset] .scene-column{height:94%}
.architecture-scene .scene-column:has(.order-cell-classic[style*="--order-slot:5"]){aspect-ratio:3/10}

/* Individual historical references keep their own complete silhouette. */
.historical-scene .scene-column{height:94%;width:auto;aspect-ratio:2/3;opacity:.57}
.historical-scene[data-composition=offset] .scene-column{height:94%;opacity:.84}
.order-cell-historical>img{position:static;display:block;inset:auto;width:100%;max-width:100%;height:100%;object-fit:contain}
.historical-scene .scene-column>.order-cell{overflow:visible}
.embedded-architecture>.order-cell-historical{width:auto;aspect-ratio:2/3}
@media(max-width:760px){.historical-scene[data-composition=offset] .scene-column{opacity:.32;left:84%}.historical-scene .scene-column{opacity:.42}}
.hero-webgl-ready .hero-art>img{opacity:0!important;transition:none!important}

/* The opening renders the 3D scene directly, with no temporary column image. */
#hero-sculpture[hidden],.hero-motion-toggle[hidden]{display:none!important}
