/* ===== CTAPD V4 refinement layer: tighter type, lighter feel, livelier motion ===== */

/* Typography one step down */
body{font-size:1rem;line-height:1.55}
h2{font-size:clamp(1.35rem,2.7vw,1.9rem)}
h3{font-size:1.05rem}
.kicker{font-size:.78rem;padding:.22rem .7rem}
nav a,.navbtn{font-size:.92rem;padding:.55rem .7rem}
.brand{font-size:.98rem}
.brand img{height:72px}
.btn{font-size:.95rem;padding:.7rem 1.45rem}

/* Hero: tighter + slow cinematic zoom */
.hero-inner{padding:3rem 1.25rem 2.8rem}
.hero h1{font-size:clamp(1.8rem,4.2vw,2.85rem)}
.hero p{font-size:clamp(.98rem,1.7vw,1.14rem);margin:1rem 0 1.4rem}
.cue{font-size:.92rem;margin-top:.9rem}
.hero-bg{animation:kenburns 22s ease-out forwards;transform-origin:center 40%}
@keyframes kenburns{from{transform:scale(1)}to{transform:scale(1.07)}}
.hero{overflow:hidden}

/* Page heroes tighter */
.phero .in{padding:3.2rem 1.25rem}
.phero h1{font-size:clamp(1.6rem,3.8vw,2.5rem)}
.phero p{font-size:1rem}

/* Sections breathe less */
section{padding:2.9rem 1.25rem}
.wrap{max-width:1080px}
.proof{padding:1.8rem 1.25rem}
.proof .num{font-size:1.85rem}
.proof .lbl{font-size:.85rem}
.proof .regs{font-size:.83rem;margin-top:1.1rem;padding-top:.85rem}
.statgrid{gap:1rem;margin-top:1.6rem}
.stat{padding:1.5rem .9rem}
.stat .num{font-size:2rem}
.stat .lbl{font-size:.9rem}
.cards{gap:1rem;margin-top:1.6rem}
.card{padding:1.35rem}
.card p{font-size:.92rem}
.gcard>div{padding:1rem 1.15rem}
.ticks li{font-size:.92rem;padding:.75rem 1rem}
table.data th,table.data td{font-size:.9rem;padding:.7rem .9rem}
.pull{font-size:1.12rem;margin:1rem 0}
.steps li{font-size:.93rem;padding:.95rem 1.1rem .95rem 3.6rem}
.easy ul{font-size:.97rem}
.easy{padding:1.15rem 1.35rem}
.accband{padding:2.1rem 1.25rem}
.band{padding:2.6rem 1.25rem}
footer{font-size:.87rem}
.caption{font-size:.76rem}

/* Wave motif (from the legacy brand wave) at top of alternating sections */
.alt,.story{position:relative}
.alt::before,.story::before{content:"";position:absolute;top:-1px;left:0;right:0;height:26px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,18 C200,34 380,2 600,14 C820,26 1000,0 1200,16 L1200,0 L0,0 Z' fill='%23FFFDF6'/%3E%3C/svg%3E") center/100% 100% no-repeat;pointer-events:none}
.story::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,18 C200,34 380,2 600,14 C820,26 1000,0 1200,16 L1200,0 L0,0 Z' fill='%23FFFDF6'/%3E%3C/svg%3E") center/100% 100% no-repeat}

/* Brushed ring accent behind story image (echo of logo circle) */
.story .wrap>div:first-child{position:relative}
.story .wrap>div:first-child::after{content:"";position:absolute;width:120px;height:120px;right:-18px;top:-18px;
  border:6px solid var(--yellow);border-radius:50%;opacity:.55;z-index:-1}

/* Card + image micro-interactions */
.card,.gcard,.stat{transition:transform .25s ease,box-shadow .25s ease}
.card:hover,.gcard:hover{transform:translateY(-5px);box-shadow:0 14px 34px rgba(27,42,65,.16)}
.gcard{overflow:hidden}
.gcard img{transition:transform .6s ease}
.gcard:hover img{transform:scale(1.045)}
.more{transition:color .2s ease}
.more::after{content:"\2192";display:inline-block;margin-left:.3em;transition:transform .25s ease}
.card:hover .more::after,.gcard:hover .more::after{transform:translateX(.3em)}
.chip{transition:transform .2s ease,border-color .2s ease}
.chip:hover{transform:translateY(-2px);border-color:var(--yellow)}
.split img{transition:transform .5s ease,box-shadow .5s ease}
.split .reveal:hover img{transform:scale(1.015)}

/* Reveal: slightly snappier */
.reveal{transform:translateY(18px);transition:opacity .45s ease,transform .45s ease}

/* Donate widget density */
.panel{padding:1.6rem}
.amounts button{font-size:.98rem;min-height:46px}
.freq button{padding:.6rem 1.2rem;font-size:.9rem}
.impact-note{font-size:.88rem}
.badge{font-size:.72rem}
.donate-note{font-size:.8rem}

@media (prefers-reduced-motion:reduce){
  .hero-bg{animation:none}
  .card,.gcard,.stat,.gcard img,.more::after,.chip,.split img{transition:none}
  .card:hover,.gcard:hover{transform:none}
  .gcard:hover img{transform:none}
}

@media (max-width:700px){.hero-bg{background-image:url('real-hero-960.jpg')}}

/* ===== V4.3 image discipline: no oversized or distorted renders ===== */
main img{height:auto}
/* Any image inside a two-column split or the home story: capped height, smart crop, never stretched */
.split img,.story img{width:100%;max-height:420px;object-fit:cover;object-position:center 30%;border-radius:var(--radius)}
@media (max-width:880px){.split img,.story img{max-height:340px}}
/* Inline figure blocks added in V4.1 */
main div[style*="max-width"] img{width:100%;object-fit:cover}
/* Cards already constrained by aspect-ratio - tighten gallery image height on small screens */
@media (max-width:600px){.gcard img{aspect-ratio:16/10}}
/* Pull captions closer to their images */
img + .caption,img + p.caption{margin-top:.45rem}

/* ===== Contact form ===== */
.cform{max-width:680px;margin-top:1.6rem;display:grid;gap:1rem}
.cform .frow{display:grid;gap:1rem;grid-template-columns:1fr}
@media(min-width:640px){.cform .frow{grid-template-columns:1fr 1fr}}
.cform label{display:block;font-weight:700;font-size:.92rem;margin-bottom:.3rem}
.cform .req{color:var(--red)}
.cform input,.cform select,.cform textarea{width:100%;padding:.7rem .8rem;border:2px solid var(--charcoal);border-radius:10px;font-size:1rem;font-family:var(--font-body);min-height:44px;background:var(--white)}
.cform textarea{min-height:130px;resize:vertical}
.cform input:focus,.cform select:focus,.cform textarea:focus{outline:3px solid var(--ink);outline-offset:1px;border-color:var(--ink)}
.cform .consent{display:flex;gap:.6rem;align-items:flex-start;font-size:.9rem}
.cform .consent input{width:auto;min-height:auto;margin-top:.25rem}
.cform .hint{font-size:.82rem;color:var(--charcoal)}
.form-status{padding:1rem 1.2rem;border-radius:10px;font-weight:700;margin-top:.4rem;display:none}
.form-status.show{display:block}
.form-status.sent{background:var(--yellow-soft);border:2px solid var(--yellow);color:var(--ink)}

/* ===== V5: named member-profile avatars (initial discs) ===== */
.pav{flex:0 0 auto;width:54px;height:54px;border-radius:50%;background:var(--yellow);color:var(--ink);
  font-family:var(--font-head);font-weight:800;font-size:1.35rem;display:flex;align-items:center;justify-content:center;
  box-shadow:inset 0 0 0 3px rgba(27,42,65,.12)}

/* ===== V5: prominent header logo (logo is the wordmark; redundant text removed) ===== */
.brand img{height:72px;width:auto}
.nav{padding-top:.45rem;padding-bottom:.45rem}
@media (max-width:560px){.brand img{height:56px}}

/* ===== V6: split brand hero — identity + mission legible above the fold ===== */
.hero{position:relative;display:grid;grid-template-columns:1fr;background:var(--paper);color:var(--ink);overflow:hidden;padding:0;animation:none}
.hero-content{padding:2rem 1.35rem 2.4rem;display:flex;flex-direction:column;justify-content:center}
.hero-logo{height:88px;width:auto;margin-bottom:1.1rem;align-self:flex-start}
.hero .kicker{align-self:flex-start;margin-bottom:1rem}
.hero h1{color:var(--ink);font-size:clamp(1.75rem,4.4vw,2.7rem);line-height:1.12;max-width:20ch}
.hero h1 .hl{color:var(--ink);background:linear-gradient(transparent 58%, var(--yellow) 58%);padding:0 .08em}
.hero-content>p{color:var(--charcoal);font-size:clamp(1.02rem,1.7vw,1.18rem);max-width:48ch;margin:1.1rem 0 1.5rem}
.hero .actions{display:flex;gap:.8rem;flex-wrap:wrap}
.hero .herotrust{font-size:.82rem;color:var(--charcoal);margin-top:1.2rem;font-weight:700;max-width:46ch}
.hero-media{min-height:300px;background-image:url('real-herosq.jpg');background-size:cover;background-position:center 30%;position:relative}
.hero-media::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--yellow);z-index:2}
@media(min-width:860px){
  .hero{grid-template-columns:1.02fr .98fr;min-height:528px}
  .hero-content{padding:2.8rem 2.8rem 2.8rem max(1.5rem,4.5vw)}
  .hero-logo{height:108px;margin-bottom:1.3rem}
  .hero-media{min-height:100%}
  .hero-media::before{width:8px}
}

/* ===== V7: hero badges, signature stat, corporate strip, editorial news ===== */
/* Hero credential badges (incl. longevity) */
.herobadges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.3rem}
.hbadge{font-family:var(--font-head);font-weight:700;font-size:.8rem;background:var(--white);
  border:1.5px solid rgba(27,42,65,.18);border-radius:999px;padding:.4rem .8rem;color:var(--ink)}
.hbadge-star{background:var(--ink);color:#fff;border-color:var(--ink)}
.hbadge-star span{color:var(--yellow)}

/* Signature statistic band */
.signature{background:var(--yellow);padding:1.8rem 1.25rem}
.signature .wrap{display:flex;flex-direction:column;gap:.2rem}
.signature-stat{font-family:var(--font-head);font-weight:800;color:var(--ink);
  font-size:clamp(1.2rem,2.6vw,1.7rem);line-height:1.2;max-width:30ch;margin:0}
.signature-stat .big{font-size:clamp(2.4rem,6vw,3.6rem);display:inline-block;margin-right:.3rem;line-height:1}
.signature-sub{color:var(--ink);font-size:.95rem;max-width:62ch;margin:.3rem 0 0;opacity:.85}

/* Corporate strip */
.corpstrip{background:var(--ink);color:#fff;padding:2rem 1.25rem}
.corpstrip .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:1.2rem 2rem;justify-content:space-between}
.corpstrip h2{color:#fff;margin:.3rem 0 .2rem;font-size:clamp(1.2rem,2.4vw,1.6rem)}
.corpstrip p{color:#C9D3E0;margin:0}
.corpstrip .kicker{color:var(--ink)}

/* Editorial "This Month" layout */
.news-ed{display:grid;gap:1.25rem;grid-template-columns:1fr;margin-top:1.4rem}
@media(min-width:860px){.news-ed{grid-template-columns:1.7fr 1fr;align-items:stretch}}
.news-feature{margin:0}
.news-side{display:grid;gap:1.25rem;grid-template-columns:1fr}
.news-num{background:var(--ink);color:#fff;border-radius:var(--radius);padding:1.3rem 1.4rem;box-shadow:var(--shadow)}
.news-num .big{font-family:var(--font-head);font-weight:800;color:var(--yellow);font-size:2.8rem;line-height:1}
.news-num p{color:#E6EBF2;font-size:.92rem;margin-top:.3rem}
.news-event{background:var(--white);border:1px solid rgba(27,42,65,.08);border-left:5px solid var(--yellow);border-radius:var(--radius);padding:1.2rem 1.3rem;box-shadow:var(--shadow)}
.news-event h3{margin:.2rem 0 .3rem}
.tag{display:inline-block;font-family:var(--font-head);font-weight:700;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink2)}
.news-num .tag{color:var(--yellow)}

/* ===== V8: hero slideshow + moving services marquee ===== */
.hero-media{position:relative}
.hero-media .hslide{position:absolute;inset:0;background-size:cover;background-position:center 32%;opacity:0;animation:heroFade 28s infinite;will-change:opacity}
.hero-media .hslide:nth-child(1){animation-delay:0s}
.hero-media .hslide:nth-child(2){animation-delay:7s}
.hero-media .hslide:nth-child(3){animation-delay:14s}
.hero-media .hslide:nth-child(4){animation-delay:21s}
@keyframes heroFade{0%{opacity:0}3%{opacity:1}22%{opacity:1}25%{opacity:0}100%{opacity:0}}

.marquee{background:var(--ink);overflow:hidden;padding:.85rem 0;border-top:3px solid var(--yellow);border-bottom:3px solid var(--yellow)}
.marquee-track{display:inline-flex;align-items:center;gap:1.3rem;white-space:nowrap;will-change:transform;animation:marq 34s linear infinite;padding-left:1.3rem}
.marquee span{font-family:var(--font-head);font-weight:800;font-size:1.02rem;color:#fff;text-transform:uppercase;letter-spacing:.04em}
.marquee b{color:var(--yellow);font-size:1.15rem}
.marquee:hover .marquee-track{animation-play-state:paused}
@keyframes marq{from{transform:translateX(0)}to{transform:translateX(-50%)}}

@media (prefers-reduced-motion:reduce){
  .hero-media .hslide{animation:none}
  .hero-media .hslide:first-child{opacity:1}
  .marquee-track{animation:none}
}

/* ===== V9: friendlier hero shape, hero corporate link, punchier corp strip, page transition ===== */
/* Softer rounded hero image instead of a hard rectangle */
.hero-media{border-radius:26px;overflow:hidden;box-shadow:0 18px 40px rgba(27,42,65,.16);margin:0 1rem 1.3rem}
.hero-media::before{display:none}
@media(min-width:860px){
  .hero{align-items:center}
  .hero-media{margin:1.6rem 1.8rem 1.6rem .4rem;border-radius:34px 34px 76px 34px;min-height:440px}
}
/* Hero corporate quick-link */
.hero-biz{margin-top:1rem;font-size:.9rem}
.hero-biz a{font-weight:700;color:var(--ink2);text-decoration:none;border-bottom:2px solid var(--yellow);padding-bottom:1px}
.hero-biz a:hover{color:var(--ink)}
/* Punchier corporate strip */
.corpstrip{background:linear-gradient(110deg,var(--ink),var(--ink2))}
.corpstrip .cs-proof{display:flex;flex-wrap:wrap;gap:.45rem .55rem;margin-top:.7rem}
.corpstrip .cs-proof span{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:.25rem .7rem;font-size:.78rem;font-weight:700;color:#E6EBF2}
.corpstrip .cs-actions{display:flex;gap:.7rem;flex-wrap:wrap}
/* Gentle page-load transition for a cohesive feel between pages */
@media (prefers-reduced-motion:no-preference){
  body{animation:pagein .45s ease both}
  @keyframes pagein{from{opacity:0}to{opacity:1}}
}

/* ===== V10: Where-we-work map, CEO quote, calmer hero ===== */
/* Calmer, slower hero slideshow (longer hold + slow fade, no movement) */
.hero-media .hslide{animation:heroFade 36s infinite}
.hero-media .hslide:nth-child(1){animation-delay:0s}
.hero-media .hslide:nth-child(2){animation-delay:9s}
.hero-media .hslide:nth-child(3){animation-delay:18s}
.hero-media .hslide:nth-child(4){animation-delay:27s}
@keyframes heroFade{0%{opacity:0}4%{opacity:1}21%{opacity:1}25%{opacity:0}100%{opacity:0}}

/* Where we work map */
.wherewework{background:var(--white)}
.ww-grid{display:grid;gap:1.6rem;grid-template-columns:1fr;align-items:center;margin-top:1.4rem}
@media(min-width:880px){.ww-grid{grid-template-columns:1.5fr 1fr}}
.ww-map{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);padding:.8rem}
.ctmap{width:100%;height:auto;display:block}
.ctmap .mk{transition:transform .2s ease;transform-origin:center;cursor:default}
.ctmap .mk:hover{transform:scale(1.16)}
.ww-legend{list-style:none;display:grid;gap:.55rem}
.ww-legend li{display:flex;align-items:center;gap:.6rem;font-size:.95rem}
.lg-sw{flex:0 0 auto;width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  color:#fff;font-family:var(--font-head);font-weight:800;font-size:.8rem;border:2px solid transparent}
.ww-more{color:var(--charcoal);font-style:italic;margin-top:.2rem}
@media (prefers-reduced-motion:reduce){.ctmap .mk{transition:none}}

/* CEO quote band */
.ceoquote{background:var(--ink);color:#fff;padding:2.6rem 1.25rem}
.ceoquote .wrap{display:flex;gap:1.3rem;align-items:center;flex-wrap:wrap;justify-content:center;text-align:left}
.ceoquote blockquote{margin:0;max-width:62ch}
.ceoquote blockquote p{font-family:var(--font-head);font-weight:600;font-size:clamp(1.2rem,2.6vw,1.7rem);line-height:1.35;color:#fff}
.ceoquote cite{display:block;margin-top:.8rem;font-style:normal;font-weight:700;color:var(--yellow);font-size:.95rem}
.ceoquote .pav{box-shadow:inset 0 0 0 3px rgba(255,255,255,.25)}

/* ===== V11: real Leaflet map container + pins ===== */
#ctmap{height:480px;width:100%;border-radius:var(--radius);box-shadow:var(--shadow);z-index:0}
@media(max-width:600px){#ctmap{height:360px}}
.mappin-wrap{background:none;border:0}
.mappin{width:100%;height:100%;border-radius:50%;display:flex;align-items:center;justify-content:center;
  color:#fff;font-family:var(--font-head);font-weight:800;font-size:.85rem;border:2.5px solid #fff;
  box-shadow:0 2px 6px rgba(0,0,0,.35)}
.mappin-hq{color:#1B2A41;border-color:#1B2A41;font-size:1.1rem}
.leaflet-popup-content{font-family:var(--font-body)}

/* ===== V12: leadership cards on Our Team ===== */
.leader{text-align:center}
.leader-photo{width:92px;height:92px;margin:0 auto .9rem;font-size:2rem}
.leader .role{font-family:var(--font-head);font-weight:700;color:var(--ink2);font-size:.9rem;margin:.1rem 0 .5rem}
.leader p{font-size:.95rem}
.staff-summary{max-width:66ch;margin-top:1rem;background:var(--yellow-soft);border-left:5px solid var(--yellow);border-radius:8px;padding:.9rem 1.1rem;font-size:1rem}

/* ===== V13: soft faded hero edge (blend into page) + leadership photo support ===== */
.hero-media{box-shadow:none;border-radius:0;
  -webkit-mask-image:radial-gradient(ellipse closest-side at 50% 45%, #000 80%, rgba(0,0,0,0) 100%);
          mask-image:radial-gradient(ellipse closest-side at 50% 45%, #000 80%, rgba(0,0,0,0) 100%)}
@media(min-width:860px){
  .hero-media{margin:1rem 2.4rem 1rem 0;border-radius:0}
}
/* leadership headshot photos (used when real photos added) */
img.leader-photo{border-radius:50%;object-fit:cover;object-position:center;border:3px solid var(--yellow);background:var(--paper)}

/* ===== V14: CEO photo beside homepage quote ===== */
.ceoquote .ceo-photo{flex:0 0 auto;width:92px;height:92px;border-radius:50%;object-fit:cover;object-position:center;
  border:3px solid var(--yellow);box-shadow:0 4px 14px rgba(0,0,0,.3)}
@media(max-width:560px){.ceoquote .ceo-photo{width:76px;height:76px}}


/* ===== V15: responsive video embed ===== */
.videowrap{position:relative;max-width:760px;aspect-ratio:16/9;margin-top:1.2rem;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.videowrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ===== V16: awareness poster gallery ===== */
.postergrid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));margin-top:1.4rem}
.postergrid figure{margin:0;background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease}
.postergrid figure:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(27,42,65,.16)}
.postergrid img{width:100%;height:auto;display:block}
.postergrid figcaption{font-family:var(--font-head);font-weight:700;font-size:.82rem;color:var(--ink);padding:.7rem .8rem}
@media (prefers-reduced-motion:reduce){.postergrid figure{transition:none}.postergrid figure:hover{transform:none}}

/* ===== V17: prominent hero Facebook link ===== */
.hero-social{margin-top:1rem}
.hero-social a{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--font-head);font-weight:700;font-size:.98rem;color:#1877F2;text-decoration:none}
.hero-social svg{width:22px;height:22px;fill:#1877F2;flex:0 0 auto}
.hero-social a:hover{text-decoration:underline}

/* ===== V18: YouTube video card (robust, opens on YouTube) ===== */
.videocard{position:relative;display:block;max-width:760px;margin-top:1.2rem;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:16/9;background:#000;text-decoration:none}
.videocard img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease,opacity .3s ease}
.videocard:hover img,.videocard:focus-visible img{transform:scale(1.04);opacity:.82}
.videocard .playbtn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:74px;height:74px;border-radius:50%;background:rgba(242,194,0,.96);color:var(--ink);display:flex;align-items:center;justify-content:center;font-size:1.7rem;padding-left:6px;box-shadow:0 6px 20px rgba(0,0,0,.45);transition:transform .25s ease}
.videocard:hover .playbtn{transform:translate(-50%,-50%) scale(1.08)}
.videocard-label{position:absolute;left:14px;bottom:12px;background:rgba(27,42,65,.88);color:#fff;font-family:var(--font-head);font-weight:700;font-size:.85rem;padding:.4rem .75rem;border-radius:8px}
@media (prefers-reduced-motion:reduce){.videocard img,.videocard .playbtn{transition:none}}

/* ===== V19: Facebook live feed embed ===== */
.fbfeed{margin-top:1.4rem;max-width:500px}
.fbfeed iframe{width:100%;max-width:500px;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:var(--white)}

/* ===== V20: Facebook feed two-column row ===== */
.fbrow{display:grid;gap:1.8rem;grid-template-columns:1fr;align-items:start;margin-top:1.4rem}
@media(min-width:880px){.fbrow{grid-template-columns:500px 1fr}}
.fbrow .fbfeed{max-width:500px;margin:0}
.fbside h3{font-size:1.2rem;margin-bottom:.4rem}
.fbside p{max-width:52ch}
.fblinks{list-style:none;margin-top:1.1rem;display:grid;gap:.55rem}
.fblinks a{font-family:var(--font-head);font-weight:700;text-decoration:none;border-bottom:2px solid var(--yellow);padding-bottom:1px}
.fblinks a:hover{color:var(--ink2)}

/* ===== V21: gallery grid, lightbox, homepage teaser ===== */
.gallery-grid{display:grid;gap:.7rem;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));margin-top:1.4rem}
.gtile{padding:0;border:0;background:#000;border-radius:10px;overflow:hidden;cursor:pointer;aspect-ratio:1/1;box-shadow:var(--shadow)}
.gtile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease,opacity .3s ease}
.gtile:hover img,.gtile:focus-visible img{transform:scale(1.07);opacity:.9}
.lightbox{position:fixed;inset:0;background:rgba(10,16,28,.92);display:flex;align-items:center;justify-content:center;z-index:300;padding:2rem}
.lightbox[hidden]{display:none}
.lb-fig{margin:0;max-width:92vw;max-height:88vh;display:flex;flex-direction:column;align-items:center}
.lb-img{max-width:92vw;max-height:80vh;border-radius:8px;box-shadow:0 10px 40px rgba(0,0,0,.6)}
.lb-cap{color:#fff;font-family:var(--font-head);font-weight:600;margin-top:.8rem;text-align:center}
.lb-btn{position:absolute;background:rgba(255,255,255,.14);color:#fff;border:0;cursor:pointer;border-radius:50%;width:52px;height:52px;font-size:1.8rem;line-height:1;display:flex;align-items:center;justify-content:center}
.lb-btn:hover{background:var(--yellow);color:var(--ink)}
.lb-close{top:18px;right:18px;font-size:2rem}
.lb-prev{left:14px;top:50%;transform:translateY(-50%)}
.lb-next{right:14px;top:50%;transform:translateY(-50%)}
.gteaser{display:grid;gap:.7rem;grid-template-columns:repeat(2,1fr);margin-top:1.4rem}
@media(min-width:760px){.gteaser{grid-template-columns:repeat(4,1fr)}}
.gteaser a{display:block;aspect-ratio:1/1;border-radius:10px;overflow:hidden;box-shadow:var(--shadow)}
.gteaser img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.gteaser a:hover img{transform:scale(1.06)}
@media (prefers-reduced-motion:reduce){.gtile img,.gteaser img{transition:none}}
