:root{--blue:#304782;--ink:#24252a}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;font:16px/1.8 Arial,Helvetica,sans-serif;color:var(--ink)}a{color:#304782}img{max-width:100%;height:auto}header{position:sticky;top:0;background:#08090b;z-index:10}.nav-wrap{max-width:1160px;margin:auto;padding:14px 24px;min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}.logo{width:180px;max-height:58px}nav{display:flex;gap:30px}nav a{font-size:12px;text-decoration:none;text-transform:uppercase;letter-spacing:.06em;color:white;font-weight:600}.menu-toggle{display:none}.wrap{max-width:1160px;margin:auto;padding:0 28px}.section{padding:65px 0}.section h1,.section h2{text-align:center;font:clamp(28px,3vw,38px)/1.3 Georgia,serif;margin:0 0 30px}.copy{max-width:820px;margin:auto}.copy p{margin:0 0 22px}.slide{position:relative;background:#20232b}.slide>img{width:100%;height:clamp(340px,48vw,640px);object-fit:cover;display:block}.slide:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 30%,#000b)}.slide-caption{position:absolute;bottom:40px;left:max(28px,calc((100% - 1100px)/2));right:28px;z-index:1;color:#fff}.slide-caption h1{font:clamp(36px,5vw,60px)/1.15 Georgia,serif;margin:0 0 14px}.slide-caption p{font-size:20px;margin:0}.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:30px}.gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.variant-gallery .gallery{display:flex;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:16px}.variant-gallery .gallery a{flex:0 0 300px;scroll-snap-align:start}.variant-gallery:nth-child(even){background:#f0f1f3}#c5014{background:var(--blue);color:white}#c5044{background:#f1f2f4}#c5044 .gallery{grid-template-columns:1fr;max-width:850px;margin-inline:auto}#c5044 .gallery img{aspect-ratio:16/9}#c5019{background:#e9ebf0}#c5019 .wrap{display:grid;grid-template-columns:300px 1fr;gap:0 55px;max-width:1000px}#c5019 h2{grid-column:2;text-align:left}#c5019 .copy{grid-column:2;width:100%}#c5019 .gallery{grid-column:1;grid-row:1 / span 3;margin:0;display:block}#c5019 .gallery img{aspect-ratio:3/4;object-position:top}#c5040 .copy{text-align:center}footer{background:#08090b;color:#fff;padding:28px 0;font-size:13px}footer .wrap{display:flex;justify-content:space-between}footer a{color:white}.skip{position:fixed;top:-100px;left:20px;z-index:30;background:white;padding:12px}.skip:focus{top:10px}dialog{border:0;padding:0;background:#222;max-width:95vw;max-height:95vh}dialog::backdrop{background:#000c}dialog img{display:block;max-height:90vh;max-width:90vw;object-fit:contain}dialog button{position:absolute;right:10px;top:10px;border:0;border-radius:50%;width:40px;height:40px;font-size:26px;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #819ad5;outline-offset:4px}@media(max-width:760px){.menu-toggle{display:block;background:#fff;border:0;padding:10px}nav{display:none;position:absolute;top:88px;left:0;right:0;background:#08090b;padding:24px;flex-direction:column;gap:18px}nav.open{display:flex}.logo{width:155px}.wrap{padding:0 24px}.section{padding:44px 0}.slide-caption{bottom:28px}.slide>img{height:390px}.variant-gallery .gallery a{flex-basis:260px}#c5019 .wrap{display:flex;flex-direction:column;gap:20px}#c5019 h2{text-align:center;margin-bottom:0}#c5019 .copy{text-align:center}#c5019 .gallery{max-width:280px;margin:auto;order:-1}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Portfolio carousel: four images, side arrows and touch scrolling. */
.portfolio-carousel{position:relative;margin-top:30px}
.variant-gallery .portfolio-carousel .gallery{margin-top:0;padding-bottom:0;scrollbar-width:none;gap:10px;scroll-behavior:smooth}
.portfolio-carousel .gallery::-webkit-scrollbar{display:none}
.variant-gallery .portfolio-carousel .gallery a{flex:0 0 calc((100% - 30px)/4)}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:48px;border:0;background:var(--blue);color:white;font:32px/1 Arial;cursor:pointer;box-shadow:0 2px 8px #0002}
.gallery-arrow:hover{background:#1d3265}.gallery-arrow.prev{left:0}.gallery-arrow.next{right:0}
@media(max-width:760px){.variant-gallery .portfolio-carousel .gallery a{flex-basis:calc((100% - 10px)/2)}.gallery-arrow{width:36px;height:44px}}
@media(max-width:440px){.variant-gallery .portfolio-carousel .gallery a{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.variant-gallery .portfolio-carousel .gallery{scroll-behavior:auto}}

/* Shared carousel layout for all multi-image galleries. */
.portfolio-carousel{position:relative;margin:30px auto 0;max-width:1160px}
#content .portfolio-carousel .gallery{display:flex;overflow-x:auto;gap:10px;margin:0;padding:0;max-width:none;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth}
.portfolio-carousel .gallery::-webkit-scrollbar{display:none}
#content .portfolio-carousel .gallery>a{flex:0 0 calc((100% - 30px)/4);min-width:0;scroll-snap-align:start}
#content .portfolio-carousel .gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:48px;border:0;background:var(--blue,var(--accent,#304782));color:white;font:32px/1 Arial;cursor:pointer;box-shadow:0 2px 8px #0002}
.gallery-arrow.prev{left:0}.gallery-arrow.next{right:0}.gallery-arrow:hover{filter:brightness(.85)}
@media(max-width:760px){#content .portfolio-carousel .gallery>a{flex-basis:calc((100% - 10px)/2)}.gallery-arrow{width:36px;height:44px}}
@media(max-width:440px){#content .portfolio-carousel .gallery>a{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){#content .portfolio-carousel .gallery{scroll-behavior:auto}}

#photo-dialog{overflow:hidden;padding:0 44px 28px}#photo-dialog img{max-width:calc(95vw - 88px);max-height:85vh}#photo-dialog .photo-arrow{top:50%;transform:translateY(-50%);right:auto;background:#fff;color:#222;width:40px;height:48px;border-radius:3px}#photo-dialog .photo-prev{left:2px}#photo-dialog .photo-next{right:2px}#photo-dialog .photo-close{top:8px;right:8px;z-index:2}#photo-dialog .photo-counter{position:absolute;bottom:3px;left:0;right:0;text-align:center;color:white;font:14px/22px Arial}#photo-dialog button[hidden]{display:none}

footer .wrap.footer-sites{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap;gap:12px 28px;margin-top:20px;padding-top:18px;border-top:1px solid #ffffff30}footer .footer-sites a{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* Readable hierarchy for legal text pages. */
.section .copy h2{font:700 26px/1.35 Georgia,serif;text-align:left;margin:42px 0 14px}.section .copy h3{font:700 20px/1.4 Arial,Helvetica,sans-serif;margin:30px 0 10px}
