/* Congress page only. Shared styles and all other routes are unchanged. */
#main .bc-page{color:var(--green);--bc-space:clamp(48px,5vw,72px)}
#main .bc-page .bc-wrap{width:var(--content-width);max-width:var(--content-max);margin-inline:auto}
#main .bc-page .bc-section{padding-block:var(--bc-space)}
#main .bc-page section[id]{scroll-margin-top:120px}
#main .bc-page h1{max-width:760px;margin:12px 0 16px}
#main .bc-page h2{margin:0 0 28px}
#main .bc-page h3{margin:0 0 14px}
#main .bc-page p{margin:0 0 18px}
#main .bc-page .bc-hero{padding-top:48px}
#main .bc-page .bc-hero .eyebrow{margin:0}
#main .bc-page figure{margin:0;overflow:hidden}
#main .bc-page img{display:block;width:100%;height:auto}
#main .bc-page .bc-hero figure{margin-top:28px}
#main .bc-page .bc-hero figure img{width:100%;max-height:380px;object-fit:cover;object-position:50% 42%;aspect-ratio:3.1}
#main .bc-page .bc-actions{display:flex;flex-wrap:wrap;gap:16px 36px}
#main .bc-page .text-link{font-family:var(--font-label);font-size:12px;font-weight:400;line-height:1.6;min-height:36px;display:inline-flex;align-items:center;margin:0;color:var(--green)}
#main .bc-page .bc-nav{display:flex;flex-wrap:wrap;gap:8px 30px;padding-block:20px;border-bottom:1px solid var(--line)}
#main .bc-page .bc-introduction{max-width:790px}
#main .bc-page .bc-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:32px 0 0;padding:0;gap:24px}
#main .bc-page .bc-timeline li{border-top:1px solid var(--sage);padding:16px 0 0}
#main .bc-page .bc-timeline h3{margin-bottom:4px}
#main .bc-page .bc-timeline p{margin:0}
#main .bc-page #congress-numbers{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#main .bc-page .bc-numbers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0}
#main .bc-page .bc-numbers>div{display:flex;flex-direction:column-reverse;gap:10px}
#main .bc-page .bc-numbers dd{font-family:var(--font-headline);font-size:40px;font-weight:400;line-height:1.2;color:var(--green);margin:0}
#main .bc-page .bc-numbers dt{font-size:13px;line-height:1.5}
#main .bc-page .bc-highlight{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,72px);align-items:center;margin-top:48px}
#main .bc-page .bc-highlight-media{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
#main .bc-page .bc-highlight-media>figure:first-child{grid-column:1/-1}
#main .bc-page .bc-highlight-media>figure:first-child img{aspect-ratio:1.5;object-fit:cover}
#main .bc-page .bc-secondary{grid-column:2}
#main .bc-page .bc-secondary img{aspect-ratio:1.5;object-fit:cover}
#main .bc-page .bc-reverse .bc-highlight-media{grid-column:2;grid-row:1}
#main .bc-page .bc-reverse .bc-highlight-copy{grid-column:1;grid-row:1}
#main .bc-page .bc-date{font-size:12px;color:var(--muted)}
#main .bc-page .bc-gallery{display:grid;grid-template-columns:1fr;gap:28px}
#main .bc-page .bc-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#main .bc-page .bc-thumbnails a{display:block}
#main .bc-page .bc-thumbnails img{aspect-ratio:1.5;object-fit:cover}
#main .bc-page .bc-film,#main .bc-page .bc-press{border-top:1px solid var(--line);padding-top:28px;margin-top:36px}
#main .bc-page .bc-press a{display:flex;width:fit-content;margin-bottom:10px}
#main .bc-page .bc-small{font-size:12px;margin-top:8px}
#main .bc-page .bc-future{background:var(--green);color:white}
#main .bc-page .bc-future :is(h2,h3,p,a){color:white}
#main .bc-page .bc-future h3{font-family:var(--font-headline);font-size:28px;font-weight:400;line-height:1.25;max-width:780px;margin-bottom:22px}
#main .bc-page .bc-future p{max-width:650px}
#main .bc-page .bc-delivery{border-left:2px solid var(--sage);padding-left:16px;max-width:790px}
#main .bc-page #bc-enquiry{max-width:850px;margin:32px 0 0}
#main .bc-page .bc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 28px}
#main .bc-page .enquiry-field label{font-size:14px;line-height:1.5;margin-bottom:8px}
#main .bc-page .enquiry-field :is(input,select,textarea){background:#f4f8f3;min-height:44px;padding:9px 8px;font-family:var(--font-body);font-size:16px;box-sizing:border-box}
#main .bc-page .enquiry-field :is(input,select,textarea):focus-visible{outline:2px solid var(--green);outline-offset:2px}
#main .bc-page .bc-full{grid-column:1/-1}
#main .bc-page .enquiry-field textarea{min-height:144px}
#main .bc-page .bc-consent{display:flex;align-items:flex-start;gap:10px;margin:24px 0;font-size:14px;line-height:1.6}
#main .bc-page .bc-consent input{width:18px;height:18px;flex:0 0 auto;margin:3px 0 0;accent-color:var(--green)}
#main .bc-page .bc-consent .text-link{font-size:14px;min-height:0;display:inline}
#main .bc-page .bc-submit{padding:12px 24px;border:1px solid var(--green);background:var(--green);color:white;font:inherit;font-size:14px;min-height:44px;cursor:pointer}
#main .bc-page .bc-submit:disabled{opacity:.58;cursor:not-allowed}
#main .bc-page .bc-submit:focus-visible{outline:2px solid var(--green);outline-offset:3px}
#main .bc-page .bc-lightbox{position:fixed;inset:0;width:min(1000px,94vw);height:auto;max-height:92dvh;max-width:94vw;margin:auto;padding:16px;border:0;background:#fbfcf9;color:var(--green);overflow:auto}
#main .bc-page .bc-lightbox::backdrop{background:#0f302acc}
#main .bc-page .bc-lightbox button{display:block;margin:0 0 12px auto;padding:6px 12px;background:transparent;border:1px solid currentColor;color:inherit;min-height:40px;font:inherit}
#main .bc-page .bc-lightbox img{max-height:78dvh;width:100%;object-fit:contain}
@media(max-width:900px){#main .bc-page .bc-thumbnails{grid-template-columns:repeat(3,minmax(0,1fr))}#main .bc-page .bc-highlight{gap:24px}}
@media(max-width:699px){#main .bc-page .bc-hero{padding-top:32px}#main .bc-page .bc-hero figure img{aspect-ratio:1.5;max-height:none;object-fit:contain}#main .bc-page .bc-timeline{grid-template-columns:1fr;gap:16px}#main .bc-page .bc-timeline li{border-top:0;border-left:1px solid var(--sage);padding:0 0 0 16px}#main .bc-page .bc-numbers{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}#main .bc-page .bc-numbers dd{font-size:32px}#main .bc-page .bc-highlight{grid-template-columns:1fr;margin-top:36px}#main .bc-page .bc-reverse .bc-highlight-media,#main .bc-page .bc-reverse .bc-highlight-copy{grid-column:auto;grid-row:auto}#main .bc-page .bc-fields{grid-template-columns:1fr}#main .bc-page .bc-thumbnails{grid-template-columns:repeat(2,minmax(0,1fr))}#main .bc-page .bc-future h3{font-size:24px}#main .bc-page .bc-nav{gap:8px 20px}}

/* BAPC refinement: confirmed history, clear editorial transitions and source-linked coverage. */
#main .bc-page .bc-event-details{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:0 0 24px;color:var(--green);font-size:15px}
#main .bc-page .bc-event-details span{padding-left:18px;border-left:1px solid var(--sage)}
#main .bc-page .bc-development-title{margin:36px 0 0}
#main .bc-page .bc-timeline{gap:0;margin:30px 0 0}
#main .bc-page .bc-timeline li{position:relative;padding:24px 24px 4px 0;border-top:1px solid var(--sage)}
#main .bc-page .bc-timeline li::before{content:"";position:absolute;top:-4px;left:0;width:7px;height:7px;background:var(--sage);border-radius:50%}
#main .bc-page .bc-timeline h3{margin-bottom:10px}
#main .bc-page .bc-timeline strong{font-family:var(--font-headline);font-size:26px;line-height:1.2;font-weight:400;color:var(--green)}
#main .bc-page .bc-timeline .bc-milestone-current{border-top-color:var(--green)}
#main .bc-page .bc-timeline .bc-milestone-current::before{background:var(--green)}
#main .bc-page .bc-numbers{gap:32px 24px;padding-top:8px}
#main .bc-page .bc-numbers dd{font-size:clamp(36px,4vw,48px)}
#main .bc-page .bc-event-meta{font-family:var(--font-label);font-size:11px;line-height:1.6;margin:0 0 12px;color:var(--muted)}
#main .bc-page .bc-gallery-section{background:#f4f8f3;padding-block:clamp(64px,6vw,88px)}
#main .bc-page .bc-gallery-section h2{margin-bottom:36px}
#main .bc-page .bc-film-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(24px,5vw,64px)}
#main .bc-page .bc-film-panel h2{margin-bottom:20px}
#main .bc-page .bc-film-poster{display:block;position:relative;color:white;background:var(--green);overflow:hidden}
#main .bc-page .bc-film-poster>img{aspect-ratio:1.7;object-fit:cover;filter:brightness(.72)}
#main .bc-page .bc-play{display:grid;place-items:center;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:56px;height:56px;border:1px solid #ffffffb3;border-radius:50%;background:#0f302a80}
#main .bc-page .bc-play svg{width:28px;height:28px}
#main .bc-page .bc-film-watch{position:absolute;bottom:18px;left:20px;font-size:12px;font-family:var(--font-label)}
#main .bc-page .bc-film-poster:is(:hover,:focus-visible) .bc-play{background:#0f302acc}
#main .bc-page .bc-press{border-top:1px solid var(--line);margin-top:0}
#main .bc-page .bc-press>h2{margin-bottom:36px}
#main .bc-page .bc-press-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
#main .bc-page .bc-press-image{display:block;width:100%;overflow:hidden}
#main .bc-page .bc-press-image img{aspect-ratio:1.65;object-fit:cover;object-position:50% 35%}
#main .bc-page .bc-press-copy{padding-top:22px}
#main .bc-page .bc-press-copy h3{margin-bottom:12px;font-family:var(--font-headline);font-size:21px;font-weight:400;line-height:1.35}
#main .bc-page .bc-press-meta{font-family:var(--font-label);font-size:11px;line-height:1.6;margin-bottom:12px}
#main .bc-page .bc-press-copy .bc-small{font-size:11px;margin-bottom:18px}
#main .bc-page .bc-press-links{display:flex;gap:8px 24px;flex-wrap:wrap}
#main .bc-page .bc-press .text-link{display:inline-flex;width:fit-content;margin:0}
#main .bc-page .bc-future{background:var(--editorial-mist,#e6ece5);color:var(--green);padding-block:clamp(64px,6vw,88px)}
#main .bc-page .bc-future :is(h2,h3,p,a){color:var(--green)}
#main .bc-page .bc-future h2{margin-bottom:28px}
#main .bc-page .bc-future h3{max-width:800px;margin-bottom:24px}
#main .bc-page .bc-future .text-link{margin-top:8px}
/* Native modal fills the visible viewport. No viewer styles apply elsewhere. */
body.bapc-gallery-open{overflow:hidden}
#main .bc-page .bc-lightbox{box-sizing:border-box;position:fixed;inset:0;width:100%;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:#111a17;color:#fff;border:0;overflow:hidden;grid-template-rows:44px minmax(0,1fr) 94px;gap:8px}
#main .bc-page .bc-lightbox[open]{display:grid}
#main .bc-page .bc-lightbox::backdrop{background:#111a17}
#main .bc-page .bc-lightbox .bc-lightbox-stage{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;min-height:0;min-width:0;gap:12px;touch-action:pan-y pinch-zoom}
#main .bc-page .bc-lightbox :is(.bc-lightbox-close,.bc-lightbox-prev,.bc-lightbox-next){display:grid;place-items:center;align-self:center;box-sizing:border-box;min-width:44px;min-height:44px;width:44px;height:44px;margin:0;padding:9px;border:1px solid #ffffff5c;border-radius:50%;background:transparent;color:#fff;font:inherit;cursor:pointer}
#main .bc-page .bc-lightbox .bc-lightbox-close{justify-self:end;border:0}
#main .bc-page .bc-lightbox button svg{display:block;width:24px;height:24px}
#main .bc-page .bc-lightbox button:is(:hover,:focus-visible){background:#ffffff1a}
#main .bc-page .bc-lightbox button:focus-visible{outline:2px solid #fff;outline-offset:3px}
#main .bc-page .bc-lightbox img{display:block;opacity:1!important;transform:none!important;animation:none!important;transition:none!important}
#main .bc-page .bc-lightbox .bc-lightbox-photo{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;user-select:none;-webkit-user-select:none}
#main .bc-page .bc-lightbox .bc-lightbox-thumbs{display:flex;position:relative;align-items:center;justify-content:flex-start;gap:12px;width:100%;max-width:100%;height:94px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding:6px 4px;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#ffffff66 transparent}
#main .bc-page .bc-lightbox .bc-lightbox-thumbs button{display:block;flex:0 0 100px;width:100px;height:66px;min-height:0;margin:0;padding:3px;background:transparent;border:1px solid transparent;border-radius:0;cursor:pointer;opacity:.55}
#main .bc-page .bc-lightbox .bc-lightbox-thumbs button[aria-current=true]{border-color:white;opacity:1}
#main .bc-page .bc-lightbox .bc-lightbox-thumbs button:is(:hover,:focus-visible){opacity:1}
#main .bc-page .bc-lightbox .bc-lightbox-thumbs img{width:100%;height:100%;max-height:none;object-fit:cover}
#main .bc-page .bc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%);border:0}
@media(max-width:699px){
 #main .bc-page .bc-timeline{grid-template-columns:1fr;gap:0;margin-left:4px}
 #main .bc-page .bc-timeline li{border-top:0;border-left:1px solid var(--sage);padding:0 0 24px 20px}
 #main .bc-page .bc-timeline li:last-child{padding-bottom:0}
 #main .bc-page .bc-timeline li::before{left:-4px;top:5px}
 #main .bc-page .bc-timeline h3{margin-bottom:6px}
 #main .bc-page .bc-timeline strong{font-size:24px}
 #main .bc-page .bc-film-panel,#main .bc-page .bc-press-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 #main .bc-page .bc-press-copy h3{font-size:19px}
 #main .bc-page .bc-lightbox{padding:8px 6px max(8px,env(safe-area-inset-bottom));grid-template-rows:44px minmax(0,1fr) 82px;gap:6px}
 #main .bc-page .bc-lightbox .bc-lightbox-stage{grid-template-columns:44px minmax(0,1fr) 44px;gap:2px}
 #main .bc-page .bc-lightbox :is(.bc-lightbox-prev,.bc-lightbox-next){width:44px;height:44px;min-width:44px;padding:8px;border:0}
 #main .bc-page .bc-lightbox .bc-lightbox-thumbs{height:82px;gap:8px}
 #main .bc-page .bc-lightbox .bc-lightbox-thumbs button{flex-basis:80px;width:80px;height:54px}
}
@media(max-height:450px){
 #main .bc-page .bc-lightbox{grid-template-rows:36px minmax(0,1fr) 62px;padding:6px;gap:4px}
 #main .bc-page .bc-lightbox .bc-lightbox-thumbs{height:62px}
 #main .bc-page .bc-lightbox .bc-lightbox-thumbs button{flex-basis:72px;width:72px;height:46px}
 #main .bc-page .bc-lightbox .bc-lightbox-close{height:36px;min-height:36px}
}
html:has(body.bapc-gallery-open){overflow:hidden}
/* BAPC-only alignment with the existing corporate hero and product section navigation. */
#main .bc-page .bc-hero{padding:0}
#main .bc-page .bc-hero .ce-hero{margin:0}
#main .bc-page .bc-hero .ce-hero img{max-height:none;aspect-ratio:auto}
#main .bc-page .ce-intro h1{max-width:none;margin:0 auto 20px}
#main .bc-page .ce-intro .ce-kicker{margin:0 0 14px}
#main .bc-page .ce-intro>p:not(.ce-kicker){max-width:600px;margin:0 auto 18px}
#main .bc-page .bc-actions{justify-content:center}
#main .bc-page #congress-about{padding-bottom:80px}
#main .bc-page .bc-development-title{margin-top:44px}
#main .bc-page #congress-numbers{background:#f4f8f3;border:0;padding:48px clamp(20px,4vw,56px);box-sizing:border-box;margin-bottom:24px}
#main .bc-page .bc-numbers dd{font-size:clamp(36px,4vw,48px);color:var(--green);font-family:var(--font-headline);line-height:1.2}
#main .bc-page .bc-highlight{position:relative;padding-left:28px;margin-top:0;padding-top:36px;padding-bottom:36px;border-left:1px solid var(--sage)}
#main .bc-page .bc-highlight:before{content:'';position:absolute;top:50%;left:-4px;width:7px;height:7px;border-radius:50%;background:var(--green)}
#main .bc-page .bc-carousel{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-x:contain}
#main .bc-page .bc-carousel .bc-slide{flex:0 0 calc((100% - 40px)/3);scroll-snap-align:start;min-width:0}
#main .bc-page .bc-carousel img{aspect-ratio:1.5;object-fit:cover}
#main .bc-page .bc-carousel figcaption{font-size:12px;color:var(--muted);padding-top:12px;padding-bottom:12px}
#main .bc-page .bc-carousel-controls{display:flex;justify-content:flex-end;gap:12px;margin:-8px 0 20px}
#main .bc-page .bc-carousel-controls button{width:44px;height:44px;border:1px solid var(--sage);background:transparent;color:var(--green);font-size:20px;cursor:pointer}
#main .bc-page .bc-carousel-controls button:hover{background:var(--editorial-mist,#e6ece5)}
#main .bc-page .bc-press-card{display:flex;flex-direction:column}
#main .bc-page .bc-press-copy{display:flex;flex-direction:column;flex:1}
#main .bc-page .bc-press-links{margin-top:auto;padding-top:8px}
#main .bc-page .bc-press-meta,#main .bc-page .bc-press-copy .bc-small{font-size:12px}
#main .bc-page .bc-future{padding-block:48px}
#main .bc-page .bc-future .eyebrow{margin-bottom:14px}
#main .bc-page .bc-future .bc-future-title{font-size:var(--history-title-size,40px);margin-bottom:20px}
#main .bc-page .bc-future h3{margin-bottom:16px}
#main .bc-page #congress-inquiry{padding-top:48px}
@media(max-width:900px){#main .bc-page .bc-carousel .bc-slide{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:699px){#main .bc-page .ce-intro h1{margin-bottom:18px}#main .bc-page .bc-carousel .bc-slide{flex-basis:88%}#main .bc-page #congress-about{padding-bottom:56px}#main .bc-page .bc-highlight{padding-left:20px}#main .bc-page .bc-future{padding-block:36px}}
@media(prefers-reduced-motion:reduce){#main .bc-page .bc-carousel{scroll-behavior:auto}}
#main .bc-page .bc-hero .ce-hero>img{transform:translateY(-50%)!important;object-position:center;opacity:1!important}
#main .bc-page .ce-intro h1{color:#004437}
/* Page-local hero focal point; reuse the existing overlay header policy. */
#main .bc-page .bc-hero .ce-hero{height:clamp(330px,38.14vw,560px);aspect-ratio:auto;max-height:none}
#main .bc-page .bc-hero .ce-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;transform:none!important;filter:none}
@media(max-width:699px){#main .bc-page .bc-hero .ce-hero{height:400px}#main .bc-page .bc-hero .ce-hero>img{object-position:50% 50%}}

/* Only the congress gallery: stable, clipped slides with no shared reveal transforms. */
#main .bc-page .bc-carousel{position:relative;isolation:isolate;overflow-x:auto;overflow-y:hidden;align-items:flex-start}
#main .bc-page .bc-carousel .bc-slide{box-sizing:border-box;flex-grow:0;flex-shrink:0;position:relative;overflow:hidden;margin:0;transform:none}
#main .bc-page .bc-carousel .bc-slide>a{display:block;width:100%;overflow:hidden}
#main .bc-page .bc-carousel .bc-slide img{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;transform:none!important;opacity:1!important;animation:none!important;transition:none!important}

/* November refinement, scoped to the congress page. */
#main .bc-page{--bc-space:clamp(64px,6vw,88px)}
#main .bc-page .bc-section>h2{margin-bottom:36px}
#main .bc-page #congress-about{padding-block:var(--bc-space)}
#main .bc-page .bc-development-title{margin-top:48px}
#main .bc-page #congress-numbers{padding-block:64px;margin-bottom:32px;background:var(--green);color:#fff}
#main .bc-page #congress-numbers :is(h2,dt,dd){color:#fff}
#main .bc-page #highlights-2026{padding-block:var(--bc-space)}
#main .bc-page .bc-highlight{border-left:0;padding:40px 0;gap:80px}
#main .bc-page .bc-highlight:after{content:'';position:absolute;top:0;bottom:0;left:50%;width:1px;background:var(--sage);pointer-events:none}
#main .bc-page .bc-highlight:before{left:calc(50% - 3px);top:50%;z-index:1}
#main .bc-page .bc-gallery-section{padding-block:var(--bc-space);background:var(--editorial-mist,#e6ece5)}
#main .bc-page .bc-film-section{padding-block:var(--bc-space);margin-top:0}
#main .bc-page .bc-press{padding-block:var(--bc-space)}
#main .bc-page .bc-future{padding-block:64px}
#main .bc-page #congress-inquiry{padding-block:var(--bc-space)}
#main .bc-page .enquiry-field :is(input,select,textarea):is(:focus,:focus-visible){outline:none!important;box-shadow:none!important;border-color:transparent!important;border-bottom:2px solid var(--green)!important;background:#f4f8f3}
#main .bc-page .enquiry-field :is(input,select,textarea)[aria-invalid=true]{border-bottom-color:#9c3a30!important}
@media(max-width:699px){
 #main .bc-page .bc-highlight{padding:28px 0 28px 24px;gap:24px}
 #main .bc-page .bc-highlight:after{left:3px}
 #main .bc-page .bc-highlight:before{left:0}
 #main .bc-page #congress-numbers,#main .bc-page .bc-future{padding-block:48px}
 #main .bc-page .bc-section>h2{margin-bottom:28px}
}

/* Congress anchor bar only; retain its original geometry and non-sticky position. */
#main .bc-page .bc-section-nav{
 background:#0F302A;color:#FFFFFF;border-bottom-color:#0F302A;
 padding-inline:32px;scroll-padding-inline:32px;justify-content:space-between;
 flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;
}
#main .bc-page .bc-section-nav>a{flex:0 0 auto;color:#FFFFFF;position:relative;text-decoration:none;transition:color .2s}
#main .bc-page .bc-section-nav>a:hover{color:rgb(255 255 255 / 80%)}
#main .bc-page .bc-section-nav>a[aria-current="location"]{text-decoration:none;font-weight:500}
#main .bc-page .bc-section-nav>a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#fff;transform:scaleX(0);transform-origin:left;transition:transform .2s;pointer-events:none}
@media(hover:hover){#main .bc-page .bc-section-nav>a:hover::after{transform:scaleX(1)}}
#main .bc-page .bc-section-nav>a:focus-visible{outline:2px solid #FFFFFF;outline-offset:4px}
@media(max-width:1023px){#main .bc-page .bc-section-nav{padding-inline:24px;scroll-padding-inline:24px;gap:24px}}
@media(max-width:699px){#main .bc-page .bc-section-nav{padding-inline:18px;scroll-padding-inline:18px}}
#main .bc-page :is(#congress-about,#congress-numbers,#highlights-2026,#congress-gallery,#congress-2027){scroll-margin-top:var(--bc-anchor-offset,16px)}

/* Existing 2027 announcement: theme first in the visual hierarchy. */
#main .bc-page .bc-future .eyebrow{margin:0 0 20px}
#main .bc-page .bc-future .bc-event-name{font-family:var(--font-body);font-size:15px;line-height:1.6;font-weight:400;max-width:58ch;margin:0 0 12px;color:var(--green)}
#main .bc-page .bc-future .bc-future-title{font-family:var(--font-headline);font-size:clamp(32px,3.4vw,44px);font-weight:400;line-height:1.15;letter-spacing:-.025em;text-transform:none;color:#004437;margin:0 0 24px}
#main .bc-page .bc-future .bc-future-title+p{max-width:64ch;margin:0 0 20px}
#main .bc-page .bc-future .bc-future-title+p+p{margin:0}
@media(max-width:699px){
 #main .bc-page .bc-future .eyebrow{margin-bottom:18px}
 #main .bc-page .bc-future .bc-event-name{font-size:14px}
 #main .bc-page .bc-future .bc-future-title{font-size:32px;margin-bottom:20px}
 #main .bc-page .bc-section-nav{gap:28px;justify-content:space-between}
}

/* Only the 2027 announcement: readable wrapping and a restrained mineral-green wash. */
#main .bc-page #congress-2027{background:radial-gradient(ellipse at 94% 18%,#3b785f38 0%,#3b785f00 62%),linear-gradient(125deg,#fbfcf9 0%,#e6ece5 42%,#d9e3dc 100%)}
#main .bc-page #congress-2027 .bc-wrap{min-width:0}
#main .bc-page #congress-2027 :is(p,h2){word-break:normal;overflow-wrap:normal;hyphens:none}
#main .bc-page #congress-2027 .eyebrow{max-width:none;margin-bottom:22px;text-wrap:balance}
#main .bc-page #congress-2027 .bc-event-name{max-width:780px;margin-bottom:14px;text-wrap:balance}
#main .bc-page #congress-2027 .bc-future-title{max-width:780px;margin-bottom:24px;text-wrap:balance}
#main .bc-page #congress-2027 .bc-future-title+p{max-width:780px;line-height:1.75;margin-bottom:24px;text-wrap:balance}
#main .bc-page #congress-2027 .bc-future-title+p+p{max-width:780px;text-wrap:balance}
#main .bc-page #congress-2027 .bc-future-note{max-width:780px;font-family:var(--font-body);font-size:12px;line-height:1.65;color:var(--muted);margin:18px 0 0;text-wrap:balance}
@media(max-width:699px){
 #main .bc-page #congress-2027 .eyebrow{margin-bottom:18px}
 #main .bc-page #congress-2027 .bc-event-name{margin-bottom:12px}
 #main .bc-page #congress-2027 .bc-future-title{margin-bottom:20px}
 #main .bc-page #congress-2027 .bc-future-title+p{margin-bottom:20px}
 #main .bc-page #congress-2027 .bc-future-note{margin-top:16px}
}

/* Extend only the two existing green surfaces; their layout boxes stay unchanged. */
#main .bc-page .bc-section-nav{border-image:linear-gradient(#0F302A,#0F302A) fill 0 / 0 / 0 100vw}
#main .bc-page #congress-numbers{border-image:linear-gradient(var(--green),var(--green)) fill 0 / 0 / 0 100vw}

/* Congress opening matches the current Our History proportions and type system locally. */
#main .bc-page .bc-hero{padding-bottom:0}
#main .bc-page .bc-hero .ce-hero{height:85vh;height:85svh;max-height:none;aspect-ratio:auto;width:100%;margin:0}
#main .bc-page .bc-hero .ce-hero>img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
#main .bc-page .bc-hero>.ce-intro{padding:0 var(--page-gutter) 32px;min-height:0;max-width:900px}
#main .bc-page .bc-title-band{position:relative;min-height:15vh;min-height:15svh;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(max(19px,calc(7.5svh - 24px)),1fr) auto minmax(max(19px,calc(7.5svh - 24px)),1fr)}
#main .bc-page .bc-title-band h1{grid-row:2;justify-self:center;margin:0;line-height:1.2;text-wrap:balance}
#main .bc-page .bc-title-band .ce-kicker{position:static;grid-row:1;align-self:end;margin:0 0 4px;transform:none;opacity:0;translate:0 6px}
#main .bc-page .bc-hero>.ce-intro>p{max-width:600px;margin:clamp(-32px,-3vh,-16px) auto 0;opacity:0;translate:0 6px}
#main .bc-page .bc-hero.co-has-scrolled :is(.bc-title-band .ce-kicker,.ce-intro>p){opacity:1;translate:0 0;transition:opacity .45s ease,translate .45s ease}
@media(max-width:699px){
 #main .bc-page .bc-title-band{grid-template-rows:minmax(max(25px,calc(7.5svh - 16.8px)),1fr) auto minmax(max(25px,calc(7.5svh - 16.8px)),1fr)}
 #main .bc-page .bc-title-band h1{font-size:28px;line-height:1.2;max-width:none}
 #main .bc-page .bc-title-band .ce-kicker{font-size:10px;margin-bottom:10px}
 #main .bc-page .bc-hero>.ce-intro{padding-bottom:28px}
}
@media(prefers-reduced-motion:reduce){#main .bc-page .bc-hero :is(.ce-kicker,.ce-intro>p){transition:none}}

/* Professional gatherings only: equal milestones and one restrained future pulse. */
#main .bc-page .bc-timeline{position:relative;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
#main .bc-page .bc-timeline::before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:var(--sage);pointer-events:none}
#main .bc-page .bc-timeline li{border:0;padding:24px 8px 4px;text-align:center;min-width:0}
#main .bc-page .bc-timeline li::before{left:50%;top:-3px;transform:translateX(-50%)}
#main .bc-page .bc-timeline h3{margin:0 0 10px}
#main .bc-page .bc-timeline strong{display:block;margin-bottom:4px}
#main .bc-page .bc-timeline .bc-milestone-upcoming::before{background:var(--green)}
#main .bc-page .bc-timeline .bc-milestone-upcoming::after{content:"";position:absolute;left:50%;top:-3px;width:7px;height:7px;box-sizing:border-box;border:1px solid var(--green);border-radius:50%;pointer-events:none;animation:bc-upcoming-anticipation 3.6s ease-out infinite}
#main .bc-page .bc-timeline .bc-milestone-upcoming p{color:var(--muted);font-size:14px;line-height:1.6}
@keyframes bc-upcoming-anticipation{0%{transform:translateX(-50%) scale(1);opacity:.45}70%,100%{transform:translateX(-50%) scale(3.8);opacity:0}}
@media(max-width:699px){
 #main .bc-page .bc-timeline{grid-template-columns:minmax(0,1fr)}
 #main .bc-page .bc-timeline::before{display:none}
 #main .bc-page .bc-timeline li{border-left:1px solid var(--sage);padding:0 0 24px 20px;text-align:left}
 #main .bc-page .bc-timeline li:last-child{border-left-color:transparent;padding-bottom:0}
 #main .bc-page .bc-timeline li::before,#main .bc-page .bc-timeline .bc-milestone-upcoming::after{left:-1px;top:5px}
 #main .bc-page .bc-timeline h3{margin-bottom:6px}
}
@media(prefers-reduced-motion:reduce){#main .bc-page .bc-timeline .bc-milestone-upcoming::after{animation:none;transform:translateX(-50%) scale(1.8);opacity:.3}}
/* Draw to the visible future milestone before starting its gentle pulse. */
#main .bc-page .bc-timeline::before{transform-origin:left center;transform:scaleX(1)}
#main .bc-page .bc-timeline.bc-line-pending::before{transform:scaleX(0)}
#main .bc-page .bc-timeline.bc-line-drawing::before{animation:bc-timeline-draw-x 2.8s cubic-bezier(.35,0,.2,1) both}
#main .bc-page .bc-timeline .bc-milestone-upcoming::before{background:var(--sage);opacity:.45;transition:opacity .7s ease,background-color .7s ease}
#main .bc-page .bc-timeline .bc-milestone-upcoming::after{animation:none;opacity:0}
#main .bc-page .bc-timeline.bc-line-arrived .bc-milestone-upcoming::before{background:var(--green);opacity:1}
#main .bc-page .bc-timeline.bc-line-arrived .bc-milestone-upcoming::after{animation:bc-future-breathe 3.8s cubic-bezier(.4,0,.2,1) infinite}
@keyframes bc-timeline-draw-x{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes bc-timeline-draw-y{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes bc-future-breathe{0%,100%{transform:translateX(-50%) scale(1);opacity:.12}45%{transform:translateX(-50%) scale(2.8);opacity:.36}75%{transform:translateX(-50%) scale(3.5);opacity:0}}
@media(max-width:699px){
 #main .bc-page .bc-timeline li{border-left:0}
 #main .bc-page .bc-timeline li::before,#main .bc-page .bc-timeline .bc-milestone-upcoming::after{left:0}
 #main .bc-page .bc-timeline::before{display:block;left:0;right:auto;top:8.5px;width:1px;height:var(--bc-timeline-span,calc(100% - 48px));transform-origin:center top;transform:scaleY(1)}
 #main .bc-page .bc-timeline.bc-line-pending::before{transform:scaleY(0)}
 #main .bc-page .bc-timeline.bc-line-drawing::before{animation-name:bc-timeline-draw-y}
}
@media(prefers-reduced-motion:reduce){
 #main .bc-page .bc-timeline::before{animation:none!important;transform:none!important}
 #main .bc-page .bc-timeline .bc-milestone-upcoming::before{transition:none}
 #main .bc-page .bc-timeline .bc-milestone-upcoming::after{animation:none!important;opacity:0}
}
#main .bc-page .bc-carousel{scrollbar-width:none;-ms-overflow-style:none;cursor:grab;touch-action:pan-x pan-y;scroll-behavior:auto}
#main .bc-page .bc-carousel::-webkit-scrollbar{display:none}
#main .bc-page .bc-carousel.bc-auto-moving,#main .bc-page .bc-carousel.bc-is-dragging{scroll-snap-type:none}
#main .bc-page .bc-carousel.bc-is-dragging{cursor:grabbing;user-select:none}
#main .bc-page .bc-carousel img{-webkit-user-drag:none;user-select:none}
.bc-loop-controls{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.bc-loop-controls button{min-width:44px;min-height:36px;padding:6px 10px;border:0;background:transparent;color:var(--green);font:inherit;cursor:pointer}
.bc-loop-controls button:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* No visible navigation row; a focus-revealed pause remains keyboard accessible. */
.bc-loop-controls{position:relative;display:block;margin:0;height:0}
.bc-loop-controls button{position:absolute;width:1px;height:1px;min-width:0;min-height:0;padding:0;margin:-1px;clip-path:inset(50%);overflow:hidden}
.bc-loop-controls button:focus-visible{right:0;top:8px;width:auto;height:auto;min-height:36px;margin:0;padding:6px 12px;clip-path:none;overflow:visible;background:#fbfcf9;z-index:2}

#main .bc-page .bc-press-links{justify-content:flex-end}
#main .bc-page .bc-press-arrow{display:flex;align-items:center;justify-content:center;width:44px;height:44px;text-decoration:none;border:0;color:var(--green)}
#main .bc-page .bc-press-arrow svg{transition:transform .3s ease}
#main .bc-page .bc-press-arrow:is(:hover,:focus-visible) svg{transform:translateX(5px)}
@media(prefers-reduced-motion:reduce){#main .bc-page .bc-press-arrow svg{transition:none}}
