/*
Theme Name: Y Strong Kids
Description: Responsive Vancouver Island Y donation campaign.
Version: 1.0
*/
@font-face{font-family:Barlow;src:url(assets/font-1.ttf);font-weight:800;font-display:swap}@font-face{font-family:Barlow;src:url(assets/font-0.ttf);font-weight:700;font-display:swap}@font-face{font-family:Public;src:url(assets/font-2.ttf);font-weight:400;font-display:swap}@font-face{font-family:Public;src:url(assets/font-4.ttf);font-weight:700;font-display:swap}
:root{--navy:#201a56;--red:#c52b2b;--teal:#3ab6bb;--ink:#242331;--paper:#f8f7f5}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--ink);background:var(--paper);font:400 16px/1.65 Public,Arial,sans-serif}img{display:block;max-width:100%}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible+span{outline:3px solid #247dc1;outline-offset:5px}a:hover{text-decoration:underline;text-underline-offset:5px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Barlow,Arial,sans-serif;color:var(--navy);font-weight:800;line-height:1.04}h2{font-size:clamp(32px,3.25vw,48px)}h2 span{color:var(--red)}.wrap{width:88%;max-width:1400px;margin-inline:auto}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;line-height:1.5}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 24px;background:var(--red);color:#fff;min-height:56px;border:0;border-radius:3px;font-weight:700;font-size:14px;cursor:pointer;transition:background .2s}.button:hover{background:#9e2222;text-decoration:none}.button span{font-size:23px;line-height:1}.campaign-bar{display:flex;justify-content:space-between;padding:10px 6%;background:var(--navy);color:#fff;font-size:10px;letter-spacing:1.3px;font-weight:700}.campaign-bar>span{letter-spacing:.3px;font-weight:400}.site-header{display:flex;align-items:center;justify-content:space-between;min-height:108px;gap:20px}.brand{width:215px}nav{display:flex;align-items:center;gap:32px;font-size:13px;font-weight:700}nav .button{min-height:46px;padding:12px 20px}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:610px}.hero-copy{position:relative;overflow:hidden;background:var(--navy);color:#fff;display:flex;align-items:center;padding:55px 10% 60px 12%}.hero-inner{position:relative;z-index:1}.hero-copy .eyebrow{color:#7bdbdf;margin-bottom:22px}h1{font-size:clamp(47px,5.2vw,82px);color:white;line-height:.99;letter-spacing:-1px}h1 span{color:#72d1d5}.hero-copy p:not(.eyebrow){font-size:17px;line-height:1.6;margin:24px 0 28px}.hero-copy .button{background:white;color:var(--navy)}.hero-copy .button:hover{background:#d8f0f1}.text-link{display:block;font-size:11px;margin-top:24px}.text-link span{margin-left:12px}.hero-circle{position:absolute;width:450px;height:450px;border:80px solid #3ab6bb;opacity:.12;border-radius:50%;bottom:-300px;right:-140px}.hero-image{position:relative;min-width:0;overflow:hidden}.hero-image>img{height:100%;width:100%;object-fit:cover;object-position:40% center}.logo-tile{position:absolute;right:28px;top:28px;background:#fff;width:135px;padding:8px;box-shadow:0 4px 15px #0002;transform:rotate(3deg)}.photo-caption{position:absolute;left:0;bottom:0;background:var(--teal);color:var(--navy);padding:15px 28px;font-size:12px;font-weight:700}.intro{display:grid;grid-template-columns:1fr 1fr;gap:8%;padding-block:90px}.intro .eyebrow{color:var(--red);margin-bottom:22px}.intro-story{font-size:15px}.intro-story p+p{margin-top:18px}.strong{font-weight:700;color:var(--navy)}.programs{padding-bottom:95px;border-top:1px solid #dedce3;padding-top:48px}.section-heading{display:flex;justify-content:space-between;gap:35px;align-items:end;margin-bottom:35px}.section-heading .eyebrow{color:var(--red);margin-bottom:14px}.section-heading>p{font-size:12px;color:#666;flex-shrink:0}.section-heading h2{font-size:clamp(29px,2.8vw,42px)}.program-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.program{background:#fff;display:flex;flex-direction:column;border-bottom:3px solid var(--teal)}.program-photo{position:relative;aspect-ratio:1.3;overflow:hidden}.program-photo img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.program:hover img{transform:scale(1.035)}.program-photo>span{position:absolute;bottom:0;left:0;background:var(--navy);color:white;padding:7px 14px;font-size:12px;font-weight:700}.program-body{padding:24px 20px 26px;display:flex;flex-direction:column;flex:1}.program .eyebrow{font-size:9px;letter-spacing:.7px;color:var(--red);min-height:28px}.program h3{font-size:25px;line-height:1.12;margin:7px 0 18px}.program-body>p:not(.eyebrow){font-size:12px;line-height:1.85;margin-bottom:25px}.program a{margin-top:auto;font-size:12px;font-weight:700;color:var(--navy);border-top:1px solid #e5e5e5;padding-top:18px}.program a span{color:var(--red)}.give-section{background:var(--navy);color:#fff;position:relative;overflow:hidden;padding-block:80px}.give-section:before{content:'';position:absolute;inset:0;background:url(assets/imgRectangle17.png) center/cover;opacity:.08;pointer-events:none}.give-grid{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:11%;align-items:center}.give-copy>.eyebrow{color:#7bdbdf;margin-bottom:22px}.give-copy h2{color:#fff;font-size:clamp(42px,4.4vw,64px)}.give-copy h2 span{color:#78d5d8}.give-copy>p:not(.eyebrow){font-size:15px;max-width:440px;margin-top:24px}.local-note{display:flex;gap:16px;margin-top:35px;border-top:1px solid #ffffff40;padding-top:24px;max-width:440px}.local-note>span{color:#78d5d8;font-size:37px;line-height:1}.local-note p{font-size:12px;color:#e3e0f0}.gift-card{background:white;color:var(--ink);padding:36px;border-top:5px solid var(--teal);box-shadow:0 10px 35px #0002}.gift-card h3{font-size:30px}.gift-card>p{font-size:12px;color:#666;margin-top:10px}fieldset{border:0;padding:0;margin:0}.frequency{display:grid;grid-template-columns:1fr 1fr;background:#efedf4;padding:4px;margin:26px 0}.frequency label{position:relative;text-align:center}.frequency input,.amounts input{position:absolute;opacity:0;width:1px;height:1px}.frequency span{display:block;padding:11px 10px;font-size:13px;font-weight:700;cursor:pointer}.frequency input:checked+span{color:#fff;background:var(--navy);box-shadow:0 2px 4px #0001}.amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.amounts legend{font-size:12px;font-weight:700;margin-bottom:13px}.amounts legend span{font-weight:400;color:#777}.amounts label{position:relative}.amounts label span{border:1px solid #d5d2df;border-radius:3px;display:block;padding:12px 5px;text-align:center;font-size:19px;color:var(--navy);font-weight:700;cursor:pointer}.amounts input:checked+span{background:#edf8f8;border:2px solid #16838a;padding:11px 4px;color:#12666b}.gift-summary{font-size:11px;margin-top:24px;display:flex;justify-content:space-between;border-top:1px solid #e4e1e9;padding-top:17px}.gift-card>.button{width:100%;margin-top:17px}.gift-card .secure{text-align:center;font-size:11px;color:var(--navy);margin-top:16px}.gift-card .checkout-note{text-align:center;font-size:10px;margin-top:7px}.together{text-align:center;padding-block:90px 100px}.together .eyebrow{color:var(--red);margin-bottom:22px}.together h2{font-size:clamp(34px,4vw,56px);line-height:1.1;text-transform:uppercase}.together .button{margin-top:30px}footer{background:#eeedf2;padding:45px 0 20px}.footer-main{display:flex;align-items:center;justify-content:space-between;gap:25px}.footer-brand{width:190px}.footer-main p{font-family:Barlow;font-size:22px;line-height:1.1;font-weight:700;color:var(--navy)}.footer-main>div a{display:block;font-size:11px}.back-top{font-size:11px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#666;border-top:1px solid #d1ceda;padding-top:20px;margin-top:35px}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;top:10px;left:10px;background:#fff;padding:15px;z-index:50}
@media(min-width:1600px){.hero-copy{padding-left:max(12%,calc((100vw - 1400px)/2))}}@media(max-width:1050px){.hero{min-height:550px}.hero-copy{padding-left:10%;padding-right:8%}h1{font-size:58px}.program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.program h3{font-size:29px}.program-body>p:not(.eyebrow){font-size:14px}.program .eyebrow{font-size:10px;min-height:0}.program a{font-size:13px}.section-heading{display:block}.section-heading>p{margin-top:18px}.give-grid{gap:6%}.gift-card{padding:27px}.gift-card h3{font-size:26px}.footer-main p{display:none}}
@media(max-width:650px){.wrap{width:88%}.campaign-bar{font-size:8px;letter-spacing:.6px;padding:9px 6%;gap:10px}.campaign-bar>span{font-size:8px}.site-header{min-height:86px}.brand{width:154px}nav{gap:0}nav>a:not(.button){display:none}nav .button{font-size:11px;min-height:42px;gap:13px;padding:10px 13px}.hero{grid-template-columns:1fr}.hero-copy{padding:47px 6% 45px}.hero-copy .eyebrow{font-size:10px;margin-bottom:18px}h1{font-size:clamp(49px,12vw,75px)}.hero-copy p:not(.eyebrow){font-size:15px;margin-top:21px}.hero-image{height:340px}.hero-image>img{object-position:50% 48%}.logo-tile{width:104px;right:20px;top:20px}.photo-caption{font-size:10px;padding:12px 6%}.intro{grid-template-columns:1fr;gap:25px;padding-block:52px}.intro h2{font-size:36px}.intro .eyebrow{margin-bottom:16px}.intro-story{font-size:14px}.programs{padding-top:35px;padding-bottom:55px}.section-heading h2{font-size:32px;max-width:290px}.section-heading .eyebrow{font-size:9px}.section-heading>p{font-size:12px}.program-grid{grid-template-columns:1fr;gap:24px}.program-photo{aspect-ratio:1.6}.program h3{font-size:29px}.program-body{padding:24px}.program-body>p:not(.eyebrow){font-size:14px;line-height:1.75}.program a{font-size:13px}.give-section{padding-block:52px}.give-grid{grid-template-columns:1fr;gap:35px}.give-copy h2{font-size:48px}.give-copy>.eyebrow{font-size:9px}.give-copy>p:not(.eyebrow){font-size:14px}.local-note{margin-top:25px}.gift-card{padding:26px 22px}.gift-card h3{font-size:27px}.together{padding-block:55px 65px}.together h2{font-size:34px}.together .eyebrow{font-size:9px}.footer-main{flex-wrap:wrap;align-items:start}.footer-brand{width:160px}.footer-main>div{width:100%}.footer-main>div a{font-size:12px}.back-top{margin-left:auto}.footer-bottom{flex-direction:column;gap:7px;margin-top:25px}footer{padding-top:35px}.text-link{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Strong Kids header branding */
.site-header .brand{width:auto;height:88px;object-fit:contain}.site-header{padding-block:10px}
@media(max-width:650px){.site-header .brand{width:auto;height:66px}}

/* Fixed campaign navigation */
@font-face{font-family:Public;src:url(assets/font-3.ttf);font-weight:600;font-display:swap}
.masthead{position:fixed;top:0;inset-inline:0;z-index:100;background:rgba(255,255,255,.95);box-shadow:0 3px 12px #0000000a}
body.admin-bar .masthead{top:32px}
@media(max-width:782px){body.admin-bar .masthead{top:46px}body.admin-bar #wpadminbar{position:fixed}}
.masthead .site-header>a:first-child{display:flex;align-items:center;flex:none}
.masthead .site-header>a:first-child::after{
  content:"";
  width:174px;
  height:69px;
  margin-left:24px;
  padding-left:24px;
  border-left:1px solid #ddd;
  box-sizing:content-box;
  background:url("assets/y-vancouver-island-logo.png") center / contain no-repeat content-box;
}
@media(max-width:1000px){
  .masthead .site-header>a:first-child::after{width:135px;height:60px;margin-left:18px;padding-left:18px}
}
@media(max-width:650px){
  .masthead .site-header{gap:10px}
  .masthead .site-header .brand{height:50px}
  .masthead .site-header>a:first-child::after{width:86.25px;height:40px;margin-left:10px;padding-left:10px}
}
.site-header nav{font-family:Public,Arial,sans-serif;font-size:16px;font-weight:600;color:#1f1f1f;gap:29px}
.button{justify-content:center;font-size:16px;font-weight:600;line-height:1.4}
.site-header nav .button{font-size:16px;font-weight:600;min-height:48px;padding:10px 22px}
html{scroll-padding-top:170px}
@media(max-width:650px){.site-header nav .button{font-size:14px;padding:10px 18px}.button{font-size:14px}html{scroll-padding-top:145px}}

/* Program tiles follow the reference child-care cards. */
.program{border:0;border-radius:4px;box-shadow:0 18px 30px #0002;overflow:hidden}
.program-photo{aspect-ratio:368/298}
.program-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 72%,#0009);pointer-events:none}
.program-body{padding:20px 32px 26px}
.program .eyebrow{font-family:Public,Arial,sans-serif;font-size:18px;font-weight:700;line-height:1.35;letter-spacing:0;color:#1f1f1f;min-height:0;text-transform:none;margin-bottom:10px}
.program h3{font-family:Public,Arial,sans-serif;font-size:16px;font-weight:600;line-height:1.45;color:#1f1f1f;margin:0 0 15px}
.program-body>p:not(.eyebrow){font-size:14px;line-height:1.65;color:#1f1f1f}
.program a{font-size:14px;line-height:1.5;border-top:0;padding-top:0;color:#201a56}
@media(max-width:1400px){.program-body{padding:20px}}
@media(max-width:650px){.program-photo{aspect-ratio:368/298}.program-body{padding:20px 24px 26px}}

/* Sliding donation-frequency selection. */
.frequency{position:relative;isolation:isolate}
.frequency:before{content:'';position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);background:var(--navy);box-shadow:0 2px 4px #0001;transform:translateX(0);transition:transform .28s cubic-bezier(.22,1,.36,1);z-index:-1;pointer-events:none}
.frequency:has(input[value="monthly"]:checked):before{transform:translateX(100%)}
.frequency input:checked+span{background:transparent;box-shadow:none}
.frequency span{transition:color .2s ease,background-color .2s ease}
.frequency label:hover span{background-color:#201a560d}
@media(prefers-reduced-motion:reduce){.frequency:before,.frequency span{transition:none}}

.campaign-bar{justify-content:flex-end}

/* Reference-site typography, spacing, full-bleed hero and brand artwork. */
:root{--ink:#1f1f1f;--paper:#f9f9f9}
body{font-size:18px;line-height:1.5}
.wrap{width:88.426%;max-width:1528px}
h2{font-weight:700;line-height:1.08;font-size:40px}
.site-header nav{font-size:16px;line-height:1.5}
.hero{position:relative;isolation:isolate;display:block;width:100%;height:100svh;min-height:560px}
.hero-image{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.hero-image>img{width:100%;height:100%;object-fit:cover;object-position:50% 53%}
.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#111028b3 0%,#11102866 55%,#11102812 100%);z-index:-1;pointer-events:none}
.hero-copy{position:relative;width:88.426%;max-width:1528px;margin:auto;height:100%;padding:0 0 100px;background:transparent;overflow:visible;display:flex;align-items:flex-end}
.hero-inner{max-width:1000px}
h1{font-size:clamp(48px,4.63vw,80px);line-height:1;font-weight:800;letter-spacing:0}
h1 span{color:#fff}
.hero-copy p:not(.eyebrow){font-size:18px;line-height:1.5;margin:25px 0 29px}
.hero-circle{display:none}
main{position:relative;overflow:clip}
.brand-chevron{position:absolute;right:0;top:calc(100svh - 130px);width:269.11px;height:657px;z-index:3;pointer-events:none;transform:translateX(36px);opacity:0;transition:transform 1.1s cubic-bezier(.22,1,.36,1),opacity .65s ease}
.brand-chevron.is-in-view{transform:translateX(-36px);opacity:1}
.brand-chevron img{width:650.347px;height:657px;max-width:none}
.intro{padding-block:86px;gap:7%}
.intro-story{font-size:18px;line-height:1.5;padding-right:80px}
.intro h2{font-size:40px}
.intro-story p+p{margin-top:16px}
.programs{padding-top:60px;padding-bottom:86px}
.section-heading{margin-bottom:36px}
.section-heading h2{font-size:40px;font-weight:700}
.section-heading>p{font-size:16px;line-height:1.5;padding-right:70px}
.program-grid{gap:25px}
.program-body>p:not(.eyebrow){font-size:14px;line-height:1.5}
.program-photo img{transition:transform .45s cubic-bezier(.22,1,.36,1)}
.program:focus-within .program-photo img{transform:scale(1.035)}
.give-section{padding-block:86px}
.give-copy h2{font-size:48px;font-weight:700;line-height:1.08}
.give-copy>p:not(.eyebrow){font-size:18px;line-height:1.5}
.gift-card{padding:40px}
.gift-card h3{font-size:30px;line-height:1.15}
.local-note p{font-size:14px;line-height:1.5}
.together{padding-block:86px}
.together h2{font-size:48px;line-height:1.08;font-weight:700}
.eyebrow{font-size:12px;line-height:1.5}
.rise-block{opacity:0;translate:0 18px;transition:opacity .65s ease,translate .65s cubic-bezier(.22,1,.36,1);transition-delay:var(--rise-delay,0ms)}
.rise-block.is-in-view{opacity:1;translate:0 0}
@media(min-width:1201px) and (max-width:1400px){.site-header nav{font-size:14px}}
@media(max-width:1050px){.intro-story{padding-right:50px}.intro h2,.section-heading h2{font-size:34px}.give-copy h2{font-size:42px}.gift-card{padding:30px}.brand-chevron{width:180px}.brand-chevron img{width:435px;height:440px}.brand-chevron{height:440px}.section-heading>p{padding-right:0}}
@media(max-width:650px){body{font-size:16px}.wrap{width:88%}.hero{height:100svh;min-height:560px}.hero-copy{width:88%;padding:0 0 65px}.hero-image{height:100%}.hero-image>img{object-position:42% center}h1{font-size:43px;line-height:1.02;letter-spacing:-.4px}.hero-copy p:not(.eyebrow){font-size:16px;line-height:1.6;margin:22px 0 24px}.brand-chevron{width:90px;height:240px;top:calc(100svh - 45px)}.brand-chevron img{width:237.7px;height:240px}.brand-chevron.is-in-view{transform:translateX(0)}.intro{padding-block:45px;gap:25px}.intro h2,.section-heading h2{font-size:30px}.intro-story{font-size:16px;line-height:1.6;padding-right:0}.intro>div:first-child{padding-right:40px}.programs{padding-top:35px;padding-bottom:45px}.section-heading>p{font-size:14px}.program-grid{gap:24px}.give-section{padding-block:45px}.give-copy h2{font-size:36px}.give-copy>p:not(.eyebrow){font-size:16px;line-height:1.6}.gift-card{padding:28px 24px}.gift-card h3{font-size:27px}.together{padding-block:45px 55px}.together h2{font-size:30px}.eyebrow{font-size:11px}}
@media(prefers-reduced-motion:reduce){.rise-block{opacity:1;translate:none;transition:none}.brand-chevron{opacity:1;transform:none;transition:none}}

/* White hero copy over photography, with a solid Y-red call to action. */
.hero-copy,.hero-copy h1,.hero-copy h1 span,.hero-copy p{color:#fff}
.hero-copy .button{background:var(--red);color:#fff}
.hero-copy .button:hover{background:#a92121;color:#fff}

@media(min-width:1051px){.intro-story{padding-right:230px}}
@media(min-width:651px) and (max-width:1050px){.intro-story{padding-right:140px}}
@media(max-width:650px){.intro>div:first-child{padding-right:85px}}

/* Full viewport photo with the hero content raised into its centre. */
.hero{height:100svh;min-height:100svh}
.hero-image,.hero-image>img{height:100%;width:100%}
.hero-copy{align-items:center;padding-top:0;padding-bottom:8svh}
@media(max-width:650px){.hero-copy{align-items:center;padding-top:0;padding-bottom:8svh}}

/* Overlapping intro panel and community portrait, on a neutral background. */
.intro{display:flex;align-items:center;position:relative;isolation:isolate;gap:0;padding-block:90px 86px}
.intro-panel{position:relative;z-index:2;flex:0 0 61%;margin-right:-5%;padding:60px 70px;background:#fff;box-shadow:0 18px 30px #0002}
.intro h2{font-size:40px;margin-bottom:25px}
.intro-story{padding:0;font-size:18px;line-height:1.5}
.intro-photo{flex:0 0 44%;align-self:stretch;min-height:540px;overflow:hidden;border-radius:4px;margin:0}
.intro-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.brand-chevron{z-index:0}
@media(max-width:1050px){.intro-panel{padding:40px;flex-basis:61%}.intro h2{font-size:34px}.intro-story{padding:0;font-size:16px}.intro-photo{min-height:560px}}
@media(max-width:650px){.intro{flex-direction:column-reverse;align-items:stretch;padding-block:45px;gap:0}.intro>div:first-child{padding:28px 24px}.intro-panel{flex:auto;width:94%;margin:-35px 0 0;align-self:flex-start}.intro h2{font-size:28px;margin-bottom:20px}.intro-story{font-size:16px;line-height:1.6;padding:0}.intro-photo{flex:auto;width:82%;height:340px;min-height:0;align-self:flex-end}.intro-photo img{height:100%;object-position:center}}

@media(min-width:651px){.intro-photo{height:540px;min-height:540px;align-self:center}.intro-photo img{object-position:center 40%}}

/* Intro portrait on the left, overlapping copy on the right. */
@media(min-width:651px){.intro{flex-direction:row-reverse}.intro-panel{margin-right:0;margin-left:-5%}}
@media(max-width:650px){.intro-photo{align-self:flex-start}.intro-panel{align-self:flex-end;margin-right:0;margin-left:0}}

/* Confine the teal artwork to the header photograph. */
.hero{overflow:hidden}
.hero .brand-chevron{top:auto;bottom:-80px;z-index:0}
.hero-copy{z-index:1}
@media(max-width:650px){.hero .brand-chevron{top:auto;bottom:-25px}}

/* Let the edge artwork bridge the photo and the neutral space below. */
.hero{overflow:visible}
.hero .brand-chevron{bottom:-100px}
@media(max-width:650px){.hero .brand-chevron{bottom:-55px}}

/* Single-colour headlines, with white headings on dark/photo backgrounds. */
h1,h2,h3,h1 span,h2 span,h3 span{color:var(--navy)}
.hero h1,.hero h1 span,.give-copy h2,.give-copy h2 span{color:#fff}

.program h3,.program .eyebrow{color:var(--navy)}

@media(min-width:1051px){.program h3{white-space:nowrap;font-size:clamp(11px,.99vw,16px)}}

.program .eyebrow,.program h3{color:#1f1f1f}

.program h3{color:var(--navy)}

.program-body>.program-closing{margin-top:auto;margin-bottom:0;font-weight:700;color:#1f1f1f;font-size:14px;line-height:1.5;cursor:default}

.program .eyebrow{color:var(--navy)}
.program h3{color:#1f1f1f}

/* Compact card copy with balanced top and bottom padding. */
.program-body{padding:24px 32px}
.program-body>p:not(.eyebrow):not(.program-closing){margin-bottom:20px}
.program-body>.program-closing{margin-bottom:0}
.program-body>p+p{margin-top:0}
.program-body>.program-closing{margin-top:auto}
@media(max-width:1400px){.program-body{padding:20px}}
@media(max-width:650px){.program-body{padding:24px}}

.program .program-body>p.program-closing{margin-bottom:0;margin-top:auto}

/* Reference ring, anchored below the hero and behind all content. */
main{isolation:isolate}
.grey-ring{position:absolute;top:100svh;left:0;width:745px;height:1177px;z-index:-1;pointer-events:none;transform:scale(var(--ring-scale,.85));transform-origin:left center;will-change:transform}
.grey-ring img{position:absolute;width:1177.273px;height:1176.923px;left:-432.273px;top:-250px;max-width:none;filter:brightness(0) invert(93.333%)}
@media(max-width:650px){.grey-ring{width:350px;height:700px}.grey-ring img{width:760px;height:760px;left:-320px;top:-150px}}
@media(prefers-reduced-motion:reduce){.grey-ring{transform:none;will-change:auto}}

.campaign-bar{padding-inline:max(5.787%,calc((100% - 1528px)/2));justify-content:flex-end}
.campaign-bar>span{text-transform:uppercase}
@media(max-width:650px){.campaign-bar{justify-content:center;text-align:center;padding-inline:6%}}

.give-copy h2{font-size:63.48px}
@media(max-width:1050px){.give-copy h2{font-size:55.545px}}
@media(max-width:650px){.give-copy h2{font-size:47.61px}}

.local-note>.local-icons{display:flex;align-items:center;gap:8px;flex:none;line-height:1;padding-top:2px}
.local-icons svg{display:block;width:30px;height:30px;flex:none;stroke:#78d5d8;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.secure-lock{display:inline-block;vertical-align:-3px;width:14px;height:14px;margin-right:5px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Reference footer background: navy texture and blue brand ring. */
footer{position:relative;isolation:isolate;overflow:hidden;background:var(--navy);color:#fff;padding:65px 0 25px}
footer:before{content:'';position:absolute;inset:0;z-index:-2;background:url(assets/imgRectangle17.png) center/cover;opacity:.2;pointer-events:none}
footer:after{content:'';position:absolute;z-index:-1;width:900px;height:900px;left:-300px;top:35px;background:#2d66ac;mask:url(assets/full-blue-ring.svg) center/100% 100% no-repeat;-webkit-mask:url(assets/full-blue-ring.svg) center/100% 100% no-repeat;pointer-events:none}
.footer-main p,.footer-main a,.footer-bottom{color:#fff}
.footer-brand{filter:brightness(0) invert(1)}
.footer-bottom{border-top-color:#ffffff4d;margin-top:45px}
@media(max-width:650px){footer{padding-top:40px}footer:after{width:650px;height:650px;left:-330px;top:15px}}

.footer-main{display:block}.footer-identity{display:flex;flex-direction:column;align-items:flex-start;gap:40px}.footer-brand{width:330px;max-width:100%;height:auto}.footer-contact{display:flex;align-items:center;flex-wrap:wrap;gap:9px;color:#fff}.footer-main .footer-contact a{display:inline;font-size:16px;line-height:1.5}.footer-main .footer-contact span{font-size:16px}.footer-bottom{margin-top:45px}
.footer-website{display:inline-flex;align-items:center;gap:inherit}
@media(max-width:650px){.footer-identity{gap:32px}.footer-brand{width:330px}.footer-main .footer-contact a,.footer-main .footer-contact span{font-size:clamp(10px,3.7vw,16px)}.footer-contact{gap:7px;white-space:nowrap}}

.footer-identity{align-items:center;text-align:center;width:100%}.footer-contact{justify-content:center;width:100%}.footer-main .footer-identity .footer-contact a{display:inline;width:auto}.footer-brand{margin-inline:auto}

.footer-bottom{display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-top:1px solid #ffffff4d;padding-top:20px;font-size:11px;gap:20px;color:#fff}
@media(max-width:650px){.footer-bottom{font-size:9px;gap:12px;align-items:center;flex-direction:row}.footer-bottom>span:last-child{white-space:nowrap}}

/* Brighter brand-blue donation panel with animated outline edge art. */
.give-section{background:#2d66ac;isolation:isolate}
.give-section:before{opacity:.17;z-index:-2}
.give-arrows{position:absolute;right:-145px;top:-70px;width:450px;height:calc(100% + 140px);z-index:-1;pointer-events:none;overflow:visible;opacity:0;transform:translateX(45px);transition:opacity .9s ease,transform 1.1s cubic-bezier(.22,1,.36,1)}
.give-arrows.is-in-view{opacity:.25;transform:translateX(0)}
.give-arrows svg{width:100%;height:100%;overflow:visible;stroke:#b3e1f1;stroke-width:11;stroke-linejoin:miter;translate:0 var(--give-art-y,0px)}
.give-grid{z-index:1}
.frequency{border-radius:4px}
.frequency:before,.frequency span{border-radius:4px}
@media(max-width:650px){.give-arrows{width:300px;right:-155px;top:0;height:100%}.give-arrows.is-in-view{opacity:.16}}
@media(prefers-reduced-motion:reduce){.give-arrows{opacity:.25;transform:none;transition:none}.give-arrows svg{translate:none}}

.site-credit{color:inherit;text-decoration:none;text-underline-offset:4px;text-decoration-thickness:1px}.site-credit:hover,.site-credit:focus-visible{text-decoration:underline}

.gift-summary{justify-content:center;align-items:center;gap:5px;text-align:center}

.local-icons .local-heart{display:block;width:44px;height:44px;object-fit:contain;flex:none}

.local-note{align-items:center}.local-note>.local-icons{padding-top:0;align-items:center;align-self:center}.local-note p{margin:0}

/* Program photos remain still on hover and focus. */
.program:hover img,.program:focus-within .program-photo img{transform:none}
.program-photo img{transition:none}

@media(max-width:650px){.footer-brand{width:280.5px;max-width:85%}}

/* Mobile intro follows the same straight photo-and-copy tile alignment. */
@media(max-width:650px){
 .intro{flex-direction:column-reverse;gap:0}
 .intro-photo{width:100%;height:auto;aspect-ratio:368/298;align-self:stretch;border-radius:4px 4px 0 0;flex:none}
 .intro-photo img{width:100%;height:100%;object-fit:cover;object-position:center 40%}
 .intro-panel{width:100%;margin:0;align-self:stretch;border-radius:0 0 4px 4px;flex:none;padding:24px}
 .intro>div:first-child{padding:24px}
}

/* Taller photographic closing call to action. */
.together.wrap{width:100%;max-width:none;position:relative;isolation:isolate;padding:117px 5.787%;background:linear-gradient(#10152c99,#10152c99),url(assets/YMCA_Camp_Adventure.jpg) center 45%/cover no-repeat}
.together h2,.together h2 span{color:#fff}
@media(max-width:650px){.together.wrap{padding:66px 6% 76px;background-position:center 45%}}

/* Closing photo section: another 25% taller. */
.together.wrap{padding-block:176.4px}
@media(max-width:650px){.together.wrap{padding-top:111.4px;padding-bottom:121.4px}}
/* Reference teal browser scrollbar. */
html{scrollbar-color:#3ab6bb #eeeeee;scrollbar-width:auto}html::-webkit-scrollbar{width:14px}html::-webkit-scrollbar-track{background:#eee}html::-webkit-scrollbar-thumb{background:#3ab6bb;border:2px solid #eee;border-radius:12px}html::-webkit-scrollbar-thumb:hover{background:#299fa5}

.local-note p{color:#fff}

.gift-card .local-note{margin:20px 0 0;padding:0;border:0;max-width:none;gap:14px}.gift-card .local-note p{font-size:12px;line-height:1.5;color:#1f1f1f;text-align:left;margin:0}.gift-card .local-icons{width:40px;height:40px;flex:0 0 40px;background:#3ab6bb;mask:url(assets/Heart.svg) center/contain no-repeat;-webkit-mask:url(assets/Heart.svg) center/contain no-repeat}.gift-card .local-icons img{visibility:hidden}

.gift-title{display:flex;align-items:center;gap:14px}.gift-title .local-icons{width:40px;height:40px;flex:0 0 40px;background:var(--red);mask:url(assets/Heart.svg) center/contain no-repeat;-webkit-mask:url(assets/Heart.svg) center/contain no-repeat}.gift-title .local-icons img{visibility:hidden}.gift-card .local-note p{font-size:14px}.gift-card .local-note{margin-top:20px}

@media(min-width:651px){.footer-brand{width:297px}}

.gift-card .local-note p{text-wrap:pretty}

.gift-card .local-note{justify-content:center}.gift-card .local-note p{text-align:center;max-width:480px;margin-inline:auto}

.gift-title{justify-content:center}.gift-title h3{text-align:center}

.site-header nav>a:not(.button){text-transform:capitalize;transition:color .15s ease}.site-header nav>a:not(.button):hover,.site-header nav>a:not(.button):focus-visible{color:var(--red);text-decoration:none}

.hero-video-embed{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:0;max-width:none;pointer-events:none;opacity:0;transition:opacity .35s ease}
.hero-video-embed.is-playing{opacity:1}
.hero-video-toggle{position:absolute;right:28px;bottom:24px;z-index:5;border:1px solid #ffffffb3;border-radius:4px;color:#fff;background:#201a56cc;padding:10px 16px;font:600 12px Public,Arial,sans-serif;cursor:pointer}
.hero-video-toggle:hover{background:#201a56}.hero-video-toggle:focus-visible{outline:3px solid #3ab6bb;outline-offset:4px}
@media(max-width:650px){.hero-video-toggle{right:6%;bottom:20px}}
@media(prefers-reduced-motion:reduce){.hero-video-embed{transition:none}}

/* Desktop hero: copy and the shared donation form, vertically centred. */
.hero-donation{display:none;position:relative;z-index:3;min-width:0}
.hero .brand-chevron{z-index:0;pointer-events:none}
.hero-copy{z-index:2}
@media(min-width:1201px){
 .hero{min-height:max(700px,100svh)}
 .hero-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,520px);gap:6%;align-items:center;padding-top:100px;padding-bottom:60px}
 .hero-donation{display:block}
 .hero-donation .gift-card{padding:28px;color:var(--ink)}
 .hero-donation .gift-title{gap:12px}
 .hero-donation .gift-title h3{font-size:26px;color:var(--navy);line-height:1.15}
 .hero-donation .gift-title .local-icons{width:32px;height:32px;flex-basis:32px}
 .hero-donation .gift-card p{font-size:12px;line-height:1.5;color:var(--ink);margin:0}
 .hero-donation .gift-card .local-note{margin:16px 0 0}
 .hero-donation .gift-card .local-note p{font-size:14px;text-align:center;color:var(--ink)}
 .hero-donation .frequency{margin:20px 0}
 .hero-donation .frequency span{padding:10px}
 .hero-donation .amounts label span{padding:9px 5px;font-size:18px}
 .hero-donation .amounts input:checked+span{padding:8px 4px}
 .hero-donation .gift-summary{margin-top:16px;padding-top:12px}
 .hero-donation .gift-card>.button{margin-top:14px;min-height:50px}
 .hero-donation .gift-card .secure{font-size:11px;color:var(--navy);margin-top:12px}
 .hero-donation .gift-card .checkout-note{font-size:10px;color:#666;margin-top:7px}
}
/* The hero copy makes a deliberate entrance on initial load. */
@keyframes yks-hero-copy-in{from{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}
.hero-inner{animation:yks-hero-copy-in .65s cubic-bezier(.22,1,.36,1) .12s both}
.hero .brand-chevron img{translate:0 var(--hero-art-y,0px);will-change:translate}
/* Keep video controls equally inset from the right and bottom. */
.hero-video-toggle{right:28px;bottom:28px}
@media(max-width:650px){.hero-video-toggle{right:20px;bottom:20px}}
/* Scale only the closing background; copy and controls remain still. */
.together{overflow:hidden}
.together:before{content:'';position:absolute;inset:0;z-index:-1;background:inherit;border-radius:inherit;transform:scale(var(--closing-scale,1));transform-origin:center;will-change:transform;pointer-events:none}
@media(prefers-reduced-motion:reduce){.hero-inner{animation:none}.hero .brand-chevron img{translate:none;will-change:auto}.together:before{transform:none;will-change:auto}}

/* Keep the pause control inside the visible viewport below the admin bar. */
body.admin-bar .hero-video-toggle{bottom:60px}
@media(max-width:782px){body.admin-bar .hero-video-toggle{bottom:74px}}
@media(max-width:650px){body.admin-bar .hero-video-toggle{bottom:66px}}

/* Closing photography stays still. */
.together:before{transform:none;will-change:auto}

/* Anchor the native SVG point exactly to the right edge; enter from offscreen. */
@keyframes yks-brand-edge-in{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}
.hero .brand-chevron,.hero .brand-chevron.is-in-view{right:0;transform:translateX(0);opacity:1;transition:none;animation:yks-brand-edge-in 1.1s cubic-bezier(.22,1,.36,1) .15s both}
@media(max-width:650px){.hero .brand-chevron{width:98.359px}}
/* Natural, balanced closing headline wrapping avoids isolated words. */
.together h2{max-width:1050px;margin-inline:auto;text-wrap:balance}
/* Stack the main donation panel before its columns become narrow. */
@media(max-width:1000px){
 .give-grid{grid-template-columns:minmax(0,1fr);gap:35px}
 .give-copy{width:100%;max-width:680px;margin-inline:auto}
 .give-copy>p:not(.eyebrow){max-width:100%}
 .give-grid>.gift-card{width:100%;max-width:680px;margin-inline:auto}
}
@media(prefers-reduced-motion:reduce){.hero .brand-chevron,.hero .brand-chevron.is-in-view{animation:none;transform:none;opacity:1}}

/* Three distinct arrow outlines on the left, with upward scroll parallax. */
.give-arrows{left:-145px;right:auto;top:50%;width:450px;height:865px;margin-top:-432.5px;transform:translateX(-45px)}
.give-arrows.is-in-view{transform:translateX(0)}
.give-arrows svg{display:block;width:100%;height:100%;stroke-linecap:butt}
.give-copy>p:not(.eyebrow){text-wrap:balance}
@media(max-width:650px){.give-arrows{left:-155px;right:auto;top:50%;width:300px;height:577px;margin-top:-288.5px}}
@media(prefers-reduced-motion:reduce){.give-arrows,.give-arrows.is-in-view{transform:none}.give-arrows svg{translate:none}}

/* Program tiles: blue heading band and white body. */
.program-photo{aspect-ratio:1.25}.program .program-body{padding:0 28px 24px}.program-banner{background:#2d66ac;margin:0 -28px 20px;padding:14px 28px}.program .program-banner>.eyebrow{color:#fff;font:800 20px/1.25 Barlow,Arial,sans-serif;letter-spacing:0;min-height:0;margin:0}.program .program-banner>h3{color:rgba(255,255,255,.8);font:400 16px/1.35 Public,Arial,sans-serif;white-space:normal;margin:6px 0 0}.program .program-body>p:not(.eyebrow){font-size:14px;line-height:1.5}.program .program-body>.program-closing{padding-top:0;margin-top:auto}.program-banner+p{margin-top:0}

/* Donation impact details in program tiles. */
.program .program-body>p.program-closing{color:#2d66ac;margin-top:0;margin-bottom:0}.program-funding{margin-top:22px}.program-funding>.program-funding-title{color:#2d66ac;font:700 16px/1.4 Public,Arial,sans-serif;margin:0 0 8px}.gift-items{list-style:none;margin:0;padding:0}.gift-items>li{display:flex;align-items:flex-start;gap:12px;padding:12px 0;margin:0}.gift-items>li+li{border-top:1px solid #e4e4e4}.gift-items>li:last-child{padding-bottom:0}.gift-items>li>svg{display:block;flex:0 0 26px;width:26px;height:26px;margin-top:-3px;color:#c52b2b}.gift-items>li>p{font:400 14px/1.5 Public,Arial,sans-serif;color:#1f1f1f;margin:0}.gift-items strong{font-weight:700}

/* Equal tiles with centered closing messages below gift lists. */
.program-grid{align-items:stretch}.program{height:100%}.program .program-body{flex:1}.program .program-body>p.program-closing{color:#201a56;font:700 16px/1.4 Public,Arial,sans-serif;text-align:center;margin: auto 0 0;padding-top:24px}.program .program-banner{min-height:80px}@media(min-width:651px){.program .program-body>p.program-closing{min-height:69px}}@media(max-width:650px){.program{height:auto}.program .program-body>p.program-closing{margin-top:24px;padding-top:0}}

/* Tile donation buttons and row-aligned funding headings. */
.program .program-body{padding-bottom:0}.program .program-body>a.program-closing{display:flex;align-items:center;justify-content:center;align-self:stretch;width:calc(100% + 56px);min-height:72px;margin:24px -28px 0;margin-top:auto;padding:16px 24px;border:0;border-radius:0 0 4px 4px;background:#c52b2b;color:#fff;font:700 16px/1.4 Public,Arial,sans-serif;text-align:center;text-decoration:none;cursor:pointer;transition:background .2s}.program .program-body>a.program-closing:hover,.program .program-body>a.program-closing:focus-visible{background:#9e2222;color:#fff;text-decoration:none}.program-funding{margin-bottom:24px;margin-top:calc(22px + var(--funding-align-offset,0px))}@media(max-width:650px){.program .program-body>a.program-closing{margin-top:0}}

/* Balanced introductory copy and compact funding spacing. */
.program .program-body>p:not(.eyebrow):not(.program-closing){margin-bottom:0}.program-funding{margin-top:calc(16px + var(--funding-align-offset,0px));margin-bottom:20px}

/* Remove the hairline seam at the photo/footer join. */
body>footer{border-top:0;box-shadow:none;margin-top:-1px}.together{border-bottom:0;margin-bottom:0}

/* Monthly giving appears first and is selected initially. */
.frequency:has(input[value="monthly"]:checked):before{transform:translateX(0)}.frequency:has(input[value="onetime"]:checked):before{transform:translateX(100%)}

/* Show navigation immediately; retain scroll transitions. */
.masthead,.masthead .brand,.masthead nav{animation:none!important}

/* Full-width financial assistance program tile. */
.program.program-wide{display:grid;grid-template-columns:minmax(0,38%) minmax(0,62%);margin-top:28px;height:auto}.program-wide>.program-photo{aspect-ratio:auto;min-height:360px;height:100%}.program-wide>.program-photo>img{height:100%;object-position:center}.program.program-wide>.program-body{padding:0 28px 24px;min-width:0}.program-wide .program-funding{margin-top:20px;margin-bottom:0}.program-wide .gift-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}.program-wide .gift-items>li+li{border-top:0;border-left:1px solid #e4e4e4;padding-left:18px}.program-wide .program-banner{min-height:80px}.program.program-wide>a.tile-cta{grid-column:1/-1;display:flex;align-items:center;justify-content:center;width:100%;min-height:64px;margin:0;padding:16px 24px;border:0;border-radius:0 0 4px 4px;background:#c52b2b;color:#fff;font:700 16px/1.4 Public,Arial,sans-serif;text-align:center;text-decoration:none;transition:background .2s}.program.program-wide>a.tile-cta:hover,.program.program-wide>a.tile-cta:focus-visible{background:#9e2222;color:#fff;text-decoration:none}@media(max-width:1000px){.program-wide .gift-items{display:block}.program-wide .gift-items>li+li{border-left:0;border-top:1px solid #e4e4e4;padding-left:0}}@media(max-width:650px){.program.program-wide{display:flex;flex-direction:column;margin-top:24px}.program-wide>.program-photo{aspect-ratio:1.25;min-height:0;height:auto}.program-wide>.program-photo>img{height:100%}.program.program-wide>.program-body{padding-bottom:24px}}

.footer-brand {
  width: 222.75px;
}

@media (max-width: 650px) {
  .footer-brand {
    width: 210.375px;
    max-width: 63.75%;
  }
}