/* Shared light palette, applied to home, internal pages, menus and dialogs. */
.page-heading:has(+ #gallery-content){padding-bottom:24px}
#gallery-content{padding-top:0}
#headline:focus{outline:none}
/* Fit the photo and its controls into the viewport without scrolling. */
#panel[open]:has(.large-photo){display:flex;flex-direction:column;height:min(820px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:clamp(14px,3vh,30px);overflow:hidden;box-sizing:border-box}
#panel:has(.large-photo) .dialog-top{flex:none;margin-bottom:12px}
#panel:has(.large-photo) #panel-content{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px;flex:1;min-height:0}
#panel:has(.large-photo) h2{font-size:clamp(20px,3vw,36px);margin:0;line-height:1.15}
#panel .large-photo{display:block;width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain}
#panel:has(.large-photo) .photo-actions{flex-wrap:nowrap;align-items:center;gap:8px;margin:0}
#panel:has(.large-photo) .photo-actions .secondary{padding:10px 14px;white-space:nowrap}
#panel:has(.large-photo) #panel-content>.muted{margin:0;font-size:12px}
@media(max-width:480px){#panel[open]:has(.large-photo){height:min(620px,calc(100dvh - 32px),calc(70vw + 220px))}#panel:has(.large-photo) .photo-actions .secondary{padding:9px 10px;font-size:12px}}
@media(max-height:500px){#panel[open]:has(.large-photo){padding:10px 16px}#panel:has(.large-photo) .dialog-top{margin-bottom:4px}#panel:has(.large-photo) #panel-content{gap:6px}#panel:has(.large-photo) h2{font-size:20px}#panel:has(.large-photo) .photo-actions .secondary{padding:7px 12px;font-size:12px}}
.album-icon{width:19px;height:19px;vertical-align:middle;margin-right:5px}.gallery-album small{display:block;margin-top:12px;font-size:12px}.gallery-album:hover{border-color:var(--navy)}.album-grid{margin:24px 0 8px}.album-grid .gallery-photo{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#f4f6fa}.album-grid .gallery-photo img{display:block;border-radius:0}.album-grid .gallery-photo span{display:block;padding:12px;line-height:1.5}.photo-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin:20px 0}.photo-actions .secondary{padding:10px 16px}.photo-actions button:disabled{opacity:.4;cursor:default}
:root{color-scheme:light;--bg:#fff;--red:#ff002b;--navy:#092258;--muted:#425d8c;--line:#152e6420}
body,body.inner-page{background:#fff;color:var(--navy)}
.preview-note{background:#f6f7f9;color:var(--navy);font-size:12px;letter-spacing:0;padding:6px 1.9%;align-items:center}
.preview-note span{color:#435c85;font-size:11px}
.backdrop{background-image:url('hero-light.png');background-position:center top;background-size:100% auto;background-repeat:no-repeat}
.stage:after{background:linear-gradient(0deg,#fff 0%,#ffffffdf 5%,transparent 24%);pointer-events:none}
.hero-copy>p,.testimonials h2,footer,.members p{color:#355285}
.quote-card{background:#ffffffc9;color:var(--navy);backdrop-filter:blur(8px)}
.quote-card:before{color:var(--red)}
.quote-card b,.quote-card .read-more{color:#365084}
.program{background:white}.round{border-color:var(--navy)}
.cta,.filter.active{color:white}.cta:hover{background:#e60028}
.nav-item.selected>.top-link,.nav-item.open>.top-link,.top-link:hover{color:var(--red)}
.nav-item.selected>.top-link{position:relative;font-weight:600}
.nav-item.selected>.top-link:after{content:'';position:absolute;left:0;right:0;bottom:7px;height:3px;background:var(--red)}
.dot:after{background:#adb9cf}.dot.active:after{background:var(--red)}
.members>small{color:#657a9e}
footer .brand{color:var(--navy)}
.dropdown,dialog{background:#fff;color:var(--navy);border-color:var(--line);box-shadow:0 20px 60px #0b235325}
.dropdown a:hover,.detail-choice:hover,.facility-link:hover{background:#eef2f9}
.dialog-top,.dialog-top .close,.mobile-nav-link,.panel-menu button{color:var(--navy)}
dialog::backdrop{background:#0a204977}
dialog p,.muted,.summary-row span,.gallery-photo span{color:var(--muted)!important}
input,select{background:#f5f7fb;color:var(--navy);border-color:#b6c2d8}
.page-card,.founder,.editor-note,.page-contact,.age-groups span,.camp-info,.facility-card,.testimonials-page article,.address-card,.page-view .gallery-photo,.coach-card,.team-photo,.team-development{background:#f4f6fa;border-color:var(--line)}
.facility-card:hover{background:#edf1f8}
.page-heading p,.page-card p,.story p,.founder p,.coach p,.editor-note p,dt,.tags span,.camp-info p,.facility-card p,.faq-page p,.editorial-blocks p,.testimonials-page p,.address-card p,.page-view .gallery-photo span,.coach-demo-note,.coach-meta,.coach-bio-meta,.team-photo figcaption,.team-intro-heading>p,.team-intro-copy>p,.team-development p,.team-colors span{color:var(--muted)}
.breadcrumbs,.contact-line small,.source-note,.initials,.founder>span,.team-panel-title .eyebrow{color:#567099!important}
.breadcrumbs a:hover,.page-view .gallery-photo b,.coach-tabs button[aria-selected=true],.coach-tabs button:hover{color:var(--navy)}
.coach-tabs button,.team-tabs button{color:#526b94}
.team-tabs button:hover{color:var(--navy);background:#e9eef8}
.team-tabs button[aria-selected=true]{color:#fff}
.coach-experience,.coach-bio-meta span:last-child,.page-heading .eyebrow,.page-card span,.team-intro-heading>.eyebrow,.team-development .eyebrow,.location-mark,.level-path span{color:#e5002b}
.editor-note>span{color:var(--navy)}
.coach-portrait.has-photo:after{background:linear-gradient(transparent,#13264d22)}
.team-colors span{border-color:var(--line)}
.search-results{display:grid;gap:8px;margin-top:20px}.search-results a{padding:12px 15px;border:1px solid var(--line);border-radius:8px}.search-results a:hover{background:#f1f4f9}.search-empty{padding:20px 0}
@media(max-width:768px){.backdrop{height:610px;background-size:auto 610px;background-position:58% top!important}.stage:after{background:linear-gradient(90deg,#ffffffbf,transparent 85%),linear-gradient(0deg,#fff 0%,#fff 35%,transparent 72%)}.preview-note{font-size:8px}.preview-note span{font-size:8px}}
@media(min-width:769px){.backdrop{background-position:center -3.6dvh}.stage:after{background:linear-gradient(0deg,#fff 0%,#fffffff5 5%,transparent 28%)}}
@media(max-width:768px){.stage:after{background:linear-gradient(90deg,#ffffffed 0%,#ffffff9c 48%,transparent 95%),linear-gradient(0deg,#fff 0%,#fff 35%,transparent 72%)}}

/* Image-independent contrast: uploaded photos never determine navigation colors. */
header{position:relative;isolation:isolate;z-index:10;background:#fff;transform:none}
/* Keep the whole header stacking context above positioned inner-page artwork. */
.inner-page .stage{z-index:20}
.inner-page .page-view{position:relative;isolation:isolate;z-index:0}
header:before{content:'';position:absolute;inset:0;z-index:-1;background:#fff;box-shadow:0 0 0 100vmax #fff;clip-path:inset(0 -100vmax);pointer-events:none}
.hero-copy{position:relative;isolation:isolate}
.hero-copy:before{content:none}
body:not(.inner-page) .testimonials{padding-top:0;background:rgba(9,26,58,.9);border:1px solid #ffffff24;border-radius:20px;box-shadow:0 12px 32px #06142b20;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:#fff}
body:not(.inner-page) .testimonials h2{background:none;color:#fff;width:auto;max-width:100%;padding:16px 18px 12px;margin:0;border-radius:0;font-size:14px;font-weight:600;letter-spacing:.1px}
body:not(.inner-page) .testimonials .quote-card{background:transparent;color:#fff;backdrop-filter:none;border:0;border-top:1px solid #ffffff24;border-radius:0;margin-bottom:0;box-shadow:none;transition:background .2s}
body:not(.inner-page) .testimonials .quote-card:last-of-type{border-radius:0 0 19px 19px}
body:not(.inner-page) .testimonials .quote-card:hover,body:not(.inner-page) .testimonials .quote-card:focus-visible{background:#ffffff0d}
body:not(.inner-page) .testimonials .quote-card p{color:#fff}
body:not(.inner-page) .testimonials .quote-card:before{color:#ff6680}
body:not(.inner-page) .testimonials .quote-card b{color:#ccd7eb}
body:not(.inner-page) .testimonials .quote-card .read-more{color:#fff}
body:not(.inner-page) .testimonials .quote-card:focus-visible{outline:2px solid #fff;outline-offset:-4px}
body:not(.inner-page) .testimonials .mobile-quote-controls{padding:10px 18px;color:#ccd7eb}
body:not(.inner-page) .testimonials .mobile-quote-controls .round{border-color:#ffffff50;color:#fff}
.handwriting:before{content:'';position:absolute;inset:0 -10px;z-index:-1;background:rgb(255 255 255 / 96%);border-radius:12px}
.handwriting{isolation:isolate}
.slider-controls{background:#fff;border-radius:40px;padding:0 10px;box-shadow:0 2px 12px #0922580d}
@media(max-width:768px){
 .slider-controls{width:fit-content;margin-left:auto;margin-right:auto}
 .testimonials h2{padding-left:0}
}



/* Edge-to-edge light wash: no panel edges or blur over the photograph. */
.stage:after{background:linear-gradient(90deg,rgb(255 255 255 / 94%) 0%,rgb(255 255 255 / 86%) 28%,rgb(255 255 255 / 70%) 40%,transparent 64%),linear-gradient(0deg,#fff 0%,#fffffff5 5%,transparent 28%)}
@media(max-width:768px){.stage:after{background:linear-gradient(90deg,rgb(255 255 255 / 94%) 0%,rgb(255 255 255 / 82%) 55%,rgb(255 255 255 / 68%) 80%,rgb(255 255 255 / 24%) 100%),linear-gradient(0deg,#fff 0%,#fff 35%,transparent 72%)}}
/* Independent links: article details and the complete news index. */
.news-card{border-width:3px;transition:transform .25s}
.news-card:hover,.news-card:focus-within{transform:translateY(-5px)}
.news-card .news-tag{font-size:11px;line-height:1.3;padding:5px 12px;margin-bottom:10px}
.news-card .news-link{width:fit-content;position:relative;z-index:1;margin-top:9px}
.news-card .news-link:hover{text-decoration:underline;text-underline-offset:4px}
.news-card .news-arrow{display:grid;z-index:1}
.news-card a:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
.news-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-bottom:40px}
.news-list-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#f6f8fb}
.news-list-card>a{display:block}.news-list-card img{width:100%;height:270px;object-fit:cover;display:block}
.news-list-card>div{padding:28px}.news-list-card .eyebrow{color:var(--red);font-size:11px;text-transform:uppercase}
.news-list-card h2{font-size:28px;line-height:1.2;margin:14px 0}.news-list-card p{color:var(--muted)}
.news-detail-link{display:inline-block;color:var(--red);padding:10px 0;font-weight:600}
.news-article{max-width:1000px;margin:0 auto 50px}.news-article figure{margin:0 0 32px}.news-article figure img{width:100%;display:block;border-radius:18px}.news-article figcaption{font-size:12px;color:var(--muted);margin-top:10px}
.news-article-copy{max-width:760px;margin:auto}.news-article-copy>.eyebrow{color:var(--red)}.news-article-copy p{font-size:18px;line-height:1.8;color:var(--muted)}
.news-article-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:30px 0 0;padding-top:24px;border-top:1px solid var(--line)}
@media(max-width:768px){.news-index{grid-template-columns:1fr}.news-list-card img{height:210px}.news-list-card>div{padding:22px}.news-list-card h2{font-size:25px}.news-card .news-link{font-size:12px}.news-card .news-arrow{width:32px;height:32px;bottom:10px;right:9px;font-size:18px}.news-card .news-link>span{margin-left:4px}.news-article-actions{align-items:flex-start;flex-direction:column}}
/* Let the hero photograph continue behind navigation, with a soft top wash. */
body:not(.inner-page) header{background:transparent}
body:not(.inner-page) header:before{content:none}
body:not(.inner-page) .stage:before{content:'';position:absolute;top:0;left:0;right:0;height:clamp(175px,21dvh,215px);z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgb(255 255 255 / 97%) 0%,rgb(255 255 255 / 88%) 42%,rgb(255 255 255 / 60%) 67%,transparent 100%)}
@media(max-width:768px){body:not(.inner-page) .stage:before{height:175px}}
/* Compact navigation with contrast confined to the menu area. */
header .brand-art{width:116px;height:57px}
header{height:78px}
body:not(.inner-page) .stage:before{height:112px;background:linear-gradient(180deg,rgb(255 255 255 / 96%) 0%,rgb(255 255 255 / 88%) 48%,rgb(255 255 255 / 52%) 72%,transparent 100%)}
@media(min-width:769px) and (min-height:600px){body:not(.inner-page) .stage{grid-template-rows:clamp(64px,8.2dvh,78px) minmax(0,1fr)}body:not(.inner-page) .stage:before{height:clamp(92px,12dvh,112px)}}
@media(max-width:1000px) and (min-width:769px){header .brand-art{width:100px;height:49px}}
@media(max-width:768px){header{height:72px}header .brand-art{width:100px;height:49px}body:not(.inner-page) .stage:before{height:102px}}

/* Slim slide navigation: all five positions remain directly selectable. */
.slider-controls{gap:6px;padding:0 6px;border:1px solid #09225812;border-radius:20px;box-shadow:0 2px 8px #09225808}
.slider-controls>button{display:grid;place-items:center;width:26px;height:28px;min-height:28px;padding:0;font-size:24px;line-height:1}
.slider-controls #dots{gap:4px}
.slider-controls .dot{width:16px;height:28px;min-height:28px}
.slider-controls .dot:after{width:5px;height:5px;left:50%;right:auto;top:50%;transform:translate(-50%,-50%);border-radius:4px;transition:width .2s,background .2s}
.slider-controls .dot.active:after{width:14px}
.slider-controls button:focus-visible{outline-offset:2px;border-radius:4px}

/* Original transparent artwork, optically balanced inside equal logo slots. */
.members{align-items:center;grid-template-columns:250px minmax(0,1fr);padding-top:12px;padding-bottom:10px}
.member-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(14px,2vw,36px);min-width:0;padding-left:30px}
.member-logo{display:block;width:100%;height:clamp(32px,5dvh,48px);max-width:135px;justify-self:center}
.member-logo--icf,.member-logo--tkd{max-width:100px}
@media(min-width:769px) and (max-width:1250px){.members{grid-template-columns:190px minmax(0,1fr)}.member-list{gap:16px;padding-left:18px}.member-logo{height:38px}}
@media(min-width:769px) and (max-width:1000px){.members{grid-template-columns:155px minmax(0,1fr)}.member-list{gap:12px;padding-left:12px}.member-logo{height:32px}}
@media(max-width:768px){.members{grid-template-columns:1fr;gap:16px;padding:20px 22px 16px}.members>div:first-child{text-align:center}.member-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 22px;padding:0;margin:0;border:0}.member-logo{height:40px;max-width:125px}.member-logo--icf,.member-logo--tkd{max-width:84px}}
@media(prefers-reduced-motion:reduce){.backdrop,.slider-controls .dot:after{transition:none}}
/* Compact mobile navigation: top-level sections expand on demand. */
.mobile-menu-tree details{padding:0;border-bottom:1px solid var(--line)}
.mobile-menu-tree summary,.mobile-menu-tree .mobile-menu-main{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:10px 0;font-size:17px;font-weight:600;color:var(--navy);line-height:1.4}
.mobile-menu-tree .mobile-menu-main{border-bottom:1px solid var(--line)}
.mobile-menu-tree summary{list-style:none}
.mobile-menu-tree summary::-webkit-details-marker{display:none}
.mobile-menu-tree summary span{font-size:22px;font-weight:400;transition:transform .2s}
.mobile-menu-tree details[open] summary{color:var(--red)}
.mobile-menu-tree details[open] summary span{transform:rotate(45deg)}
.mobile-menu-children{padding:0 0 10px 14px;border-left:2px solid var(--red);margin:0 0 12px}
.mobile-menu-children .mobile-nav-link{font-size:15px;padding:9px 8px}
.mobile-menu-tree summary:focus-visible{outline:2px solid var(--red);outline-offset:2px}
#panel:has(.mobile-menu-tree){width:min(460px,calc(100% - 28px));padding:22px;max-height:calc(100dvh - 28px)}
#panel:has(.mobile-menu-tree) .dialog-top{margin-bottom:12px}
#panel:has(.mobile-menu-tree) h2{font-size:28px;margin-bottom:12px}
@media(max-width:768px){header #search{order:2;margin-left:auto}header #menu{order:3;margin-left:auto;flex-shrink:0}header:has(#search) #menu{margin-left:0}header{gap:16px}}
.mobile-menu-call{display:none}
@media(max-width:768px){
 .mobile-menu-contact{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}
 .mobile-menu-contact .mobile-menu-main{border-bottom:0;flex-shrink:0}
 .mobile-menu-contact .mobile-menu-call{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;min-height:46px;color:var(--red);font-size:11px;line-height:1.5;white-space:nowrap}
 .mobile-menu-call strong{font-size:13px;font-weight:700}
}

@media(max-width:768px){
 .mobile-menu-contact .mobile-menu-call{flex-direction:row;align-items:center;gap:10px;min-height:48px;padding:3px 0 3px 12px;font-size:12px;font-weight:600}
 .mobile-menu-call .mobile-call-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:#16834d;background:#e9f7ef;border:1px solid #c8ead7;transition:background .18s,color .18s}
 .mobile-call-icon svg{width:21px;height:21px}
 .mobile-menu-call:hover .mobile-call-icon,.mobile-menu-call:active .mobile-call-icon{background:#16834d;color:#fff}
 .mobile-menu-call:focus-visible{outline:2px solid #16834d;outline-offset:4px;border-radius:24px}
}
