/* Atasemanso: photographic layouts and purposeful, interruptible motion. */
:root{--ease-out:cubic-bezier(.22,1,.36,1);--ease-quiet:cubic-bezier(.25,.46,.45,.94)}
h1,h2,h3{text-wrap:balance}p{text-wrap:pretty}
.section-heading h2{letter-spacing:-.035em;line-height:1.12}.section-heading .eyebrow{margin-bottom:22px}
.home-hero{min-height:760px!important}
.home-hero .hero-content{padding-top:76px!important;padding-bottom:32px!important;position:relative;z-index:2}
body main .home-hero h1{font-size:clamp(42px,4.2vw,62px)!important;font-weight:500;letter-spacing:-.045em;line-height:1.1;max-width:760px;min-height:3.3em!important;margin-bottom:22px}
.home-hero #hero-description{max-width:510px;min-height:90px!important;font-size:18px;line-height:1.65}
.home-hero .hero-confirmation{max-width:490px;min-height:0!important;font-size:14px!important;color:#e0e6f2}
.home-hero .hero-shade{background:linear-gradient(0deg,rgba(9,20,43,.76),transparent 45%),linear-gradient(90deg,#0a1730ed 0%,#0a1730d4 28%,#0a173045 66%,#0a173012)}
.home-hero .hero-visual{perspective:none;left:0;opacity:1}
.home-hero .hero-visual>img.hero-image-layer{transform:none!important;transition:opacity 950ms var(--ease-quiet)!important;will-change:auto;backface-visibility:visible}
.home-hero .hero-bottom{margin-top:32px;gap:24px}.home-hero .hero-story-navigation{width:auto}.home-hero .hero-controls{gap:28px}
.home-hero .hero-controls button{position:relative;padding-bottom:15px;opacity:.68;transition:opacity 180ms ease}
.home-hero .hero-controls button[aria-pressed=true]{opacity:1}
.home-hero .hero-controls button:after{content:'';position:absolute;bottom:3px;left:0;right:0;height:2px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform 250ms var(--ease-out)}
.home-hero .hero-controls button[aria-pressed=true]:after{transform:scaleX(1)}
.home-hero .hero-playback{gap:5px}.home-hero .hero-playback button{width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid #ffffff38;background:#10204026;transition:background 180ms ease,scale 180ms var(--ease-out)}
.hero-title-line{display:inline-block}.hero-progress{height:2px!important}.hero-progress span{background:#e7dfd0!important}
.home-hero .hero-image-layer.is-active{animation:crafted-photograph 9s var(--ease-quiet) both}
.home-hero[data-rotation=paused] .hero-image-layer{animation-play-state:paused}
@keyframes crafted-photograph{from{scale:1.025}to{scale:1}}
.care-gateway{box-shadow:none;border-bottom:1px solid var(--line)}.care-gateway>a{transition:background 220ms ease}.care-gateway>a>.icon{transition:translate 220ms var(--ease-out)}
.patient-hours{background:#fff;padding-block:64px}.patient-hours h2{font-size:clamp(28px,2.5vw,36px);letter-spacing:-.025em}
.services-home{background:#f6f5f2}.services-home .service-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:52px 40px}
.services-home .service-card{background:transparent;border:0;display:flex}
.services-home .service-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:52px}
.services-home .service-card-image{height:350px;border-radius:4px}.services-home .service-card:first-child .service-card-image{height:460px}
.services-home .service-card-copy{padding:26px 0 0}.services-home .service-card:first-child .service-card-copy{padding:0;max-width:420px}
.services-home .service-card-copy h3{font-size:clamp(25px,2.1vw,32px);font-weight:500;letter-spacing:-.025em}
.services-home .service-card:first-child h3{font-size:clamp(32px,3vw,43px);line-height:1.15}.services-home .service-card-copy p{max-width:560px}
.services-home .service-card-image img{transition:scale 700ms var(--ease-out)}.services-home .service-card-image.contain{background:#e9e8e4}
.department-grid{column-gap:40px;row-gap:0}
.department-grid .department-card{border:0;border-bottom:1px solid var(--line);background:#fff;border-radius:0;padding:32px 0;box-shadow:none!important;transform:none!important;transition:background 180ms ease}
.department-grid .department-card .department-icon{margin-bottom:20px}.department-grid .department-card h3{font-weight:500;letter-spacing:-.02em}.department-grid .department-card .card-action{margin-top:22px}
.heritage{position:relative;isolation:isolate;overflow:hidden}
.heritage:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#101b3cf5,#101b3cd9),url('/assets/courtyard-corridor.jpg') center/cover}
.heritage h2{letter-spacing:-.03em}.heritage-number strong{font-variant-numeric:tabular-nums}
.hospital-tour{background:#fff}.tour-choices{position:relative;isolation:isolate;padding:0;gap:6px}
.tour-selection{position:absolute;top:0;left:0;border-radius:4px;background:var(--navy);z-index:-1;pointer-events:none;transition:translate 320ms var(--ease-out),width 250ms var(--ease-out),height 250ms var(--ease-out);opacity:0}
.tour-choices button{position:relative;z-index:1;border-radius:4px;min-height:68px;padding:22px 18px;transition:color 180ms ease;background:transparent!important}
.tour-choices button[aria-pressed=true]{color:#fff}.tour-choices button .icon{transition:translate 220ms var(--ease-out)}
.tour-photo{border-radius:4px;aspect-ratio:16/10;background:#eef0f4}.tour-caption{padding-top:26px}.tour-caption h3{font-size:clamp(26px,2.4vw,34px);font-weight:500;letter-spacing:-.025em}
.tour-stage{min-width:0}.tour-panel{margin:0}.tour-panel[hidden]{display:none!important}.tour-layout.is-interactive .tour-stage{min-height:0}
.newsroom-teaser{background:#fff}.newsroom-teaser .news-card{border-radius:0;box-shadow:none;border:0;border-top:1px solid #aab3c6;padding-top:14px;background:transparent;transform:none!important}.newsroom-teaser h3{letter-spacing:-.02em;font-weight:500}
.button,.icon-button{transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease,scale 180ms var(--ease-out),box-shadow 180ms ease}
.button:active,.icon-button:active,.hero-playback button:active{scale:.975}
.text-link .icon,.card-action .icon,.button>.icon{transition:translate 220ms var(--ease-out)}.text-link{text-underline-offset:5px;text-decoration-thickness:1px}.text-link:focus-visible{text-decoration:underline}
.site-header{transition:box-shadow 220ms ease,border-color 220ms ease}.site-header.is-scrolled{box-shadow:0 6px 28px #14224b0d;border-bottom-color:#dce0ea}
.mega-menu:not([hidden]),.services-menu:not([hidden]){animation:crafted-menu 220ms var(--ease-out) both;transform-origin:top}
.site-header nav.open{animation:crafted-menu 240ms var(--ease-out) both}
dialog[open]{animation:crafted-dialog 240ms var(--ease-out) both}dialog[open]::backdrop{animation:crafted-backdrop 200ms ease both}
details[open]>:not(summary){animation:crafted-detail 220ms var(--ease-out) both}
.reveal-ready,.reveal-ready.is-visible{opacity:1!important;transform:none!important;transition:none!important}.reveal-photo img,.reveal-photo.is-visible img{transform:none}
@keyframes crafted-menu{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
@keyframes crafted-dialog{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@keyframes crafted-backdrop{from{opacity:0}to{opacity:1}}
@keyframes crafted-detail{from{opacity:.3;transform:translateY(-4px)}to{opacity:1;transform:none}}
@keyframes crafted-page-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes crafted-page-out{to{opacity:0}}
@view-transition{navigation:auto}
::view-transition-old(root){animation:crafted-page-out 140ms ease both}::view-transition-new(root){animation:crafted-page-in 300ms var(--ease-out) both}
@media(hover:hover) and (pointer:fine){.text-link:hover .icon,.card-action:hover .icon,.button:hover>.icon{translate:4px 0}.care-gateway>a:hover>.icon{translate:3px -3px}.services-home .service-card:focus-within .service-card-image img,.services-home .service-card:hover .service-card-image img{scale:1.025}.services-home .service-card-image.contain img{scale:1!important}.tour-choices button:hover .icon{translate:4px 0}.text-link:hover{text-decoration:underline}}
@media(min-width:1101px){.tour-layout{grid-template-columns:270px minmax(0,1fr);gap:52px}.tour-choices{position:sticky;top:145px}.gallery-grid .photo-card:nth-child(7n+1){grid-column:span 2}.gallery-grid .photo-card:nth-child(7n+1) .photo-frame{height:480px}}
@media(max-width:1100px){.home-hero{min-height:720px!important}.home-hero .hero-content{padding-top:58px!important}.services-home .service-card:first-child{gap:32px}.services-home .service-card:first-child .service-card-image{height:420px}.services-home .service-card-image{height:300px}}
@media(max-width:760px){
 .home-hero{min-height:0!important}.home-hero .hero-visual{position:relative;inset:auto;height:360px;overflow:hidden}
 .home-hero .hero-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#101b3c,transparent 38%);pointer-events:none}
 .home-hero .hero-visual>img{object-position:center 35%}.home-hero .hero-shade{display:none}
 .home-hero .hero-content{padding-top:18px!important;padding-bottom:24px!important}
 body main .home-hero h1{font-size:clamp(35px,7vw,46px)!important;max-width:600px;min-height:3.3em!important;letter-spacing:-.04em}
 .home-hero #hero-description{min-height:112px!important;max-width:540px;font-size:17px;margin-bottom:20px}.home-hero .hero-confirmation{font-size:14px!important;max-width:540px}
 .home-hero .patient-primary-actions{display:flex;flex-wrap:wrap;gap:10px}.home-hero .patient-primary-actions .button{flex:1 1 150px;justify-content:center;font-size:16px!important}
 .home-hero .hero-bottom{margin-top:22px}.home-hero .hero-controls{display:none}.home-hero .hero-story-navigation{width:100%;justify-content:space-between}.home-hero .hero-playback{width:100%;justify-content:flex-end}.home-hero .hero-playback #hero-prev{margin-right:auto}
 .patient-hours{padding-block:42px}.services-home .service-card-grid{grid-template-columns:1fr;gap:42px}
 .services-home .service-card:first-child{display:flex;gap:0;grid-column:auto}.services-home .service-card-image,.services-home .service-card:first-child .service-card-image{height:auto;aspect-ratio:4/3}
 .services-home .service-card-copy,.services-home .service-card:first-child .service-card-copy{padding:22px 0 0;max-width:none}.services-home .service-card-copy h3,.services-home .service-card:first-child h3{font-size:30px}.services-home .service-card-copy p{margin-bottom:16px}
 .department-grid{column-gap:24px}.department-grid .department-card{padding:26px 0}
 .tour-choices{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:24px;gap:8px}.tour-choices button{min-height:68px;height:100%;padding:16px 12px;border:1px solid var(--line);font-size:14px;gap:8px}
 .tour-photo{aspect-ratio:4/3}.tour-caption{min-height:225px}.section-heading .eyebrow{margin-bottom:16px}
}
@media(max-width:380px){.home-hero .hero-visual{height:310px}.home-hero #hero-description{min-height:140px!important}.home-hero .patient-primary-actions .button{flex-basis:100%}.home-hero .hero-controls{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.home-hero .hero-visual>img.hero-image-layer,.home-hero .hero-visual>img.hero-image-layer.is-active{transition:none!important;transform:none!important}::view-transition-old(root),::view-transition-new(root){animation:none!important}.button:active,.icon-button:active{scale:1}}
@media print{.hero-visual{position:static!important;height:260px!important}.home-hero{min-height:0!important}.home-hero .hero-content{padding-top:20px!important}.tour-selection{display:none}.tour-choices button[aria-pressed=true]{color:#14224b}}

/* Immersive edition: deliberate reveals and a continuous colour mask. */
body main .section-heading h2{font-size:clamp(32px,3.35vw,49px)!important;font-weight:500;line-height:1.12;letter-spacing:-.035em}
body main .heritage h2{font-size:clamp(34px,3.5vw,52px)!important;font-weight:500;line-height:1.12;letter-spacing:-.035em}
body main .services-home .service-card-copy h3{font-size:clamp(26px,2.15vw,32px)!important;font-weight:500;line-height:1.2;letter-spacing:-.025em}
body main .services-home .service-card:first-child h3{font-size:clamp(32px,3vw,43px)!important}
body main .tour-caption h3{font-size:clamp(26px,2.4vw,34px)!important;font-weight:500;line-height:1.2;letter-spacing:-.025em}
.home-hero .hero-image-layer.is-active{animation:crafted-hero-reveal 1150ms cubic-bezier(.22,1,.36,1) both,crafted-photograph 9s var(--ease-quiet) both}
.home-hero[data-rotation=paused] .hero-image-layer.is-active{animation-play-state:running,paused}
@keyframes crafted-hero-reveal{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0 0 0 0)}}
.home-hero .hero-controls button{border-top:0}.home-hero .hero-controls button:after{bottom:2px}
.service-card-image,.photo-frame,.person-photo,.department-hero-photo,.interior-visual,.service-detail-photo{overflow:hidden}
.tour-choices{grid-auto-rows:1fr}
.tour-choices>button,.tour-choices>button[aria-pressed=true]{color:var(--navy);transition:none;min-height:78px;line-height:1.5}
.tour-choices>button span,.tour-choices>button[aria-pressed=true] span{color:#687083}
.tour-choices>button[aria-busy=true]{cursor:progress}
.tour-choices>button[aria-busy=true]>.icon{opacity:.35}
.tour-selection{inset:0;width:100%;height:100%;translate:none;display:grid;grid-template-columns:inherit;grid-auto-rows:1fr;gap:inherit;align-content:stretch;z-index:2;border-radius:0;clip-path:inset(0 0 100% 0);transition:clip-path 480ms cubic-bezier(.22,1,.36,1)}
.tour-choice-echo{display:flex;align-items:center;gap:14px;padding:22px 18px;min-height:78px;font-size:18px;line-height:1.5;border:1px solid transparent;border-bottom:1px solid transparent;color:#fff;pointer-events:none}
.tour-choice-echo>span{font-size:13px;color:#ced6ec}.tour-choice-echo>.icon{margin-left:auto;width:19px}
.tour-photo{isolation:isolate}.tour-photo img{display:block;transform-origin:center}
.story-scene{--scene-progress:0;position:relative;height:155svh;min-height:950px;background:#f6f5f2}
.story-scene__stage{position:sticky;top:104px;height:calc(100svh - 104px);min-height:580px;overflow:hidden;isolation:isolate;clip-path:inset(0 calc(4% * (1 - var(--scene-progress))) round calc(16px * (1 - var(--scene-progress))))}
.story-scene__photo{position:absolute;inset:0;margin:0;overflow:hidden;background:#152552}
.story-scene__photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;scale:calc(1.10 - .10 * var(--scene-progress));translate:0 calc(22px * (1 - var(--scene-progress)))}
.story-scene__shade{position:absolute;inset:0;background:linear-gradient(0deg,#0a1730eb 0%,#0a173077 32%,#0a173008 70%);pointer-events:none}
.story-scene__copy{position:absolute;inset:auto 0 0;color:#fff;padding-block:60px;display:grid;grid-template-columns:1.35fr 1fr;gap:56px;align-items:end}
body main .story-scene__copy h2{font-size:clamp(40px,5vw,74px)!important;line-height:1.07;font-weight:500;letter-spacing:-.045em;margin:22px 0 0;text-wrap:balance}
.story-scene__copy p{color:#eef2f8;font-size:18px;line-height:1.7;max-width:380px;margin-bottom:22px}
.story-scene__copy .eyebrow{color:#fff}.story-scene__copy .eyebrow:before{background:#fff}
.story-scene__copy .text-link{color:#fff;font-size:17px;min-height:44px}
.story-scene__copy .text-link:focus-visible{outline-color:#fff}
.story-scene__line{position:absolute;bottom:0;left:0;width:100%;height:3px;background:#ffffff35;pointer-events:none}
.story-scene__line:after{content:'';display:block;height:100%;background:#fff;transform-origin:left;transform:scaleX(var(--scene-progress))}
.hospital-tour .section-heading{margin-bottom:48px}.tour-layout{padding-bottom:30px}
@media(min-width:1101px){.tour-choices{top:140px}.tour-layout{gap:56px}}
@media(max-width:1100px){.tour-choice-echo{font-size:16px;padding-inline:12px}.tour-choices>button{padding-inline:12px}.story-scene__copy{gap:32px}body main .story-scene__copy h2{font-size:54px!important}}
@media(max-width:760px){
 .home-hero .patient-secondary-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important;align-items:stretch}
 .home-hero .patient-secondary-actions .button{min-width:0;min-height:68px;white-space:normal;text-align:left;justify-content:space-between;line-height:1.5}
 .home-hero .patient-secondary-actions .button span{min-width:0}
 .tour-choices>button,.tour-choices>button[aria-pressed=true],.tour-choice-echo{min-height:76px;font-size:14px;padding:16px 12px;gap:8px;border:1px solid var(--line);line-height:1.5}
 .tour-choice-echo{border-color:transparent}.tour-choice-echo>.icon{display:none}.tour-choice-echo>span{font-size:13px}
 .tour-selection{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .story-scene{height:125svh;min-height:760px}.story-scene__stage{top:82px;height:calc(100svh - 82px);min-height:550px}
 .story-scene__copy{padding-block:34px;grid-template-columns:1fr;gap:24px;width:calc(100% - 48px)}
 body main .story-scene__copy h2{font-size:clamp(38px,8.7vw,58px)!important;margin-top:16px}.story-scene__copy p{font-size:16px;max-width:430px;margin-bottom:12px}
 .hospital-tour .section-heading{margin-bottom:32px}
 body main .services-home .service-card-copy h3,body main .services-home .service-card:first-child h3{font-size:30px!important}
}
@media(prefers-reduced-motion:reduce){
 .home-hero .hero-image-layer.is-active{animation:none!important}
 .tour-selection{transition:none!important}
 .story-scene{height:auto;min-height:0;padding:0}
 .story-scene__stage{position:relative;top:0;height:680px;min-height:0;clip-path:none}
 .story-scene__photo img{scale:1;translate:none}
 .story-scene__line{display:none}
}
@media print{.story-scene{height:auto;min-height:0}.story-scene__stage{position:relative;top:0;height:600px;clip-path:none}.tour-selection{display:none}}
