.header nav{gap:clamp(12px,2vw,29px)}
.detail-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:clamp(24px,7vw,100px);align-items:start}
.detail-grid h2{margin:0 0 18px}
.detail-grid p,.detail-grid li{color:var(--muted)}
.detail-grid aside{background:#eee9de;border:1px solid var(--line);padding:26px;display:grid;gap:13px}
.detail-grid .actions{margin-top:25px}
.trap{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.form-note:empty{display:none}
.form-note a{text-decoration:underline}
.service-card .service-guide{margin-top:0}
[dir="rtl"]{--display:Georgia,serif;--sans:Arial,sans-serif}
[dir="rtl"] .subhero .wrap{max-width:1170px}
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3{letter-spacing:normal}
[dir="rtl"] .brand{direction:ltr}
@media(max-width:1000px) and (min-width:781px){.header nav{gap:12px}.header-inner{gap:10px}.header-quote{padding-inline:9px}.brand strong{font-size:1rem}.brand small{font-size:.59rem}}
@media(max-width:780px){.detail-grid{grid-template-columns:1fr}.header nav{justify-content:flex-start;gap:6px 16px}}

.hero-carousel{position:relative;background:var(--deep)}
.hero-carousel .hero-slide{min-height:clamp(615px,75vh,850px)}
.hero-carousel .hero-content{padding-bottom:130px}
.hero-carousel .hero h2{font-size:clamp(3.3rem,7.3vw,7.35rem);line-height:.99}
.hero-carousel .hero-content{max-width:1290px}
.hero-carousel .hero h2{max-width:870px;text-wrap:balance}
.hero-carousel .hero h2 em{display:block}
.hero-carousel .hero-foot{bottom:17px}
.hero-carousel .hero-photo{animation:carousel-arrive 1s ease-out both}
@keyframes carousel-arrive{from{transform:scale(1.035);opacity:.55}to{transform:scale(1);opacity:1}}
.slider-panel{position:absolute;bottom:58px;inset-inline:0;z-index:2;display:flex;gap:9px;align-items:center;color:var(--white);pointer-events:none}
.slider-panel button{pointer-events:auto;min-width:42px;min-height:42px;border:1px solid #f3dfb77d;background:#131911cc;color:var(--white);font-weight:700;line-height:1;display:grid;place-items:center}
.slider-panel button:hover{background:var(--gold);color:var(--deep)}
.slider-panel button[data-slide-prev],.slider-panel button[data-slide-next]{font-size:1.45rem}
.slider-panel .slider-toggle{padding-inline:10px;font-size:.9rem}
.slider-dots{display:flex;gap:2px}
.slider-dots button{min-width:27px;border:0;background:#131911cc}
.slider-dots button::after{content:"";width:8px;height:8px;border:1px solid var(--gold);border-radius:50%}
.slider-dots button[aria-pressed="true"]::after{background:var(--gold)}
.slider-panel button:focus-visible{outline-color:#fff1b8}
article.service-card:has(.service-visual){padding:0;display:block}
.service-card-body{display:flex;flex-direction:column;align-items:start;gap:12px;padding:clamp(18px,2.4vw,32px)}
.service-card-body .textlink{margin-top:2px}
.service-visual{position:relative;margin:0;width:100%;perspective:700px}
.service-image-frame{overflow:hidden;background:#ded6c5}
.service-visual img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transition:transform .55s cubic-bezier(.2,.75,.25,1);transform:scale(1.005);transform-origin:center}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.service-card:hover .service-visual img,.service-visual:hover img{transform:translateZ(18px) rotateX(2deg) rotateY(-4deg) scale(1.09)}}
.service-visual figcaption{position:absolute;inset:auto 0 0 auto;padding:4px 9px;color:#fffdf7;background:#171c15dd;font-size:.74rem}
.about-process{background:#efebe0;border-block:1px solid var(--line)}
.about-method{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:26px}
.about-method article{border:1px solid var(--line);border-top:2px solid var(--bronze);background:var(--paper);padding:clamp(18px,3vw,32px)}
.about-method article p{margin-top:12px;color:var(--muted)}
.about-portfolio img{object-position:center 40%}
.footer-meta{display:flex;gap:12px;flex-wrap:wrap}
.agency-credit a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:780px){.hero-carousel .hero-slide{min-height:610px}.hero-carousel .hero-photo{object-position:61% center}.about-method{grid-template-columns:1fr}.hero-carousel .hero h2{font-size:clamp(3rem,10vw,5rem)}}
@media(max-width:460px){.hero-carousel .hero-slide{min-height:590px}.hero-carousel .hero-content{padding-bottom:145px}.slider-panel{bottom:58px}.slider-panel button{min-width:40px}.slider-dots button{min-width:26px}}
.detail-grid p+p{margin-top:14px}
.contact-map{padding-bottom:clamp(44px,7vw,100px)}
.contact-map p{margin:8px 0 18px;color:var(--muted)}
.contact-map iframe{display:block;width:100%;height:clamp(260px,48vw,450px);border:0;background:#e9e5db}
.wa-widget{position:fixed;z-index:25;inset:auto max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) auto;border:0;padding:0;background:none}
.wa-widget summary{display:flex;align-items:center;justify-content:center;gap:8px;list-style:none;margin-left:auto;width:max-content;padding:10px 15px;border-radius:999px;background:#157536;color:white;box-shadow:0 8px 25px #0003;font-weight:700;cursor:pointer}
.wa-widget summary::-webkit-details-marker{display:none}
.wa-icon{width:24px;height:24px;flex:none}
.wa-panel{position:absolute;bottom:calc(100% + 10px);right:0;width:min(340px,calc(100vw - 32px));background:white;color:#222;border-radius:12px;overflow:auto;max-height:calc(100dvh - 85px);box-shadow:0 12px 46px #0004}
.wa-panel header{padding:15px 18px;background:#157536;color:white}
.wa-panel header strong{font-size:1.12rem}
.wa-panel header p{font-size:.9rem;margin-top:3px}
.wa-people{display:grid;padding:13px;gap:9px}
.wa-person{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:10px;border-left:3px solid #22a64b;background:#f0f6f1;border-radius:5px}
.wa-person:hover,.wa-person:focus-visible{background:#ddf0e2}
.wa-person strong,.wa-person small{display:block}
.wa-person small{color:#3f5143;font-size:.83rem}
.wa-avatar{display:grid;place-items:center;width:36px;height:36px;background:#157536;color:white;border-radius:50%}
.wa-person>.wa-icon{color:#157536;width:20px;height:20px}
.client-reviews{max-width:950px;text-align:center}
.client-reviews figure{margin:1.5rem 0 1rem;padding:clamp(1rem,4vw,3rem);background:#efebe0;border:1px solid var(--line)}
.client-reviews blockquote{margin:0 0 1em;font-size:clamp(1.15rem,3vw,1.8rem);line-height:1.5;overflow-wrap:anywhere}
.review-controls{display:flex;align-items:center;justify-content:center;gap:1rem}
.review-controls button{padding:.5rem .75rem;background:var(--deep);color:var(--white);border:0;cursor:pointer}

.slider-panel a,.review-controls a,.filters a{pointer-events:auto;padding:.55rem .8rem;border:1px solid #b39a6a;border-radius:2px;font-weight:700}
.slider-panel a{background:#131911;color:white}.slider-panel span{background:#131911;color:white;padding:.35rem .55rem}
.review-controls a{background:var(--deep);color:var(--white)}
.filters a[aria-current]{background:var(--deep);color:var(--white)}
.filters a:hover,.review-controls a:hover,.slider-panel a:hover{background:#5d563f;color:white}

.language-switch{padding:.36rem .75rem;border:1px solid #bfa779;border-radius:999px;white-space:nowrap}
.elevated-grid,.project-grid,.about-method{perspective:1000px}
.depth-card,.elevated-grid article,.contact-grid .quote{border:1px solid #c7bfae;box-shadow:0 10px 20px #2c251510;transition:transform .28s ease,box-shadow .28s ease}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.depth-card:hover,.elevated-grid article:hover,.contact-grid .quote:hover{transform:translateY(-5px) rotateX(1.6deg);box-shadow:0 18px 32px #2c251526}}
.about-method .depth-card,.contact-info,.service-brief{padding:clamp(1.2rem,3vw,2.4rem);background:#f5f1e7;color:#25281d;border-inline-start:3px solid #b39a6a}
.about-method summary,.project-scope summary{cursor:pointer;font-weight:700}
.about-method summary{font-size:1.2rem}
.about-method details p,.project-scope p,.service-brief p{margin-top:.7rem}
.service-brief{margin-bottom:clamp(2rem,6vw,5rem)}
.contact-info a{overflow-wrap:anywhere}
.project-scope{margin-top:1rem;border-top:1px solid var(--line);padding-top:.7rem}
.hero-carousel .hero-content{padding-bottom:174px}
.hero-carousel .slider-panel{bottom:60px;display:flex;justify-content:space-between;flex-wrap:wrap}
.hero-choices,.hero-step{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.hero-choices a[aria-current]{background:#d7bc83;color:#1f241b}
[dir=rtl] .footer-bottom,[dir=rtl] .contact-info{text-align:right}
[dir=rtl] .hero-carousel .hero h1,[dir=rtl] .hero-carousel .hero h2{line-height:1.28}
@media(max-width:620px){.hero-carousel .hero-content{padding-bottom:14rem}.hero-carousel .slider-panel{align-items:flex-start;gap:.5rem}.hero-choices a,.hero-step a{padding:.35rem .5rem;font-size:.85rem}}
@media(prefers-reduced-motion:reduce){.depth-card,.elevated-grid article,.contact-grid .quote{transition:none;transform:none}}

.profile-hero .hero{min-height:clamp(620px,80svh,850px)}
.profile-hero .hero-photo{object-position:center 38%}
.profile-hero .hero-content{padding-bottom:13rem}
.profile-hero .hero-choices a{font-size:.88rem}
.profile-services{margin-top:1.5rem}
.profile-services h2{font-size:clamp(1.25rem,2.6vw,1.75rem)}
.profile-services ul{padding-inline-start:1.2rem;margin:1rem 0}
.profile-cta{text-align:center}
.story details.depth-card{margin-top:1rem;padding:1rem}
@media(max-width:620px){.profile-hero .hero-content{padding-bottom:17rem}.profile-hero .slider-panel{bottom:2rem}.profile-hero .hero-choices{gap:.35rem}}

.profile-services figure{margin:0}
.profile-services figcaption{padding:.4rem .8rem;color:var(--muted);font-size:.78rem;background:var(--paper)}
.profile-services .project-text p{margin-top:.65rem}

.header nav .profile-download{border:1px solid #ad9261;padding:.48rem .78rem;border-radius:.3rem;white-space:nowrap}
.header nav .profile-download:hover{background:#d7bc83;color:#1c2219}
.profile-hero .hero::after{background:linear-gradient(90deg,#0f1811eb 0%,#101811a8 48%,#10181135 100%)}
[dir=rtl] .profile-hero .hero::after{background:linear-gradient(270deg,#0f1811eb 0%,#101811a8 48%,#10181135 100%)}
.profile-hero .hero-photo{object-position:center}
.profile-hero .hero-content h1{max-width:13ch;text-wrap:balance}
.profile-hero .hero-disclosure{margin-top:1rem;font-size:.82rem;color:#fff1d5}
.profile-hero .slider-panel{bottom:2rem;gap:.85rem}
.profile-hero .hero-choices a{min-width:6rem;text-align:center}
.aligned-section>h2{margin-bottom:1.35rem}
.profile-services .project,.project-grid .project{height:100%}
.profile-review-examples details{padding:1.25rem;border:1px solid #c7bfae;background:#f5f1e7}
.profile-review-examples summary{font-weight:700;cursor:pointer}
.profile-review-examples p{margin:.65rem 0;color:var(--muted)}
.profile-review-examples ul{display:grid;gap:.65rem;padding-inline-start:1.25rem}
@media(min-width:760px){.profile-review-examples ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.header nav{flex-wrap:wrap}.profile-hero .hero-choices a{min-width:0}}

/* Public page typography, spacing and editorial panels */
.subhero .wrap{padding-block:clamp(1.4rem,4vw,3.25rem)}
.subhero h1{max-width:22ch;text-wrap:balance}
.subhero p:not(.eyebrow){max-width:65ch}
.profile-editorial{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(1.4rem,5vw,4rem);align-items:center}
.profile-editorial figure{margin:0}
.profile-editorial img{width:100%;height:clamp(220px,32vw,390px);object-fit:cover;border-radius:.75rem}
.profile-editorial figcaption{font-size:.82rem;margin-top:.4rem;color:var(--muted)}
.profile-editorial h2,.contact-guide h2{margin-bottom:.65rem}
.profile-editorial .textlink{display:inline-block;margin-top:1rem}
.profile-editorial-reverse figure{order:2}
.contact-grid{align-items:start}
.contact-grid .contact-info,.contact-grid .quote{border-radius:.75rem}
.contact-guide{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1.25rem;background:#1d2820;color:#fff;padding:clamp(1.2rem,4vw,2.6rem);border-radius:.75rem;margin-bottom:3rem}
.contact-guide p{max-width:60ch;color:#f0e8da}
@media(max-width:720px){.profile-editorial,.contact-guide{grid-template-columns:minmax(0,1fr)}.profile-editorial-reverse figure{order:0}.contact-guide .btn{justify-self:start}}

.brand-builders{display:inline-flex;align-items:center;background:#f3f8fc;border:1px solid #b6d6eb;border-radius:.55rem;padding:.36rem .55rem}
.brand-builders img{display:block;width:clamp(104px,14vw,145px);height:auto;max-height:66px;object-fit:contain;border:0;border-radius:0}
.header .profile-download,.header .language-switch{border-color:#72b8e5}
.profile-hero .hero-choices a[aria-current],.profile-cta .gold{background:#a5d7f7;border-color:#a5d7f7;color:#12202d}
.profile-project-group{margin-block:2rem 3rem;padding-top:1rem;border-top:2px solid #78b7dc}
.profile-project-group h2{margin-bottom:1.1rem}

.profile-services .service-box{border-radius:.65rem;overflow:hidden}
.profile-services .service-box .project-media img{aspect-ratio:4/3;object-fit:cover}
.profile-services .service-box .project-text{padding:clamp(1rem,2vw,1.5rem)}
.service-brief{margin:1.75rem 0 0;padding:clamp(1rem,3vw,2rem)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.service-box .project-media img{transition:transform .45s ease}.service-box:hover .project-media img,.service-box:focus-within .project-media img{transform:scale(1.055)}}

.project-gallery { margin-block-start: 1rem; border-top: 1px solid currentColor; }
.project-gallery summary { padding-block: .8rem; cursor: pointer; font-weight: 650; }
.project-gallery summary span { margin-inline-start: .45rem; font-size: .82em; opacity: .82; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,8rem),1fr)); gap: .65rem; }
.gallery-image { display: block; overflow: hidden; border-radius: .45rem; }
.gallery-image img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-image:focus-visible, .project-gallery summary:focus-visible { outline: 2px solid #2185be; outline-offset: 3px; }
.profile-photo-section .gallery-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,17rem),1fr)); }
@media (prefers-reduced-motion:no-preference) {
  .gallery-image img { transition: transform .35s ease; }
  .gallery-image:is(:hover,:focus-visible) img { transform: scale(1.055); }
  .project-gallery[open] .gallery-grid { animation: gallery-in .26s ease-out both; }
}
@keyframes gallery-in {
  from { opacity: 0; transform: translateY(.45rem); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-builders { background: linear-gradient(145deg,#fff,#e8f3fa); padding: .42rem .75rem; border-color: #bad4e5; box-shadow: 0 3px 0 #8cabbf,0 8px 20px #071e3438; }
.brand-builders img { width: clamp(92px,12vw,132px); max-height: 72px; }
.project-grid,.sector-grid { perspective: 1300px; }
.project-grid .depth-card,.service-grid .depth-card,.sector-card { background: linear-gradient(150deg,#fff 30%,#edf4f8); color: #132d40; box-shadow: 0 6px 0 #a8becb,0 16px 35px #12314920; border: 1px solid #c8dbe6; border-radius: 1rem; }
.project-grid .project-media img { object-fit: contain; background: #dce7ef; }
.service-box h2 a { color: inherit; text-decoration: none; }
.service-box h2 a:hover { text-decoration: underline; }
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap: 1.15rem; }
.sector-card { display: grid; gap: .6rem; padding: 1.5rem; text-decoration: none; }
.case-gallery { text-align: center; }
.case-image { width: 100%; max-height: 70vh; object-fit: contain; background: #eaf0f4; border-radius: .75rem; }
.case-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-block-start: 1rem; }
.case-thumbs a { display: block; border: 2px solid transparent; }
.case-thumbs a[aria-current=true] { border-color: #17628f; }
.case-thumbs img { display: block; width: clamp(68px,9vw,112px); height: auto; aspect-ratio: 3/2; object-fit: cover; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .project-grid .depth-card:hover,.service-grid .depth-card:hover,.sector-card:hover { transform: translateY(-8px) rotateX(3deg); box-shadow: 0 11px 0 #a8becb,0 24px 42px #12314938; }
}
@media (prefers-reduced-motion:no-preference) { .case-image { animation: gallery-in .32s ease-out both; } }

/* Shared 4:3 media frames and equal-height rows for the portfolio and services. */
.project-grid,.profile-services { grid-auto-rows: 1fr; }
.project-grid .depth-card,.profile-services .service-box { display: flex; flex-direction: column; overflow: hidden; }
.project-grid .project-media,.profile-services .service-figure { display: block; flex: none; width: 100%; aspect-ratio: 4/3; margin: 0; overflow: hidden; }
.project-grid .project-media img,.profile-services .service-figure img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.project-grid .project-text,.profile-services .project-text { flex: 1; display: flex; flex-direction: column; }
.project-grid .project-text .textlink,.profile-services .project-text .textlink { align-self: start; margin-block-start: auto; }
.project-grid .project-placeholder { display: grid; place-items: center; padding: 1rem; background: repeating-linear-gradient(135deg,#1c3446 0 1px,#193043 1px 22px); color: #ecf7ff; text-align: center; }
.project-placeholder span { padding: .4rem .65rem; border: 1px solid #adcadc; background: #193043; }
@media (max-width: 540px) { .project-grid,.profile-services { grid-auto-rows: auto; } }

/* The original transparent mark sits directly on the light masthead. */
.header:has(.brand-builders) { background: #f7fbfe; color: #142c40; border-bottom: 1px solid #cfdee9; }
.header .brand-builders { background: transparent; border: 0; padding: .2rem 0; box-shadow: none; }
.header .brand-builders img { width: clamp(104px,13vw,154px); max-height: 77px; }
.header:has(.brand-builders) nav a,.header:has(.brand-builders) .header-quote { color: #142c40; }
.header:has(.brand-builders) nav a[aria-current],.header:has(.brand-builders) nav a:hover { color: #0a527f; }
.header:has(.brand-builders) a:focus-visible { outline: 2px solid #0a527f; outline-offset: 3px; }

.profile-hero { background: #0d2232; color: #f5fbff; }
.profile-hero .hero-slide { min-height: clamp(430px,63vh,695px); overflow: hidden; }
.profile-hero .hero-content { padding-block: clamp(4rem,11vh,8rem); }
.profile-hero .slider-panel { position: relative; inset: auto; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 1rem; padding-block: 1rem; }
.profile-hero .hero-choices { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(81px,1fr); gap: .5rem; overflow-x: auto; padding: .2rem .2rem .5rem; }
.profile-hero .hero-choices a { display: grid; gap: .25rem; min-width: 0; border: 1px solid #7890a5; background: #142e42; color: #f5fbff; padding: .28rem; text-align: center; border-radius: .5rem; }
.profile-hero .hero-choices a[aria-current] { background: #c2e9ff; color: #0d2232; border-color: #c2e9ff; }
.slide-thumbnail { display: block; overflow: hidden; aspect-ratio: 2/1; border-radius: .25rem; }
.slide-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide-topic { display: inline-block; padding: .25rem .6rem; margin-bottom: .65rem; border-inline-start: 3px solid #a5d7f7; background: #102a3ae8; color: #d6efff; }
@media (max-width: 740px) {
  .profile-hero .slider-panel { grid-template-columns: minmax(0,1fr); }
  .profile-hero .hero-step { justify-content: center; }
}
@media (prefers-reduced-motion:no-preference) {
  .profile-hero .hero-photo { animation: slider-image-in 1.05s ease-out both; }
  .profile-hero .hero-content { animation: gallery-in .55s ease-out both; }
  .profile-hero .slide-thumbnail img { transition: transform .28s ease; }
  .profile-hero .hero-choices a:is(:hover,:focus-visible) img { transform: scale(1.12); }
}
@keyframes slider-image-in { from { opacity: .45; transform: scale(1.075); } to { opacity: 1; transform: scale(1); } }
.profile-services .service-figure > a { display: block; width: 100%; height: 100%; }
.profile-hero .slider-panel { pointer-events: auto; }
.profile-hero .slider-panel a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion:reduce) {
  .profile-hero .hero-photo,.profile-hero .hero-content,.case-image { animation: none; }
  .project-grid .project-media:hover img,.profile-services .project-media:hover img { transform: none; }
}

.catalog-search { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: .75rem; max-width: 48rem; }
.catalog-search label { grid-column: 1/-1; font-weight: 650; }
.catalog-search input { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #9db6c7; border-radius: .35rem; padding: .6rem .8rem; }
.catalog-search .btn { padding-inline: 1rem; }

.feedback-slide { padding: clamp(1.25rem,4vw,2.5rem); margin-block: 1rem; border-radius: .75rem; background: #edf5fa; color: #142c40; }
.feedback-slide h3 { margin-block: 0 .5rem; }
@media (prefers-reduced-motion:no-preference) { .feedback-slide { animation: gallery-in .3s ease-out both; } }
