/* MORA — editorial refinement */
:root{--navy:#142f43;--navy-deep:#102838;--gold:#d7b779;--gold-dark:#89682d;--ink:#183345;--muted:#5c6d78;--paper:#f4f3ee;--line:#d9dfdd;--wrap:1360px}
body{font-family:Arial,Helvetica,sans-serif}::selection{background:#d7b779;color:#102838}
h1,h2,h3{text-wrap:balance}p{text-wrap:pretty}html{scroll-padding-top:112px}.wrap{width:calc(100% - 112px)}.section{padding:108px 0}.eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:26px}.short-rule{width:32px}h2{font-size:clamp(36px,3.8vw,54px);font-weight:400;letter-spacing:-2px;line-height:1.12}.text-link{gap:24px;font-size:13px}.text-link:hover{text-decoration:underline;text-underline-offset:6px}.button{min-height:54px;font-size:13px;padding:17px 24px;gap:32px}.button-gold{background:var(--gold)}.button:hover{transform:none;box-shadow:0 5px 18px #10283812}.button span[aria-hidden]{transition:transform .2s}.button:hover span[aria-hidden]{transform:translate(2px,-2px)}
.utility{height:30px;background:var(--navy-deep)}.utility-inner{font-size:9px}.nav-wrap{height:90px;gap:28px}.brand{gap:12px}.brand img{width:64px;height:64px}.brand>span{padding-left:0;border:0;letter-spacing:0}.brand strong{display:block;font-size:24px;font-weight:500;letter-spacing:4px;line-height:1.2}.brand small{display:block;font-size:7px;letter-spacing:1.5px;margin-top:5px}.nav{gap:25px}.nav>a{font-size:12px}.nav-actions{gap:24px}.header-cta{min-height:44px;font-size:11px;padding:13px 17px;gap:20px}.language button{min-height:44px;min-width:25px}.header{box-shadow:0 3px 20px #10283804}
/* An unobscured site photograph gives the opening its character. */
.hero{min-height:690px;background:var(--navy-deep)}.hero-photo{inset:24px 24px 104px 50%;background-position:55% center;opacity:.95}.hero-shade{inset:0 37% 0 0;background:linear-gradient(90deg,var(--navy-deep) 74%,transparent);pointer-events:none}.hero-inner{min-height:602px;padding-top:68px;padding-bottom:68px}.hero-content{max-width:600px;width:49%;position:relative}.hero .eyebrow{font-size:9px;letter-spacing:1.9px;margin-bottom:33px}.hero h1,html[lang=en] .hero h1{font-size:clamp(54px,5.3vw,82px);font-weight:400;letter-spacing:-3.8px;line-height:1.08}.hero h1 em{color:#e0bf83;display:inline-block;font-style:normal;font-weight:400}.hero-copy{font-size:15px;max-width:420px;margin-top:29px;line-height:1.85;color:#d8e0e5}.hero-actions{gap:26px;margin-top:34px}.hero-actions .button{font-size:12px;padding:17px 20px;gap:26px}.hero-actions .text-link{font-size:12px;gap:14px;white-space:nowrap}.hero-caption{right:3px;bottom:50px;background:#102838e8;backdrop-filter:blur(10px);padding:17px 21px;gap:16px;min-width:230px}.caption-marker{background:transparent;border-color:#e0bf8360;color:#e0bf83}.hero-caption small{font-size:9px}.hero-caption strong{font-size:15px}.hero-bottom{min-height:88px;border-top:1px solid #ffffff25}.hero-bottom>span{font-size:10px;letter-spacing:2.3px}.hero-bottom>a{font-size:11px}.hero-bottom .circle-arrow{border-color:#ffffff50}
.intro{gap:100px;grid-template-columns:1fr 1fr}.intro h2{max-width:520px}.intro-body{padding-top:0}.intro-body .lead{font-size:22px;line-height:1.55;letter-spacing:-.4px}.intro-body>p:not(.lead){font-size:15px;line-height:1.8}.intro-body .text-link{margin-top:28px}.expertise{background:var(--paper)}.expertise-layout{gap:100px;grid-template-columns:1fr 1.35fr}.expertise-heading h2{max-width:430px}.expertise-heading>p{font-size:15px;max-width:350px;margin-top:27px}.expertise-heading>.text-link{margin-top:30px}.service summary{padding:27px 0;gap:24px}.service h3{font-size:25px;letter-spacing:-.6px}.service-no{font-size:11px;min-width:20px}.service-body{padding:0 22px 28px 0;margin-left:44px}.service-body p{font-size:14px;line-height:1.85}.tags{margin-top:20px}.tags span{background:#ffffff80;border:0;font-size:11px;padding:8px 10px}.service-link{font-size:12px}.service[open] summary h3{color:var(--gold-dark)}
/* Project photography and concise scope lead the portfolio. */
.projects{padding-bottom:100px}.section-head{margin-bottom:42px;gap:80px}.section-head>p{font-size:15px;line-height:1.75;max-width:360px}.project-feature{grid-template-columns:1.4fr 1fr;background:var(--paper)}.project-image{min-height:560px}.project-copy{padding:46px 40px}.project-copy .eyebrow{font-size:9px;letter-spacing:1.3px;margin-bottom:26px;color:var(--gold-dark)}.project-copy h3{font-size:40px;letter-spacing:-1.5px;margin-bottom:23px}.project-copy>p{font-size:14px;line-height:1.8}.project-specs{font-size:12px;margin:28px 0}.project-specs>div{grid-template-columns:90px 1fr;padding:15px 0}.project-badge{font-size:9px;padding:12px 14px;letter-spacing:1.2px}.photo-label{font-size:10px}.project-note{padding:24px 0;font-size:13px}.project-note .text-link{font-size:13px}
.team-experience{margin-top:62px;border-top:0;border-bottom:0}.partner-reference-content{padding:0}.reference-heading{margin-bottom:15px;align-items:baseline}.reference-heading h3{font-size:30px;letter-spacing:-1px}.reference-heading>span{font-size:12px}.team-experience-intro{max-width:700px;font-size:14px;line-height:1.8;margin-bottom:30px}.reference-grid{gap:25px}.reference-card,.partner-reference-content .reference-card{background:transparent}.reference-image{aspect-ratio:1.34}.reference-image img{filter:saturate(.8);transition:transform .6s,filter .6s}.reference-image:hover img{transform:scale(1.045);filter:saturate(1)}.reference-stamp{font-size:8px;letter-spacing:1.15px;top:14px;left:14px;background:#fffffff0;padding:9px 11px}.reference-arrow{bottom:14px;right:14px;width:40px;height:40px;background:var(--navy-deep)}.reference-body{padding:24px 0 0;min-height:0}.reference-type{font-size:9px;letter-spacing:1.6px;margin-bottom:10px}.reference-body h3{font-size:25px;letter-spacing:-.7px}.reference-location{font-size:13px!important;margin-top:9px}.reference-scope{margin:19px 0 0;padding-top:15px;gap:5px}.reference-scope>span{font-size:10px}.reference-scope>strong{font-size:12px;font-weight:400}.reference-body>.text-link{padding-top:21px;margin-top:0;font-size:12px}.partner-disclosure{font-size:12px;line-height:1.8;color:#68757b;margin-top:32px;padding-top:22px;max-width:960px}
.approach{background:var(--navy-deep)}.approach:before{opacity:.22}.approach .section-head{align-items:start;gap:90px}.approach h2{max-width:650px}.approach .section-head>p{color:#b9c8d1;line-height:1.85}.steps{gap:48px;margin-top:60px}.steps article{border-top-color:#ffffff35;padding-top:28px}.step-number{font-size:48px;font-weight:400;color:#d7b779;letter-spacing:-2px}.steps h3{font-size:23px;letter-spacing:-.5px;margin-top:29px;margin-bottom:16px}.steps p{font-size:14px;line-height:1.85;color:#b9c8d1;max-width:340px}.commitment{font-size:12px;gap:28px;margin-top:50px;padding-top:28px;border-top-color:#ffffff25}.commitment-label{font-size:9px;letter-spacing:1.8px;color:#d7b779}
.company{grid-template-columns:.9fr 1.1fr;gap:100px;align-items:center}.company-graphic{background-color:#f5f3ed;background-image:linear-gradient(#d5cdb533 1px,transparent 1px),linear-gradient(90deg,#d5cdb533 1px,transparent 1px);background-size:42px 42px;border:1px solid #dfdfd7}.graphic-top,.graphic-bottom{font-size:9px;letter-spacing:1px;padding:24px;background:#f5f3ed;border-color:#d8ddda}.brand-display{margin:45px 40px;aspect-ratio:1.1}.brand-display img{width:72%;mix-blend-mode:multiply}.company-copy h2{margin-bottom:28px}.company-copy .lead{font-size:21px;line-height:1.6}.company-copy>p{font-size:15px;line-height:1.85}.founder-link{margin-top:30px;padding-top:23px;font-size:13px}
/* Leadership: clear narrative with a legible credential panel. */
.founder-section{background:var(--paper);border-top:1px solid #e3e4db}.founder-layout{grid-template-columns:1.25fr 1fr;gap:95px;align-items:start}.founder-story h2{font-size:clamp(45px,4.8vw,70px);line-height:1.05;letter-spacing:-2.6px}.founder-position{font-size:12px;line-height:1.6;margin:21px 0 34px;color:var(--gold-dark)}.founder-story .founder-lead{font-size:29px;line-height:1.4;letter-spacing:-.7px;margin-bottom:25px}.founder-story>p:not(.founder-position):not(.founder-lead){font-size:15px;line-height:1.9;margin-bottom:21px}.founder-story>.text-link{margin-top:14px}.founder-profile{padding:36px 37px;background:var(--navy-deep);box-shadow:0 18px 40px #1028380b;border-top:3px solid var(--gold)}.profile-header{padding-bottom:26px;gap:24px}.profile-header>span:first-child{font-size:10px;line-height:1.7;letter-spacing:1.3px;max-width:180px}.profile-monogram{font-size:46px;font-family:Georgia,serif;letter-spacing:-2px;color:var(--gold)}.profile-item{padding:23px 0}.profile-label{font-size:10px;letter-spacing:1.1px;margin-bottom:10px;color:#aabdc8}.profile-item h3{font-size:22px;line-height:1.3;margin-bottom:9px;color:#fff}.profile-item p{font-size:13px;line-height:1.8;color:#cbd5db}.profile-languages{font-size:11px;line-height:1.6;padding-top:25px}.profile-languages strong{color:white}
.contact{background:var(--navy-deep);color:white}.contact-layout{grid-template-columns:1fr 1.05fr;gap:100px}.contact .eyebrow{color:var(--gold)}.contact .short-rule{background:var(--gold)}.contact-copy h2{font-size:clamp(40px,4.1vw,60px);max-width:510px}.contact-copy>p{color:#c5d1d9;font-size:15px;line-height:1.85;max-width:400px;margin-top:27px}.contact-details{margin-top:35px;gap:25px}.contact-label{font-size:10px;color:#c9aa6e;letter-spacing:1.6px}.contact-details p,.contact-details a{color:#f0f3f5;font-size:16px;line-height:1.75}.contact-copy .button-outline{border-color:#5e7380;color:#edf2f5;margin-top:30px}.contact-copy .button-outline:hover{background:#ffffff0b}.contact-form{background:white;color:var(--ink);padding:40px;box-shadow:0 15px 40px #00000015}.contact-form>h3{font-size:27px;letter-spacing:-.7px}.form-intro{font-size:13px;margin-top:10px;margin-bottom:28px}.field{margin-bottom:23px}.field label{font-size:12px;margin-bottom:9px}.field input,.field select,.field textarea{background:#f7f8f6;border:1px solid #dce1dd;min-height:48px;font-size:14px;padding:12px 13px;border-radius:0}.field input::placeholder,.field textarea::placeholder{color:#7b8990;font-size:13px}.field textarea{line-height:1.7}.form-row{gap:18px}.contact-form .button{width:100%;margin-top:0;background:var(--gold);color:var(--navy-deep)}.form-note{font-size:11px;line-height:1.7;margin-top:16px;color:#697880}.form-result{border:1px solid #c8d4c9;background:#f4f7f0;color:var(--ink);padding:20px;margin-top:23px}.form-result p{font-size:13px}.result-actions{gap:18px;flex-wrap:wrap}.result-actions .text-link{font-size:12px}.footer{background:#0b202e;padding:46px 0 24px}.footer-main{padding-bottom:32px}.footer-brand{font-size:46px;letter-spacing:4px;font-weight:400}.footer-brand span{font-size:8px;letter-spacing:2px}.footer-main>p{font-size:14px;line-height:1.7;color:#c0ccd4}.footer-bottom{font-size:10px;padding-top:24px;color:#a8b8c3}.footer-bottom>button{font-size:10px;color:#c0ccd4}.back-top{font-size:11px}
dialog{border:0;box-shadow:0 30px 100px #07172255;max-width:760px;width:calc(100% - 48px);max-height:90dvh}dialog::backdrop{background:#091b2bbb;backdrop-filter:blur(5px)}.dialog-content{padding:50px}.dialog-content h2{font-size:43px;letter-spacing:-1.4px}.dialog-content p,.dialog-content li{font-size:15px;line-height:1.85}.dialog-content h3{font-size:22px}.dialog-content img{max-height:340px;width:100%;object-fit:cover}.dialog-close{top:14px;right:14px;width:40px;height:40px;background:#f3f4ef;font-size:26px}.reference-disclosure{font-size:12px!important}.small-note{font-size:12px!important}
@media(min-width:1600px){.hero-photo{left:49%;right:max(24px,calc((100% - 1480px)/2))}.hero-content{width:48%}}
@media(max-width:1200px){.wrap{width:calc(100% - 72px)}.nav{gap:18px}.nav-wrap{gap:18px}.nav-actions{gap:17px}.header-cta{display:none!important}.hero-content{width:51%}.hero h1,html[lang=en] .hero h1{font-size:62px}.hero-actions{flex-wrap:wrap;gap:21px}.hero-photo{left:50%;right:18px}.intro,.expertise-layout,.company,.founder-layout,.contact-layout{gap:55px}.project-copy{padding:35px 30px}.project-image{min-height:550px}.project-copy h3{font-size:36px}.reference-grid{gap:20px}.reference-body h3{font-size:23px}.reference-heading>span{max-width:240px;line-height:1.6}.founder-profile{padding:30px}.contact-form{padding:32px}.steps{gap:30px}.steps h3{font-size:21px}.commitment{gap:20px}.hero .eyebrow{font-size:8px}.hero-copy{max-width:360px}}
@media(min-width:701px) and (max-width:900px){.brand small{font-size:6px}.brand strong{font-size:21px}.brand img{width:52px;height:52px}.nav>a{font-size:11px}.nav{gap:12px}.nav-actions{gap:10px}.nav-wrap{gap:15px}.hero-content{width:54%}.hero-photo{left:48%;opacity:.7}.hero-shade{right:28%}.hero h1,html[lang=en] .hero h1{font-size:55px;letter-spacing:-2.8px}.hero-caption{min-width:0;right:0;padding:13px}.hero-caption small{font-size:8px}.hero-actions{flex-direction:column;align-items:flex-start}.intro,.expertise-layout,.company,.founder-layout,.contact-layout{gap:35px}.intro-body .lead{font-size:19px}.service h3{font-size:21px}.project-feature{grid-template-columns:1.1fr 1fr}.project-copy{padding:30px 25px}.project-specs>div{grid-template-columns:1fr;gap:7px}.reference-heading{display:block}.reference-heading>span{display:block;max-width:none;margin-top:10px}.reference-stamp{font-size:7px;letter-spacing:.7px;left:10px;top:10px}.profile-header>span:first-child{font-size:9px}.profile-monogram{font-size:39px}.founder-profile{padding:25px}.profile-item h3{font-size:20px}.founder-story .founder-lead{font-size:25px}.contact-form{padding:26px}.contact-form>h3{font-size:24px}.steps h3{font-size:19px}}
@media(max-width:700px){html{scroll-padding-top:90px}.wrap{width:calc(100% - 40px)}.section{padding:64px 0}h2{font-size:35px;letter-spacing:-1.4px;line-height:1.16}.eyebrow{font-size:9px;letter-spacing:1.6px;margin-bottom:22px}.utility{height:27px}.utility-inner{font-size:8px}.utility-inner>a{font-size:9px}.nav-wrap{height:78px;gap:12px}.brand img{width:53px;height:53px}.brand{gap:8px}.brand>span{display:block}.brand strong{font-size:22px;letter-spacing:3px}.brand small{font-size:6px;letter-spacing:1px;margin-top:4px}.nav-actions{gap:13px}.nav{top:78px;padding:12px 24px 24px}.nav>a{font-size:15px;padding:17px 0}.language button{font-size:11px;min-width:23px;min-height:44px}.menu-toggle{width:30px;padding:4px}.hero{min-height:0;padding-top:0}.hero-inner{min-height:0;padding-top:50px;padding-bottom:305px;align-items:start}.hero-content{width:100%;max-width:100%}.hero .eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:26px}.hero h1,html[lang=en] .hero h1{font-size:clamp(45px,11.5vw,72px);letter-spacing:-2.8px;line-height:1.08}.hero-copy{font-size:14px;line-height:1.85;margin-top:24px;max-width:480px}.hero-actions{flex-direction:row;align-items:center;flex-wrap:wrap;gap:19px;margin-top:27px}.hero-actions .button{font-size:11px;padding:15px 16px;min-height:48px;gap:18px}.hero-actions .text-link{font-size:11px;gap:10px}.hero-photo{inset:auto 20px 88px 20px;height:248px;opacity:1;background-position:50% 44%}.hero-shade{display:none}.hero-caption{right:10px;bottom:16px;padding:12px 15px;min-width:0;gap:12px}.hero-caption small{font-size:8px;margin-bottom:5px}.hero-caption strong{font-size:13px}.caption-marker{height:33px;width:33px;font-size:20px}.hero-bottom{min-height:72px;border-top:0}.hero-bottom>span{font-size:7px;letter-spacing:1.3px;max-width:220px;line-height:1.9}.hero-bottom>a{font-size:10px;gap:10px}.hero-bottom .circle-arrow{height:29px;width:29px}.intro,.expertise-layout,.company,.founder-layout,.contact-layout{grid-template-columns:minmax(0,1fr);gap:30px}.intro-body .lead{font-size:19px;line-height:1.65}.intro-body>p:not(.lead){font-size:14px}.intro-body .text-link{margin-top:24px}.expertise-heading h2{max-width:360px}.expertise-heading>p{font-size:14px;margin-top:20px;max-width:none}.expertise-heading>.text-link{margin-top:23px}.service summary{padding:23px 0;gap:15px}.service h3{font-size:21px;letter-spacing:-.4px}.service-no{min-width:18px;font-size:10px}.service-body{margin-left:33px;padding-right:0;padding-bottom:26px}.tags span{font-size:10px}.section-head{display:block;margin-bottom:30px}.section-head>p{margin-top:22px;font-size:14px;max-width:none}.projects{padding-bottom:64px}.project-feature{grid-template-columns:minmax(0,1fr)}.project-image{min-height:0;aspect-ratio:1.25}.project-badge{left:17px;top:17px;font-size:8px;padding:10px 12px}.photo-label{left:17px;bottom:17px;font-size:9px}.project-copy{padding:29px 24px}.project-copy .eyebrow{font-size:9px;margin-bottom:20px}.project-copy h3{font-size:33px;margin-bottom:21px}.project-specs{font-size:12px;margin:25px 0}.project-specs>div{grid-template-columns:90px 1fr;padding:14px 0}.project-note{font-size:12px;padding:22px 0}.project-note .text-link{font-size:12px}.team-experience{margin-top:43px}.reference-heading{display:block}.reference-heading h3{font-size:28px}.reference-heading>span{font-size:11px;margin-top:10px;max-width:none}.team-experience-intro{font-size:13px;margin-bottom:26px}.reference-grid{grid-template-columns:minmax(0,1fr);gap:37px}.reference-image{aspect-ratio:1.45}.reference-body{padding:21px 0 0;min-height:0}.reference-body h3{font-size:26px}.reference-type{font-size:9px}.reference-stamp{font-size:8px;letter-spacing:1px}.reference-scope{margin-top:17px}.partner-disclosure{font-size:11px;line-height:1.8;margin-top:29px}.approach h2{font-size:34px}.approach .section-head>p{font-size:14px}.steps{grid-template-columns:minmax(0,1fr);gap:30px;margin-top:35px}.steps article{display:grid;grid-template-columns:46px 1fr;gap:0 18px;padding-top:24px}.step-number{font-size:34px;letter-spacing:-1.5px}.steps h3{font-size:21px;margin:3px 0 12px}.steps p{font-size:14px;max-width:none}.commitment{gap:14px;font-size:11px;margin-top:35px;padding-top:24px}.commitment-label{font-size:9px;width:100%}.company{gap:35px}.company-graphic{max-width:none}.graphic-top,.graphic-bottom{font-size:8px;padding:19px;letter-spacing:.5px}.brand-display{aspect-ratio:1.5;margin:24px 40px}.brand-display img{width:60%}.company-copy .lead{font-size:19px}.company-copy>p{font-size:14px}.founder-layout{gap:36px}.founder-story h2{font-size:45px;letter-spacing:-1.8px}.founder-position{font-size:11px;margin:19px 0 26px}.founder-story .founder-lead{font-size:26px;line-height:1.4;margin-bottom:23px}.founder-story>p:not(.founder-position):not(.founder-lead){font-size:14px;line-height:1.85;margin-bottom:20px}.founder-profile{padding:27px}.profile-header{padding-bottom:24px}.profile-header>span:first-child{font-size:10px}.profile-monogram{font-size:43px}.profile-item{padding:23px 0}.profile-label{font-size:9px}.profile-item h3{font-size:22px}.profile-item p{font-size:13px}.profile-languages{font-size:11px}.contact-layout{gap:37px}.contact-copy h2{font-size:38px;letter-spacing:-1.5px;max-width:400px}.contact-copy>p{font-size:14px;max-width:none;margin-top:23px}.contact-details{margin-top:28px;gap:23px}.contact-copy .button-outline{margin-top:27px}.contact-form{padding:28px 23px}.contact-form>h3{font-size:25px}.field input,.field select,.field textarea{font-size:16px}.form-note{font-size:11px}.footer{padding:36px 0 22px}.footer-brand{font-size:39px}.footer-main>p{font-size:12px}.footer-main{gap:23px}.footer-bottom{font-size:9px;gap:14px}.footer-bottom>button{font-size:10px}.back-top{font-size:11px}dialog{width:calc(100% - 24px);max-height:93dvh}.dialog-content{padding:52px 24px 30px}.dialog-content h2{font-size:34px}.dialog-content p,.dialog-content li{font-size:14px}.dialog-content h3{font-size:21px}}
@media(max-width:370px){.wrap{width:calc(100% - 32px)}.brand small{font-size:5.5px}.brand strong{font-size:20px}.brand img{width:47px;height:47px}.nav-actions{gap:8px}.hero-actions{gap:18px}.hero h1,html[lang=en] .hero h1{font-size:43px}.hero-actions .button{font-size:10px;padding:14px 12px;gap:12px}.hero-actions .text-link{font-size:10px}.hero-bottom>span{max-width:190px;font-size:6.5px}.hero-photo{left:16px;right:16px}.founder-profile{padding:24px}.service h3{font-size:19px}.contact-form{padding:26px 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Consistent vector arrows across browsers and operating systems. */
.icon-arrow{display:inline-block;width:20px;height:20px;flex-shrink:0;vertical-align:middle}
.button>span[aria-hidden],.text-link>span[aria-hidden]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;line-height:0}
.utility-inner .icon-arrow,.circle-arrow .icon-arrow{width:16px;height:16px}
.service-link .icon-arrow,.contact-details .icon-arrow{width:18px;height:18px}
.caption-marker .icon-arrow,.reference-arrow .icon-arrow{width:22px;height:22px}

/* Five experience references in balanced rows, with the existing mobile stack. */
@media(min-width:701px){
  .team-experience .reference-grid{grid-template-columns:repeat(6,minmax(0,1fr));row-gap:44px}
  .team-experience .reference-card{grid-column:span 2}
  .team-experience .reference-card:nth-child(n+4){grid-column:span 3}
  .team-experience .reference-card:nth-child(n+4) .reference-image{aspect-ratio:1.8}
}

/* Full photographs and architectural perspectives, with compact thumbnail navigation. */
dialog.has-project-gallery{max-width:960px}
.project-gallery{margin:0 0 30px}
.gallery-slide{margin:0}
.gallery-slide[hidden]{display:none!important}
.dialog-content a.gallery-media{display:block;position:relative;height:clamp(240px,42vh,420px);background:#eef0ec;overflow:hidden;text-decoration:none}
.project-gallery .gallery-media img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;margin:0}
.gallery-enlarge{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:7px;background:#102b3de8;color:white;padding:8px 10px;font-size:10px;letter-spacing:.3px}
.gallery-slide figcaption{min-height:60px;padding:15px 0 10px;display:flex;flex-direction:column;gap:5px}
.gallery-image-kind{color:var(--gold-dark);font-size:8px;font-weight:600;letter-spacing:1.4px}
.gallery-image-caption{color:var(--ink);font-size:13px;line-height:1.6}
.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:10px 0}
.gallery-nav{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;background:transparent;border:1px solid var(--line);color:var(--ink);transition:background .2s,border-color .2s}
.gallery-nav:hover{background:var(--paper);border-color:var(--gold)}
.gallery-position{font-size:12px;letter-spacing:1px;font-variant-numeric:tabular-nums;color:var(--ink)}
.gallery-position-divider{color:#859099;margin:0 6px}
.gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 9px;scrollbar-width:thin;scrollbar-color:#c6b383 #eef0ec;overscroll-behavior-x:contain}
.gallery-thumbnail{flex:0 0 80px;width:80px;height:62px;border:2px solid transparent;padding:2px;background:#eef0ec;opacity:.65;transition:opacity .2s,border-color .2s}
.gallery-thumbnail[aria-current="true"]{border-color:var(--gold-dark);opacity:1}
.gallery-thumbnail:hover,.gallery-thumbnail:focus-visible{opacity:1}
.project-gallery .gallery-thumbnail img{width:100%;height:100%;max-height:none;margin:0;object-fit:cover;display:block}
.gallery-card-count{position:absolute;left:14px;bottom:14px;padding:8px 10px;background:#102b3de8;color:#fff;font-size:10px;letter-spacing:.5px;line-height:1.3}
@media(max-width:700px){
  .dialog-content a.gallery-media{height:280px;max-height:40dvh}
  .gallery-slide figcaption{min-height:70px;padding-top:13px}
  .gallery-image-caption{font-size:12px}
  .gallery-image-kind{font-size:7px;letter-spacing:1.1px}
  .gallery-thumbnail{flex-basis:66px;width:66px;height:54px}
  .gallery-thumbnails{gap:6px}
  .gallery-enlarge{right:8px;bottom:8px;font-size:9px;padding:7px 8px}
}

/* A slow, controllable rotation fills the existing hero image area. */
.hero-photo{background:var(--navy-deep);overflow:hidden}
.hero-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;opacity:0;transition:opacity var(--hero-fade-duration,2000ms) ease-in-out}
.hero-frame.is-active{opacity:1}
.hero-inner{pointer-events:none}
.hero-content{pointer-events:auto}
.hero-photo .hero-caption{display:flex;position:absolute;left:18px;bottom:18px;right:auto;max-width:calc(100% - 168px);min-width:0;padding:13px 15px;gap:12px;z-index:2}
.hero-caption-text{min-width:0}
.hero-photo .hero-caption small{font-size:8px;line-height:1.6;letter-spacing:1.1px;margin-bottom:5px}
.hero-photo .hero-caption strong{display:block;font-size:14px;line-height:1.35}
.hero-photo .hero-caption em{display:block;font-style:normal;font-size:10px;line-height:1.5;color:#d8e0e5;margin-top:6px}
.hero-slide-controls{position:absolute;right:18px;bottom:18px;display:flex;align-items:center;background:#102838e8;backdrop-filter:blur(10px);z-index:3}
.hero-slide-control{display:grid;place-items:center;width:40px;height:44px;padding:0;border:0;background:transparent;color:#fff;transition:background .2s,opacity .2s}
.hero-slide-control:hover{background:#ffffff14}
.hero-slide-control:disabled{opacity:.4;cursor:default}
.hero-slide-controls[hidden],.hero-slide-control [hidden],.hero-photo .hero-caption [hidden]{display:none!important}
@media(max-width:900px){
  .hero-photo .hero-caption{left:12px;bottom:12px;max-width:calc(100% - 138px);padding:10px 11px}
  .hero-photo .caption-marker{display:none}
  .hero-slide-controls{right:12px;bottom:12px}
  .hero-slide-control{width:34px;height:40px}
  .hero-photo .hero-caption strong{font-size:12px}
  .hero-photo .hero-caption small{font-size:7px;letter-spacing:.7px}
  .hero-photo .hero-caption em{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.hero-frame{transition:none}}
