/* ============================================================================
   Dodworth Colliery Miners Welfare Brass Band — shared stylesheet
   Clean rebuild that FAITHFULLY reproduces the original Sitely site.
   Brand: navy #06112a, gold #b79161. Desktop = the original 1200px design,
   centred. Mobile = the original stacked layout. Fonts live beside this file.
   ========================================================================== */

@font-face{font-family:'Hanken';src:url('HankenGrotesk_wght_.woff2') format('woff2');font-weight:300 900;font-style:normal;font-display:swap;}
@font-face{font-family:'Lato';src:url('Lato-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Abel';src:url('Abel-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}

:root{ --navy:#06112a; --gold:#b79161; --maxw:1200px; }

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family:'Hanken',Arial,sans-serif;
  color:#000;
  background:#ffffff url('../images/5/dodworth-brass-band-instruments-background-10opacity.png') repeat fixed center top;
  overflow-x:hidden;
}
a{color:inherit;}
img{max-width:100%;display:block;}
h1,h2,h3,h4{margin:0;}

/* ============================================================================
   HEADER  — mobile first; exact 1200 desktop replica at >=1200px
   ========================================================================== */
.site-header{background:var(--navy);border-bottom:20px solid var(--gold);position:relative;}
.site-header .bar{display:flex;align-items:center;gap:14px;padding:22px;min-height:134px;position:relative;}
.brand-logo{display:block;line-height:0;flex:0 0 auto;}
.brand-logo img{height:100px;width:auto;}
.brand-name{display:none;color:var(--gold);font-family:'Hanken';font-weight:900;font-size:28px;line-height:1.285;}

.nav-toggle{display:block;margin-left:auto;background:none;border:0;cursor:pointer;padding:10px 6px;}
.nav-toggle span{display:block;width:38px;height:4px;background:#fff;margin:7px 0;border-radius:1px;}

/* mobile dropdown — gold buttons, navy bold text, white border (matches Sitely) */
.main-nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:60;flex-direction:column;}
body.nav-open .main-nav{display:flex;}
.main-nav a{display:block;text-align:center;background:var(--gold);color:var(--navy);border:1px solid #fff;
  font-family:'Hanken';font-weight:800;font-size:22px;padding:14px 8px;text-decoration:none;}
.main-nav a:hover,.main-nav a.active{background:#a8854f;}

@media (min-width:1200px){
  .site-header .bar{display:block;max-width:var(--maxw);margin:0 auto;padding:0;height:152px;min-height:0;}
  .brand-logo{position:absolute;left:10px;top:25px;}
  .brand-logo img{width:100px;height:102px;}
  .brand-name{display:block;position:absolute;left:141px;top:39px;}
  .nav-toggle{display:none;}
  .main-nav{display:flex;position:absolute;left:500px;top:53px;flex-direction:row;}
  .main-nav a{background:none;border:0;color:#fff;font-family:'Lato';font-weight:400;font-size:14px;
    line-height:1;padding:13px 0 0;height:48px;text-align:center;}
  .main-nav a:hover{background:none;color:var(--gold);}
  .main-nav a.active{background:none;color:var(--gold);}
  .main-nav a:nth-child(1){width:103px;}
  .main-nav a:nth-child(2){width:158px;}
  .main-nav a:nth-child(3){width:173px;}
  .main-nav a:nth-child(4){width:150px;}
  .main-nav a:nth-child(5){width:115px;}
}

/* ============================================================================
   HOME — flow container (reflows desktop vs mobile via order)
   ========================================================================== */
.home-main{display:flex;flex-direction:column;}
.hero{order:0;}
.welcome{order:1;}
.featurebar{order:2;}

/* ---------- hero (full-bleed band photo) ---------- */
.hero{
  display:none;                      /* mobile: hidden (inline photo used instead) */
  width:100%;
  background:var(--navy) center/cover no-repeat;
  background-image:url('../images/0/full_band_2025-modern-room-larger-1600.jpg');
}

/* ---------- feature buttons ---------- */
.featurebar{display:flex;flex-direction:column;align-items:center;gap:48px;padding:8px 22px 8px;}
.fb{
  width:100%;max-width:443px;min-height:79px;
  display:flex;align-items:center;justify-content:center;text-align:center;
  border:1px solid #fff;border-radius:0 31px 0 31px;font-family:'Hanken';font-weight:700;
  font-size:clamp(12px,2.6vw,16px);line-height:1.25;color:#fff;
  cursor:pointer;text-decoration:none;appearance:none;-webkit-appearance:none;padding:6px 10px;
}
.fb:hover{filter:brightness(1.08);}
.fb:nth-child(odd){background:var(--navy);}
.fb:nth-child(even){background:var(--gold);}

/* ---------- welcome ---------- */
.welcome{display:flex;flex-direction:column;max-width:var(--maxw);margin:0 auto;padding:18px 22px 8px;}
.wtext{order:1;}
.gallery{order:2;}

.eyebrow{font-family:'Hanken';font-weight:400;font-size:clamp(12px,2.6vw,15px);color:#000;
  text-transform:uppercase;letter-spacing:1px;margin-bottom:6px;}
.wtext h1{font-family:'Hanken';font-weight:900;font-size:clamp(28px,7.2vw,43px);color:var(--navy);
  line-height:1.3;margin:0 0 8px;}
.loc{font-family:'Hanken';font-weight:700;font-size:clamp(12px,2.6vw,18px);color:#000;margin-bottom:14px;}
.hero-mobile{width:100%;height:auto;margin:6px 0 18px;}
.wtext p{font-family:'Hanken';font-weight:400;font-size:clamp(12px,2.6vw,18px);color:#000;
  line-height:1.55;margin:0 0 16px;}
.wtext p strong{font-weight:700;}

/* gallery — collage RECTANGLE at every size (scales down on mobile, like the
   original): big photo on top, then tall photo left + two stacked right, all
   bottoms aligned. aspect-ratio makes the heights proportional to width. */
.gallery{margin-top:8px;display:flex;flex-direction:column;gap:15px;}
.gallery a{display:block;margin:0;min-height:0;}
.gallery img{width:100%;height:100%;object-fit:cover;}
.g-big{aspect-ratio:433/283;}
.g-row{display:grid;grid-template-columns:1fr 1fr;gap:15px;}
.g-tall{grid-column:1;grid-row:1 / 3;}
.g-stack{display:contents;}
.g-stack a:nth-child(1){grid-column:2;grid-row:1;aspect-ratio:207/176;}
.g-stack a:nth-child(2){grid-column:2;grid-row:2;aspect-ratio:207/176;}
.g-stack a:nth-child(2) img{object-position:bottom;}

@media (min-width:1200px){
  /* hero full-bleed, fixed design height */
  .hero{display:block;height:685px;}
  .hero-mobile{display:none;}

  /* buttons: single centred row straddling the hero's lower edge */
  .featurebar{order:1;flex-direction:row;flex-wrap:nowrap;justify-content:center;gap:22px;
    max-width:1178px;margin:-42px auto 0;padding:0;position:relative;z-index:2;}
  .welcome{order:2;}
  .fb{width:178px;max-width:none;height:77px;min-height:0;border:1px solid #fff;
    border-radius:0 39px 0 39px;font-size:15px;line-height:1.2;}
  .fb:nth-child(odd){background:var(--navy);color:var(--gold);}
  .fb:nth-child(even){background:var(--gold);color:var(--navy);}

  /* welcome: two columns — collage left, text right */
  .welcome{flex-direction:row;align-items:flex-start;gap:13px;padding:80px 6px 40px;}
  .gallery{order:1;flex:0 0 588px;margin-top:0;display:flex;flex-direction:column;gap:15px;}
  .wtext{order:2;flex:1;}
  /* CSS grid guarantees a perfect rectangle: equal right rows, tall photo spans
     both, every cell a fixed height, images cover-cropped. min-height:0 stops the
     image's intrinsic height from pushing a cell taller. */
  .gallery a{margin:0 !important;display:block;min-height:0;}
  .gallery img{width:100%;height:100%;object-fit:cover;}
  .g-big{height:388px;aspect-ratio:auto;}
  .g-row{display:grid;grid-template-columns:284px 1fr;grid-template-rows:1fr 1fr;gap:15px;height:464px;}
  .g-tall{grid-column:1;grid-row:1 / 3;}
  .g-stack{display:contents;}
  .g-stack a:nth-child(1){grid-column:2;grid-row:1;aspect-ratio:auto;}
  .g-stack a:nth-child(2){grid-column:2;grid-row:2;aspect-ratio:auto;}
  .g-stack a:nth-child(2) img{object-position:bottom;}  /* crop the TOP so bottoms align */

  .eyebrow{background:var(--gold);color:#fff;font-weight:900;font-size:15px;letter-spacing:3px;
    padding:3px 0 3px 16px;margin-bottom:30px;}
  .wtext h1{font-size:43px;line-height:1.3;margin:0 0 10px;}
  .loc{font-size:18px;margin-bottom:28px;}
  .wtext p{font-size:18px;line-height:1.5;margin:0 0 26px;}
}

/* ============================================================================
   INNER-PAGE INTRO (eyebrow + title + gold rule) — used by Engagements, etc.
   ========================================================================== */
.page-wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
.page-intro{padding:36px 0 0;}
.page-eyebrow{text-align:left;font-family:'Hanken';font-weight:400;letter-spacing:4.69px;font-size:15px;color:var(--navy);text-transform:uppercase;}
.page-title-row{display:flex;align-items:center;gap:24px;margin-top:16px;}
.page-title{font-family:'Hanken';font-weight:900;font-size:43px;color:var(--navy);white-space:nowrap;line-height:1.1;}
.page-title-row .rule{flex:1;height:20px;background:var(--gold);}

/* ============================================================================
   EVENTS (engagements page — dynamic list, styled to match the original)
   ========================================================================== */
.events{max-width:var(--maxw);margin:0 auto;padding:8px 24px 34px;min-height:140px;}
.year-row{display:flex;align-items:center;gap:28px;margin:34px 0 50px;}
.year-row .yline{flex:1;height:20px;background:var(--gold);}
.year-heading{font-family:'Hanken';font-weight:700;font-size:47px;color:var(--navy);line-height:1.2;white-space:nowrap;}
.event{max-width:1000px;margin:0 auto;text-align:center;padding:4px 0 0;}
.event .date{font-family:'Hanken';font-weight:700;font-size:18px;color:var(--navy);line-height:1.8;}
.event .detail{font-family:'Hanken';font-weight:400;font-size:18px;color:var(--navy);line-height:1.8;}
.event .detail a{text-decoration:underline;}
.event .detail a:hover{text-decoration:none;}
.event .event-image{margin:16px auto 4px;}
.event .event-image img{max-height:440px;width:auto;border-radius:2px;box-shadow:0 4px 16px rgba(6,17,42,.16);margin:0 auto;}
.divider{margin:22px auto 26px;text-align:center;line-height:0;}
.divider img{display:inline-block;width:76%;max-width:909px;height:auto;}
.empty-note{text-align:center;font-size:18px;color:#54607a;padding:40px 0;}

/* ============================================================================
   NEWS & EVENTS page  (single column: articles, then poster grid)
   ========================================================================== */
.newspage{max-width:var(--maxw);margin:0 auto;padding:8px 24px 20px;min-height:140px;}
.article{max-width:820px;margin:0 auto;padding:8px 0 0;}
.article-title{font-family:'Hanken';font-weight:900;font-size:32px;color:var(--navy);text-align:center;line-height:1.2;}
.article-date{font-family:'Hanken';font-weight:700;font-size:15px;letter-spacing:1px;text-transform:uppercase;color:var(--gold);text-align:center;margin:8px 0 18px;}
.article-photo{margin:0 auto 18px;text-align:center;}
.article-photo img{max-width:100%;max-height:460px;width:auto;border-radius:2px;box-shadow:0 4px 16px rgba(6,17,42,.16);display:inline-block;}
.article-body p{font-family:'Hanken';font-weight:400;font-size:18px;line-height:1.6;color:#000;margin:0 0 16px;}
.article-body a{text-decoration:underline;}
.article-body a:hover{text-decoration:none;}

.posters{display:flex;flex-wrap:wrap;justify-content:center;gap:26px;max-width:1100px;margin:14px auto 10px;}
.poster{display:flex;flex-direction:column;align-items:center;gap:10px;text-decoration:none;color:var(--navy);flex:0 1 320px;max-width:340px;}
.poster img{width:100%;height:auto;border-radius:2px;box-shadow:0 6px 20px rgba(6,17,42,.18);transition:transform .25s ease,box-shadow .25s ease;}
.poster:hover img{transform:translateY(-3px);box-shadow:0 10px 28px rgba(6,17,42,.28);}
.poster-cap{font-family:'Hanken';font-weight:700;font-size:16px;text-align:center;}
/* Per-article photo gallery: original-ratio photos up to 400px tall, flowing
   neatly up to 4 to a row, centred; lightbox on click */
.article-gallery{--gw:min(1100px,calc(100vw - 64px));display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:16px;
  width:var(--gw);margin:24px 0 8px calc((100% - var(--gw))/2);}
.agal-item{display:flex;flex-direction:column;align-items:center;flex:0 1 auto;max-width:100%;text-decoration:none;color:var(--navy);}
.agal-item img{display:block;width:auto;height:auto;max-height:400px;max-width:100%;border-radius:2px;
  box-shadow:0 6px 20px rgba(6,17,42,.18);transition:transform .25s ease,box-shadow .25s ease;}
.agal-item:hover img{transform:translateY(-3px);box-shadow:0 10px 28px rgba(6,17,42,.28);}
/* caption is ALWAYS rendered, at least two lines tall (empty or not), so
   labelled and unlabelled photos stay level. width:0 + min-width:100% makes
   the text wrap at the IMAGE's width instead of widening the tile; a small
   script on the page then levels caption heights across each row. */
.agal-cap{display:block;width:0;min-width:100%;
  margin-top:8px;font-family:'Hanken';font-weight:700;font-size:15px;line-height:1.35;min-height:2.7em;text-align:center;}

/* ============================================================================
   MEET THE BAND  (navy pennant cards: flag graphic or photo + name)
   ========================================================================== */
.band{max-width:var(--maxw);margin:0 auto;padding:40px 0 24px;}
/* one .band-row per on-screen row = the band's formation (4,6,4,4,3,4,3) */
.band-row{display:flex;flex-wrap:wrap;justify-content:center;gap:30px 18px;}
.member{width:182px;background:var(--navy);border-radius:8px;overflow:hidden;display:flex;flex-direction:column;}
.member-media{display:block;line-height:0;}
/* show the full pennant/photo (372×564) at natural height — no cropping the point */
.member-media img{width:100%;height:auto;display:block;}
a.member-media{cursor:pointer;}
.m-name{color:#fff;text-align:center;padding:10px 10px 14px;font-family:'Hanken';}
.m-name strong{display:block;font-weight:700;font-size:14px;line-height:1.3;}
.m-name span{display:block;font-weight:400;font-size:14px;color:#d9d2c6;margin-top:2px;}
/* full-width gold bar between rows, like the original */
.band-divider{height:18px;background:var(--gold);border:0;margin:40px auto;}
@media (max-width:600px){
  .band-row{gap:34px 14px;padding:0 10px;}
  .member{width:44vw;max-width:210px;}
  .band-divider{height:14px;margin:30px 12px;}
}

/* ============================================================================
   CONTACT  (faithful two boxes: details + map; plus the new enquiry form)
   ========================================================================== */
.contact{max-width:var(--maxw);margin:0 auto;padding:24px 24px 10px;}
.contact-cols{display:flex;gap:24px;align-items:stretch;}
.contact-box{flex:1;border:2px solid var(--gold);border-radius:4px;padding:24px;background:rgba(255,255,255,.55);}
.contact-details{text-align:center;}
.contact-details h3{font-family:'Hanken';font-weight:800;font-size:22px;color:var(--navy);margin:20px 0 4px;}
.contact-details h3:first-child{margin-top:0;}
.contact-details p{font-family:'Hanken';font-size:16px;line-height:1.6;color:var(--navy);margin:0 0 6px;}
.contact-details a{color:var(--navy);text-decoration:underline;}
.contact-details a:hover{text-decoration:none;}
.contact-map{padding:0;overflow:hidden;display:flex;}
.contact-map iframe{width:100%;min-height:520px;border:0;flex:1;}

.form-wrap{max-width:680px;margin:6px auto 10px;}
.form-thanks{text-align:center;font-size:20px;font-weight:700;color:var(--navy);background:#eef3ec;border:1px solid #bcd6bf;border-radius:6px;padding:22px;}
.form-error{text-align:center;color:#9c2a2a;background:#fbe8e8;border:1px solid #efb9b9;border-radius:6px;padding:12px 14px;margin-bottom:16px;}
.contact-form label{display:block;font-family:'Hanken';font-weight:700;font-size:15px;color:var(--navy);margin:0 0 16px;}
.contact-form input,.contact-form textarea{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #c9c2b3;border-radius:6px;font:inherit;font-weight:400;background:#fff;color:var(--navy);}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid var(--gold);border-color:var(--gold);}
.contact-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.btn-send{background:var(--navy);color:#fff;border:0;border-radius:6px;font-family:'Hanken';font-weight:700;font-size:17px;padding:13px 30px;cursor:pointer;}
.btn-send:hover{background:#0c1d44;}
@media (max-width:900px){
  .contact-cols{flex-direction:column;}
  .contact-map iframe{min-height:340px;}
}

/* ============================================================================
   FIND US + socials  (matches the original)
   ========================================================================== */
.findus{padding:54px 24px 8px;}
.findus .row{display:flex;align-items:center;justify-content:center;gap:24px;max-width:var(--maxw);margin:0 auto;}
.findus .line{flex:1;max-width:300px;height:20px;background:var(--gold);}
.findus h2{font-family:'Hanken';font-weight:800;font-size:44px;color:var(--navy);text-align:center;}
/* desktop: top padding (122) + .findus bottom (8) = 130 = the bottom gap, so the
   space above and below the social logos matches */
.socials{display:flex;justify-content:center;align-items:center;gap:72px;flex-wrap:wrap;max-width:1200px;margin:0 auto;padding:122px 24px 130px;}
.socials a{flex:0 1 312px;display:flex;justify-content:center;align-items:center;}
.socials img{width:100%;max-width:312px;height:auto;object-fit:contain;}
/* optical nudge for the social logos (desktop only; padding unchanged) */
@media (min-width:1200px){ .socials{position:relative;top:-10px;} }

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer{background:var(--navy);border-top:20px solid var(--gold);color:#fff;padding:48px 24px 34px;}
.footer-main{max-width:var(--maxw);margin:0 auto;display:flex;align-items:center;}
.footer-logo{margin-left:235px;}
.footer-logo img{height:138px;width:auto;}
.footer-contact{display:flex;flex-direction:column;gap:22px;margin-left:auto;margin-right:38px;}
.contact-item{display:grid;grid-template-columns:26px 1fr;align-items:center;column-gap:18px;max-width:435px;}
.contact-item img{max-width:24px;max-height:24px;width:auto;height:auto;justify-self:center;}
.contact-item a{color:#fff;font-family:'Hanken';font-weight:700;font-size:16px;text-decoration:underline;text-align:left;}
.contact-item a:hover{text-decoration:none;}
.footer-contact .contact-item:last-child a{font-size:13px;}
.footer-copy{text-align:center;font-family:'Hanken';font-weight:400;font-size:15px;margin-top:30px;}
.footer-copy a{color:#fff;text-decoration:underline;}

/* ============================================================================
   LIGHTBOX (shared — gallery photos open enlarged in an overlay)
   ========================================================================== */
.lb-overlay{position:fixed;inset:0;background:rgba(6,17,42,.92);display:flex;
  align-items:center;justify-content:center;z-index:2000;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .35s ease, visibility 0s linear .35s;}
.lb-overlay.open{opacity:1;visibility:visible;pointer-events:auto;
  transition:opacity .35s ease;}
.lb-overlay .lb-img{max-width:90vw;max-height:86vh;width:auto;height:auto;
  border:3px solid #fff;box-shadow:0 12px 50px rgba(0,0,0,.6);
  opacity:0;transform:scale(.92);transition:opacity .35s ease, transform .35s ease;}
.lb-overlay.open .lb-img{opacity:1;transform:scale(1);}

/* content popups (feature-button popups) share the overlay + fade/zoom */
.lb-box{background:#fff;color:var(--navy);max-width:760px;width:90vw;max-height:86vh;
  overflow:auto;padding:34px 38px;border:3px solid var(--gold);
  box-shadow:0 12px 50px rgba(0,0,0,.6);
  opacity:0;transform:scale(.92);transition:opacity .35s ease, transform .35s ease;}
.lb-overlay.open .lb-box{opacity:1;transform:scale(1);}
.lb-box .pp-content>*:first-child{margin-top:0;}
.lb-box .pp-photo{width:100%;height:auto;border-radius:0 31px 0 31px;margin:0 0 18px;}
.lb-box h3{font-family:'Hanken';font-weight:900;font-size:30px;color:var(--navy);margin:0 0 14px;}
.lb-box h4{font-family:'Hanken';font-weight:800;font-size:20px;color:var(--gold);margin:24px 0 10px;}
.lb-box p{font-family:'Hanken';font-size:17px;line-height:1.55;margin:0 0 14px;color:var(--navy);}
.lb-box .pp-cap{font-weight:700;text-align:center;}
.lb-box audio{width:100%;display:block;margin:6px auto 0;}
.lb-box a{color:#9a6f2e;font-weight:700;text-decoration:underline;}
.lb-box a:hover{text-decoration:none;}
.lb-box .pp-venues{margin:0 0 14px;padding-left:22px;}
.lb-box .pp-venues li{font-size:17px;line-height:1.55;}
/* image-only popup: no white box, just the framed photo */
.lb-box.is-image{background:none;border:0;padding:0;box-shadow:none;max-width:none;width:auto;overflow:visible;}
.lb-box.is-image .pp-photo{max-width:90vw;max-height:86vh;width:auto;border:3px solid #fff;border-radius:0;margin:0;}
@media (prefers-reduced-motion:reduce){
  .lb-overlay,.lb-overlay .lb-img{transition:none;}
  .lb-overlay .lb-img{transform:none;}
}
.lb-close{position:absolute;top:14px;right:22px;background:none;border:0;color:#fff;
  font-size:48px;line-height:1;cursor:pointer;padding:4px 10px;}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.10);
  border:0;color:#fff;font-size:52px;line-height:1;width:62px;height:96px;cursor:pointer;}
.lb-prev{left:14px;border-radius:0 31px 0 31px;}
.lb-next{right:14px;border-radius:0 31px 0 31px;}
.lb-close:hover,.lb-nav:hover{color:var(--gold);}
@media (max-width:600px){
  .lb-nav{font-size:34px;width:44px;height:66px;}
  .lb-close{font-size:40px;top:6px;right:10px;}
}

/* ============================================================================
   SCROLL / LOAD ANIMATIONS  (hidden only when JS active)
   ========================================================================== */
.js .anim{opacity:0;}
.js .anim.in{opacity:1;}
.js .anim.a-zoom.in{animation:zoomIn 1.2s both;}
.js .anim.a-up.in{animation:fadeInUpBig 1s both;}
.js .anim.a-left.in{animation:fadeInLeftBig 1s both;}
.js .anim.a-right.in{animation:fadeInRightBig 1s both;}
.js .anim.a-bounce.in{animation:bounceIn 1.4s both;}
@keyframes zoomIn{from{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}to{opacity:1;transform:none}}
@keyframes fadeInUpBig{from{opacity:0;transform:translate3d(0,200px,0)}to{opacity:1;transform:none}}
@keyframes fadeInLeftBig{from{opacity:0;transform:translate3d(-400px,0,0)}to{opacity:1;transform:none}}
@keyframes fadeInRightBig{from{opacity:0;transform:translate3d(400px,0,0)}to{opacity:1;transform:none}}
@keyframes bounceIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}100%{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.anim{opacity:1 !important;}.anim.in{animation:none !important;}}

/* ============================================================================
   FOOTER / FIND US responsive
   ========================================================================== */
@media (max-width:1199px){
  .findus h2{font-size:clamp(22px,6vw,40px);}
  .site-footer{padding:44px 24px 40px;}
  .footer-main{flex-direction:column;align-items:center;text-align:left;gap:42px;}
  .footer-logo{order:-1;margin-left:0;}
  .footer-logo img{height:185px;}
  .footer-contact{align-self:start;margin:0;gap:58px;max-width:none;padding-left:7%;}
  .footer-copy{margin-top:48px;text-align:center;}
  .findus .row{flex-direction:column;gap:16px;}
  .findus .line{flex:none;display:block;width:100%;max-width:none;height:15px;}
  /* generous vertical spacing like the original (gaps ~85px, varied widths) */
  .socials{gap:clamp(52px,17vw,90px);padding:54px 16px 116px;flex-direction:column;}
  .socials a{flex:0 1 auto;width:100%;}
  .socials img{max-width:none;height:auto;}
  .socials a:nth-child(1) img{width:clamp(300px,93vw,467px);}  /* Facebook (widest) */
  .socials a:nth-child(2) img{width:clamp(210px,63vw,313px);}  /* Google (narrowest) */
  .socials a:nth-child(3) img{width:clamp(240px,73vw,367px);}  /* Instagram */
  /* inner-page intro + events scale down below the desktop breakpoint */
  .page-title{font-size:36px;}
  .year-heading{font-size:34px;}
}
@media (max-width:600px){
  .page-title{font-size:34px;white-space:normal;}
  .page-eyebrow{font-size:12px;letter-spacing:2.5px;}
  .page-title-row .rule{height:14px;}
  .year-row{gap:16px;margin:26px 0 30px;}
  .year-row .yline{height:16px;}
  .year-heading{font-size:32px;}
  .event .date{font-size:clamp(18px,5.4vw,25px);}
  .event .detail{font-size:clamp(17px,4.9vw,23px);}
  .divider img{width:94%;max-width:500px;}
  .article-title{font-size:26px;}
  .article-body p{font-size:clamp(15px,4.4vw,18px);}
  .poster{flex:0 1 100%;max-width:420px;}
  .agal-item img{max-height:340px;}
}

/* ---- SEO copy additions (2026-06-25): welcome tagline + standing page intros ---- */
.wtext .welcome-tagline{font-family:'Hanken';font-weight:600;color:var(--navy);
  font-size:clamp(13px,2.7vw,19px);line-height:1.5;margin:0 0 16px;}
/* margin-top is smaller than margin-bottom on purpose: the page container adds
   ~8-10px of top padding above this, so the *visible* gaps end up equal. */
.page-lead{font-family:'Hanken';font-weight:400;color:#1f2a44;max-width:820px;margin:28px auto 36px;
  text-align:center;font-size:clamp(14px,2.6vw,18px);line-height:1.6;padding:0 6px;}
.page-lead a{color:var(--gold);font-weight:700;text-decoration:underline;}
/* News has no "2026" strip — this gold bar underlines its intro the same way. */
.lead-rule{height:20px;background:var(--gold);margin:0 auto 50px;}
@media(max-width:600px){
  .page-lead{text-align:left;margin:20px auto 28px;}
  .lead-rule{height:16px;margin:0 auto 30px;}
}
