/* Logo palette: blue leads, red and yellow punctuate neutral editorial surfaces.
   Dark blue variants keep text and button labels legible. */
:root{--brand-blue:#008bd2;--brand-red:#cf1733;--button-blood:#980f24;--button-blood-hover:#760b1b;--brand-yellow:#ffe13b;--brand-dark:#082c50;--brand-action:#006eaf;--ink:#112e48;--deep:var(--brand-dark);--medical:var(--brand-action);--medical-soft:#e7f3fc;--gold:var(--brand-red);--cream:#fafcfe}
body{background:var(--cream)}
h2 em,.medical-team .team-index,.knowledge-disciplines h3,.knowledge-disciplines h3 span,.shortcut-icon,.path-arrow,.pillar-icon{color:var(--brand-action)}
.topbar{background:var(--brand-dark)}
.topbar .status-dot,.medical-dot{background:var(--brand-yellow);box-shadow:0 0 0 5px #ffe13b16}
.header{border-bottom:3px solid transparent;border-image:linear-gradient(90deg,var(--brand-blue) 0 72%,var(--brand-yellow) 72% 87%,var(--brand-red) 87%) 1}
.header nav>a:not(.button):after{background:var(--brand-red)}
.button,.header .button{background:var(--brand-action);border-color:var(--brand-action);color:#fff}
.button:hover,.header .button:hover{background:#00558a;border-color:#00558a;color:#fff}
.text-link{color:var(--brand-action);border-color:#a4cde7}
.text-link:hover{color:var(--brand-red)}
.medical-hero{background:var(--brand-dark)}
.medical-hero:before{background:radial-gradient(ellipse at 85% 10%,#008bd255,transparent 60%),linear-gradient(120deg,#082541,#084778)}
.medical-hero h1 em{color:var(--brand-yellow)}
.medical-hero-actions .button,.button.cream{background:var(--button-blood);border-color:var(--button-blood);color:#fff}
.medical-hero-actions .button:hover,.button.cream:hover{background:var(--button-blood-hover);border-color:var(--button-blood-hover);color:#fff}
.medical-secondary:hover{color:var(--brand-yellow)}
.medical-hero .gallery-stage{border-color:#77b5e066;background:#083d68}
.medical-hero .gallery-art{background:radial-gradient(ellipse at 100% 0%,#008bd2,#07659c 45%,#082c50)}
.medical-hero .gallery-art-star{color:var(--brand-yellow)}
.medical-hero .gallery-category{color:#ffeb83}
.medical-hero .gallery-art-mark{color:#e1f1ff}
.medical-hero .gallery-controls button:hover{background:#145781}
.medical-hero .gallery-controls button[aria-pressed=true]{background:var(--button-blood);border-color:var(--button-blood);color:#fff}
.medical-hero .gallery-controls button[aria-pressed=true]:hover{background:var(--button-blood-hover);border-color:var(--button-blood-hover)}
.medical-hero .gallery-stage:after{background:var(--brand-yellow)}
.hero-bottom-line>a span{color:var(--brand-yellow)}
.member-shortcuts a:hover,.member-shortcuts a:focus-visible{background:#edf6fd}
.mission-symbol{color:var(--brand-action);background:#e7f3fc;border-color:#cce4f5}
.mission-paths>a:nth-child(2) .mission-symbol{color:#a71930;background:#fff0f2;border-color:#f2d3d9}
.mission-paths>a:nth-child(3) .mission-symbol{color:#725a00;background:#fff8d3;border-color:#eee2a4}
.medical-updates{background:#eef5fb}.medical-knowledge{background:#f6f9fc}
.agenda-feature{background:linear-gradient(135deg,#074c7d,#082c50)}
.agenda-feature .eyebrow{color:#ffeb83}.agenda-drawing{color:var(--brand-yellow)}
.agenda-side>a:first-child{border-top:3px solid var(--brand-red)}
.agenda-side>a:last-child{border-top:3px solid var(--brand-yellow)}
.medical-team .photo-tag{background:#edf6fd;color:#17466b}
.join-band{background:linear-gradient(115deg,#082c50,#08679c);border-top:3px solid var(--brand-blue)}
.join-band h2 em{color:var(--brand-yellow)}.join-band .light{color:#e0efff}
.page-hero{background:linear-gradient(125deg,#eaf4fc,#f7fafe)}
:focus-visible{outline:3px solid var(--brand-blue);outline-offset:5px}
.medical-hero :focus-visible,.join-band :focus-visible{outline-color:var(--brand-yellow)}
/* Short, finite effects; content stays visible if scripting is unavailable. */
@media(prefers-reduced-motion:no-preference){
 .member-shortcuts .shortcut-icon,.shortcut-arrow,.mission-symbol,.knowledge-disciplines h3 span,.button .visual-icon{transition:transform .3s cubic-bezier(.2,.7,.2,1)}
 .member-shortcuts a:hover .shortcut-icon,.mission-paths>a:hover .mission-symbol{transform:translateY(-3px)}
 .member-shortcuts a:hover .shortcut-arrow,.knowledge-disciplines>a:hover h3 span,.button:hover .visual-icon{transform:translate(3px,-3px)}
 .agenda-feature,.agenda-side>a,.medical-team .team-card,.medical-updates .content-card{transition:transform .3s,box-shadow .3s}
 .agenda-feature:hover,.agenda-side>a:hover,.medical-team .team-card:hover,.medical-updates .content-card:hover{transform:translateY(-5px);box-shadow:0 18px 35px #082c5014}
 .medical-hero:before{animation:brand-light 4s ease-out both}
 @keyframes brand-light{from{opacity:.35;transform:scale(1.06)}to{opacity:1;transform:scale(1)}}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Multimedia choreography inspired by editorial healthcare sites. */
.motion-word{display:inline-block;white-space:nowrap}
.medical-hero .gallery-stage{border-radius:22px;overflow:hidden}
.medical-hero .gallery-slide-content{padding-top:130px}
@media(prefers-reduced-motion:no-preference){
 .gallery-entering{animation:gallery-curtain .85s cubic-bezier(.22,.7,.2,1) both}
 .gallery-reverse .gallery-entering{animation-name:gallery-curtain-reverse}
 .gallery-leaving{animation:gallery-recede .85s ease both}
 .gallery-entering .gallery-slide-content{animation:none}
 .gallery-entering .gallery-slide-content>*{animation:gallery-caption .55s cubic-bezier(.16,1,.3,1) .12s both}
 .gallery-entering .gallery-slide-content>h2{animation-delay:.2s}
 .gallery-entering .gallery-slide-content>p{animation-delay:.27s}
 .gallery-entering .gallery-slide-content>.gallery-link{animation-delay:.32s}
 .gallery-slide:not([hidden]) .gallery-image{animation:gallery-film 7.9s linear both}
 .gallery-slide:not([hidden]) .gallery-art-star{animation:gallery-star-drift 7.9s ease-in-out both}
 .gallery-slide:not([hidden]) .gallery-art-orbit{animation:gallery-orbit-drift 7.9s ease-in-out both}
 .editorial-gallery:not(.gallery-playing) .gallery-art-star,.editorial-gallery:not(.gallery-playing) .gallery-art-orbit{animation-play-state:paused}
 .medical-team .team-photo img{transition:transform 1s cubic-bezier(.16,1,.3,1),filter .7s}
 .medical-team .team-card:hover .team-photo img{transform:scale(1.065);filter:saturate(1.08)}
 .medical-team .photo-tag{transition:transform .5s,box-shadow .5s}
 .medical-team .team-card:hover .photo-tag{transform:translateY(-4px);box-shadow:0 6px 18px #082c501c}
 @keyframes gallery-curtain{from{clip-path:inset(0 0 0 100%);opacity:.6}to{clip-path:inset(0);opacity:1}}
 @keyframes gallery-curtain-reverse{from{clip-path:inset(0 100% 0 0);opacity:.6}to{clip-path:inset(0);opacity:1}}
 @keyframes gallery-recede{from{opacity:1;transform:scale(1)}to{opacity:.3;transform:scale(.97)}}
 @keyframes gallery-caption{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
 @keyframes gallery-film{from{transform:scale(1.09) translateX(-1%)}to{transform:scale(1.015) translateX(.3%)}}
 @keyframes gallery-star-drift{from{transform:rotate(2deg) scale(.92)}to{transform:rotate(28deg) scale(1.05)}}
 @keyframes gallery-orbit-drift{from{transform:translate(12px,-10px) scale(.94)}to{transform:translate(-8px,8px) scale(1.06)}}
}
@media(max-width:700px){.medical-hero .gallery-stage{border-radius:16px}.motion-word{max-width:100%;overflow-wrap:anywhere;white-space:normal}}

/* Signature headline: two deliberate beats, then a drawn yellow accent. */
#home-title em{position:relative;padding-bottom:.14em}
.hero-title-underline{position:absolute;left:0;bottom:0;width:100%;height:3px;border-radius:50%;background:linear-gradient(90deg,var(--brand-yellow),#ffe13b99 75%,transparent);transform-origin:left;pointer-events:none}
@media(prefers-reduced-motion:reduce){.hero-title-underline{display:none}}

/* Panoramic homepage: viewport-wide gallery, existing slide heights preserved. */
.medical-hero .hero-introduction{grid-template-columns:1.5fr 1fr;gap:7%;padding-block:36px 30px;align-items:center}
.hero-introduction .medical-hero-copy .eyebrow{margin-bottom:16px}
.hero-introduction #home-title{font-size:clamp(34px,3.3vw,49px);line-height:1.15;letter-spacing:-1.8px;margin:0}
.hero-introduction #home-title em{font-size:1em;letter-spacing:-1.4px}
.hero-introduction-detail{max-width:400px;justify-self:end}
.hero-introduction-detail p{color:#c1d2db;font-size:14px;line-height:1.8;margin-bottom:12px}
.medical-hero .gallery-heading{margin-bottom:14px}
.medical-hero .gallery-stage{width:100%;border-radius:0;border-inline:0;box-shadow:none}
.medical-hero .gallery-slide-content{width:min(1240px,calc(100% - 96px));margin-inline:auto;padding:40px 0}
.medical-hero .gallery-slide h2{max-width:650px;font-size:clamp(30px,3vw,42px)}
.medical-hero .gallery-slide p{max-width:540px;font-size:14px}
.medical-hero .gallery-slide:after{background:linear-gradient(90deg,#061e37e8 0%,#082c5099 48%,#082c5010 100%),linear-gradient(0deg,#061e3799,transparent 70%)}
.medical-hero .gallery-art-star{width:210px;right:12%;top:16%}
.medical-hero .gallery-art-mark{left:auto;right:30%;top:40px}
.medical-hero .gallery-art-orbit{right:4%;top:-100px;width:530px;height:530px}
.medical-hero .gallery-art-orbit.second{right:0;top:-150px;width:630px;height:630px}
.medical-hero .gallery-controls{display:grid;grid-template-columns:1fr auto auto;gap:30px;align-items:center;padding:20px 0;margin-top:0}
.medical-hero .gallery-pagination{justify-content:center}
.medical-hero .gallery-controls .medical-hero-actions .button{min-height:48px;padding:12px 23px;font-size:13px}
.medical-hero .gallery-controls button{min-width:42px;height:42px}
.medical-hero .gallery-controls .gallery-toggle{min-width:79px}
@media(min-width:1600px){.medical-hero .gallery-slide-content{width:min(1340px,calc(100% - 120px))}}
@media(max-width:1000px){.medical-hero .hero-introduction{gap:30px}.hero-introduction #home-title{font-size:36px}.hero-introduction-detail p{font-size:13px}.medical-hero .gallery-controls{gap:18px}}
@media(max-width:700px){
 .medical-hero .hero-introduction{grid-template-columns:1fr;gap:18px;padding-block:28px}
 .hero-introduction #home-title{font-size:clamp(32px,7.9vw,43px);letter-spacing:-1.5px}
 .hero-introduction-detail{max-width:100%;justify-self:start}
 .hero-introduction-detail p{font-size:13px;margin-bottom:5px}
 .medical-hero .gallery-slide-content{width:calc(100% - 40px);padding:32px 0}
 .medical-hero .gallery-poster .gallery-slide-content{padding-top:170px}
 .medical-hero .gallery-slide h2{font-size:30px}.medical-hero .gallery-slide p{font-size:13px}
 .medical-hero .gallery-slide:after{background:linear-gradient(0deg,#061e37f2 0%,#082c5099 60%,#082c5010 100%)}
 .medical-hero .gallery-art-star{width:150px;right:8%;top:8%}
 .medical-hero .gallery-art-mark{left:20px;right:auto;top:30px}
 .medical-hero .gallery-controls{grid-template-columns:1fr auto;gap:14px 10px;padding-block:18px}
 .medical-hero .gallery-controls .medical-hero-actions .button{font-size:11px;min-height:44px;padding:10px 14px;gap:12px}
 .medical-hero .gallery-pagination{gap:5px;justify-content:flex-end}
 .medical-hero .gallery-controls button{min-width:38px;height:44px}
 .medical-hero .gallery-arrows{grid-column:1/-1;justify-content:flex-end;border-top:1px solid #ffffff20;padding-top:12px}
}
