/* Approved RatioTeam header and larger photography, shared across both languages. */
.header .nav{display:flex!important;direction:ltr;align-items:center;justify-content:space-between;gap:32px;min-height:156px;flex-wrap:nowrap;padding-block:18px}
.header .brand{font-size:23px!important;gap:20px!important;flex-shrink:0;white-space:nowrap}
.header .brand img{width:142px!important;height:120px!important;object-fit:contain;flex-shrink:0}
.header .brand small{font-size:10px!important}
.header .nav-links{display:flex!important;align-items:center;justify-content:center;gap:28px;width:auto!important;margin:0!important;padding:0!important;order:0!important;flex-wrap:nowrap;flex:1;font-size:18px;font-weight:700}
.header .nav-links>a{white-space:nowrap;padding-block:10px}
.header .nav-links .language-switch{border:0;background:transparent;color:var(--graphite);padding:10px 0;font-size:13px;gap:9px;margin:0;direction:ltr;min-height:44px}
.language-switch>span:first-child{font-size:24px;line-height:1}
.header .nav-links .language-switch:hover{color:var(--copper)}
.hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr);gap:40px;padding-top:36px;padding-bottom:36px}
.hero-image{padding-bottom:0;margin:0;width:100%}
.hero-slideshow{aspect-ratio:1.6;min-height:0}
.hero-slideshow .hero-slide{width:100%;height:100%;object-fit:cover}
.hero .lead{max-width:500px}
@media(min-width:1400px){.hero{gap:48px}.hero-slideshow{aspect-ratio:1.58}}
@media(min-width:1000px) and (max-width:1279px){
 .header .nav{gap:20px;min-height:132px}
 .header .brand{font-size:20px!important;gap:12px!important}
 .header .brand img{width:108px!important;height:92px!important}
 .header .brand small{font-size:8px!important}
 .header .nav-links{gap:16px;font-size:15px}
 .header .nav-links .language-switch{font-size:11px;gap:6px}
 .hero{gap:30px}
}
@media(max-width:999px){
 .header .nav{flex-wrap:wrap;gap:14px;min-height:0;padding-block:16px}
 .header .brand{font-size:20px!important;gap:14px!important;margin-inline:auto}
 .header .brand img{width:106px!important;height:90px!important}
 .header .brand small{font-size:9px!important}
 .header .nav-links{width:100%!important;flex-wrap:wrap;gap:6px 20px;font-size:15px;justify-content:center}
 .header .nav-links .language-switch{font-size:12px}
 .hero{grid-template-columns:1fr;gap:28px;padding-top:30px}
 .hero-slideshow{aspect-ratio:1.5}
}
@media(max-width:420px){.header .nav-links{gap:4px 14px;font-size:14px}.header .brand img{width:94px!important;height:80px!important}.header .brand{font-size:19px!important}.hero h1{font-size:48px}}
/* Image-led collections use isolated classes so legacy editor styles cannot
   turn them back into stretched text columns. */
.rt-collections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:38px 0 26px;background:transparent;border:0}
.rt-collection{display:block;position:relative;isolation:isolate;min-width:0;aspect-ratio:1.35;overflow:hidden;background:#272925;color:#fff;text-decoration:none;border:0}
.rt-collection img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.rt-collection-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,rgba(0,0,0,.76) 100%);pointer-events:none}
.rt-collection-copy{position:absolute;inset:auto 24px 22px;display:grid;gap:6px;color:#fff}
.rt-collection-copy strong{font-size:clamp(22px,2vw,31px);font-weight:600;line-height:1.25}
.rt-collection-number{font-size:11px;letter-spacing:.16em}.rt-collection-project{font-size:13px;color:#f5eee4;max-width:90%}.rt-collection-arrow{position:absolute;right:0;bottom:0;font-size:24px}
.rt-collection:hover img{transform:scale(1.035)}.rt-collection:focus-visible{outline:3px solid #98543b;outline-offset:5px}.rt-collection.is-current{outline:3px solid #98543b;outline-offset:4px}
html[dir=rtl] .rt-collection-arrow{left:0;right:auto}
body img{-webkit-user-drag:none;-webkit-touch-callout:none;user-select:none}
.photo-open{display:block;width:100%;border:0;padding:0;background:transparent;color:inherit;cursor:zoom-in;font:inherit;text-align:inherit;-webkit-touch-callout:none}.photo-open img{display:block;width:100%;height:auto}.photo-open:focus-visible{outline:3px solid #98543b;outline-offset:4px}
.rt-photo-viewer{width:100vw;height:100dvh;max-width:none;max-height:none;padding:20px 30px;margin:0;border:0;background:#181a18;color:#fff;box-sizing:border-box;overflow:hidden}
.rt-photo-viewer[open]{display:grid;grid-template-rows:48px minmax(0,1fr) 44px;gap:12px}.rt-photo-viewer::backdrop{background:#181a18}
.viewer-toolbar{display:flex;gap:18px;align-items:center;direction:ltr}.viewer-count{margin-right:auto;font-size:14px}.rt-photo-viewer button{border:1px solid #62645f;background:#292c28;color:#fff;border-radius:0;padding:10px 17px;cursor:pointer;font:inherit}.rt-photo-viewer button:focus-visible{outline:2px solid #fff;outline-offset:3px}.viewer-close{font-size:22px!important}.viewer-stage{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:16px;align-items:center;min-height:0;direction:ltr}.viewer-image-wrap{height:100%;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;touch-action:pan-y pinch-zoom}.viewer-image-wrap img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}.viewer-caption{font-size:14px;text-align:center;margin:0;align-self:center}.viewer-prev,.viewer-next{padding:8px!important;font-size:30px!important}.viewer-prev[hidden],.viewer-next[hidden]{display:none}.rt-photo-viewer.is-zoomed .viewer-image-wrap{display:block}.rt-photo-viewer.is-zoomed img{max-width:none;max-height:none;width:150%;height:auto}
@media(max-width:950px){.rt-collections{grid-template-columns:repeat(2,minmax(0,1fr))}.rt-collection-copy{inset:auto 18px 18px}}
@media(max-width:600px){.rt-collections{grid-template-columns:1fr;gap:18px}.rt-collection{aspect-ratio:1.4}.rt-photo-viewer{padding:12px}.viewer-stage{grid-template-columns:32px minmax(0,1fr) 32px;gap:5px}.viewer-caption{font-size:12px}.viewer-toolbar{gap:10px}.rt-photo-viewer button{padding:8px 12px}}
@media(prefers-reduced-motion:reduce){.rt-collection img{transition:none}}

.rt-photo-viewer.is-single .viewer-stage{grid-template-columns:minmax(0,1fr)}
