:root{--ink:#10253b;--muted:#617184;--teal:#087f82;--yellow:#f7c957;--cream:#f7f7f2;--line:#e6eae9;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:'DM Sans',sans-serif;font-size:16px;line-height:1.7;background:#fff}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-family:'Plus Jakarta Sans',sans-serif;letter-spacing:-.055em;line-height:1.14}h1{font-size:clamp(3.4rem,6.1vw,7rem)}h2{font-size:clamp(2.5rem,4.2vw,4.9rem)}h3{font-size:1.5rem}p{color:var(--muted)}em{font-style:normal;color:var(--teal)}.container{width:min(1280px,calc(100% - 100px));margin:0 auto}.site-header{height:94px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4vw,72px);background:#fff;position:relative;z-index:20;border-bottom:1px solid #e9eeec}.identity{display:flex;align-items:center;gap:12px;min-width:0}.identity img{height:64px;width:64px;object-fit:contain}.identity strong{display:block;font:800 1.22rem 'Plus Jakarta Sans',sans-serif;letter-spacing:-.055em;line-height:1.1}.identity small{display:block;font-size:.52rem;letter-spacing:.1em;font-weight:800;margin-top:4px}.nav-links{display:flex;align-items:center;gap:clamp(14px,2.1vw,34px)}.nav-link{font-size:.86rem;font-weight:800;white-space:nowrap}.nav-link:hover,.nav-link.active{color:var(--teal)}.nav-donate{background:var(--ink);color:white;padding:14px 24px;border-radius:100px;font-size:.85rem;font-weight:800;white-space:nowrap}.nav-donate span{margin-left:12px;color:var(--yellow)}.menu-toggle{display:none}.eyebrow{display:inline-block;font-size:.72rem;letter-spacing:.18em;font-weight:800;color:var(--teal);text-transform:uppercase}.eyebrow-light{color:#a7e6d7}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;padding:17px 24px;border-radius:8px;font-weight:800;font-size:.88rem;border:1px solid transparent;transition:transform .2s,background .2s}.button:hover{transform:translateY(-3px)}.button-yellow{background:var(--yellow);color:var(--ink)}.button-glass{background:#ffffff1e;color:white;border-color:#ffffff77;backdrop-filter:blur(8px)}.button-dark{background:var(--ink);color:white}.button-white{background:white;color:var(--ink)}.button-outline{border-color:#d6dedc;color:var(--ink);background:white}.text-link{font-size:.85rem;font-weight:800;color:var(--teal)}.home-hero{height:min(850px,calc(100svh - 94px));min-height:650px;position:relative;overflow:hidden;background:#d5e5dc}.home-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 47%;filter:brightness(1.16) saturate(1.08)}.home-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,34,47,.48) 0%,rgba(10,34,47,.30) 35%,rgba(10,34,47,.05) 77%,transparent 100%)}.home-hero-content{position:relative;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;color:white;padding-bottom:25px}.home-hero h1{max-width:980px;margin:27px 0 22px;line-height:1.05;color:#fff}.home-hero h1 em{color:var(--yellow)}.home-hero p{font-size:clamp(1rem,1.5vw,1.25rem);max-width:570px;color:#f3f8f5;line-height:1.8}.hero-label{font-size:.74rem;letter-spacing:.18em;font-weight:800;color:white;border:1px solid #ffffff60;border-radius:100px;padding:9px 17px;backdrop-filter:blur(6px)}.hero-label i{display:inline-block;width:7px;height:7px;background:var(--yellow);border-radius:50%;margin-right:8px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}.hero-index{position:absolute;bottom:30px;right:5%;font-weight:800;color:white;letter-spacing:.12em}.hero-index span{color:#ffffff80}.intro-band{padding:54px 0;background:#eaf5f0}.band-grid{display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:60px}.band-grid p{font:500 clamp(1.18rem,1.8vw,1.65rem)/1.55 'Plus Jakarta Sans',sans-serif;color:var(--ink);margin:0;letter-spacing:-.03em}.band-grid strong{color:var(--teal)}.section{padding:115px 0}.section-white{background:#fff}.section-cream{background:var(--cream)}.section-heading{margin-bottom:55px}.section-heading h2{margin:14px 0 0}.split-heading{display:grid;grid-template-columns:1.25fr .75fr;gap:60px;align-items:end}.split-heading>p{max-width:450px;margin:0 0 8px}.center-heading{text-align:center}.center-heading h2{margin:15px 0 0}.principles{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}.principles article{padding:35px 42px 8px 0;border-right:1px solid var(--line);margin-right:40px}.principles article:last-child{border:0;margin:0}.principle-no{font-size:.75rem;font-weight:800;color:#a3b0b4}.principle-icon{font-size:3.3rem;color:var(--teal);height:100px;display:flex;align-items:center}.principles h3{font-size:1.55rem;margin-bottom:15px}.principles p{max-width:300px}.story-feature{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(50px,7vw,130px);align-items:center}.story-image{height:590px;position:relative}.story-image img{height:100%;width:100%;object-fit:cover;border-radius:4px 100px 4px 4px}.image-sticker{position:absolute;bottom:30px;right:-35px;width:170px;height:170px;display:grid;place-items:center;text-align:center;background:var(--yellow);color:var(--ink);border-radius:50%;font:800 1.3rem/1.35 'Plus Jakarta Sans',sans-serif;transform:rotate(9deg)}.story-copy h2{margin:17px 0 26px}.story-copy p{margin-bottom:23px}.story-copy .button{margin-top:14px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.feature-card{min-height:370px;padding:35px 38px;display:flex;flex-direction:column;border-radius:6px;transition:transform .2s}.feature-card:hover{transform:translateY(-6px)}.feature-card.peach{background:#fae6d9}.feature-card.lilac{background:#e8e5fa}.feature-card.mint{background:#e2f1e9}.feature-num{font-size:.72rem;font-weight:800;color:#64707a}.feature-symbol{font-size:5rem;line-height:1.5;color:var(--ink)}.feature-card h3{font-size:1.65rem;margin-bottom:10px}.feature-card p{color:#536475;margin-bottom:10px}.feature-arrow{font-size:1.8rem;margin-top:auto;align-self:flex-end}.cta-section{background:#0d4348;color:white;padding:90px 0}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:45px}.cta-inner h2{max-width:800px;margin:13px 0 12px;font-size:clamp(2.3rem,4vw,4.4rem)}.cta-inner p{color:#c7e0dd;margin:0}.cta-inner .button{flex-shrink:0}.inner-hero{background:#f0f5f1;overflow:hidden}.inner-grid{min-height:580px;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;padding-top:65px;padding-bottom:65px}.inner-copy h1{font-size:clamp(3rem,4.5vw,5.8rem);margin:18px 0 25px}.inner-copy p{font-size:1.08rem;max-width:510px}.inner-visual{height:450px;position:relative}.inner-visual img{height:100%;width:100%;object-fit:cover;border-radius:6px 100px 6px 6px}.photo-tag{position:absolute;bottom:22px;left:-22px;background:var(--yellow);color:var(--ink);padding:13px 22px;font-size:.7rem;letter-spacing:.13em;font-weight:800}.narrative-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}.narrative-grid h2{margin:17px 0}.narrative-copy p{font-size:1.07rem;margin-bottom:24px}.narrative-copy .button{margin-top:18px}.mission-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.mission-grid article{background:#fff;padding:60px;border-radius:8px;min-height:420px}.mission-grid .mission-dark{background:var(--ink);color:white}.mission-grid h3{font-size:clamp(2rem,3vw,3rem);margin:25px 0}.mission-dark p{color:#d0dbdf}.tile-icon{font-size:3rem;color:var(--teal);display:block;margin-bottom:25px}.mission-dark .tile-icon{color:var(--yellow)}.value-list{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.value-list>div{border-top:3px solid var(--teal);padding:28px 12px 0 0}.value-list b{font-size:.75rem;color:var(--teal)}.value-list h3{margin:28px 0 10px}.program-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.program-card{background:#f6f8f6;padding:38px;min-height:345px;border:1px solid #e6ebe9;border-radius:8px;scroll-margin-top:30px}.program-card:nth-child(2),.program-card:nth-child(5){background:#f6f0e6}.program-card:nth-child(3),.program-card:nth-child(6){background:#f1effa}.program-number{font-size:.7rem;font-weight:800;letter-spacing:.12em;color:#667986}.program-icon{font-size:4rem;display:block;color:var(--teal);margin:22px 0 25px;font-weight:800;line-height:1}.program-card h3{font-size:1.7rem}.statement-section{padding:100px 0;background:var(--ink);color:white;text-align:center}.statement-section blockquote{font:800 clamp(2.2rem,4.8vw,5.5rem)/1.22 'Plus Jakarta Sans',sans-serif;letter-spacing:-.06em;max-width:1000px;margin:20px auto}.statement-section p{color:#c5d5df}.involvement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.involvement-grid article{border:1px solid var(--line);padding:45px 36px;border-radius:8px}.involve-icon{font-size:3.8rem;color:var(--teal)}.involvement-grid h3{font-size:1.8rem;margin-top:35px}.involvement-grid p{min-height:120px}.donation-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:100px;align-items:start}.donation-intro h2{margin:17px 0 25px}.donation-intro>p{font-size:1.06rem}.donation-note{display:flex;gap:20px;margin-top:45px;padding:24px;background:#e8f1e9;border-radius:8px}.donation-note span{font-size:2rem;color:var(--teal)}.donation-note p{font-size:.83rem;margin:0}.donation-panel{background:white;border:1px solid #e8ebe8;border-radius:12px;padding:48px;box-shadow:0 25px 70px #10253b0d}.donation-panel h3{font-size:2.1rem;margin:12px 0}.amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:28px 0}.amounts button{background:#f2f5f4;border:1px solid #dce5e2;border-radius:6px;padding:15px 5px;font-weight:800;color:var(--ink)}.amounts button.chosen{background:var(--ink);color:white}.input-label{display:block;font-size:.84rem;font-weight:800}.amount-input{display:flex;align-items:center;border:1px solid #dce5e2;border-radius:6px;margin:8px 0 20px;padding:0 18px}.amount-input input{width:100%;padding:14px;border:0;outline:0;font-size:1.2rem;font-weight:800}.donation-button{display:flex;width:100%;margin-top:11px}.form-hint{font-size:.77rem;margin:17px 0;color:#7a8994}#donation-message{color:#9e3434;font-size:.88rem}.etransfer-details{background:#e9f4f0;padding:24px;margin-top:20px;border-radius:8px;overflow-wrap:anywhere}.etransfer-details strong{display:block;color:var(--ink);font-size:1.1rem}.etransfer-details p{font-size:.85rem}.copy-email-btn{margin:12px 0;border:0;background:var(--teal);color:white;border-radius:5px;padding:9px 15px;font-weight:800}.contact-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px}.contact-layout h2{margin:15px 0 25px}.contact-info{border-top:1px solid var(--line);margin-top:45px;padding-top:28px}.contact-info h3{font-size:1.25rem}.contact-form{background:#f6f8f6;border-radius:10px;padding:45px}.contact-form label{display:block;font-weight:800;font-size:.85rem;margin-bottom:19px}.contact-form input,.contact-form select,.contact-form textarea{display:block;width:100%;border:1px solid #dbe4e0;border-radius:6px;background:white;padding:13px;margin-top:7px;font-size:.94rem;color:var(--ink)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.site-footer{background:#10253b;color:white;padding-top:75px}.footer-main{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:60px;padding-bottom:65px}.footer-brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:1.2rem;letter-spacing:-.04em}.footer-brand img{width:58px;height:58px;object-fit:contain;background:white;border-radius:50%}.site-footer p{color:#afc0cb;font-size:.88rem;max-width:270px;margin-top:18px}.site-footer h4{font-size:.9rem;letter-spacing:0;margin:9px 0 22px}.footer-main>div>a:not(.footer-brand){display:block;font-size:.86rem;margin-bottom:12px;color:#afc0cb}.footer-main>div>a:hover{color:white}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #ffffff24;padding:22px 0 30px;font-size:.73rem;color:#9cb1c1}[hidden]{display:none!important}
@media(max-width:1050px){.container{width:min(100% - 60px,1280px)}.nav-links{gap:16px}.nav-link{font-size:.78rem}.identity img{height:54px;width:54px}.identity strong{font-size:1rem}.identity small{font-size:.43rem}.band-grid{grid-template-columns:1fr 2fr;gap:25px}.band-grid .text-link{grid-column:2}.story-feature,.inner-grid{gap:45px}.donation-layout,.contact-layout{gap:40px}.footer-main{gap:25px}}@media(max-width:760px){.container{width:calc(100% - 40px)}.site-header{height:78px;padding:0 20px}.identity img{width:52px;height:52px}.menu-toggle{display:flex;width:43px;height:43px;border:0;background:var(--ink);border-radius:7px;flex-direction:column;align-items:center;justify-content:center;gap:5px}.menu-toggle span{display:block;width:20px;height:2px;background:white}.nav-links{display:none;position:absolute;top:78px;left:0;right:0;background:white;box-shadow:0 15px 20px #0002;padding:25px 22px;flex-direction:column;align-items:stretch;gap:18px}.nav-links.open{display:flex}.nav-link{font-size:1rem}.nav-donate{text-align:center}.home-hero{min-height:650px;height:calc(100svh - 78px)}.home-hero-shade{background:linear-gradient(90deg,#10253bdb,#10253b6b 90%)}.home-hero-image{object-position:57% center}.home-hero h1{font-size:clamp(3rem,9vw,5rem)}.hero-actions{flex-direction:column;align-items:stretch}.hero-index{display:none}.band-grid,.split-heading,.story-feature,.inner-grid,.narrative-grid,.donation-layout,.contact-layout{grid-template-columns:1fr}.band-grid .text-link{grid-column:auto}.intro-band{padding:45px 0}.section{padding:75px 0}.principles,.feature-grid,.program-grid,.involvement-grid,.value-list,.mission-grid{grid-template-columns:1fr}.principles article{margin:0;border-right:0;border-bottom:1px solid var(--line);padding:25px 0}.story-image{height:390px;margin-right:20px}.image-sticker{height:125px;width:125px;right:-20px;font-size:1rem}.feature-card{min-height:300px}.inner-grid{padding-top:45px;padding-bottom:45px;gap:30px}.inner-copy h1{font-size:clamp(2.8rem,8vw,4.4rem)}.inner-visual{height:300px;margin-left:15px}.mission-grid article{min-height:0;padding:35px}.involvement-grid article p{min-height:0}.cta-inner{flex-direction:column;align-items:flex-start}.footer-main{grid-template-columns:1fr 1fr;gap:35px}.footer-main>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column}.form-row{grid-template-columns:1fr}.contact-form,.donation-panel{padding:25px}}@media(max-width:390px){.identity strong{font-size:.87rem}.identity small{font-size:.37rem}.home-hero h1{font-size:2.8rem}.amounts{gap:5px}.amounts button{padding:12px 2px}.footer-main{grid-template-columns:1fr}}


/* BATTLEBRAIN TYPOGRAPHY REFINEMENT */

/* Global headings */
h1, h2, h3, h4 {
  letter-spacing: -0.035em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
}

h3 {
  font-size: 1.35rem;
}

/* Home page hero */
.home-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.12;
  max-width: 850px;
}

/* Other page hero headings */
.inner-copy h1 {
  font-size: clamp(2.5rem, 3.8vw, 3.5rem);
  line-height: 1.15;
}

/* Section headings */
.section-heading h2,
.center-heading h2,
.story-copy h2,
.narrative-grid h2,
.donation-intro h2,
.contact-layout h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
}

/* Card headings */
.principles h3,
.feature-card h3,
.program-card h3,
.involvement-grid h3,
.value-list h3 {
  font-size: 1.3rem;
}

/* Mission and donation headings */
.mission-grid h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.donation-panel h3 {
  font-size: 1.65rem;
}

/* Statement and call-to-action */
.statement-section blockquote {
  font-size: clamp(1.8rem, 3.2vw, 3.5rem);
}

.cta-inner h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
}

/* Supporting text */
.home-hero p,
.inner-copy p,
.narrative-copy p,
.donation-intro > p {
  font-size: 1rem;
  line-height: 1.7;
}

.band-grid p {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

/* Mobile typography */
@media (max-width: 760px) {
  .home-hero h1 {
    font-size: clamp(2.25rem, 8vw, 2.8rem);
  }

  .inner-copy h1 {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  h2,
  .section-heading h2,
  .center-heading h2,
  .story-copy h2,
  .narrative-grid h2,
  .donation-intro h2,
  .contact-layout h2 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .cta-inner h2 {
    font-size: clamp(1.8rem, 6vw, 2.25rem);
  }
}

@media (max-width: 390px) {
  .home-hero h1 {
    font-size: 2.15rem;
  }
}

/* Battlebrain hero headline colours */
.home-hero h1 {
  color: #FFFFFF;
}

.home-hero h1 em {
  color: #FFD34F;
}


/* Home hero accent colour refinement */
.home-hero h1 em {
  color: #66E0D5;
}


/* BATTLEBRAIN HEADER AND NAVIGATION REFINEMENT */

/* Website name */
.identity strong {
  font-size: 1.56rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* Association subtitle */
.identity small {
  font-size: 0.625rem;
  letter-spacing: 0.06em;
}

/* Logo */
.identity img {
  width: 70px;
  height: 70px;
}

/* Navigation menus */
.nav-link {
  font-size: 1rem;
  font-weight: 700;
}

/* Donate navigation button */
.nav-donate {
  font-size: 0.94rem;
}

/* Tablet adjustments */
@media (min-width: 761px) and (max-width: 1050px) {
  .identity strong {
    font-size: 1.3rem;
  }

  .identity small {
    font-size: 0.52rem;
  }

  .identity img {
    width: 58px;
    height: 58px;
  }

  .nav-link {
    font-size: 0.88rem;
  }
}

/* Mobile adjustments */
@media (max-width: 760px) {
  .identity strong {
    font-size: 1.15rem;
  }

  .identity small {
    font-size: 0.48rem;
  }

  .identity img {
    width: 54px;
    height: 54px;
  }

  .nav-link {
    font-size: 1rem;
  }
}


/* BATTLEBRAIN LOGO SIZE REFINEMENT */

/* Desktop */
@media (min-width: 1051px) {
  .site-header {
    height: 105px;
  }

  .identity img {
    width: 85px;
    height: 85px;
    object-fit: contain;
  }

  .home-hero {
    height: min(850px, calc(100svh - 105px));
  }
}

/* Tablet */
@media (min-width: 761px) and (max-width: 1050px) {
  .identity img {
    width: 65px;
    height: 65px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .identity img {
    width: 58px;
    height: 58px;
  }
}



/* BATTLEBRAIN ABOUT PAGE REDESIGN */
.bb-about h1 {
  font-size: clamp(2.4rem, 3.5vw, 3.5rem);
  line-height: 1.16;
}
.bb-about h2 {
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  line-height: 1.2;
}
.bb-about h3 {
  font-size: 1.4rem;
  letter-spacing: -.025em;
}
.bb-about p {
  font-size: 1rem;
  line-height: 1.75;
}
.bb-about .section {
  padding: 85px 0;
}
.bb-about .inner-grid {
  min-height: 490px;
}
.bb-about .inner-visual {
  height: 390px;
}
.bb-story-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 85px;
}
.bb-lead {
  font-weight: 600;
  color: var(--ink);
  font-size: 1.15rem !important;
}
.bb-story-text p {
  margin-bottom: 18px;
}
.bb-story-ending {
  color: var(--teal) !important;
  font-weight: 800;
}
.bb-signature {
  display: block;
  font-weight: 700;
  margin-top: 18px;
}
.bb-purpose-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 24px;
}
.bb-purpose-card {
  padding: 38px;
  background: white;
  border-radius: 12px;
}
.bb-purpose-card h3 {
  margin: 15px 0 20px;
}
.bb-vision-card {
  background: var(--ink);
  color: white;
}
.bb-vision-card p {
  color: #d9e6ea;
}
.bb-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bb-values-grid article {
  padding: 28px 22px;
  background: #f2f7f5;
  border-radius: 10px;
}
.bb-values-grid article span {
  color: var(--teal);
  font-weight: 800;
}
.bb-values-grid h3 {
  margin: 20px 0 10px;
}
.bb-programs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}
.bb-program-list {
  margin: 25px 0;
}
.bb-program-list div {
  display: flex;
  flex-direction: column;
  padding: 13px 0;
  border-bottom: 1px solid #dce5e2;
}
.bb-program-list strong {
  font-size: 1rem;
}
.bb-program-list span {
  font-size: .9rem;
  color: var(--muted);
}
.bb-program-photo {
  height: 520px;
}
.bb-program-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 80px 12px 12px;
}
.bb-about .cta-inner h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}
@media (max-width: 760px) {
  .bb-story-grid,
  .bb-purpose-grid,
  .bb-programs-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .bb-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bb-about .section {
    padding: 60px 0;
  }
  .bb-about .inner-grid {
    min-height: 0;
  }
  .bb-about .inner-visual {
    height: 300px;
  }
  .bb-program-photo {
    height: 350px;
  }
}
@media (max-width: 440px) {
  .bb-values-grid {
    grid-template-columns: 1fr;
  }
}

/* ABOUT US FINAL LAYOUT REFINEMENTS */

/* Better balance between founder story columns */
@media (min-width: 761px) {
  .bb-story-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 55px;
  }
}

/* Improve readability */
.bb-story-text p,
.bb-purpose-card p,
.bb-values-grid p,
.bb-programs-layout p {
  color: #43566b;
}

/* Maintain readable text in the dark vision card */
.bb-vision-card p {
  color: #e0eaf0;
}

/* Make the vision card more visually balanced */
.bb-vision-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Refine image presentation */
.bb-program-photo img {
  object-position: center 35%;
}



/* Battlebrain Programs redesign: scoped to programs page */
.programs-page{overflow:hidden;color:#10253b}
.programs-page h1,.programs-page h2,.programs-page h3{font-family:'Plus Jakarta Sans',sans-serif;letter-spacing:-.045em;line-height:1.15}
.programs-page h1 em,.programs-page h2 em{font-style:normal;color:#008b8b}
.programs-page p{line-height:1.85}
.programs-hero{background:#f0f7f4;padding:clamp(65px,7vw,115px) 0}
.programs-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,85px);align-items:center}
.programs-hero h1{font-size:clamp(38px,4.7vw,68px);font-weight:750;margin:22px 0}
.programs-hero-copy>p{max-width:560px;font-size:clamp(16px,1.2vw,19px);color:#51697c}
.programs-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:32px}
.programs-text-link{color:#10253b;font-weight:700;text-decoration:none}
.programs-hero-art{position:relative;min-height:420px}
.programs-hero-art img{width:100%;height:100%;min-height:420px;object-fit:cover;border-radius:8px 90px 8px 8px;display:block}
.programs-photo-label{position:absolute;bottom:20px;left:-15px;padding:14px 22px;background:#ffd15b;color:#10253b;font-weight:800;font-size:12px;letter-spacing:.12em}
.programs-heading{max-width:780px;margin-bottom:46px}
.programs-heading h2,.programs-challenge h2,.programs-partners h2{font-size:clamp(34px,3.7vw,54px);margin:16px 0 22px}
.programs-heading p{max-width:650px;color:#526b7c}
.programs-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.programs-feature{background:#f3f8f6;padding:clamp(25px,2.8vw,40px);min-height:310px;display:flex;flex-direction:column;border-radius:12px}
.programs-feature-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#008586;font-weight:800;font-size:11px;letter-spacing:.1em}
.programs-symbol{font-size:29px;color:#008586;letter-spacing:0}
.programs-feature h3{font-size:clamp(23px,2vw,30px);margin:38px 0 12px}
.programs-feature p{font-size:15px;color:#536d7d;margin:0 0 24px}
.programs-skill{margin-top:auto;font-size:12px;font-weight:700;color:#007c80}
.programs-feature-accent{background:#10253b;color:#fff;justify-content:center}
.programs-feature-accent h3{font-size:clamp(27px,2.5vw,38px);margin:18px 0}
.programs-feature-accent p{color:#d9e7ef}
.programs-feature-accent a{color:#ffd15b;font-weight:700;text-decoration:none;margin-top:auto}
.programs-challenge{background:#f8f7f2;padding:clamp(65px,7vw,110px) 0}
.programs-challenge-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,6vw,90px);align-items:center}
.programs-challenge-copy p,.programs-partners p{color:#526b7c;font-size:16px}
.programs-challenge-visual img{display:block;width:100%;height:440px;object-fit:cover;border-radius:85px 8px 8px 8px}
.programs-pill-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}
.programs-pill-row span{border:1px solid #b8d7d3;padding:9px 14px;border-radius:30px;font-size:12px;font-weight:700;color:#006e73}
.programs-partners-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.programs-partners .button{display:inline-flex;margin-top:20px}
@media(max-width:900px){.programs-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.programs-hero-grid,.programs-challenge-grid,.programs-partners-grid{grid-template-columns:1fr}.programs-hero-art,.programs-hero-art img{min-height:330px}.programs-challenge-visual img{height:360px}}
@media(max-width:600px){.programs-feature-grid{grid-template-columns:1fr}.programs-feature{min-height:260px}.programs-hero{padding:55px 0}.programs-hero-art,.programs-hero-art img{min-height:260px}.programs-photo-label{left:0}.programs-challenge-visual img{height:270px}}


/* BEGIN BATTLEBRAIN PROGRAMS REFERENCE LAYOUT — scoped to this page only */
.bb-programs-ref{color:#10253b;background:#fff;font-family:'DM Sans',sans-serif;overflow:hidden}
.bb-programs-ref *{box-sizing:border-box}
.bb-programs-ref h1,.bb-programs-ref h2,.bb-programs-ref h3{font-family:'Plus Jakarta Sans',sans-serif;letter-spacing:-.045em;line-height:1.13}
.bb-programs-ref p{line-height:1.5}
.bbp-hero{display:grid;grid-template-columns:43% 57%;min-height:440px;background:#eff5fb;position:relative}
.bbp-hero-copy{position:relative;display:flex;align-items:center;z-index:1;background:linear-gradient(105deg,#eaf3fc,#fff);padding:55px 15px 55px max(32px,calc((100vw - 1250px)/2));}
.bbp-hero-copy:after{content:'';position:absolute;right:-65px;top:0;bottom:0;width:70px;background:#e30620;clip-path:polygon(83% 0,100% 0,17% 100%,0 100%);z-index:3}
.bbp-hero-copy-inner{max-width:530px;position:relative;z-index:4;padding-right:18px}
.bbp-kicker{display:inline-flex;align-items:center;gap:9px;color:#d9001b;font-size:11px;letter-spacing:.06em;font-weight:800;text-transform:uppercase}
.bbp-kicker:before{content:'';display:inline-block;width:16px;height:3px;background:#ed1530}
.bbp-hero h1{font-size:clamp(35px,3.45vw,57px);font-weight:800;margin:16px 0 14px;color:#10253b}
.bbp-hero h1 em{font-style:italic;color:#e30620}
.bbp-hero-copy p{font-size:15px;max-width:435px;margin:0 0 25px}
.bbp-primary-button{display:inline-flex;align-items:center;gap:16px;background:#e30620;color:white!important;padding:14px 21px;border-radius:7px;font-size:13px;font-weight:800;text-decoration:none;transition:background .2s}
.bbp-primary-button:hover{background:#b9001b}
.bbp-hero-image{min-width:0;overflow:hidden}
.bbp-hero-image img{display:block;width:100%;height:100%;min-height:440px;object-fit:cover;object-position:center}
.bbp-program-section{padding:52px 25px 60px}
.bbp-section-heading{text-align:center;max-width:740px;margin:0 auto 34px}
.bbp-kicker-centered:after{content:'';display:inline-block;width:16px;height:3px;background:#ed1530}
.bbp-section-heading h2{font-size:clamp(27px,2.6vw,40px);margin:10px 0}
.bbp-section-heading p{font-size:15px;color:#536477;margin:0}
.bbp-card-grid{max-width:1250px;margin:0 auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}
.bbp-card{--accent:#e30620;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 6px 20px rgba(16,37,59,.10);border-bottom:6px solid var(--accent);min-width:0}
.bbp-red{--accent:#e30620}.bbp-blue{--accent:#1477d4}.bbp-green{--accent:#20a65b}.bbp-yellow{--accent:#f0ba00}.bbp-purple{--accent:#6f3bb9}
.bbp-card-image{position:relative;height:175px}
.bbp-card-image img{width:100%;height:100%;object-fit:cover;display:block}
.bbp-card-icon{position:absolute;bottom:-15px;left:14px;display:grid;place-items:center;background:var(--accent);color:white;font-size:22px;font-weight:800;width:43px;height:43px;border:3px solid #fff;border-radius:10px}
.bbp-card-body{padding:26px 14px 18px}
.bbp-card h3{font-size:18px;font-weight:800;margin:0 0 9px}
.bbp-card p{font-size:13px;margin:0;color:#26374b}
.bbp-competition{max-width:1250px;margin:0 auto 65px;padding:0 25px;display:grid;grid-template-columns:46% 54%;gap:30px;align-items:center}
.bbp-competition-image img{display:block;width:100%;height:330px;object-fit:cover;border-radius:10px}
.bbp-competition-copy h2{font-size:clamp(28px,2.7vw,42px);margin:12px 0}
.bbp-competition-copy p{font-size:15px;color:#35475b;margin:0 0 20px}
.bbp-benefits{display:flex;gap:0;margin:22px 0}
.bbp-benefits div{display:flex;align-items:center;gap:10px;flex:1;padding:0 12px;border-right:1px solid #d9dfe5}
.bbp-benefits div:first-child{padding-left:0}.bbp-benefits div:last-child{border-right:0}
.bbp-benefits strong{color:#e30620;font-size:23px}.bbp-benefits span{font-size:12px;font-weight:800;line-height:1.3}
@media(max-width:1050px){.bbp-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bbp-hero{grid-template-columns:48% 52%}.bbp-hero-copy{padding-left:35px}.bbp-hero h1{font-size:clamp(34px,4.1vw,48px)}}
@media(max-width:700px){.bbp-hero{grid-template-columns:1fr}.bbp-hero-copy{padding:42px 24px}.bbp-hero-copy:after{display:none}.bbp-hero-image img{height:270px;min-height:0}.bbp-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bbp-program-section{padding:40px 18px}.bbp-card-image{height:150px}.bbp-card-body{padding:25px 12px 15px}.bbp-card h3{font-size:16px}.bbp-competition{grid-template-columns:1fr;padding:0 18px;gap:22px}.bbp-competition-image img{height:260px}.bbp-benefits{flex-wrap:wrap;gap:10px}.bbp-benefits div{min-width:100px}}
@media(max-width:420px){.bbp-card-grid{grid-template-columns:1fr}.bbp-card-image{height:220px}}
/* END BATTLEBRAIN PROGRAMS REFERENCE LAYOUT */
/* Science and Art cards: show more of the children's heads */
.bbp-card.bbp-green .bbp-card-image img,
.bbp-card.bbp-yellow .bbp-card-image img {
  object-fit: cover;
  object-position: center top;
}
/* Programs hero: remove diagonal stripe and show full photograph */
.bbp-hero-copy::after {
  display: none;
}

.bbp-hero-image {
  overflow: hidden;
}

.bbp-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: contain;
  object-position: center center;
  background: #eff5fb;
}

@media (max-width: 700px) {
  .bbp-hero-image img {
    height: auto;
    min-height: 0;
  }
}

/* Vision Computer Services website credit */
.website-credit {
  display: block;
  text-align: center;
  padding: 14px 20px;
  font-size: 13px;
  color: #64748b;
}

.website-credit a {
  color: #008b8b;
  font-weight: 700;
  text-decoration: none;
}

.website-credit a:hover {
  text-decoration: underline;
}

/* Battlebrain client revision: photo labels */
.inner-visual .photo-tag {
  left: 16px !important;
  bottom: 16px !important;
  right: auto !important;
  max-width: calc(100% - 32px);
  box-sizing: border-box;
  transform: none !important;
}
@media (max-width: 480px) {
  .inner-visual .photo-tag {
    left: 10px !important;
    bottom: 10px !important;
    max-width: calc(100% - 20px);
  }
}

/* Homepage youth hero image positioning */
.home-hero-image {
    object-position: center top !important;
}

/* Homepage belief statement typography */
.intro-band .band-grid > p {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.1px;
    color: #10253b;
}

.intro-band .eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .intro-band .band-grid > p {
        font-size: 18px;
        line-height: 1.7;
    }
}


/* GET INVOLVED - COMMUNITY IMPACT */
.involved-impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.involved-community-image {
    position: relative;
    height: clamp(280px, 30vw, 420px);
    overflow: hidden;
    border-radius: 16px;
}

.involved-community-image img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

.involved-impact-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 768px) {
    .involved-impact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .involved-community-image {
        height: 300px;
    }
}

/* Get Involved - final visual refinement */

.involved-community-image img {
    height: 210%;
    bottom: 0;
    object-position: center bottom;
}

.involved-impact-content {
    gap: 12px;
}

.involved-impact-content .narrative-copy {
    margin-top: 0;
    padding-top: 0;
}



/* Donate page - educational impact photograph */

.donation-impact-image {
    width: 100%;
    margin: 26px 0;
    overflow: hidden;
    border-radius: 14px;
}

.donation-impact-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.inner-visual img[src="/assets/images/bbdonate.png"] {
    object-position: center center;
}

@media (max-width: 768px) {
    .donation-impact-image {
        margin: 20px 0;
        border-radius: 10px;
    }
}

/* Client revisions - Homepage */

.home-hero h1 {
    font-size: clamp(42px, 4.5vw, 78px);
    max-width: 1000px;
    line-height: 1.12;
    font-weight: 800;
}

.home-hero h1 em {
    color: #f7c957;
}

.home-hero-shade {
    background: linear-gradient(
        90deg,
        rgba(16,37,59,.72),
        rgba(16,37,59,.35) 55%,
        transparent 100%
    );
}

.home-slogan-bar {
    background: #0755a5;
    color: #ffffff;
    text-align: center;
    padding: 20px 15px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 3px;
}

/* Homepage mobile responsiveness */

@media (max-width: 760px) {
    .home-hero {
        height: auto;
        min-height: 580px;
    }

    .home-hero-content {
        min-height: 580px;
        padding: 45px 0;
    }

    .home-hero h1 {
        font-size: clamp(32px, 8vw, 48px);
        line-height: 1.18;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .home-hero-shade {
        background: rgba(16,37,59,.65);
    }

    .home-slogan-bar {
        font-size: 13px;
        letter-spacing: 2px;
        padding: 16px 10px;
    }

    .hero-actions {
        width: 100%;
    }
}


/* Client revision - enlarged header and footer logos */

.site-header {
  height: 130px;
}

.identity {
  gap: 15px;
}

.identity img {
  width: 115px;
  height: 115px;
  object-fit: contain;
  flex-shrink: 0;
}

.identity strong {
  font-size: 1.65rem;
}

.identity small {
  font-size: 0.70rem;
  letter-spacing: 0.06em;
}

.footer-brand img {
  width: 115px;
  height: 115px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer-brand {
  font-size: 1.4rem;
}

/* Tablet */

@media (max-width: 1050px) {
  .site-header {
    height: 105px;
  }

  .identity img {
    width: 90px;
    height: 90px;
  }

  .identity strong {
    font-size: 1.2rem;
  }

  .identity small {
    font-size: 0.52rem;
  }
}

/* Mobile */

@media (max-width: 760px) {
  .site-header {
    height: 100px;
    padding: 0 12px;
  }

  .identity {
    gap: 8px;
  }

  .identity img {
    width: 80px;
    height: 80px;
  }

  .identity strong {
    font-size: 1.05rem;
  }

  .identity small {
    font-size: 0.48rem;
  }

  .nav-links {
    top: 100%;
  }

  .menu-toggle {
    flex-shrink: 0;
  }

  .footer-brand img {
    width: 100px;
    height: 100px;
  }
}


/* Transparent footer logo background */

.footer-brand img {
  background: transparent !important;
  border-radius: 0;
  padding: 0;
}


/* Improve footer logo visibility */

.footer-brand img {
  background: transparent !important;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.95))
          drop-shadow(0 0 4px rgba(255,255,255,0.45));
}


/* Refined footer logo contrast */

.footer-brand img {
  background: transparent !important;
  filter: brightness(1.25)
          drop-shadow(0 0 1px rgba(255,255,255,0.7));
}


/* Homepage - Every effort matters caption */
.story-image .image-sticker {
    position: static !important;
    transform: none !important;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    box-sizing: border-box;
    margin: 12px 0 0;
    padding: 18px 15px;
    border-radius: 6px;
    background: #f8c84e;
    color: #10253b;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

.story-image .image-sticker br {
    display: none;
}

.story-image {
    height: auto;
    overflow: visible;
}

.story-image > img {
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    .story-image .image-sticker {
        font-size: 17px;
        padding: 14px;
    }
}


/* ABOUT US - Hero caption */

.bb-about .inner-visual {
    height: auto !important;
    overflow: visible !important;
}

.bb-about .inner-visual .photo-tag {
    position: static !important;
    transform: none !important;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 12px 0 0;
    padding: 18px 15px;
    background: #1059a5;
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Founder's profile */

.bb-leader-profile {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 35px;
    padding-top: 28px;
    border-top: 1px solid #dce5ec;
}

.bb-leader-profile > img {
    display: block;
    width: 210px;
    height: 250px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Leadership names and titles */

.bb-leader-name h3 {
    color: #10253b;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px;
}

.bb-leader-name > span {
    display: block;
    color: #1059a5;
    font-size: 16px;
    font-weight: 700;
}

.bb-leader-name p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 8px;
}

/* Executive Coordinator section */

.bb-coordinator {
    background: #edf4f9;
    padding: 85px 0;
}

.bb-coordinator-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
    gap: 65px;
    align-items: start;
}

.bb-coordinator-photo {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
}

.bb-coordinator-photo > img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 14px 75px 14px 14px;
}

.bb-coordinator-photo .bb-leader-name {
    padding: 22px 0;
}

.bb-coordinator-message h2 {
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.2;
    margin: 14px 0 28px;
}

.bb-coordinator-message h2 em {
    color: #1059a5;
    font-style: normal;
}

.bb-coordinator-message p {
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 20px;
}

.bb-coordinator-signature {
    margin-top: 28px;
    padding-left: 18px;
    border-left: 4px solid #f8c84e;
    color: #10253b;
    line-height: 1.8;
}

/* Mobile leadership layout */

@media (max-width: 768px) {

    .bb-coordinator {
        padding: 45px 0;
    }

    .bb-coordinator-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .bb-coordinator-photo {
        max-width: 320px;
    }

    .bb-leader-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
    }

    .bb-leader-profile > img {
        width: 220px;
        max-width: 100%;
        height: 270px;
    }

    .bb-coordinator-photo .bb-leader-name {
        text-align: center;
    }

    .bb-coordinator-message p {
        font-size: 16px;
        line-height: 1.75;
    }

    .bb-about .inner-visual .photo-tag {
        font-size: 12px;
        padding: 14px 10px;
    }
}


/* PROGRAMS PAGE - Client branding revisions */

/* Blue and yellow diagonal accent */

.bbp-hero-copy::after {
    background: linear-gradient(
        180deg,
        #0755a5 0%,
        #0755a5 50%,
        #f7c957 50%,
        #f7c957 100%
    );
}

/* Hero headline accent */

.bbp-hero h1 em {
    color: #0755a5;
}

/* Section labels and decorative lines */

.bbp-kicker {
    color: #0755a5;
}

.bbp-kicker::before,
.bbp-kicker-centered::after {
    background: #0755a5;
}

/* Explore Our Programs and Get Involved buttons */

.bbp-primary-button {
    background: #0755a5;
    color: #ffffff !important;
}

.bbp-primary-button:hover {
    background: #10253b;
}

/* Competition benefit icons */

.bbp-benefits strong {
    color: #0755a5;
}

/* Replace red program card accent */

.bbp-card.bbp-red {
    --accent: #0755a5;
}


/* GET INVOLVED - Caption underneath photograph */

.bb-involved .inner-visual {
    height: auto !important;
    overflow: visible !important;
}

.bb-involved .inner-visual > img {
    display: block;
    width: 100%;
}

.bb-involved .inner-visual .photo-tag {
    position: static !important;
    transform: none !important;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 12px 0 0;
    padding: 18px 15px;
    background: #f8c84e;
    color: #10253b;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .bb-involved .inner-visual .photo-tag {
        font-size: 12px;
        padding: 14px 10px;
    }
}


/* CONTACT AND DONATE - Captions below photographs */

.bb-contact .inner-visual,
.bb-donate .inner-visual {
    height: auto !important;
    overflow: visible !important;
}

.bb-contact .inner-visual > img,
.bb-donate .inner-visual > img {
    display: block;
    width: 100%;
}

.bb-contact .inner-visual .photo-tag,
.bb-donate .inner-visual .photo-tag {
    position: static !important;
    transform: none !important;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 12px 0 0;
    padding: 18px 15px;
    background: #f8c84e;
    color: #10253b;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .bb-contact .inner-visual .photo-tag,
    .bb-donate .inner-visual .photo-tag {
        font-size: 12px;
        padding: 14px 10px;
    }
}


/* OFFICIAL BATTLEBRAIN EMAIL - SITEWIDE */

.bb-email-bar {
    background: #10253b;
    color: #ffffff;
    width: 100%;
}

.bb-email-bar-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 8px 35px;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
}

.bb-email-bar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.bb-email-bar a span {
    color: #f8c84e;
    font-size: 17px;
}

.bb-email-bar a:hover {
    color: #f8c84e !important;
}

/* Footer email */

.site-footer .bb-footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f8c84e !important;
    font-size: 14px;
    font-weight: 600;
    margin-top: 14px;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.site-footer .bb-footer-email:hover {
    text-decoration: underline;
}

/* Contact page direct email */

.bb-direct-email {
    margin-top: 30px;
    padding: 22px;
    background: #edf4f9;
    border-left: 4px solid #1059a5;
    border-radius: 6px;
}

.bb-direct-email h3 {
    color: #10253b;
    font-size: 20px;
    margin: 0 0 10px;
}

.bb-direct-email p {
    margin: 0 0 12px;
    line-height: 1.7;
}

.bb-direct-email a {
    color: #1059a5;
    font-size: 16px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.bb-direct-email a:hover {
    text-decoration: underline;
}

/* Mobile email layout */

@media (max-width: 768px) {
    .bb-email-bar-inner {
        justify-content: center;
        padding: 7px 12px;
    }

    .bb-email-bar a {
        font-size: 12px;
    }

    .bb-direct-email {
        padding: 18px;
    }

    .bb-direct-email a {
        font-size: 14px;
    }
}


/* Official email bar - final refinement */

.bb-email-bar-inner {
    min-height: 38px;
    padding: 9px 35px;
    align-items: center;
}

.bb-email-bar a {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.bb-email-bar a span {
    font-size: 18px;
}

@media (max-width: 768px) {
    .bb-email-bar-inner {
        min-height: 34px;
        padding: 7px 12px;
    }

    .bb-email-bar a {
        font-size: 13px;
    }
}


/* FINAL POLISH - Hero caption alignment */

.bb-about .inner-visual .photo-tag,
.bb-involved .inner-visual .photo-tag,
.bb-contact .inner-visual .photo-tag,
.bb-donate .inner-visual .photo-tag {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* PROGRAMS - Golden yellow headline accent */

.bbp-hero h1 em {
    color: #0755a5;
    text-decoration: underline;
    text-decoration-color: #f8c84e;
    text-decoration-thickness: 5px;
    text-underline-offset: 9px;
    text-decoration-skip-ink: auto;
}

@media (max-width: 768px) {
    .bbp-hero h1 em {
        text-decoration-thickness: 3px;
        text-underline-offset: 6px;
    }
}


/* HOMEPAGE - Split hero layout */

.home-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    height: auto !important;
    min-height: 560px !important;
    background: #10253b;
    overflow: hidden;
    align-items: stretch;
}

/* Photograph on the right */

.home-hero .home-hero-image {
    position: static !important;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.05) saturate(1.04);
}

/* Remove the dark photograph overlay */

.home-hero .home-hero-shade {
    display: none !important;
}

/* Headline on the left */

.home-hero .home-hero-content {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    width: 100% !important;
    max-width: none;
    height: auto !important;
    min-width: 0;
    margin: 0;
    padding: 65px clamp(28px, 4vw, 80px) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: #10253b;
}

/* Large readable headline */

.home-hero .home-hero-content h1 {
    font-size: clamp(36px, 3.5vw, 68px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.045em;
    color: #ffffff !important;
    max-width: 100%;
    margin: 0 0 28px;
}

.home-hero .home-hero-content h1 em {
    color: #f8c84e !important;
}

/* Homepage buttons */

.home-hero .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.home-hero .button-glass {
    background: transparent;
    border: 1px solid rgba(255,255,255,.65);
    color: #ffffff;
    backdrop-filter: none;
}

.home-hero .button-glass:hover {
    background: rgba(255,255,255,.12);
}

/* Tablet and mobile layout */

@media (max-width: 900px) {

    .home-hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0 !important;
        height: auto !important;
    }

    .home-hero .home-hero-content {
        grid-column: 1;
        grid-row: 1;
        padding: 45px 25px !important;
    }

    .home-hero .home-hero-content h1 {
        font-size: clamp(32px, 6.5vw, 48px) !important;
        line-height: 1.15 !important;
    }

    .home-hero .home-hero-image {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-width: 480px) {

    .home-hero .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .home-hero .hero-actions .button {
        width: 100%;
        justify-content: center;
    }

    .home-hero .home-hero-content {
        padding: 35px 22px !important;
    }
}


/* MOBILE HOMEPAGE - Remove excessive hero spacing */

@media (max-width: 900px) {

    .home-hero {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        grid-template-rows: auto auto !important;
        grid-auto-rows: auto !important;
    }

    .home-hero .home-hero-content {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 35px 24px !important;
        justify-content: flex-start !important;
        box-sizing: border-box;
    }

    .home-hero .home-hero-content h1 {
        margin: 0 0 20px !important;
    }

    .home-hero .hero-actions {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .home-hero .home-hero-image {
        display: block;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        width: 100%;
        object-fit: contain;
    }
}

@media (max-width: 480px) {

    .home-hero .home-hero-content {
        padding: 30px 22px !important;
    }

    .home-hero .hero-actions .button {
        box-sizing: border-box;
        min-height: 48px;
    }
}


/* GET INVOLVED - Mobile community image correction */

@media (max-width: 768px) {

    .involved-community-image {
        width: 100%;
        height: auto !important;
        aspect-ratio: 1.8 / 1;
        overflow: hidden;
        border-radius: 12px;
    }

    .involved-community-image img {
        position: absolute;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        bottom: 0;
        left: 0;
        object-fit: contain !important;
        object-position: center bottom;
    }
}


/* Remove remaining upper photograph strip */
@media (max-width: 768px) {
    .involved-community-image {
        aspect-ratio: 1.88 / 1;
    }
}


/* CONTACT PAGE - Mobile photograph correction */

@media (max-width: 768px) {

    .bb-contact .inner-visual {
        height: auto !important;
        overflow: visible !important;
    }

    .bb-contact .inner-visual > img {
        display: block;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center;
        border-radius: 12px !important;
    }
}


/* DONATE - Keep e-transfer email on one line */

@media (max-width: 768px) {
    .etransfer-details strong,
    .etransfer-details a[href^="mailto:"] {
        font-size: clamp(10px, 3.5vw, 14px) !important;
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        letter-spacing: -0.2px;
    }
}

