@font-face{font-family:Montserrat;src:url('assets/fonts/montserrat-extrabold-latin.ttf') format('truetype');font-style:normal;font-weight:800;font-display:swap}
:root{--navy:#092c61;font-family:Arial,Helvetica,sans-serif;color:#111f50;background:#f8fcff;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}button{font:inherit;background:none;border:0;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #008bdf;outline-offset:5px}
.skip-link{position:absolute;top:-80px;left:16px;z-index:10;background:#fff;padding:12px}
.skip-link:focus{top:12px}
[hidden]{display:none!important}
main{max-width:1120px;width:91%;margin:0 auto}
.eyebrow{font-size:13px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#1e78e0}
.handwritten{font-family:'Comic Sans MS','Segoe Print',cursive;font-style:italic;line-height:1.25}
.handwritten span{display:block;height:3px;background:#ffd72e;margin-top:6px}

/* Header, matching the homepage's centred logo and compact navigation. */
.gallery-header-bar{position:relative;z-index:5;background:#073b80;color:#fff}
.gallery-header{position:relative;display:flex;align-items:center;width:91%;max-width:1120px;min-height:94px;margin:0 auto;padding:16px 0}
.gallery-header .brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.gallery-header .brand img{display:block;width:160px;height:auto}
.gallery-header .menu-toggle{display:block;margin-left:auto;margin-right:0;background:transparent;border:1px solid #ffffff65;border-radius:8px;color:#fff;padding:10px 14px;font-size:14px;cursor:pointer}
.gallery-header nav{display:none;position:absolute;top:calc(100% - 4px);left:auto;right:0;width:min(240px,100%);margin:0;padding:8px;border:1px solid #ffffff25;border-radius:12px;background:#073b80;box-shadow:0 12px 30px #001c4940;flex-direction:column;align-items:stretch;gap:0}
.gallery-header nav.is-open{display:flex}
.gallery-header nav a{display:block;padding:13px 16px;border-radius:7px;font-size:14px;font-weight:600}
.gallery-header nav a:hover,.gallery-header nav a:focus-visible,.gallery-header nav a[aria-current="page"]{background:#ffffff15}
@media(max-width:999px){.gallery-header .brand img{width:145px}}
@media(max-width:600px){.gallery-header{min-height:84px}.gallery-header .brand img{width:135px}}
@media(max-width:350px){.gallery-header .brand img{width:115px}}

/* Hero: heading + copy on the left, an overlapping photo collage on the right. */
.gallery-hero{display:flex;flex-wrap:wrap;align-items:flex-start;gap:36px;margin-top:64px}
.hero-copy{flex:1 1 360px;min-width:0}
.gallery-hero h1{font-family:Montserrat,Arial,sans-serif;font-weight:800;font-size:clamp(28px,4vw,44px);letter-spacing:-.03em;line-height:1.12;color:#0d1b4c;margin-top:10px}
.hero-sub{font-size:15px;line-height:1.6;color:#4c5b7d;margin-top:16px;max-width:420px}
.hero-collage{position:relative;flex:1 1 320px;height:280px;min-width:280px}
.collage-photo{position:absolute;width:58%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;box-shadow:0 12px 30px #12336124;border:4px solid #fff}
.collage-photo.c1{left:0;top:36px;width:64%;z-index:2;transform:rotate(-4deg)}
.collage-photo.c2{right:0;top:0;width:46%;z-index:1;transform:rotate(5deg);object-position:22% center}
.collage-photo.c3{right:6%;bottom:0;width:40%;z-index:3;transform:rotate(-3deg)}
.hero-note{position:absolute;right:2%;top:-50px;width:160px;color:#1e78e0;font-size:15px;transform:rotate(-6deg);z-index:4}
.hero-note span{width:65%;transform:rotate(-3deg)}

/* Filter pills + grid. */
.gallery-main{margin-top:48px}
.filters-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.gallery-filters{display:flex;flex-wrap:wrap;gap:10px}
.filter-pill{padding:11px 20px;border-radius:999px;border:1px solid #cfe0f5;background:#fff;color:#425072;font-size:13.5px;font-weight:700}
.filter-pill:hover{border-color:#9dc2f2}
.filter-pill[aria-selected="true"]{background:#0d1b4c;border-color:#0d1b4c;color:#fff}
.shuffle-button{display:inline-flex;align-items:center;gap:8px;padding:11px 18px;border-radius:999px;border:1px solid #cfe0f5;background:#fff;color:#0d1b4c;font-size:13.5px;font-weight:700}
.shuffle-button:hover{border-color:#9dc2f2}
.filter-hint{margin-top:12px;font-size:13px;color:#8091ac}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:24px}
.photo-card{position:relative;display:block;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#e7eef8}
.photo-card img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.photo-card:hover img{transform:scale(1.06)}
.photo-label{position:absolute;left:8px;bottom:8px;padding:5px 10px;border-radius:999px;background:#0d1b4ccc;color:#fff;font-size:11px;font-weight:700}
.gallery-empty{margin-top:24px;padding:40px;text-align:center;border-radius:16px;background:#eef4fb;color:#5c6c8c;font-size:14px}
.load-more{display:flex;align-items:center;gap:8px;margin:32px auto 0;padding:13px 26px;border-radius:999px;border:1px solid #cfe0f5;background:#fff;color:#0d1b4c;font-size:13.5px;font-weight:700}
.load-more:hover{border-color:#9dc2f2}

@media(max-width:900px){.gallery-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){
  .gallery-hero{margin-top:24px}
  .hero-collage{display:none}
  .gallery-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .gallery-main{margin-top:36px}
}

/* Closing call-to-action banner, matching the homepage's Contact Us treatment. */
.gallery-cta{position:relative;isolation:isolate;overflow:hidden;margin-right:min(-4.5vw,calc((1120px - 100vw)/2));margin-top:64px;background:linear-gradient(180deg,#eef8ff,#dcf0ff);padding:64px 0 100px}
.cta-art{position:absolute;inset:0;z-index:0;display:flex;justify-content:flex-end;align-items:flex-end;pointer-events:none}
.cta-art img{width:min(58%,780px);height:auto;object-fit:contain}
.cta-note{position:absolute;right:9%;top:8%;width:220px;color:#1e78e0;font-size:24px;text-align:left}
.cta-content{position:relative;z-index:1;width:91%;max-width:1120px;margin:0 auto}
.cta-eyebrow{color:#1e78e0}
.gallery-cta h2{font-family:Montserrat,Arial,sans-serif;font-weight:800;font-size:clamp(28px,4vw,44px);letter-spacing:-.03em;color:#0d1b4c;margin-top:10px}
.cta-sub{font-size:16px;line-height:1.6;margin-top:14px;max-width:480px;color:#425072}
.button{display:inline-flex;align-items:center;gap:12px;margin-top:26px;padding:16px 30px;border-radius:999px;font-size:15px;font-weight:700}
.button.yellow{background:#ffda35;color:var(--navy)}
.button.yellow:hover{background:#ffce00}

@media(max-width:1000px){
  .gallery-cta{margin-right:calc(-4.5% / .91)} /* main is 91% wide: reach the page edge without counting the scrollbar */
  .cta-art img{width:min(50%,520px)}
  .cta-note{right:6%;top:5%;font-size:20px;width:180px}
}
@media(max-width:700px){
  .gallery-cta{margin-right:calc(-4.5% / .91);padding:44px 0 70px}
  .cta-art{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:flex-end;margin:0;opacity:.3}
  .cta-art img{width:700px;max-width:none;flex-shrink:0;height:auto}
  .cta-note{display:none}
  .button.yellow{width:100%;justify-content:center}
}

/* Footer, matching the homepage footer without importing its page layout styles. */
footer{position:relative;z-index:1;background:#032653;color:#fff;padding:40px 0 28px;margin-top:32px}
footer .container{width:91%;max-width:1120px;margin-inline:auto}
footer::before{content:'';position:absolute;top:-32px;left:0;width:100%;height:33px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 40' preserveAspectRatio='none'%3E%3Cpath fill='%23032653' d='M0 0 Q500 64 1000 0 V40 H0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.footer-top{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:16px 0 30px}
footer .brand{display:inline-block;flex-shrink:0;line-height:0}
footer .brand img{width:160px;height:auto}
.footer-top p{font-size:12px;line-height:1.5;color:#d8e7ff;margin-top:7px}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #ffffff30;padding-top:22px;font-size:12px;color:#9fb5d2}
.back-to-top{font-size:14px;font-weight:600;white-space:nowrap}
.back-to-top:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1000px){footer .brand img{width:135px}}
@media(max-width:700px){footer{padding-top:25px}footer .container{width:90%}footer .brand img{width:125px}.footer-top{align-items:flex-start;flex-direction:column;gap:25px}.footer-bottom{flex-direction:column;gap:10px}}

/* Always reserve the scrollbar gutter so centred content does not shift between short and long pages;
   clip full-bleed sections that are sized with 100vw so they cannot cause sideways scrolling. */
html{scrollbar-gutter:stable}
body{overflow-x:clip}
.gallery-header{max-width:960px}
.gallery-header nav a[href="formats.html"]{display:none}
.gallery-header nav .nav-register{margin-top:8px;padding-top:14px;border-top:1px solid #ffffff30;font-weight:800}
