.home-gallery{background:linear-gradient(180deg,var(--bg),#fff);padding-top:25px}
.gallery-heading{display:grid;grid-template-columns:1.25fr 1fr;gap:70px;align-items:end;margin-bottom:36px}
.gallery-heading h2{font-size:clamp(32px,3.8vw,49px);line-height:1.13;letter-spacing:-.04em;margin:14px 0 0}
.gallery-heading h2>span{display:block}
.gallery-heading-accent{color:var(--teal)}
.gallery-intro{max-width:410px;justify-self:end}
.gallery-intro p{color:var(--muted);font-size:15px;line-height:1.8;margin:0 0 16px}
.gallery-all{display:inline-flex;gap:16px;align-items:center}
.gallery-shell{border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:0 22px 60px rgba(11,53,88,.07);overflow:hidden}
.gallery-track{display:grid;gap:20px}
.home-gallery.is-ready .gallery-track{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.gallery-track::-webkit-scrollbar{display:none}
.gallery-slide{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;background:var(--navy)}
.gallery-photo{position:relative;display:grid;place-items:center;min-width:0;background:#e9f0f1;padding:20px}
.gallery-photo>img{display:block;width:100%;height:440px;object-fit:contain;border-radius:10px}
.gallery-photo-number{position:absolute;left:32px;bottom:30px;padding:6px 12px;border-radius:8px;background:rgba(8,41,68,.9);color:#fff;font-size:11px;font-weight:700;letter-spacing:.12em;font-variant-numeric:tabular-nums}
.gallery-copy{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:40px 36px;overflow:hidden;color:#fff}
.gallery-copy:before{content:"";position:absolute;bottom:-90px;right:-90px;width:250px;height:250px;border:1px solid rgba(255,255,255,.08);border-radius:50%;z-index:-1}
.gallery-watermark{position:absolute;top:8px;right:15px;font-size:110px;font-weight:900;line-height:1;color:rgba(255,255,255,.045);z-index:-1;pointer-events:none}
.gallery-category{display:flex;align-items:center;gap:8px;color:#b3e2d7;font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;line-height:1.6}
.gallery-category:before{content:"";width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--orange)}
.gallery-copy h3{font-size:clamp(24px,2.5vw,33px);line-height:1.2;letter-spacing:-.025em;margin:22px 0 18px;color:#fff}
.gallery-copy blockquote{margin:0 0 25px;padding:0 0 0 16px;border-left:2px solid var(--orange)}
.gallery-copy blockquote p{font-size:14px;line-height:1.85;color:#d6e3eb;margin:0}
.gallery-story{display:inline-flex;gap:18px;align-items:center;font-size:13px;font-weight:800;color:#fff;border-bottom:1px solid #7692a6;padding-bottom:6px}
.gallery-story:hover{color:#b3e2d7}
.gallery-controls{padding:22px 26px 26px}
.gallery-controls[hidden]{display:none}
.gallery-control-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.gallery-hint{font-size:12px;color:var(--muted)}
.gallery-navigation{display:flex;gap:8px;align-items:center}
.gallery-count{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);letter-spacing:.06em;margin-right:12px}
.gallery-count b{color:var(--navy);font-size:16px}
.gallery-arrow{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--navy);cursor:pointer;transition:background .2s,color .2s}
.gallery-next{background:var(--teal);border-color:var(--teal);color:#fff}
.gallery-arrow:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.gallery-thumbnails{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.gallery-thumbnail{display:flex;align-items:center;gap:10px;min-width:0;padding:7px;border:1px solid var(--line);border-radius:12px;color:var(--muted);background:#fff;text-align:left;font:inherit;cursor:pointer;transition:background .2s,border-color .2s}
.gallery-thumbnail>img{width:54px;height:54px;object-fit:cover;border-radius:7px;flex-shrink:0}
.gallery-thumbnail>span{min-width:0;font-size:11px;line-height:1.45;font-weight:700}
.gallery-thumbnail small{display:block;font-size:9px;letter-spacing:.08em;margin-bottom:3px;opacity:.7}
.gallery-thumbnail[aria-pressed="true"]{border-color:var(--teal);background:#edf8f6;color:var(--teal);box-shadow:inset 0 -2px var(--teal)}
.gallery-thumbnail:hover{border-color:var(--teal)}
.home-gallery :focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.gallery-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1000px){.gallery-heading{gap:35px}.gallery-copy{padding:30px 26px}.gallery-photo{padding:14px}.gallery-photo>img{height:410px}.gallery-thumbnail{flex-direction:column;align-items:stretch;gap:6px}.gallery-thumbnail>img{width:100%;height:65px}.gallery-thumbnail small{display:none}}
@media(max-width:720px){.home-gallery{padding-top:25px}.gallery-heading{grid-template-columns:1fr;gap:20px;margin-bottom:26px}.gallery-heading h2{font-size:36px}.gallery-intro{max-width:none;justify-self:start}.gallery-shell{border-radius:20px}.gallery-slide{grid-template-columns:1fr;grid-template-rows:auto 1fr}.gallery-photo{padding:12px}.gallery-photo>img{height:300px}.gallery-photo-number{left:22px;bottom:22px}.gallery-copy{padding:28px 24px;justify-content:flex-start}.gallery-copy h3{font-size:28px;margin:15px 0}.gallery-copy blockquote{margin-bottom:20px}.gallery-story{margin-top:auto}.gallery-controls{padding:18px 16px}.gallery-control-top{align-items:center}.gallery-hint{max-width:125px;line-height:1.6}.gallery-thumbnails{gap:6px}.gallery-thumbnail{padding:4px;border-radius:8px}.gallery-thumbnail>img{height:52px;border-radius:5px}.gallery-thumbnail>span{font-size:9px}.gallery-thumbnail small{display:none}.gallery-count{margin-right:4px}}
@media(max-width:380px){.gallery-heading h2{font-size:32px}.gallery-photo>img{height:250px}.gallery-copy{padding:24px 20px}.gallery-copy h3{font-size:25px}.gallery-thumbnail>img{height:44px}.gallery-thumbnail>span{font-size:8px}.gallery-controls{padding:16px 12px}.gallery-hint{font-size:11px;max-width:100px}}
@media(prefers-reduced-motion:reduce){.home-gallery *{scroll-behavior:auto!important;transition:none!important}}
