.curriculum-link{margin-top:28px}
.clinic .gallery-link{margin-top:18px}
.clinic-gallery{padding:65px 7% 145px;isolation:isolate}
.gallery-heading{max-width:1320px;margin:0 auto 65px;display:flex;align-items:end;justify-content:space-between;gap:48px}
.gallery-heading h2{font-size:clamp(48px,4.8vw,82px);margin:22px 0 0;color:var(--green)}
.gallery-heading>p{max-width:350px;font-size:20px}
.gallery-wash{position:absolute;z-index:-1;pointer-events:none;width:76%;height:75%;left:-25%;top:22%;background:#e3e9ce;border-radius:44% 56% 59% 41% / 34% 43% 57% 66%;rotate:-12deg}
.gallery-grid{max-width:1320px;margin:auto;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:32px}
.gallery-item{min-width:0;grid-column:span 4;display:flex;flex-direction:column;gap:14px}
.gallery-item:first-child{grid-column:span 8;grid-row:span 2}
.gallery-item:nth-child(2),.gallery-item:nth-child(3){grid-column:span 4}
.gallery-photo{display:block;position:relative;overflow:hidden;width:100%;background:#e4e7d5;border-radius:36px 110px 40px 60px;text-decoration:none}
.gallery-item:first-child .gallery-photo{flex:1;min-height:530px;border-radius:110px 44px 150px 44px}
.gallery-item:nth-child(2) .gallery-photo{border-radius:90px 32px 32px 32px}
.gallery-item:nth-child(3) .gallery-photo{border-radius:32px 32px 100px 32px}
.gallery-photo img{height:230px;width:100%;object-fit:cover;transition:transform .45s ease}
.gallery-item:first-child img{height:100%;position:absolute;inset:0;object-position:center}
.gallery-photo:hover img{transform:scale(1.035)}
.gallery-photo:focus-visible{outline:3px solid var(--clay);outline-offset:7px}
.gallery-expand{position:absolute;right:18px;bottom:18px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--paper);color:var(--green);font-size:26px;box-shadow:0 2px 12px #0002}
.gallery-item figcaption{font-size:18px;line-height:1.4;padding:0 6px;display:flex;gap:14px;align-items:baseline}
.gallery-item figcaption span{font-size:14px;letter-spacing:.1em;color:var(--clay)}
.gallery-dialog{border:0;padding:24px;background:var(--paper);color:var(--ink);width:min(1120px,94vw);max-height:94dvh;border-radius:24px;overflow:auto}
.gallery-dialog::backdrop{background:#193c32df;backdrop-filter:blur(5px)}
.gallery-dialog[open]{display:grid;gap:18px;grid-template-rows:auto minmax(0,1fr) auto}
.gallery-dialog-header,.gallery-dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:20px}
.gallery-dialog-header p{font:500 27px var(--display)}
.gallery-dialog button{border:1px solid var(--line);background:transparent;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;flex:none;font-size:26px;line-height:1}
.gallery-dialog button:hover{background:#dce3cc}
.gallery-stage{margin:0;min-height:0}
.gallery-stage img{object-fit:contain;max-height:65dvh;width:100%;height:auto;min-height:180px}
.gallery-stage figcaption{font-size:20px;margin-top:16px;text-align:center}
.gallery-dialog-footer p{font-size:16px}
html.gallery-open{overflow:hidden}
.curriculum-main{overflow:clip}
.curriculum-header{text-align:center;padding:65px 24px 70px;background:#efc2a8;position:relative}
.curriculum-header:after{content:"";position:absolute;background:#efc2a8;left:-5%;width:110%;height:75px;bottom:-35px;border-radius:0 0 50% 50%;z-index:-1}
.curriculum-header h1{font-size:clamp(70px,7vw,120px);color:var(--green);margin:20px 0}
.curriculum-header .eyebrow{color:var(--clay)}
.curriculum-header .back-link{display:inline-block;margin-bottom:35px;font-size:18px;text-underline-offset:6px}
.curriculum-intro{max-width:1160px;margin:110px auto 95px;padding:0 30px;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:9%;align-items:center}
.curriculum-portrait{position:relative}
.curriculum-portrait:before{content:"";position:absolute;inset:8% -8% -4% -10%;border-radius:50% 45% 48% 52%;background:#d5dfb8;rotate:9deg;z-index:-1}
.curriculum-portrait img{width:100%;height:560px;object-fit:cover;object-position:50% 32%;border-radius:46% 50% 35% 40% / 34% 38% 25% 25%}
.curriculum-intro h2,.curriculum-section h2{font-size:clamp(40px,3.6vw,60px);color:var(--green);margin:0 0 26px}
.curriculum-intro p+p{margin-top:22px}
.curriculum-section{max-width:1160px;margin:0 auto;padding:65px 30px;border-top:1px solid var(--line)}
.education-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:50px;margin-top:35px}
.education-grid h3{font-size:34px;margin:13px 0}
.education-grid .year{font-size:18px;color:var(--clay)}
.curriculum-courses{list-style:none;margin:32px 0 0;padding:0}
.curriculum-courses li{display:grid;grid-template-columns:150px minmax(0,1fr);gap:26px;padding:23px 0;border-top:1px solid var(--line)}
.curriculum-courses .year{color:var(--clay);font-size:18px}
.curriculum-courses h3{font:600 23px/1.4 var(--body);letter-spacing:0}
.curriculum-courses p{font-size:18px;margin-top:5px}
.interest-list{max-width:780px;line-height:1.75}
.curriculum-contact{text-align:center;background:#d5dfb8;padding:75px 24px 85px;margin-top:45px}
.curriculum-contact h2{font-size:50px;margin-bottom:28px}
.curriculum-footer a{font-size:18px}
@media(max-width:900px){.gallery-grid{gap:24px}.gallery-item:first-child .gallery-photo{min-height:450px}.gallery-photo img{height:195px}.gallery-heading{gap:30px}.gallery-heading>p{max-width:270px}.curriculum-intro{gap:7%}.curriculum-portrait img{height:450px}}
@media(max-width:700px){
 .clinic-gallery{padding:25px 24px 110px}.gallery-heading{display:block;margin-bottom:35px}.gallery-heading h2{font-size:48px}.gallery-heading>p{max-width:430px;font-size:18px;margin-top:24px}
 .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}.gallery-item:first-child{grid-column:1/-1;grid-row:auto}.gallery-item,.gallery-item:nth-child(2),.gallery-item:nth-child(3){grid-column:span 1}.gallery-item:last-child{grid-column:1/-1}
 .gallery-item:first-child .gallery-photo{min-height:0;flex:auto;border-radius:65px 24px 75px 24px}.gallery-item:first-child img{position:static;height:245px}.gallery-photo img{height:190px}.gallery-item:last-child img{height:240px}.gallery-photo{border-radius:25px 60px 25px 25px}.gallery-expand{width:38px;height:38px;right:10px;bottom:10px;font-size:23px}.gallery-item figcaption{font-size:18px;gap:8px;padding:0}.gallery-item figcaption span{display:none}
 .gallery-wash{width:125%;height:75%;left:-65%;top:20%}.gallery-dialog{padding:16px;border-radius:16px;width:94vw}.gallery-dialog-header p{font-size:23px}.gallery-stage img{max-height:57dvh}.gallery-stage figcaption{font-size:18px}.gallery-dialog-footer{gap:12px}.gallery-dialog-footer p{font-size:16px;text-align:center}
 .curriculum-header{padding:35px 24px 50px}.curriculum-header h1{font-size:64px}.curriculum-intro{grid-template-columns:1fr;gap:55px;padding:0 24px;margin:85px auto 60px}.curriculum-portrait{max-width:330px;width:85%;margin:auto}.curriculum-portrait img{height:420px}.curriculum-intro h2,.curriculum-section h2{font-size:43px}.curriculum-section{padding:45px 24px}.education-grid{grid-template-columns:1fr;gap:30px}.curriculum-courses li{grid-template-columns:1fr;gap:8px;padding:24px 0}.curriculum-courses h3{font-size:21px}.curriculum-contact h2{font-size:43px}
}
@media(max-width:360px){.gallery-photo img{height:155px}.gallery-item:first-child img,.gallery-item:last-child img{height:205px}.gallery-heading h2,.curriculum-intro h2,.curriculum-section h2{font-size:39px}.curriculum-header h1{font-size:55px}.gallery-dialog-header p{font-size:21px}}
@media(prefers-reduced-motion:reduce){.gallery-photo img{transition:none}.gallery-photo:hover img{transform:none}}
html[data-reduced="true"] .gallery-photo img{transition:none}
html[data-reduced="true"] .gallery-photo:hover img{transform:none}
