/* Only the homepage and activity introduction opt in. Record tables and other pages retain their styles. */
:is(.premium-home,.premium-activity){--bbc-bg:#f7f3ed;--bbc-bg-soft:#f2ece4;--bbc-text:#302722;--bbc-espresso:#49312a;--bbc-deep:#382820;--bbc-mocha:#684635;--bbc-bronze:#a67f5b;--bbc-soft-bronze:#c5ab90;--bbc-burgundy:#713e49;--bbc-muted:#665247;--bbc-line:#e1d4c6;--bbc-line-soft:#eae2d8;--bbc-motion-fast:220ms;--bbc-motion-normal:450ms;--bbc-motion-slow:700ms;--bbc-ease:cubic-bezier(.22,1,.36,1)}
.premium-home{background:#fff;color:var(--bbc-text)}
:is(.premium-home,.premium-activity) :is(a,button,summary):focus-visible{outline:2px solid var(--bbc-burgundy);outline-offset:5px}
:is(.premium-home,.premium-activity) .primary-group>a{position:relative;color:var(--bbc-espresso)}
:is(.premium-home,.premium-activity) .primary-group>a:after{content:"";position:absolute;bottom:17px;left:0;width:100%;height:1.5px;margin:0;background:var(--bbc-bronze);transform:scaleX(0);transform-origin:left center;transition:transform 250ms ease-out}
:is(.premium-home,.premium-activity) .primary-group>a[aria-current]:after{transform:scaleX(1)}
:is(.premium-home,.premium-activity) .header-booking{background:var(--bbc-mocha);color:#fff;transition:background var(--bbc-motion-fast)}
:is(.premium-home,.premium-activity) .header-booking span{display:inline-block;transition:transform var(--bbc-motion-fast)}
:is(.premium-home,.premium-activity) .nav-dropdown{transition:opacity 220ms ease,transform 220ms var(--bbc-ease),display 220ms allow-discrete;opacity:1;transform:translateX(-50%) translateY(0)}
:is(.premium-home,.premium-activity) .nav-dropdown[hidden]{opacity:0;transform:translateX(-50%) translateY(8px)}
@starting-style{:is(.premium-home,.premium-activity) .nav-dropdown:not([hidden]){opacity:0;transform:translateX(-50%) translateY(8px)}}
.premium-home .home-hero .hero-copy h1{font-size:clamp(42px,3.4vw,54px);line-height:1.42;color:var(--bbc-espresso);text-shadow:none;animation:none}
.premium-home .home-hero .hero-desc{color:var(--bbc-muted);font-size:16px;line-height:1.75;text-shadow:none}
.premium-home .home-hero .hero-english{color:var(--bbc-mocha);font-size:11px;letter-spacing:2.8px;min-height:20px}
.bbc-type-line{display:inline-block;vertical-align:top;white-space:nowrap;clip-path:inset(0 100% 0 0);animation:bbc-type var(--type-duration) steps(var(--type-steps),end) forwards}
.bbc-type-line:after{content:"";display:inline-block;height:1em;border-right:1px solid #a67f5b;margin-left:5px;vertical-align:middle;animation:bbc-cursor 550ms step-end infinite}
.bbc-type-line.typed:after{animation:none;opacity:0;transition:opacity 300ms}
@keyframes bbc-type{to{clip-path:inset(0 0 0 0)}}
@keyframes bbc-cursor{50%{opacity:0}}
.premium-home .hero-video-panel{background:#141516}
.academic-video-link{position:absolute;inset:0;z-index:2}
.academic-video-controls{position:absolute;left:20px;right:20px;bottom:15px;z-index:3;display:flex;justify-content:space-between;gap:12px;align-items:center;background:#141516eb;padding:9px 12px;border-top:1px solid #a67f5b66;color:#f7f3ed;font-size:12px}
.academic-video-controls a{color:#f7f3ed;display:inline-flex;gap:12px;align-items:center}
.academic-video-toggle{min-height:36px;min-width:88px;border:1px solid #c5ab9077;background:#141516;color:#f7f3ed;border-radius:3px;font:inherit;cursor:pointer}
.academic-video-progress{position:absolute;bottom:0;left:0;right:0;height:2px;background:#c5ab9033;z-index:3}
.academic-video-progress>span{display:block;width:100%;height:100%;background:#a67f5b;transform:scaleX(0);transform-origin:left center}
.premium-home .clinic-features-title{color:var(--bbc-espresso);font-weight:650;font-size:clamp(25px,2.8vw,38px)}
.premium-home .home-values .value h3{color:var(--bbc-espresso);font-size:24px;font-weight:600}
.premium-home .home-values .value p{color:var(--bbc-muted);font-size:16px;line-height:1.75}
.premium-home .value svg{stroke:var(--bbc-bronze);stroke-width:1.4;transition:transform 300ms,stroke 300ms}
.premium-home .value+.value:before{background:var(--bbc-line)}
.premium-home .value-number{color:var(--bbc-mocha)}
.premium-home .bbc-icons-draw svg path{animation:bbc-draw 800ms var(--bbc-ease) var(--path-delay) both}
@keyframes bbc-draw{from{stroke-dasharray:var(--path-length);stroke-dashoffset:var(--path-length)}to{stroke-dasharray:var(--path-length);stroke-dashoffset:0}}
.premium-home .st-heading h2,.premium-home .shorts-heading h2{color:var(--bbc-espresso);font-size:clamp(32px,3vw,42px)}
.premium-home .st-lead{color:var(--bbc-muted);font-size:16px;line-height:1.7}
.premium-home .st-tab{transition:color 250ms,background 250ms}
.premium-home .st-feature:not([hidden]){animation:bbc-panel 300ms var(--bbc-ease)}
@keyframes bbc-panel{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.premium-home .st-feature,.premium-home .st-card{overflow:hidden;box-shadow:none}
.premium-home :is(.st-feature,.st-card) .st-model{transition:transform 500ms var(--bbc-ease)}
.premium-home .st-animate.st-in-view .st-model{opacity:1;animation-fill-mode:backwards}
.premium-home .st-more{transition:background 250ms,border-color 250ms}
.premium-home .st-more span{display:inline-block;transition:transform 220ms}
.premium-home .distinction-banner>img{left:auto}
.premium-home .tour-copy{text-shadow:none}
.premium-home .tour-action>span{transition:transform 350ms,border-color 350ms}
.premium-home .tour-section.m-in .clinic-tour>img{animation:bbc-photo 1s var(--bbc-ease)}
@keyframes bbc-photo{from{opacity:.85;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
.premium-home .footer-hours :is(dt,dd),.premium-home .footer-info-lead{color:var(--bbc-muted)}
.premium-home .footer-hours dd{font-variant-numeric:tabular-nums}
.premium-home .footer-hours-phone strong,.premium-home .ft-phone strong{color:var(--bbc-burgundy)}
.premium-home .footer-news li a{transition:background 220ms;color:var(--bbc-muted)}
.premium-home .footer-news li a:hover{background:var(--bbc-bg-soft)}
.premium-home .footer-info-shortcut{transition:none}
.premium-home .footer-info-shortcut:hover{transform:none}
.premium-home .certificate-shortcut-action>span{display:inline-block;transition:transform 220ms}
/* Introduction only: none of these selectors reaches the historical records. */
.premium-activity .academic-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:32px;background:var(--bbc-bg);border-color:var(--bbc-line);border-radius:8px;align-items:center;padding:34px}
.premium-activity .academic-intro-copy h2{font-size:clamp(28px,2.8vw,40px);line-height:1.4;color:var(--bbc-espresso);font-weight:650}
.premium-activity .academic-intro-copy h2 span{color:var(--bbc-mocha)}
.premium-activity .academic-intro-copy>p:not(.academic-eyebrow){font-size:16px;line-height:1.75;color:var(--bbc-muted)}
.premium-activity .academic-intro-copy .academic-eyebrow{font-size:11px;letter-spacing:2px;color:var(--bbc-mocha)}
.premium-activity .academic-intro-copy .academic-director strong{display:block;margin:6px 0 0}
.premium-activity .academic-records-jump{display:inline-flex;align-items:center;gap:22px;margin-top:24px;padding:10px 0;border-bottom:1px solid var(--bbc-bronze);font-size:14px;color:var(--bbc-espresso)}
.premium-activity .academic-intro-photos{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0;position:relative;min-width:0;overflow:hidden}
.premium-activity .academic-intro-photos .academic-photo-main{grid-area:1/1;margin:0;opacity:1;visibility:visible;transition:opacity 800ms ease,visibility 800ms;min-width:0;pointer-events:none}
.premium-activity .academic-intro-photos .academic-gallery-next{opacity:0;visibility:hidden}
.premium-activity .academic-photo-main img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:3px}
.premium-activity .academic-photo-main figcaption{font-size:12px;line-height:1.65;color:var(--bbc-muted);min-height:48px;padding:12px 0 6px}
.academic-gallery-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:8px 0 12px}
.academic-gallery-count{margin-right:auto;color:var(--bbc-mocha);font:13px Georgia,serif;letter-spacing:2px;font-variant-numeric:tabular-nums}
.academic-gallery-controls button{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--bbc-line);border-radius:50%;color:var(--bbc-espresso);background:transparent;font-size:17px;cursor:pointer;transition:background 220ms}
.academic-gallery-controls button:hover{background:var(--bbc-bg-soft)}
.academic-gallery-progress{height:2px;background:var(--bbc-line);width:100%}
.academic-gallery-progress>span{display:block;height:100%;background:var(--bbc-bronze);transform:scaleX(0);transform-origin:left center}
@media(hover:hover){:is(.premium-home,.premium-activity) .primary-group>a:hover:after,:is(.premium-home,.premium-activity) .primary-group>a:focus-visible:after{transform:scaleX(1)}:is(.premium-home,.premium-activity) .header-booking:hover{background:var(--bbc-deep)}:is(.premium-home,.premium-activity) .header-booking:hover span{transform:translateX(5px)}.premium-home .value:hover svg{transform:translateY(-4px) scale(1.03)}.premium-home .st-tab:not(.active):hover{background:var(--bbc-bg-soft)}.premium-home :is(.st-feature,.st-card):hover .st-model{transform:scale(1.035)}.premium-home .st-more:hover{border-color:var(--bbc-mocha);background:#ffffff18}.premium-home .st-more:hover span,.premium-home .footer-info-shortcut:hover .certificate-shortcut-action>span{transform:translateX(5px)}.premium-home .clinic-tour:hover .tour-action>span{transform:translateX(4px);border-color:var(--bbc-soft-bronze)}}
@media(max-width:1100px){.premium-home .home-values .value h3{font-size:20px}.premium-activity .academic-intro{gap:24px;padding:26px}}
@media(max-width:1100px){.premium-home .home-hero .hero-copy h1{font-size:36px}}
@media(max-width:900px){.premium-activity .academic-intro{grid-template-columns:minmax(0,1fr)}.premium-activity .academic-intro-photos{max-width:620px;width:100%}.premium-home .home-hero .hero-copy h1{font-size:32px}}
@media(max-width:600px){.premium-home .home-hero .hero-copy h1{font-size:30px;line-height:1.45}.premium-home .home-hero .hero-desc{font-size:15px;max-width:230px}.premium-home .home-hero .hero-english{font-size:9px;letter-spacing:1.8px}.premium-home .home-values .value h3{font-size:19px}.premium-home .home-values .value p{font-size:15px}.premium-home .value+.value{border-top-color:var(--bbc-line)}.premium-home .st-heading h2,.premium-home .shorts-heading h2{font-size:27px}.academic-video-controls{left:8px;right:8px;bottom:8px;padding:4px 8px;font-size:11px}.academic-video-toggle{min-height:36px;min-width:76px}.premium-activity .academic-intro{padding:24px 20px;gap:26px}.premium-activity .academic-intro-copy h2{font-size:30px}.premium-activity .academic-intro-copy>p:not(.academic-eyebrow){font-size:15px}.premium-activity .academic-photo-main figcaption{font-size:12px;min-height:52px}}
@media(max-width:600px){:is(.premium-home,.premium-activity) .home-mobile-cta{padding-right:82px}:is(.premium-home,.premium-activity) .clinic-floating-links{bottom:calc(16px + env(safe-area-inset-bottom));right:14px}}
@media(prefers-reduced-motion:reduce){:is(.premium-home,.premium-activity){scroll-behavior:auto}:is(.premium-home,.premium-activity) *{animation-duration:0s;animation-delay:0s;transition-duration:0s}.bbc-type-line{clip-path:none}.bbc-type-line:after{display:none}.premium-home .bbc-icons-draw svg path{stroke-dashoffset:0}.academic-gallery-progress{visibility:hidden}}
