/* Final editorial pass, 04 Nov: one focal point per slide. */
.scene[data-theme=dark] header>img,.scene[data-theme=dark] .group-mark img,.scene.cover .group-mark img,#scene-6 .opening-intro-brand{filter:brightness(0) invert(1)!important;opacity:1!important}
.scene[data-theme=dark] .header-group-brand img{filter:brightness(0) invert(1)!important}
#chapter-name{display:none}
.deck-controls{height:42px;font-size:12px}.deck-controls button{font-size:16px}
.calm-cover{position:absolute;inset:0;background:#082840}
.calm-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:none!important;will-change:opacity}
.calm-cover img:first-child{opacity:1}
.cover.active .calm-cover img{animation:none}
.cover .calm-cover img:nth-child(2){animation-delay:8s}.cover .calm-cover img:nth-child(3){animation-delay:16s}
@keyframes calm-dissolve{0%,28%{opacity:1}34%,94%{opacity:0}100%{opacity:1}}
.scene.cover .pattern-column{animation:none!important;opacity:.65;transform:none!important}
.scene.cover .shade{background:linear-gradient(90deg,#07335b75,#0c416d55,#07335b75),linear-gradient(0deg,#092b50b0,transparent 70%)}

/* The rail anchors the history; the year and explanation share a baseline below. */
#scene-2>h1{top:115px;left:64px;font-size:42px;max-width:840px;line-height:1.2}
#scene-2 .history-rail{left:100px;right:100px;top:318px;bottom:auto;height:160px}
#scene-2 .history-rail button{padding-top:0}
#scene-2 .history-rail img{height:78px;width:190px;margin-top:37px;filter:brightness(0) invert(1)}
#scene-2 .history-rail button>span{font-size:20px}
#scene-2 .history-features{left:450px;top:526px;width:650px;max-width:none}
#scene-2 .history-stage{font:500 30px/1.25 Hanken;margin:0 0 13px;color:#fff}
#scene-2 .history-feature>p:not(.history-stage){font:400 23px/1.35 Hanken;max-width:650px;color:#d5e8ef;margin:0}
#scene-2 .curated-year{left:100px;right:auto;top:505px;color:#b8e9f4;opacity:1;font:400 100px/1.2 Unbounded;letter-spacing:-6px}
#scene-2 .history-backdrops img{transform:none!important;animation:none!important;transition:opacity 1.2s ease;opacity:0}
#scene-2 .history-backdrops img.is-current{opacity:.65}
#scene-2 .history-wash{background:linear-gradient(90deg,#043453e8,#075b7bad 50%,#123e64bb),linear-gradient(0deg,#082840e6,transparent 75%)}

/* A structural triptych, echoing the client's original diagram. */
#scene-3{background:#f0f3f2;color:#103f54}
#scene-3>h1{top:107px;left:64px;font:450 40px/1.22 Unbounded;letter-spacing:-1.3px;max-width:1100px}
.scale-tripod{position:absolute;left:220px;top:213px;width:1000px;height:440px}
.scale-tripod>svg{width:100%;height:100%;position:absolute;inset:0}
.tripod-roof{fill:#d5e4e8;stroke:#f0f3f2;stroke-width:10}.tripod-leg{fill:#bcd2dc;stroke:#f0f3f2;stroke-width:10}.tripod-side{fill:#174e68;stroke:#f0f3f2;stroke-width:10}
.scale-tripod article{position:absolute;text-align:center;width:340px}
.scale-tripod strong{font:500 51px/1.2 Unbounded;letter-spacing:-2.5px;display:block}
.scale-tripod span{display:block;font:450 22px Hanken;margin-top:13px}
.scale-top{left:330px;top:72px}.scale-left{left:125px;top:208px}.scale-right{right:125px;top:208px;color:#fff}

/* Portfolio: selection rail, moving map, one open project record. */
#scene-4>h1{top:103px;font-size:36px}
#scene-4 #property-panel{inset:171px 64px 82px;overflow:visible}
#scene-4 #properties-map{left:235px;right:352px;top:0;bottom:0;width:auto;height:auto}
#scene-4 .property-selector{position:absolute;display:flex!important;left:0;top:0;bottom:0;width:235px;flex-direction:column;gap:0;background:#123e55;z-index:480;padding:16px 0}
#scene-4 .property-selector button{width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;min-height:150px;border:0;border-left:4px solid transparent;padding:23px;color:#bdd4de;background:transparent}
#scene-4 .property-selector button.selected{background:#1d5874;color:white;border-left-color:#9ce8ef}
#scene-4 .property-selector button span{font-size:13px;color:#9ec7d8;margin-bottom:13px}
#scene-4 .property-selector button strong{font-size:23px;font-weight:500;line-height:1.25}
#scene-4 #property-info{right:0;width:352px;padding:22px;overflow:hidden}
#scene-4 .property-detail{margin-top:0}
#scene-4 .property-detail>img{height:151px}
#scene-4 .property-detail h2{font-size:25px;margin:6px 0 12px}
#scene-4 .property-abl strong{font-size:27px}
#scene-4 .property-actions{margin-top:15px}
#scene-4 .portfolio-nearby{margin-top:19px;padding-top:15px}
#scene-4 .portfolio-nearby label,#scene-4 .portfolio-nearby small{display:none}
#scene-4 .portfolio-nearby .nearby-output{font-size:16px;margin-top:10px}
#scene-4 .property-intro{display:none!important}
#scene-4 .map-show-all{display:none}

/* Client names carry the slide, without six extra category captions. */
#scene-5 .client-reference span,#scene-5 .client-reference small{display:none}
#scene-5 h1{font-size:43px}
#scene-5 .clients-showcase-grid{top:236px;row-gap:62px}
#scene-5 .client-reference{border:0;background:transparent}
#scene-6{background:#082d46;color:white}
#scene-6 .intro-full-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%}
#scene-6 .intro-full-shade{position:absolute;inset:0;background:linear-gradient(90deg,#042a46ef 0%,#06314ca8 43%,#082d4610 80%),linear-gradient(0deg,#052b45cc,transparent 55%)}
#scene-6 .opening-intro-brand{top:65px;left:64px;width:270px;height:83px;object-fit:contain;object-position:left}
.intro-statement{position:absolute;left:64px;top:265px}
#scene-6 .intro-statement h1{position:static;font:450 64px/1.15 Unbounded;color:#fff;letter-spacing:-2px}
.intro-statement p{font-size:26px;line-height:1.4;color:#daedf5;margin-top:35px}

/* South regional chapter: one map, one changing reading, three quiet tabs. */
#scene-7.regional-chapter{background:#082c43;color:#fff}
#scene-7.regional-chapter:before,#scene-7.regional-chapter:after{display:none}
#scene-7.regional-chapter>h1{left:64px;top:109px;font:450 42px/1.2 Unbounded;letter-spacing:-1.5px}
.regional-map{position:absolute;left:32px;top:168px;width:928px;height:510px;overflow:visible}
.regional-state{fill:#23556c;stroke:#74a8b9;stroke-width:1.1}.regional-state.sc{fill:#346e83;stroke:#a1d5dc}
.regional-state-label{fill:#c4e1e7;font:500 18px Hanken;letter-spacing:3px;text-anchor:middle}
.regional-pin circle{fill:#e7f6fa;stroke:#082c43;stroke-width:2}
.regional-pin text{fill:#f1fafb;font:500 18px Hanken;paint-order:stroke;stroke:#082c43;stroke-width:4px;stroke-linejoin:round}
.regional-pin.ambx circle{fill:#f2cb8e;r:7}.regional-pin.ambx text{fill:#ffe0ad;font-weight:700}
.regional-pin.port circle{fill:#7ad8f4}.regional-pin.port path{fill:none;stroke:#8ec9db;stroke-width:1}
.regional-route{fill:none;stroke:#8dd9ef;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.regional-route.rail{stroke:#bfe7be;stroke-dasharray:6 5}
.regional-story{position:absolute;left:1005px;top:225px;right:64px}
.regional-kicker{font-size:11px;letter-spacing:2px;color:#92b9c9;margin:0 0 20px}
.regional-story h2{font:450 30px/1.3 Unbounded;letter-spacing:-1px;margin:0 0 38px}
.regional-facts article{padding:22px 0;border-top:1px solid #537b8d}
.regional-facts strong{font:450 49px/1.15 Unbounded;letter-spacing:-2px;color:#b2e3ee;display:block}
.regional-facts strong small{font:400 22px Hanken;letter-spacing:0}
.regional-facts p{font:400 20px/1.3 Hanken;margin:12px 0 0}
.regional-facts p small{font-size:13px;color:#9bbcca;display:block;margin-top:8px}
.regional-facts .regional-route-copy{font-size:21px;line-height:1.5;color:#d4e9ee}
.regional-tabs{position:absolute;left:80px;top:657px;display:flex;gap:32px}
.regional-tabs button{font-size:18px;padding:10px 0;color:#9fbfce;border-bottom:2px solid transparent}
.regional-tabs button[aria-pressed=true]{color:#fff;border-color:#89d9e9}
.regional-sources{position:absolute;right:64px;bottom:63px;font-size:13px;color:#9fbfce;padding:4px}
.sc-sources-dialog{position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 40px));height:auto;max-height:calc(100dvh - 48px);border:0;border-radius:6px;background:#f3f6f5;color:#173f52;padding:0;overflow:auto;font:17px/1.45 Hanken,Arial;transform:none!important}
.sc-sources-dialog::backdrop{background:#031725c9}
.sc-sources-heading{position:sticky;top:0;background:#f3f6f5;display:flex;align-items:center;justify-content:space-between;padding:22px 28px;border-bottom:1px solid #cedddd;z-index:2}
.sc-sources-heading h2{font-size:23px;margin:0}.sc-sources-heading button{font-size:16px;padding:10px}
.sc-sources-body{padding:0 28px 20px}.sc-sources-body article{padding:20px 0;border-bottom:1px solid #cedddd}.sc-sources-body h3{font-size:20px;margin:0 0 8px}.sc-sources-body p{margin:0 0 8px}.sc-sources-body a{color:#146884;text-decoration:underline}
.port-news-dialog,#port-news-dialog{max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px)}

#scene-9 header span,#scene-13 header span{font:500 29px/1.2 Hanken;letter-spacing:0;text-transform:none}
#scene-9 .territory-title{display:none}
#scene-9 .connections-restored:before,#scene-9 .connections-restored:after,#scene-9 .connections-restored-map-wrap:after{display:none}
#scene-9>header{background:#eef3f1;height:100px;top:0;left:0;right:0;padding:29px 64px}
#scene-9 .territory-reading{top:125px}
#scene-11 .project-cover-brand{left:50%;right:auto;top:138px;width:660px;transform:translateX(-50%);text-align:center}
#scene-11 .project-cover-brand img{width:530px;max-width:100%;height:auto;filter:brightness(0) invert(1)}
#scene-11 .project-cover-brand p{font-size:26px;letter-spacing:.5px;margin-top:18px}
#scene-11 .shade{background:linear-gradient(180deg,#082f4766,transparent 60%,#082f4750)}
#scene-11 .bleed{object-position:center center}
#scene-terrain .project-chapter-label,#scene-terrain .project-heading,#scene-terrain .project-footnote,#scene-terrain .project-note,#scene-terrain .project-text{display:none}
#scene-terrain .project-reading{top:178px}
#scene-terrain .project-reading h2{font-size:25px}
#scene-12 .areas-heading,#scene-12 .areas-source,#scene-12 .areas-print-summary{display:none!important}
#scene-12 .areas-module[data-area=none] .areas-reading{display:none!important}
#scene-12 .areas-module[data-area=none] .areas-shade{background:linear-gradient(180deg,#062b46b8,transparent 23%),linear-gradient(0deg,#062b46aa,transparent 26%)}
#scene-12 .areas-reading{left:auto;right:64px;top:140px;bottom:auto;width:340px;max-height:460px;padding:26px;background:#082e47f5;border:1px solid #779bab55;overflow:auto}
#scene-12 .areas-reading h2{font-size:24px}
#scene-12 .areas-number strong{font-size:37px}
#scene-12 [data-area-text],#scene-12 .areas-support-note{display:none}
#scene-12 .areas-extra>div{font-size:16px;padding:11px 0}
#scene-12 .areas-close{display:block;margin:0 0 18px auto;font-size:15px;color:#b4d8e7}
#scene-12 .areas-choices{left:64px;right:64px;bottom:65px;top:auto;display:flex;gap:12px;justify-content:center}
#scene-12 .areas-choices button{font-size:16px;background:#082e47de;color:#fff;border:1px solid #93b5c450;padding:12px 18px}
#scene-12 .areas-choices [data-area=terreno],#scene-12 .areas-choices [data-area=permeabilidade],#scene-12 .areas-choices [data-area=total],#scene-12 .areas-enlarge{display:none}
#scene-12 .areas-hotspot{background:transparent;border:0;box-shadow:none}
#scene-13 .viewer-shell{top:111px}

#scene-specifications{background:#092c44;color:#fff}
.engineering-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.engineering-shade{position:absolute;inset:0;background:linear-gradient(180deg,#05273ccc,transparent 24%),linear-gradient(90deg,#062a43e6,transparent 70%),linear-gradient(0deg,#062a43 0%,#062a43ed 28%,transparent 68%)}
#scene-specifications>h1{top:137px!important;left:64px;max-width:950px!important;font:450 45px/1.22 Unbounded!important;color:#fff;letter-spacing:-1.5px}
.engineering-facts{position:absolute;left:64px;right:64px;top:480px;display:grid;grid-template-columns:repeat(4,1fr);gap:35px}
.engineering-facts article{padding-left:30px;border-left:1px solid #739db34d}.engineering-facts article:first-child{padding-left:0;border-left:0}
.engineering-facts strong{font:450 29px/1.3 Unbounded;letter-spacing:-1px}.engineering-facts strong small{font:400 22px Hanken}
.engineering-facts p{font:400 23px/1.45 Hanken;color:#c6dfe9;margin-top:22px}
#scene-15 .flow-render{left:430px;right:0;top:108px;bottom:78px;background:transparent;border:0;box-shadow:none}
#scene-15 .flow-render:before,#scene-15 .flow-render:after{display:none}
#scene-15 .flow-render>img{filter:none;opacity:1}
#scene-15 .flow-editorial{left:64px;top:143px;width:330px}
#scene-15 .flow-editorial h1{font-size:31px}
#scene-15 .flow-reading{font-size:21px;min-height:130px;line-height:1.4}
#scene-15 .flow-key{font-size:14px;flex-wrap:wrap}
#scene-17 .construction-photo{object-position:center 55%;filter:none!important}
#scene-17 .top-shade{background:linear-gradient(180deg,#06273cbb,transparent 34%),linear-gradient(0deg,#06273cf5,transparent 46%)}
#scene-17 .construction-control{top:146px;left:64px}
#scene-17 #construction-enlarge{font-size:19px}
#scene-17 .source-note{bottom:65px;font-size:15px}
#scene-17 .construction-timeline{bottom:125px}
#scene-17 .construction-timeline img{height:83px;object-fit:cover}
#scene-19 .rd-journey-top{top:140px}
#scene-19 .rd-journey-top h1{font-size:45px;margin:0}
#scene-19 .rd-journey-stages{top:405px}
#scene-19 .rd-journey-stages p{font-size:19px}

#scene-management{background:#f0f3f1;color:#153e52}
#scene-management .management-photo{position:absolute;inset:106px auto 85px 0;width:650px;overflow:hidden}
#scene-management .management-photo img{width:100%;height:100%;object-fit:cover;object-position:60% center}
.management-copy{position:absolute;left:720px;right:64px;top:151px}
#scene-management .management-copy h1{position:static;color:#143e52;font:450 39px/1.25 Unbounded;letter-spacing:-1.2px;margin:0 0 40px;max-width:none}
.management-copy article{display:flex;gap:24px;border-top:1px solid #c1d2d5;padding:21px 0}
.management-copy article>span{font-size:14px;color:#578394;padding-top:4px}
.management-copy h2{font:500 24px Hanken;margin:0 0 9px}
.management-copy p{font:400 20px/1.4 Hanken;color:#54717e;margin:0;max-width:490px}
#scene-20 .rd-yields{top:222px;height:175px}
#scene-20 .rd-yields article{border:0;border-radius:0}
#scene-20 .rd-yields strong{font-size:49px}
#scene-20 .rd-compare-table{top:427px}
#scene-20 .rd-compare-table td,#scene-20 .rd-compare-table th{padding-top:20px;padding-bottom:20px;font-size:20px}
#scene-20 .rd-financial-note{font-size:13px;line-height:1.4;bottom:64px;max-width:1250px}
#scene-21 .rd-operating-grid{top:223px;gap:25px}
#scene-21 .rd-operating-heading h2{font-size:24px}
#scene-21 .rd-logistic-answer{min-height:164px}
#scene-21 .rd-residential-answer{min-height:160px}
#scene-21 .rd-logistic-answer p,#scene-21 .rd-residential-answer p{font-size:20px;line-height:1.35}
#scene-23 .rd-closing-copy{left:64px;top:159px;right:auto;max-width:900px}
#scene-23 .rd-closing-copy h1{font:450 55px/1.23 Unbounded;max-width:950px;letter-spacing:-2px;margin:0}
#scene-23 .rd-closing-veil{background:linear-gradient(180deg,#052f4bbd,transparent 60%),linear-gradient(90deg,#052f4b88,transparent 80%)}
#scene-23 .rd-closing-pattern{display:none}
@media(prefers-reduced-motion:reduce){.calm-cover img{animation:none!important;opacity:0!important}.calm-cover img:first-child{opacity:1!important}.regional-route{animation:none!important}}

#scene-12 .areas-choices [data-area=galpao1],#scene-12 .areas-choices [data-area=galpao2]{display:none}
#scene-9 .origin-label{color:#fff!important}
#scene-management header span{color:#244e60}
#scene-17 .construction-control{left:auto;right:64px;top:137px;width:auto;background:transparent;padding:0}
#scene-17 #construction-enlarge{font-size:17px;padding:8px 0}
#scene-19 header{background:linear-gradient(180deg,#082d46a6,transparent);top:0;left:0;right:0;padding:29px 64px;height:100px}

#scene-20 .rd-yields article:nth-child(2) small{color:#456777}

#viewer-loading.viewer-unavailable{background:linear-gradient(0deg,#092d46dd,transparent 65%),url('assets/editorial/render-7.webp') center/cover;color:white;align-items:flex-end;padding:30px}
