/* A quiet portfolio and geographic presence, within the Cadrer identity. */
.trust-section{color:var(--muted);background:var(--ink);color-scheme:dark;padding:31px 0;border-bottom:1px solid #ffffff12}
.trust-inner{gap:40px;justify-content:flex-start}
.trust-inner>p{font-size:14px;max-width:none;margin:0;flex:1}
.trust-logos{gap:70px;padding-right:35px}
.trust-logos a{display:flex;align-items:center;justify-content:center;opacity:.62;transition:opacity .25s;filter:grayscale(1) invert(1);mix-blend-mode:screen}
.trust-logos a:hover,.trust-logos a:focus-visible{opacity:.92}
.trust-logos .construcap{width:155px;height:auto;max-height:46px}
.trust-logos .racional-lockup{position:relative;width:57px;height:57px;overflow:hidden;display:block}
.trust-logos .racional-lockup img{width:85.5px;height:85.5px;max-width:none;transform:translate(-14.25px,-14.25px);object-fit:contain}
.portfolio-section{border-top:1px solid var(--line);padding-block:66px 76px}
.portfolio-status{font-size:13px;color:#768b99;margin-bottom:3px}
.project-gallery{display:grid;grid-template-columns:1.2fr 1fr;gap:28px}
.gallery-frame{aspect-ratio:1.85;position:relative;overflow:hidden;border:1px solid #8da9bb1c;background:radial-gradient(ellipse at 50% 68%,#243a4a54,transparent 67%),#0e171e}
.gallery-frame:before,.gallery-frame:after{content:'';position:absolute;inset:18px;border:solid #738b9d40;border-width:1px 0 0 1px;width:13px;height:13px}
.gallery-frame:after{inset:auto 18px 18px auto;transform:rotate(180deg)}
.gallery-frame i{position:absolute;left:20%;right:20%;height:36%;top:29%;border:1px solid #6b899a3b;transform:skewY(-16deg);transition:transform .7s,border-color .7s;background:#7895a205}
.gallery-frame i:nth-child(2){top:37%;left:25%;right:15%}
.gallery-frame i:nth-child(3){top:45%;left:30%;right:10%}
.gallery-frame-film i{height:29%;left:28%;right:28%;top:24%;transform:rotate(-23deg) skewY(12deg)}
.gallery-frame-film i:nth-child(2){top:35%;left:28%;right:28%}
.gallery-frame-film i:nth-child(3){top:46%;left:28%;right:28%}
.gallery-slot:hover .gallery-frame i{border-color:#9bb5c35c;transform:skewY(-16deg) translateY(-5px)}
.gallery-slot:hover .gallery-frame-film i{transform:rotate(-23deg) skewY(12deg) translateY(-5px)}
.gallery-caption{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-top:18px}
.gallery-caption h3{font-size:17px;letter-spacing:-.02em;margin:0}
.gallery-caption>span{color:#768b99;font-size:13px;white-space:nowrap}
.global-section{background:#0f181f;padding-block:68px}
.global-layout{grid-template-columns:.8fr 1.7fr;align-items:center;gap:50px}
.global-intro h2{font-size:32px;max-width:330px}
.map-detail{padding-top:26px;margin-top:32px;border-top:1px solid #ffffff1a;min-height:143px;max-width:260px}
.map-detail h3{font-size:22px;margin:11px 0 7px}
.map-detail p{font-size:14px;margin:0}
.map-detail .eyebrow{font-size:12px;letter-spacing:.06em}
.world-map-panel{min-width:0}
.world-map{width:100%;overflow:hidden;aspect-ratio:1000/430}
.world-map svg{display:block;width:100%;height:100%;overflow:visible}
.map-land{fill:#8da8b50d;stroke:#7594a442;stroke-width:.65;stroke-linejoin:round}
.map-routes{fill:none;stroke:#9db4c0;stroke-width:.8;stroke-dasharray:4 7;opacity:.48;pointer-events:none}
.map-route{opacity:.18;transition:opacity .4s,stroke .4s}
.map-pin{cursor:pointer;outline:none}
.map-hit{fill:transparent;stroke:none}
.map-dot{fill:#809cae;stroke:#10202b;stroke-width:1.3;transition:fill .25s}
.map-halo{fill:transparent;stroke:#a2b7c5;stroke-width:.7;opacity:0;transform-box:fill-box;transform-origin:center;transition:opacity .25s,transform .35s}
.map-pin:hover .map-halo,.map-pin:focus-visible .map-halo,.map-pin[aria-pressed=true] .map-halo{opacity:.5;transform:scale(1.25)}
.map-pin[aria-pressed=true] .map-dot,.map-pin:hover .map-dot,.map-pin:focus-visible .map-dot{fill:var(--signal)}
.world-map-panel[data-active-place=br] .map-route{opacity:.7}
.world-map-panel[data-active-place=ee] .route-ee,.world-map-panel[data-active-place=pt] .route-pt,.world-map-panel[data-active-place=es] .route-es{opacity:1;stroke:#c3d3dc}
.world-map-panel:hover .map-route{animation:map-route-drift 8s linear infinite}
@keyframes map-route-drift{to{stroke-dashoffset:-55}}
.map-places{display:flex;gap:25px;justify-content:center;margin-top:26px;border-top:1px solid #ffffff13;padding-top:18px}
.map-places button{background:none;border:0;border-bottom:1px solid transparent;padding:5px 0;font-size:14px;color:#8298a7;transition:color .25s,border-color .25s}
.map-places button:hover,.map-places button[aria-pressed=true]{color:#d7e2e9;border-color:#b5c7d559}
.story-bottom{bottom:29px}.scene-host{bottom:110px}
@media(max-width:1000px){.global-layout{grid-template-columns:1fr 1.6fr;gap:22px}.global-intro h2{font-size:29px}.trust-logos{padding-right:0;gap:45px}.project-gallery{gap:22px}.scene-host{bottom:110px}}
@media(max-width:650px){.trust-section{padding:24px 0}.trust-inner{display:flex;flex-direction:column;gap:19px}.trust-inner>p{margin:0;font-size:13px}.trust-logos{width:100%;justify-content:center;gap:64px}.trust-logos .construcap{width:140px}.trust-logos .racional-lockup{width:48px;height:48px}.trust-logos .racional-lockup img{width:72px;height:72px;transform:translate(-12px,-12px)}.portfolio-section{padding-block:46px 49px}.portfolio-status{display:block;margin-top:18px;font-size:13px}.project-gallery{grid-template-columns:1fr;gap:29px}.gallery-frame{aspect-ratio:1.9}.gallery-caption{margin-top:14px}.gallery-caption h3{font-size:17px}.global-section{padding-block:48px}.global-layout{display:flex;flex-direction:column;gap:18px;align-items:stretch}.global-intro{position:relative}.global-intro h2{font-size:29px;max-width:340px}.map-detail{margin-top:24px;padding-top:18px;min-height:120px;max-width:none}.map-detail h3{font-size:21px}.world-map-panel{margin-top:-5px}.world-map{margin-inline:-12px;width:calc(100% + 24px)}.map-land{stroke-width:1}.map-routes{stroke-width:1.3}.map-dot{stroke-width:.6}.map-places{gap:23px;margin-top:14px;padding-top:13px;justify-content:space-between}.map-places button{font-size:14px}.story-bottom{bottom:29px}.scene-host{bottom:110px}}
@media(prefers-reduced-motion:reduce){.world-map-panel:hover .map-route{animation:none}.gallery-frame i{transition:none}}
.project-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 28px}
.gallery-open{display:block;background:none;border:0;padding:0;text-align:left;width:100%;color:inherit}
.gallery-media{display:block;position:relative;aspect-ratio:16/10;overflow:hidden;background:#14212a;border:1px solid #ffffff12}
.gallery-media>img{width:100%;height:100%;object-fit:cover;transition:transform .7s,filter .7s;filter:saturate(.78)}
.gallery-open:hover .gallery-media>img,.gallery-open:focus-visible .gallery-media>img{transform:scale(1.035);filter:saturate(1)}
.gallery-example{position:absolute;top:16px;left:16px;font-size:12px;background:#0a111ad6;border:1px solid #ffffff24;padding:5px 9px;color:#c4d0d9;backdrop-filter:blur(8px)}
.gallery-action{position:absolute;bottom:16px;right:16px;background:#0b1014de;border:1px solid #ffffff2c;padding:7px 12px;font-size:13px;opacity:0;transform:translateY(4px);transition:opacity .25s,transform .25s}
.gallery-open:hover .gallery-action,.gallery-open:focus-visible .gallery-action{opacity:1;transform:none}
.gallery-project-caption{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-top:16px}
.gallery-project-caption h3{font-size:19px;margin:0;line-height:1.3}
.gallery-project-subtitle{color:var(--muted);font-size:13px;line-height:1.5}
.project-dialog{width:min(1040px,calc(100% - 40px));background:#0e1921}
.project-view-image{width:100%;height:auto;max-height:60svh;object-fit:cover;background:#15242e}
.project-view-copy{padding:28px 34px 30px}
.project-view-copy h2{font-size:30px;margin:12px 0 17px}
.project-view-description{max-width:690px;font-size:16px;line-height:1.6;margin:0;color:#bdcbd4}
.project-view-deliverables{font-size:14px;margin:20px 0 0;color:#9aafbd}
.project-view-note{font-size:12px;border-top:1px solid #ffffff18;color:#7c95a5;padding-top:17px;margin:24px 0 0}
@media(max-width:850px){.gallery-project-caption{display:block}.gallery-project-subtitle{display:block;margin-top:7px}.gallery-project-caption h3{font-size:18px}}
@media(max-width:650px){.project-gallery{grid-template-columns:1fr;gap:29px}.gallery-media{aspect-ratio:16/10}.gallery-project-caption{margin-top:14px}.gallery-example{top:12px;left:12px;font-size:12px}.gallery-action{opacity:1;transform:none;bottom:12px;right:12px;font-size:12px}.project-dialog{width:calc(100% - 24px);max-height:92svh}.project-view-image{max-height:47svh;object-fit:contain}.project-view-copy{padding:23px}.project-view-copy h2{font-size:26px}.project-view-description{font-size:16px}}
@media(prefers-reduced-motion:reduce){.gallery-media>img,.gallery-action{transition:none}.gallery-open:hover .gallery-media>img{transform:none}}

/* First-viewport actions and compact screens. */
.project-stage{min-height:0}
.hero-ctas{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}
.hero-ctas .button{font-size:13px;padding:10px 13px;min-height:42px}
@media(max-width:650px){
  .project-stage{min-height:0}
  .hero-ctas{margin-top:18px}
  .hero-ctas .button{font-size:12px;padding:9px 11px;min-height:40px}
  .phase-buttons{gap:clamp(10px,3vw,23px)}
  .phase-buttons button{font-size:12px}
  .scene-host{top:330px;bottom:95px}
  .hero-intro[data-revealed=true]+.scene-host{top:290px}
}
@media(max-width:650px) and (max-height:650px){
  .hero-intro{top:94px}
  .hero-intro h1{font-size:28px;margin:10px 0 9px}
  .hero-summary{font-size:14px;line-height:1.35}
  .phase-description{margin-top:10px}
  .phase-description>span{font-size:25px}
  .phase-description>p{font-size:14px;margin-top:6px;line-height:1.35}
  .hero-ctas{margin-top:12px}
  .scene-host{top:265px;bottom:78px}
  .hero-intro[data-revealed=true]+.scene-host{top:245px}
  .story-bottom{bottom:14px}
}
@media(min-width:651px) and (max-height:500px){
  .hero-intro{top:92px;width:225px}
  .hero-intro h1{font-size:27px;margin:10px 0 9px}
  .hero-summary{font-size:14px;line-height:1.35}
  .phase-description{margin-top:10px}
  .phase-description>span{font-size:25px}
  .phase-description>p{margin-top:6px;font-size:14px;line-height:1.35}
  .hero-ctas{margin-top:12px}
  .hero-ctas .button{font-size:12px;padding:8px 10px;min-height:38px}
  .scene-host{top:82px;bottom:65px}
  .story-bottom{bottom:8px}
}
@media(max-width:650px){.phase-buttons{gap:7px}.phase-buttons button{font-size:11px}}
@media(min-width:651px) and (max-height:500px){.hero-intro{width:250px}.hero-ctas{flex-wrap:nowrap}.hero-ctas .button{white-space:nowrap}.scene-host{left:285px}}

@media(max-width:650px){.phase-buttons{gap:3px}.phase-buttons button{font-size:12px}}
