/* Dr. Bhoopendra Foujdar — Neurosurgeon & Spine Specialist · doctor-led design system */

:root {
    --navy: #12294A;
    --navy2: #1C3A63;
    --teal: #11807F;
    --teal2: #0D6D6C;
    --tealL: #E4F3F2;
    --blueL: #EEF4FA;
    --grey: #F5F7FA;
    --line: #E2E8F0;
    --ink: #1E2B3C;
    --muted: #5A6678;
    --white: #fff;
    --gold: #B8893B;
    --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --r: 14px;
    --rl: 20px;
    --sh: 0 12px 32px -14px rgba(18, 41, 74, .18);
    --sh2: 0 24px 48px -20px rgba(18, 41, 74, .22);
    --ease: cubic-bezier(.22, .7, .2, 1);
    --hh: 76px
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 140px
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: #fff;
    font-size: 16.5px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    opacity: 0;
    transition: opacity .45s var(--ease)
}

body.ready {
    opacity: 1
}

body.leaving {
    opacity: 0;
    transition-duration: .22s
}

img,
svg {
    display: block;
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit
}

::selection {
    background: var(--tealL);
    color: var(--navy)
}

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
    border-radius: 6px
}

.wrap {
    width: min(1200px, 100% - 40px);
    margin-inline: auto
}

.skip {
    position: fixed;
    left: 12px;
    top: -60px;
    z-index: 999;
    background: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: var(--sh)
}

.skip:focus {
    top: 12px
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0)
}


/* typography */

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal)
}

.kicker::before {
    content: "";
    width: 22px;
    height: 1.5px;
    background: currentColor
}

.h1,
.h2,
.h3,
.h4 {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -.01em;
    line-height: 1.15
}

.h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08
}

.h2 {
    font-size: clamp(30px, 3.4vw, 44px)
}

.h3 {
    font-size: clamp(23px, 2.2vw, 29px)
}

.h4 {
    font-size: 20px
}

.h1 span,
.h2 span {
    color: var(--teal);
    font-style: italic;
    font-weight: 500
}

.lead {
    font-size: clamp(16.5px, 1.25vw, 18.5px);
    color: var(--muted);
    max-width: 660px
}

p+p {
    margin-top: 14px
}

.muted {
    color: var(--muted)
}

.sec {
    padding: clamp(70px, 8vw, 112px) 0;
    overflow-x: clip
}

.phead,
.trust,
.ftr {
    overflow-x: clip
}

.sec.sm {
    padding: clamp(50px, 6vw, 80px) 0
}

.bg-grey {
    background: var(--grey)
}

.bg-blue {
    background: var(--blueL)
}

.bg-navy {
    background: var(--navy);
    color: #DCE5F2
}

.bg-navy .h2,
.bg-navy .h3 {
    color: #fff
}

.bg-navy .lead {
    color: #B9C7DB
}

.bg-navy .kicker {
    color: #7FD1CE
}

.head {
    display: grid;
    gap: 14px;
    margin-bottom: clamp(36px, 4.5vw, 56px);
    max-width: 760px
}

.head.c {
    text-align: center;
    justify-items: center;
    margin-inline: auto
}

.head.row {
    max-width: none;
    grid-template-columns: 1.1fr .9fr;
    align-items: end;
    gap: 40px
}

@media(max-width:860px) {
    .head.row {
        grid-template-columns: 1fr;
        gap: 14px
    }
}


/* buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    background: var(--teal);
    color: #fff;
    border: 1px solid var(--teal);
    cursor: pointer;
    transition: background .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
    white-space: nowrap
}

.btn:hover {
    background: var(--teal2);
    border-color: var(--teal2);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -12px rgba(17, 128, 127, .6)
}

.btn svg {
    transition: transform .3s var(--ease)
}

.btn:hover svg.arr {
    transform: translateX(4px)
}

.btn.navy {
    background: var(--navy);
    border-color: var(--navy)
}

.btn.navy:hover {
    background: var(--navy2)
}

.btn.ghost {
    background: #fff;
    color: var(--navy);
    border-color: var(--line)
}

.btn.ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
    box-shadow: none
}

.btn.wa {
    background: #1E9E57;
    border-color: #1E9E57
}

.btn.wa:hover {
    background: #178548
}

.btn.sm {
    padding: 10px 16px;
    font-size: 14px
}

.bg-navy .btn.ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .3)
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--teal);
    font-size: 15px
}

.more svg {
    transition: transform .3s var(--ease)
}

.more:hover svg {
    transform: translateX(4px)
}


/* top bar + header */

.topbar {
    background: var(--navy);
    color: #C9D5E6;
    font-size: 13px
}

.topbar .wrap {
    display: flex;
    gap: 22px;
    align-items: center;
    height: 38px
}

.topbar a,
.topbar span {
    display: inline-flex;
    gap: 7px;
    align-items: center
}

.topbar a:hover {
    color: #fff
}

.topbar .r {
    margin-left: auto;
    display: flex;
    gap: 18px
}

@media(max-width:860px) {
    .topbar .hide-m {
        display: none
    }
    .topbar .wrap {
        justify-content: center
    }
    .topbar .r {
        margin: 0
    }
}

.hdr {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s
}

.hdr.sc {
    border-color: var(--line);
    box-shadow: 0 6px 20px -16px rgba(18, 41, 74, .4)
}

.hdr .wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--hh)
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0
}

.brand .mk {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--blueL);
    border: 1px solid var(--line);
    flex-shrink: 0;
    position: relative
}

.brand .mk img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%
}

.brand .mk span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-weight: 600;
    color: var(--navy)
}

.brand b {
    display: block;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 19px;
    color: var(--navy);
    line-height: 1.15
}

.brand small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .02em
}

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto
}

.nav>a,
.nav .dd>a {
    position: relative;
    padding: 10px 13px;
    font-weight: 500;
    font-size: 15px;
    color: var(--ink);
    border-radius: 8px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    transition: color .25s
}

.nav>a::after,
.nav .dd>a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 4px;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease)
}

.nav>a:hover,
.nav .dd:hover>a,
.nav a.on {
    color: var(--teal)
}

.nav>a:hover::after,
.nav a.on::after {
    transform: scaleX(1)
}

.dd {
    position: relative
}

.mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: min(860px, 92vw);
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    transition: .3s var(--ease);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--rl);
    padding: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    box-shadow: var(--sh2)
}

.mega::before {
    content: "";
    position: absolute;
    inset: -14px 0 auto;
    height: 14px
}

.dd:hover .mega,
.dd:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0)
}

.mega h4 {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 8px;
    font-weight: 600
}

.mega a {
    display: block;
    padding: 6px 8px;
    margin: 0 -8px;
    border-radius: 6px;
    font-size: 14.5px;
    color: var(--ink);
    transition: background .2s, color .2s
}

.mega a:hover {
    background: var(--grey);
    color: var(--teal)
}

.hdr .btn {
    margin-left: 6px
}

.burger {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    place-items: center
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    margin: 4px auto;
    transition: .35s var(--ease)
}

.menu-open .burger span:nth-child(1) {
    transform: translateY(10px) rotate(45deg)
}

.menu-open .burger span:nth-child(2) {
    opacity: 0
}

.menu-open .burger span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg)
}

.mnav {
    position: fixed;
    inset: 0;
    z-index: 79;
    background: #fff;
    padding: calc(var(--hh) + 54px) 22px 120px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .4s var(--ease), visibility 0s .4s;
    visibility: hidden
}

.menu-open .mnav {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition-delay: 0s
}

.menu-open {
    overflow: hidden
}

.mnav>a,
.mnav summary {
    display: flex;
    justify-content: space-between;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 22px;
    color: var(--navy);
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    list-style: none
}

.mnav summary::after {
    content: "+";
    color: var(--teal)
}

.mnav details[open] summary::after {
    content: "–"
}

.mnav details a {
    display: block;
    padding: 9px 12px;
    color: var(--muted);
    font-size: 15.5px
}

.mnav .btns {
    margin-top: 24px
}

.mnav .btns .btn {
    flex: 1
}

@media(max-width:1080px) {
    .nav,
    .hdr .hdr-cta {
        display: none
    }
    .burger {
        display: grid
    }
}


/* reveal */

.rv {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--d, 0s)
}

.rv.l {
    transform: translateX(-26px)
}

.rv.r {
    transform: translateX(26px)
}

.rv.in {
    opacity: 1;
    transform: none
}

.reveal-img {
    position: relative;
    overflow: hidden
}

.reveal-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--blueL);
    transform-origin: top;
    transition: transform 1.1s var(--ease) .1s;
    z-index: 3;
    pointer-events: none
}

.reveal-img.in::after {
    transform: scaleY(0)
}

.reveal-img img {
    transform: scale(1.06);
    transition: transform 1.6s var(--ease)
}

.reveal-img.in img {
    transform: none
}

.stg>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s var(--ease), transform .7s var(--ease)
}

.stg.in>* {
    opacity: 1;
    transform: none
}

.no-js .rv,
.no-js .stg>* {
    opacity: 1;
    transform: none
}

.no-js .reveal-img::after {
    display: none
}

.no-js body {
    opacity: 1
}

@media(prefers-reduced-motion:reduce) {
    *,
    *::before,
    *::after {
        transition-duration: .01s !important;
        animation-duration: .01s !important
    }
    .rv,
    .stg>* {
        opacity: 1;
        transform: none
    }
    .reveal-img::after {
        display: none
    }
    body {
        opacity: 1
    }
}


/* photo */

.photo {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #DCE7F3, #C6D6E8);
    border-radius: var(--rl)
}

.photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 14%;
    z-index: 2
}

.photo .ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
    padding: 20px;
    color: var(--navy)
}

.photo .ph .mono {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 600;
    color: var(--navy);
    box-shadow: var(--sh)
}

.photo .ph b {
    font-family: var(--serif);
    font-size: 19px
}

.photo .ph small {
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal)
}

.portrait {
    position: relative
}

.portrait .photo {
    aspect-ratio: 4/5;
    box-shadow: var(--sh2)
}

.portrait::before {
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1.5px solid rgba(17, 128, 127, .35);
    border-radius: var(--rl);
    z-index: -1
}

.portrait .cap {
    position: absolute;
    left: -26px;
    bottom: 34px;
    z-index: 4;
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--sh2);
    display: flex;
    gap: 12px;
    align-items: center;
    max-width: 290px;
    border: 1px solid var(--line)
}

.portrait .cap .ic {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--tealL);
    color: var(--teal);
    display: grid;
    place-items: center;
    flex-shrink: 0
}

.portrait .cap b {
    display: block;
    font-size: 14.5px;
    color: var(--navy);
    line-height: 1.3
}

.portrait .cap small {
    font-size: 12.5px;
    color: var(--muted)
}

.portrait .cap2 {
    left: auto;
    right: -22px;
    top: 30px;
    bottom: auto
}

@media(max-width:700px) {
    .portrait::before {
        inset: 14px -10px -14px 14px
    }
    .portrait .cap {
        left: 10px;
        bottom: 14px
    }
    .portrait .cap2 {
        display: none
    }
}

.avatar {
    width: var(--s, 96px);
    height: var(--s, 96px);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--line), var(--sh)
}

.avatar .photo {
    width: 100%;
    height: 100%;
    border-radius: 50%
}

.avatar .ph .mono {
    width: 62%;
    height: 62%;
    font-size: calc(var(--s, 96px)*.28);
    box-shadow: none
}

.avatar .ph b,
.avatar .ph small {
    display: none
}


/* hero */

.hero {
    position: relative;
    background: linear-gradient(180deg, #F3F7FB 0%, #FBFCFE 70%, #fff 100%);
    overflow: hidden
}

.hero::before {
    content: "";
    position: absolute;
    right: -12%;
    top: -30%;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, #E3EEF7 0%, rgba(227, 238, 247, 0) 65%)
}

.hero .wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: clamp(36px, 5vw, 70px);
    align-items: center;
    padding: clamp(48px, 6vw, 84px) 0 clamp(60px, 7vw, 96px)
}

.hero h1 .nm {
    display: block
}

.hero h1 .ds {
    display: block;
    font-family: var(--sans);
    font-size: clamp(17px, 1.5vw, 21px);
    font-weight: 500;
    color: var(--teal);
    letter-spacing: .01em;
    margin-top: 14px;
    font-style: normal
}

.cred-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 20px 0 22px;
    font-size: 14.5px;
    color: var(--navy);
    font-weight: 500
}

.cred-line span {
    display: inline-flex;
    gap: 8px;
    align-items: center
}

.cred-line svg {
    color: var(--teal)
}

.hero .lead {
    margin-bottom: 28px
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--line)
}

.hero-meta div b {
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    color: var(--navy);
    line-height: 1
}

.hero-meta div span {
    font-size: 13.5px;
    color: var(--muted)
}

.hero .portrait {
    max-width: 440px;
    justify-self: center;
    width: 100%
}

@media(max-width:900px) {
    .hero .wrap {
        grid-template-columns: 1fr
    }
    .hero .portrait {
        max-width: 330px;
        order: -1
    }
}


/* trust strip */

.trust {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff
}

.trust .wrap {
    display: grid;
    grid-template-columns: repeat(5, 1fr)
}

.trust .t {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 26px 18px;
    border-right: 1px solid var(--line)
}

.trust .t:last-child {
    border-right: 0
}

.trust .ic {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--blueL);
    color: var(--navy);
    display: grid;
    place-items: center;
    flex-shrink: 0
}

.trust b {
    display: block;
    font-size: 15px;
    color: var(--navy);
    line-height: 1.3
}

.trust small {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.35;
    display: block
}

@media(max-width:1000px) {
    .trust .wrap {
        grid-template-columns: 1fr 1fr
    }
    .trust .t:nth-child(2n) {
        border-right: 0
    }
    .trust .t {
        border-bottom: 1px solid var(--line)
    }
}

@media(max-width:560px) {
    .trust .wrap {
        grid-template-columns: 1fr
    }
    .trust .t {
        border-right: 0
    }
}


/* about intro */

.split2 {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(36px, 6vw, 90px);
    align-items: center
}

.split2.rev {
    grid-template-columns: 1.1fr .9fr
}

@media(max-width:900px) {
    .split2,
    .split2.rev {
        grid-template-columns: 1fr
    }
}

.quote {
    position: relative;
    margin: 26px 0;
    padding: 22px 26px;
    border-left: 3px solid var(--teal);
    background: var(--grey);
    border-radius: 0 12px 12px 0;
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    color: var(--navy);
    line-height: 1.5
}

.ticks {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 18px 0 26px
}

.ticks li {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.ticks li svg {
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 4px
}

.ticks b {
    color: var(--navy)
}


/* cards */

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

@media(max-width:1000px) {
    .grid3,
    .grid4 {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:640px) {
    .grid3,
    .grid4,
    .grid2 {
        grid-template-columns: 1fr
    }
}

.spec {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--rl);
    overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s
}

.spec:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh2);
    border-color: #D3DEEA
}

.spec .art {
    background: var(--blueL);
    border-bottom: 1px solid var(--line);
    aspect-ratio: 420/300;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 6px
}

.spec .art .ill {
    transition: transform .8s var(--ease)
}

.spec:hover .art .ill {
    transform: scale(1.04)
}

.spec .bd {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1
}

.spec h3 {
    font-family: var(--serif);
    font-size: 23px;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.2
}

.spec p {
    color: var(--muted);
    font-size: 15px;
    flex: 1
}

.spec .links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 14px
}

.spec .links a {
    color: var(--teal);
    font-weight: 500
}

.spec .links a:hover {
    text-decoration: underline
}


/* conditions */

.ctabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 34px;
    overflow-x: auto;
    scrollbar-width: none
}

.ctabs button {
    background: none;
    border: 0;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--muted);
    cursor: pointer;
    position: relative;
    white-space: nowrap
}

.ctabs button::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 2.5px;
    background: var(--teal);
    transform: scaleX(0);
    transition: transform .35s var(--ease)
}

.ctabs button.on {
    color: var(--navy)
}

.ctabs button.on::after {
    transform: scaleX(1)
}

.cpane {
    display: none;
    grid-template-columns: 1fr 360px;
    gap: 46px;
    align-items: start
}

.cpane.on {
    display: grid;
    animation: pane .5s var(--ease)
}

@keyframes pane {
    from {
        opacity: 0;
        transform: translateY(10px)
    }
}

.clist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px
}

.clist a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    transition: padding .3s var(--ease), color .3s
}

.clist a b {
    display: block;
    color: var(--navy);
    font-weight: 600;
    font-size: 16px
}

.clist a small {
    display: block;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.45;
    margin-top: 2px
}

.clist a svg {
    color: var(--teal);
    flex-shrink: 0;
    transition: transform .3s var(--ease)
}

.clist a:hover {
    padding-left: 10px
}

.clist a:hover svg {
    transform: translateX(4px)
}

.anat {
    background: var(--blueL);
    border: 1px solid var(--line);
    border-radius: var(--rl);
    padding: 12px;
    position: sticky;
    top: 140px
}

.anat figcaption {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    padding: 4px 8px 6px
}

@media(max-width:960px) {
    .cpane.on {
        grid-template-columns: 1fr
    }
    .anat {
        position: static;
        max-width: 420px
    }
    .clist {
        grid-template-columns: 1fr
    }
}


/* approach */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: st;
    position: relative
}

.steps::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 27px;
    height: 1.5px;
    background: var(--line)
}

.steps .s {
    position: relative;
    counter-increment: st
}

.steps .n {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--teal);
    color: var(--teal);
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
    transition: background .3s, color .3s
}

.steps .s:hover .n {
    background: var(--teal);
    color: #fff
}

.steps h3 {
    font-family: var(--serif);
    font-size: 21px;
    color: var(--navy);
    margin-bottom: 6px;
    font-weight: 600
}

.steps p {
    color: var(--muted);
    font-size: 15px
}

@media(max-width:900px) {
    .steps {
        grid-template-columns: 1fr 1fr;
        row-gap: 34px
    }
    .steps::before {
        display: none
    }
}

@media(max-width:560px) {
    .steps {
        grid-template-columns: 1fr
    }
}


/* hospitals */

.hosp {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--rl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .4s
}

.hosp:hover {
    box-shadow: var(--sh2)
}

.hosp .im {
    aspect-ratio: 16/9;
    background: linear-gradient(160deg, #DCE7F3, #C6D6E8);
    position: relative;
    overflow: hidden
}

.hosp .im img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: transform 1s var(--ease)
}

.hosp:hover .im img {
    transform: scale(1.03)
}

.hosp .im .ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: var(--navy);
    text-align: center;
    padding: 20px
}

.hosp .im .ph svg {
    color: var(--teal)
}

.hosp .im .ph b {
    font-family: var(--serif);
    font-size: 20px
}

.hosp .bd {
    padding: 26px;
    display: grid;
    gap: 10px;
    flex: 1
}

.hosp h3 {
    font-family: var(--serif);
    font-size: 23px;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.25
}

.hosp .row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 15px
}

.hosp .row svg {
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 3px
}

.hosp .row b {
    color: var(--navy);
    font-weight: 600
}

.hosp .btns {
    margin-top: 8px
}

.past {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px
}

.past span {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: var(--ink)
}


/* testimonials */

.tslider {
    position: relative
}

.ttrack {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 44px)/3);
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 18px;
    scrollbar-width: none
}

.ttrack::-webkit-scrollbar {
    display: none
}

@media(max-width:1000px) {
    .ttrack {
        grid-auto-columns: calc((100% - 22px)/2)
    }
}

@media(max-width:640px) {
    .ttrack {
        grid-auto-columns: 88%
    }
}

.tcard {
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--rl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.tcard .qm {
    font-family: var(--serif);
    font-size: 54px;
    line-height: .6;
    color: var(--teal);
    height: 24px
}

.tcard p {
    color: var(--ink);
    font-size: 16px;
    flex: 1
}

.tcard .who {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--line)
}

.tcard .av {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blueL);
    color: var(--navy);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14.5px;
    flex-shrink: 0
}

.tcard .who b {
    display: block;
    color: var(--navy);
    font-size: 15px
}

.tcard .who small {
    color: var(--muted);
    font-size: 13.5px
}

.tctrl {
    display: flex;
    gap: 10px;
    align-items: center
}

.tctrl button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--navy);
    transition: .3s
}

.tctrl button:hover {
    border-color: var(--teal);
    color: var(--teal)
}

.tnote {
    font-size: 13.5px;
    color: var(--muted);
    margin-top: 14px
}


/* blog cards */

.bcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--rl);
    overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease)
}

.bcard:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh2)
}

.bcard .art {
    background: var(--blueL);
    aspect-ratio: 420/280;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line)
}

.bcard .b {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1
}

.bcard .meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 12px
}

.bcard .meta b {
    color: var(--teal);
    font-weight: 600
}

.bcard h3 {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.3;
    color: var(--navy);
    font-weight: 600
}

.bcard p {
    font-size: 15px;
    color: var(--muted);
    flex: 1
}


/* appointment */

.appt {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: start
}

@media(max-width:900px) {
    .appt {
        grid-template-columns: 1fr
    }
}

.cbox {
    display: grid;
    gap: 12px;
    margin-top: 26px
}

.cbox a,
.cbox div {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition: border-color .3s, transform .3s var(--ease)
}

.cbox a:hover {
    border-color: var(--teal);
    transform: translateX(4px)
}

.cbox .ic {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--tealL);
    color: var(--teal);
    display: grid;
    place-items: center;
    flex-shrink: 0
}

.cbox small {
    display: block;
    font-size: 12.5px;
    color: var(--muted)
}

.cbox b {
    color: var(--navy);
    font-size: 16px
}

.form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--rl);
    padding: clamp(22px, 3vw, 36px);
    box-shadow: var(--sh)
}

.form h3 {
    font-family: var(--serif);
    font-size: 27px;
    color: var(--navy);
    font-weight: 600
}

.fg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px
}

.fg .full {
    grid-column: 1/-1
}

@media(max-width:640px) {
    .fg {
        grid-template-columns: 1fr
    }
}

.fld label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px
}

.fld input,
.fld select,
.fld textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid #CFD8E3;
    background: #fff;
    outline: 0;
    transition: border-color .25s, box-shadow .25s;
    font-size: 15px
}

.fld input:focus,
.fld select:focus,
.fld textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(17, 128, 127, .14)
}

.fld .err {
    display: none;
    font-size: 12.5px;
    color: #B42318;
    margin-top: 4px
}

.fld.bad input,
.fld.bad select {
    border-color: #B42318
}

.fld.bad .err {
    display: block
}

.slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.slots label {
    position: relative
}

.slots input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.slots span {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #CFD8E3;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: .2s
}

.slots input:checked+span {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

.slots input:focus-visible+span {
    outline: 2px solid var(--teal);
    outline-offset: 2px
}

.form>.btn {
    width: 100%;
    margin-top: 18px
}

.fine {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 10px;
    text-align: center
}

.done {
    display: none;
    text-align: center
}

.form.sent>*:not(.done) {
    display: none
}

.form.sent .done {
    display: block
}

.done .tick {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--tealL);
    color: var(--teal);
    display: grid;
    place-items: center
}

.done pre {
    white-space: pre-wrap;
    text-align: left;
    background: var(--grey);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px;
    font: 500 13.5px/1.6 var(--sans);
    margin: 16px 0
}

.done .btns {
    justify-content: center
}


/* faq */

.faq {
    display: grid;
    gap: 10px
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition: border-color .3s
}

.faq details[open] {
    border-color: #C9D7E6
}

.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    font-size: 16px
}

.faq summary::-webkit-details-marker {
    display: none
}

.faq summary i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--line);
    flex-shrink: 0;
    position: relative;
    transition: transform .35s var(--ease), background .3s
}

.faq summary i::before,
.faq summary i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 1.6px;
    background: var(--teal);
    transform: translate(-50%, -50%)
}

.faq summary i::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .35s var(--ease)
}

.faq details[open] summary i::after {
    transform: translate(-50%, -50%) rotate(0)
}

.faq .ans {
    padding: 0 22px 20px;
    color: var(--muted);
    animation: fa .4s var(--ease)
}

@keyframes fa {
    from {
        opacity: 0;
        transform: translateY(-6px)
    }
}

.faqg {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 56px;
    align-items: start
}

@media(max-width:900px) {
    .faqg {
        grid-template-columns: 1fr;
        gap: 26px
    }
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.tags span {
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--grey);
    border: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--muted)
}


/* CTA band */

.cta {
    border-radius: var(--rl);
    background: var(--navy);
    color: #DCE5F2;
    padding: clamp(32px, 5vw, 56px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    position: relative;
    overflow: hidden
}

.cta::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 40px rgba(255, 255, 255, .03)
}

.cta .h3 {
    color: #fff
}

.cta p {
    color: #B9C7DB;
    margin-top: 6px
}

.cta .btn.ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .3)
}

@media(max-width:900px) {
    .cta {
        grid-template-columns: 1fr
    }
}


/* footer */

.ftr {
    background: #0E2140;
    color: #AEBCD0;
    padding: 70px 0 28px;
    font-size: 15px
}

.fcols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 38px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.fcols h4 {
    font-family: var(--sans);
    color: #fff;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 600
}

.fcols a {
    display: block;
    padding: 4px 0;
    transition: color .25s
}

.fcols a:hover {
    color: #fff
}

.fcols .ci a,
.fcols .ci span {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 5px 0
}

.fcols a.brand {
    display: flex;
    padding: 0
}

.fcols .brand b {
    color: #fff
}

.fcols .brand small {
    color: #AEBCD0
}

.fkw {
    font-size: 12.5px;
    color: #7D8DA6;
    margin-top: 24px;
    line-height: 1.9
}

.fkw a:hover {
    color: #fff
}

.fbot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    padding-top: 22px;
    font-size: 13px;
    color: #7D8DA6
}

@media(max-width:900px) {
    .fcols {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {
    .fcols {
        grid-template-columns: 1fr
    }
}


/* sticky booking */

.sticky-book {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    display: flex;
    gap: 10px;
    align-items: center;
    transform: translateY(130%);
    transition: transform .5s var(--ease)
}

.sticky-book.on {
    transform: none
}

.sticky-book .ic {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .35);
    transition: transform .3s var(--ease)
}

.sticky-book .ic:hover {
    transform: translateY(-3px)
}

.sticky-book .wa {
    background: #1E9E57
}

.sticky-book .call {
    background: var(--navy)
}

.sticky-book .btn {
    box-shadow: 0 14px 30px -12px rgba(17, 128, 127, .7);
    padding: 15px 22px
}

.mbar {
    display: none
}

@media(max-width:760px) {
    .sticky-book {
        display: none
    }
    .mbar {
        display: grid;
        grid-template-columns: 1fr 1fr 1.3fr;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px -16px rgba(18, 41, 74, .4);
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        gap: 8px
    }
    .mbar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 12px 4px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 14px;
        color: var(--navy);
        border: 1px solid var(--line)
    }
    .mbar a.wa {
        color: #178548
    }
    .mbar a.bk {
        background: var(--teal);
        color: #fff;
        border-color: var(--teal)
    }
    body {
        padding-bottom: 72px
    }
}


/* page header (inner) */

.phead {
    background: linear-gradient(180deg, #F3F7FB, #fff);
    border-bottom: 1px solid var(--line)
}

.phead .wrap {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(30px, 5vw, 64px);
    align-items: center;
    padding: clamp(40px, 5vw, 64px) 0
}

.phead.solo .wrap {
    grid-template-columns: 1fr
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 18px
}

.crumbs a {
    color: var(--teal)
}

.crumbs a:hover {
    text-decoration: underline
}

.crumbs span::before {
    content: "›";
    margin-right: 8px;
    color: #A6B1C2
}

.phead h1 {
    margin: 12px 0 16px
}

.facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden
}

.facts div {
    padding: 14px 16px;
    border-right: 1px solid var(--line)
}

.facts div:last-child {
    border-right: 0
}

.facts small {
    display: block;
    font-size: 12px;
    color: var(--muted)
}

.facts b {
    font-size: 14.5px;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.35;
    display: block
}

@media(max-width:960px) {
    .phead .wrap {
        grid-template-columns: 1fr
    }
    .facts {
        grid-template-columns: 1fr 1fr
    }
    .facts div:nth-child(2) {
        border-right: 0
    }
    .facts div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line)
    }
}

.figure {
    background: var(--blueL);
    border: 1px solid var(--line);
    border-radius: var(--rl);
    padding: 12px;
    position: relative
}

.figure figcaption {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    padding: 6px 10px 4px
}

.figure .ill {
    max-height: 440px;
    margin-inline: auto
}

.subnav {
    position: sticky;
    top: var(--hh);
    z-index: 60;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line)
}

.subnav .wrap {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none
}

.subnav .wrap::-webkit-scrollbar {
    display: none
}

.subnav a {
    padding: 14px 14px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    position: relative
}

.subnav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transition: transform .3s var(--ease)
}

.subnav a.on {
    color: var(--navy)
}

.subnav a.on::after {
    transform: scaleX(1)
}


/* article-style content blocks */

.content {
    max-width: 760px
}

.content p {
    color: var(--ink);
    font-size: 17px
}

.listx {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 28px;
    margin-top: 8px
}

.listx li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
}

.listx li .dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tealL);
    color: var(--teal);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 2px
}

.listx b {
    display: block;
    color: var(--navy);
    font-weight: 600
}

.listx span {
    color: var(--muted);
    font-size: 15px
}

@media(max-width:760px) {
    .listx {
        grid-template-columns: 1fr
    }
}

.alert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 12px;
    background: #FFF6EC;
    border: 1px solid #F3D9B5;
    color: #7A4A12;
    margin-top: 26px;
    font-size: 15px
}

.alert svg {
    flex-shrink: 0;
    margin-top: 2px
}

.alert b {
    color: #6A3D0B
}

.dsteps {
    display: grid;
    gap: 0;
    counter-reset: d
}

.dsteps li {
    list-style: none;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    counter-increment: d
}

.dsteps li::before {
    content: counter(d);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--teal);
    color: var(--teal);
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 18px
}

.dsteps b {
    display: block;
    color: var(--navy);
    font-size: 17px
}

.dsteps span {
    color: var(--muted)
}

.tx {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.tx .o {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
    transition: border-color .3s, box-shadow .3s
}

.tx .o:hover {
    border-color: #C9D7E6;
    box-shadow: var(--sh)
}

.tx .o small {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--tealL);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px
}

.tx .o h3 {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 6px;
    font-weight: 600
}

.tx .o p {
    color: var(--muted);
    font-size: 15px
}

@media(max-width:760px) {
    .tx {
        grid-template-columns: 1fr
    }
}

.surg {
    display: grid;
    gap: 10px
}

.surg li {
    list-style: none;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line)
}

.surg li svg {
    color: var(--navy);
    flex-shrink: 0;
    margin-top: 3px
}

.rtl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 2px solid var(--line);
    position: relative
}

.rtl .fill {
    position: absolute;
    left: 0;
    top: -2px;
    height: 2px;
    width: 0;
    background: var(--teal);
    transition: width 1.6s var(--ease)
}

.rtl.in .fill {
    width: 100%
}

.rtl>div:not(.fill) {
    padding: 22px 20px 0 0;
    position: relative
}

.rtl>div:not(.fill)::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--teal)
}

.rtl small {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal);
    letter-spacing: .04em;
    text-transform: uppercase
}

.rtl p {
    color: var(--ink);
    font-size: 15.5px;
    margin-top: 6px
}

@media(max-width:800px) {
    .rtl {
        grid-template-columns: 1fr 1fr;
        row-gap: 20px
    }
}

.aims {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px
}

.aims span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 14.5px;
    color: var(--navy);
    font-weight: 500
}

.aims svg {
    color: var(--teal)
}

.docbox {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--rl);
    background: #fff;
    box-shadow: var(--sh)
}

.docbox h3 {
    font-family: var(--serif);
    font-size: 26px;
    color: var(--navy);
    font-weight: 600
}

.docbox p {
    color: var(--muted);
    font-size: 15.5px;
    margin-top: 6px
}

.docbox .ql {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px
}

.docbox .ql span {
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--grey);
    border: 1px solid var(--line);
    color: var(--navy)
}

@media(max-width:860px) {
    .docbox {
        grid-template-columns: auto 1fr
    }
    .docbox .btns {
        grid-column: 1/-1
    }
}

@media(max-width:520px) {
    .docbox {
        grid-template-columns: 1fr
    }
}

.rel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.rel a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
    transition: border-color .3s, transform .4s var(--ease)
}

.rel a:hover {
    border-color: var(--teal);
    transform: translateY(-3px)
}

.rel small {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 600
}

.rel b {
    font-family: var(--serif);
    font-size: 19px;
    color: var(--navy)
}

.rel span {
    font-size: 14.5px;
    color: var(--muted)
}

@media(max-width:860px) {
    .rel {
        grid-template-columns: 1fr
    }
}

.disc {
    font-size: 13px;
    color: var(--muted);
    margin-top: 14px
}


/* about page */

.tl {
    position: relative;
    display: grid;
    gap: 0;
    max-width: 860px
}

.tl::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--line)
}

.tl .fl {
    position: absolute;
    left: 21px;
    top: 6px;
    width: 2px;
    height: var(--p, 0%);
    background: var(--teal);
    transition: height .2s linear
}

.tl .it {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 22px;
    padding: 16px 0
}

.tl .d {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--teal);
    display: grid;
    place-items: center;
    color: var(--teal);
    position: relative;
    z-index: 1
}

.tl small {
    font-size: 12.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--teal)
}

.tl h3 {
    font-family: var(--serif);
    font-size: 21px;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.3
}

.tl p {
    color: var(--muted);
    font-size: 15.5px
}

.exp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.exp>div {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--rl);
    background: #fff
}

.exp h3 {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 600
}

.exp ul {
    list-style: none;
    display: grid;
    gap: 8px
}

.exp li {
    display: flex;
    gap: 10px;
    font-size: 15px;
    color: var(--ink)
}

.exp li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    margin-top: 10px;
    flex-shrink: 0
}

@media(max-width:900px) {
    .exp {
        grid-template-columns: 1fr
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--rl);
    background: #fff;
    overflow: hidden
}

.stats>div {
    padding: 26px 22px;
    border-right: 1px solid var(--line)
}

.stats>div:last-child {
    border-right: 0
}

.stats b {
    display: block;
    font-family: var(--serif);
    font-size: clamp(34px, 3.6vw, 46px);
    color: var(--navy);
    line-height: 1;
    font-weight: 600
}

.stats span {
    font-size: 14px;
    color: var(--muted)
}

@media(max-width:800px) {
    .stats {
        grid-template-columns: 1fr 1fr
    }
    .stats>div:nth-child(2) {
        border-right: 0
    }
    .stats>div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line)
    }
}

.memb {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.memb div {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
    flex: 1;
    min-width: 260px
}

.memb .ic {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--blueL);
    color: var(--navy);
    display: grid;
    place-items: center
}

.memb b {
    display: block;
    color: var(--navy)
}

.memb small {
    color: var(--muted)
}


/* blog article */

.article {
    max-width: 740px;
    margin-inline: auto
}

.article h2 {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--navy);
    margin: 36px 0 10px;
    font-weight: 600;
    line-height: 1.25
}

.article p {
    font-size: 18px;
    line-height: 1.8
}

.byline {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 22px
}

.byline b {
    display: block;
    color: var(--navy);
    font-size: 15px
}

.byline small {
    color: var(--muted);
    font-size: 13.5px
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px
}

.filters button {
    border: 1px solid var(--line);
    background: #fff;
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14.5px;
    cursor: pointer;
    transition: .25s;
    color: var(--ink)
}

.filters button.on {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

.tlist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
}

.titem {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--rl);
    background: #fff;
    transition: border-color .3s, box-shadow .4s, transform .4s var(--ease)
}

.titem:hover {
    border-color: #C9D7E6;
    box-shadow: var(--sh);
    transform: translateY(-3px)
}

.titem .art {
    background: var(--blueL);
    border-radius: 12px;
    aspect-ratio: 420/330;
    display: grid;
    place-items: center;
    overflow: hidden
}

.titem small {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 600
}

.titem h3 {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--navy);
    margin: 4px 0 6px;
    font-weight: 600;
    line-height: 1.25
}

.titem p {
    font-size: 14.5px;
    color: var(--muted)
}

.titem.hide {
    display: none
}

@media(max-width:900px) {
    .tlist {
        grid-template-columns: 1fr
    }
}

@media(max-width:480px) {
    .titem {
        grid-template-columns: 1fr
    }
}

.wall {
    columns: 3 300px;
    column-gap: 20px
}

.wall .tcard {
    break-inside: avoid;
    margin-bottom: 20px
}

.map {
    border: 1px solid var(--line);
    border-radius: var(--rl);
    overflow: hidden;
    background: var(--grey)
}

.map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 96px;
    transform: translate(-50%, 20px);
    background: var(--navy);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    opacity: 0;
    transition: .35s var(--ease);
    z-index: 200
}

.toast.on {
    opacity: 1;
    transform: translate(-50%, 0)
}


/* illustrations (light anatomical) */

.ill {
    width: 100%;
    height: auto;
    overflow: visible
}

.ill .lbl-t {
    font-family: var(--sans);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .04em;
    fill: var(--navy)
}

.ill .vt {
    font-family: var(--sans);
    font-size: 8.5px;
    fill: #6B7A8F
}

.ill .hud-t {
    display: none
}

.ill .pulse {
    animation: pulse 3.4s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center
}

@keyframes pulse {
    50% {
        transform: scale(1.06);
        opacity: .85
    }
}

.ill .flow {
    stroke-dasharray: 5 10;
    animation: flow 2.4s linear infinite
}

.ill .flow-slow {
    stroke-dasharray: 3 12;
    animation: flow 4s linear infinite
}

@keyframes flow {
    to {
        stroke-dashoffset: -30
    }
}

.ill .ripple {
    animation: ripple 3s ease-out infinite;
    transform-box: fill-box;
    transform-origin: center
}

@keyframes ripple {
    from {
        transform: scale(.7);
        opacity: .7
    }
    to {
        transform: scale(1.8);
        opacity: 0
    }
}

.ill .draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 2.2s var(--ease)
}

.ill.in .draw,
.no-js .ill .draw {
    stroke-dashoffset: 0
}

.ill .lbl {
    opacity: 0;
    transition: opacity .8s var(--ease) .8s
}

.ill.in .lbl,
.no-js .ill .lbl {
    opacity: 1
}

.ill .vb {
    opacity: 0
}

.ill.in .vb {
    animation: vbIn .6s var(--ease) forwards;
    animation-delay: var(--d)
}

@keyframes vbIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.no-js .ill .vb {
    opacity: 1
}

.ill .screw {
    animation: screw 6s var(--ease) infinite
}

@keyframes screw {
    0% {
        transform: translateX(50px);
        opacity: 0
    }
    20%,
    90% {
        transform: none;
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

.ill .rod {
    animation: rod 6s var(--ease) infinite
}

@keyframes rod {
    0%,
    25% {
        opacity: 0
    }
    35%,
    90% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

.ill .tube-in {
    animation: tube 6s var(--ease) infinite
}

@keyframes tube {
    0% {
        transform: translate(40px, -40px);
        opacity: 0
    }
    20%,
    90% {
        transform: none;
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

.ill .clip-in {
    animation: rod 5s var(--ease) infinite
}

.ill .morphA {
    animation: mA 8s ease-in-out infinite
}

.ill .morphB {
    animation: mB 8s ease-in-out infinite
}

@keyframes mA {
    0%,
    40% {
        opacity: 1
    }
    50%,
    90% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@keyframes mB {
    0%,
    40% {
        opacity: 0
    }
    50%,
    90% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

.lobe {
    fill: rgba(17, 128, 127, .04);
    stroke: rgba(17, 128, 127, .5);
    stroke-width: 1;
    transition: fill .3s
}

.lobe:hover {
    fill: rgba(17, 128, 127, .18)
}

.sp-region {
    transition: opacity .3s
}

.cta .h3 span {
    color: #7FD1CE;
    font-style: italic;
    font-weight: 500
}


/* ===== Homepage hero (doctor introduction) ===== */

.hh {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #F6F9FC 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--line);
    --mx: 0;
    --my: 0
}

.hh-bg {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.hh-bg span {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px)
}

.hh-bg .b1 {
    width: 62vw;
    max-width: 900px;
    aspect-ratio: 1;
    right: -14vw;
    top: -32%;
    background: radial-gradient(circle, rgba(205, 226, 240, .85) 0%, rgba(205, 226, 240, 0) 66%);
    animation: hhDrift 22s ease-in-out infinite alternate
}

.hh-bg .b2 {
    width: 44vw;
    max-width: 640px;
    aspect-ratio: 1;
    right: 6vw;
    bottom: -40%;
    background: radial-gradient(circle, rgba(17, 128, 127, .12) 0%, rgba(17, 128, 127, 0) 65%);
    animation: hhDrift 26s ease-in-out -8s infinite alternate-reverse
}

.hh-bg .b3 {
    width: 36vw;
    max-width: 520px;
    aspect-ratio: 1;
    left: -12vw;
    top: -20%;
    background: radial-gradient(circle, rgba(18, 41, 74, .05) 0%, rgba(18, 41, 74, 0) 65%);
    animation: hhDrift 30s ease-in-out -4s infinite alternate
}

@keyframes hhDrift {
    from {
        transform: translate3d(0, 0, 0) scale(1)
    }
    to {
        transform: translate3d(-3%, 4%, 0) scale(1.08)
    }
}

.hh-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "head stage" "body stage";
    column-gap: clamp(32px, 4.5vw, 72px);
    padding: clamp(40px, 4.6vw, 68px) 0 clamp(64px, 7vw, 92px)
}

.hh-head {
    grid-area: head;
    align-self: end;
    position: relative;
    z-index: 2
}

.hh-body {
    grid-area: body;
    position: relative;
    z-index: 2
}

.hh-stage {
    grid-area: stage;
    position: relative;
    align-self: start;
    display: grid;
    place-items: center;
    padding: 30px 70px 46px;
    min-height: 100%
}


/* headline: words rise from a mask */

.hh-title {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -.015em;
    margin: 16px 0 0
}

.hh-title .nm {
    display: block;
    font-size: clamp(40px, 4.7vw, 64px);
    line-height: 1.06
}

.hh-title .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .06em;
    margin-bottom: -.06em
}

.hh-title .w>span {
    display: inline-block;
    transform: translateY(105%);
    animation: hhWord 1s var(--ease) forwards;
    animation-delay: calc(.18s + var(--i) * .11s)
}

@keyframes hhWord {
    to {
        transform: none
    }
}

.hh-title .ds {
    position: relative;
    display: inline-block;
    margin-top: 16px;
    padding-bottom: 10px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: clamp(16px, 1.45vw, 20px);
    color: var(--teal);
    line-height: 1.4;
    opacity: 0;
    animation: hhUp .9s var(--ease) .55s forwards
}

.hh-title .ds::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--teal), rgba(17, 128, 127, .15));
    transform: scaleX(0);
    transform-origin: left;
    animation: hhLine 1.1s var(--ease) .95s forwards
}

@keyframes hhLine {
    to {
        transform: scaleX(1)
    }
}

.hh-quals {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px
}

.hh-quals li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    font-size: 13.5px;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.3;
    opacity: 0;
    animation: hhChip .7s var(--ease) forwards;
    animation-delay: calc(.75s + var(--i) * .1s);
    transition: border-color .3s, box-shadow .3s, transform .3s var(--ease)
}

.hh-quals li:hover {
    border-color: rgba(17, 128, 127, .45);
    box-shadow: 0 8px 18px -12px rgba(17, 128, 127, .6);
    transform: translateY(-2px)
}

.hh-quals li b {
    color: var(--navy);
    font-weight: 600
}

.hh-quals li svg {
    color: var(--teal)
}

.hh-quals li:last-child {
    border-color: rgba(17, 128, 127, .35);
    background: var(--tealL)
}

@keyframes hhChip {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.96)
    }
    to {
        opacity: 1;
        transform: none
    }
}

.hh-role {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 26px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.55
}

.hh-role svg {
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px
}

.hh-role b {
    color: var(--navy);
    font-weight: 600
}

.hh-intro {
    margin-top: 14px;
    font-size: clamp(16px, 1.2vw, 17.5px);
    line-height: 1.75;
    color: var(--ink);
    max-width: 580px
}

.hh-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px
}

.hh-ctas .btn {
    position: relative;
    overflow: hidden;
    padding: 16px 26px;
    font-size: 15.5px;
    border-radius: 12px
}

.hh-book {
    box-shadow: 0 14px 28px -14px rgba(17, 128, 127, .75)
}

.hh-book::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0));
    transform: skewX(-18deg);
    transition: left .8s var(--ease)
}

.hh-book:hover::after {
    left: 120%
}

.hh-book::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(17, 128, 127, .45);
    animation: hhPulse 2.6s ease-out 2.2s 2;
    pointer-events: none
}

@keyframes hhPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(17, 128, 127, .4)
    }
    100% {
        box-shadow: 0 0 0 14px rgba(17, 128, 127, 0)
    }
}

.hh-call {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff
}

.hh-call:hover {
    background: var(--navy2);
    border-color: var(--navy2);
    box-shadow: 0 10px 24px -12px rgba(18, 41, 74, .6)
}

.hh-call .num {
    font-weight: 500;
    opacity: .8;
    margin-left: 2px
}

.hh-call .ring {
    display: inline-grid;
    transform-origin: 50% 50%
}

.hh-call:hover .ring {
    animation: hhRing .9s ease-in-out
}

@keyframes hhRing {
    0%,
    100% {
        transform: rotate(0)
    }
    20% {
        transform: rotate(-14deg)
    }
    40% {
        transform: rotate(12deg)
    }
    60% {
        transform: rotate(-8deg)
    }
    80% {
        transform: rotate(4deg)
    }
}

.hh-wa {
    margin-top: 14px;
    font-size: 14px;
    color: var(--muted)
}

.hh-wa a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #178548;
    font-weight: 600
}

.hh-wa a:hover {
    text-decoration: underline
}

.hh-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--line)
}

.hh-stats div {
    display: flex;
    flex-direction: column-reverse;
    padding: 0 28px;
    border-left: 1px solid var(--line)
}

.hh-stats div:first-child {
    padding-left: 0;
    border-left: 0
}

.hh-stats dt {
    font-size: 13px;
    color: var(--muted)
}

.hh-stats dd {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(24px, 2.2vw, 30px);
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 4px
}

.hh-a {
    opacity: 0;
    animation: hhUp .9s var(--ease) forwards;
    animation-delay: var(--d, 0s)
}

@keyframes hhUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }
    to {
        opacity: 1;
        transform: none
    }
}


/* portrait — the centre of the composition */

.hh-photo,
.hh-fl,
.hh-card,
.hh-hosp {
    translate: calc(var(--mx) * var(--dp, 0) * 1px) calc(var(--my) * var(--dp, 0) * 1px);
    transition: translate .9s cubic-bezier(.2, .7, .2, 1)
}

.hh-photo {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    margin: 0;
    isolation: isolate
}

.hh-frame {
    position: relative;
    aspect-ratio: var(--ar, 4/5);
    border-radius: 999px 999px 26px 26px;
    overflow: hidden;
    background: linear-gradient(175deg, #F4F8FC, #D7E5EF);
    box-shadow: 0 46px 80px -46px rgba(18, 41, 74, .55), 0 0 0 1px rgba(18, 41, 74, .06);
    margin-inline: auto;
    clip-path: inset(100% 0 0 0 round 999px 999px 26px 26px);
    animation: hhCurtain 1.4s cubic-bezier(.65, .05, .25, 1) .25s forwards
}

@keyframes hhCurtain {
    to {
        clip-path: inset(0 0 0 0 round 999px 999px 26px 26px)
    }
}

.hh-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .55);
    z-index: 3;
    pointer-events: none
}

.hh-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
    z-index: 2;
    opacity: 0;
    transform: scale(1.14);
    transition: opacity .7s var(--ease), transform 1.4s var(--ease)
}

.hh-img.ok {
    opacity: 1;
    animation: hhZoom 2.6s cubic-bezier(.2, .7, .2, 1) .25s forwards
}

@keyframes hhZoom {
    from {
        transform: scale(1.14)
    }
    to {
        transform: scale(1)
    }
}

.hh-photo:hover .hh-img.ok {
    transform: scale(1.035)
}

.hh-img.hh-done {
    animation: none;
    transform: none
}

.hh-photo:hover .hh-img.hh-done {
    transform: scale(1.035)
}

.no-js .hh-img {
    opacity: 1;
    transform: none
}

.hh-frame.cut {
    background: radial-gradient(110% 75% at 50% 100%, #CFE3E3 0%, #E6F0F7 55%, #F5F9FC 100%)
}

.hh-frame.cut .hh-img {
    object-fit: contain;
    object-position: 50% 100%
}

.hh-sheen {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .32) 50%, rgba(255, 255, 255, 0) 65%);
    transform: translateX(-120%);
    animation: hhSheen 1.6s var(--ease) 1.7s forwards
}

@keyframes hhSheen {
    to {
        transform: translateX(120%)
    }
}

.hh-ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    text-align: center;
    color: var(--navy);
    padding: 24px
}

.hh-ph span {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 600;
    box-shadow: var(--sh)
}

.hh-ph b {
    font-family: var(--serif);
    font-size: 20px;
    margin-top: 6px
}

.hh-ph small {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal)
}

.hh-plate {
    position: absolute;
    left: 50%;
    bottom: -24px;
    z-index: 5;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 24px;
    text-align: center;
    box-shadow: var(--sh2);
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 14px);
    animation: hhPlate .9s var(--ease) 1.35s forwards
}

@keyframes hhPlate {
    to {
        opacity: 1;
        transform: translate(-50%, 0)
    }
}

.hh-plate b {
    display: block;
    font-family: var(--serif);
    font-size: 18px;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.3
}

.hh-plate span {
    font-size: 12.5px;
    color: var(--teal);
    font-weight: 600;
    letter-spacing: .02em
}


/* soft halo behind the portrait */

.hh-halo {
    position: absolute;
    left: 50%;
    top: 44%;
    width: min(118%, 620px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none
}

.hh-halo i {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    animation: hhHaloIn 1.6s var(--ease) forwards, hhBreathe 9s ease-in-out infinite
}

.hh-halo i:nth-child(1) {
    background: radial-gradient(circle, rgba(17, 128, 127, .14) 0%, rgba(205, 226, 240, .55) 38%, rgba(255, 255, 255, 0) 68%);
    animation-delay: .1s, 1.7s
}

.hh-halo i:nth-child(2) {
    inset: 9%;
    border: 1px solid rgba(17, 128, 127, .22);
    animation-delay: .45s, 2.4s
}

.hh-halo i:nth-child(3) {
    inset: 19%;
    border: 1px dashed rgba(18, 41, 74, .14);
    animation-delay: .7s, 3.1s
}

@keyframes hhHaloIn {
    to {
        opacity: 1
    }
}

@keyframes hhBreathe {
    0%,
    100% {
        transform: scale(1)
    }
    50% {
        transform: scale(1.035)
    }
}


/* floating credential cards */

.hh-card {
    position: absolute;
    z-index: 6
}

.hh-card .hh-cin,
.hh-hosp .hh-cin {
    display: flex;
    gap: 11px;
    align-items: center;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 11px 16px 11px 11px;
    box-shadow: 0 20px 40px -22px rgba(18, 41, 74, .45);
    opacity: 0;
    animation: hhCard .9s var(--ease) forwards, hhFloat 7s ease-in-out infinite;
    transition: box-shadow .35s, border-color .35s
}

.hh-card .hh-cin:hover,
.hh-hosp:hover .hh-cin {
    border-color: rgba(17, 128, 127, .4);
    box-shadow: 0 26px 46px -22px rgba(18, 41, 74, .55)
}

.hh-card .ic {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--tealL);
    color: var(--teal);
    display: grid;
    place-items: center;
    flex-shrink: 0
}

.hh-card b {
    display: block;
    font-size: 14.5px;
    color: var(--navy);
    line-height: 1.25;
    font-weight: 700
}

.hh-card small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.3
}

.hh-card.c1 {
    left: 0;
    top: 15%
}

.hh-card.c1 .hh-cin {
    animation-delay: 1.55s, 2.5s
}

.hh-card.c2 {
    right: 0;
    top: 30%
}

.hh-card.c2 .hh-cin {
    animation-delay: 1.75s, 3.4s
}

@keyframes hhCard {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.97)
    }
    to {
        opacity: 1;
        transform: none
    }
}

@keyframes hhFloat {
    0%,
    100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-7px)
    }
}


/* hospital card with cross-fading campus photographs */

.hh-hosp {
    position: absolute;
    z-index: 6;
    left: -18px;
    top: 60%;
    width: 252px;
    color: inherit
}

.hh-hosp .hh-cin {
    padding: 8px 14px 8px 8px;
    animation-delay: 1.95s, 4.2s
}

.hh-hosp-im {
    position: relative;
    width: 74px;
    height: 62px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(160deg, #E4EEF6, #CFDEEA);
    display: grid;
    place-items: center;
    color: var(--teal)
}

.hh-hosp-im img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2
}

.hh-hosp-im .hp0 {
    animation: hhX0 12s ease-in-out infinite
}

.hh-hosp-im .hp1 {
    animation: hhX1 12s ease-in-out infinite
}

@keyframes hhX0 {
    0%,
    42% {
        opacity: 1;
        transform: scale(1.08)
    }
    50%,
    92% {
        opacity: 0;
        transform: scale(1)
    }
    100% {
        opacity: 1;
        transform: scale(1.08)
    }
}

@keyframes hhX1 {
    0%,
    42% {
        opacity: 0;
        transform: scale(1)
    }
    50%,
    92% {
        opacity: 1;
        transform: scale(1.08)
    }
    100% {
        opacity: 0;
        transform: scale(1)
    }
}

.hh-hosp-im.single img {
    animation: none;
    opacity: 1
}

.hh-hosp-t small {
    display: block;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 600
}

.hh-hosp-t b {
    display: block;
    font-size: 13.5px;
    color: var(--navy);
    line-height: 1.3;
    font-weight: 700
}

.hh-hosp-t span {
    display: block;
    font-size: 12px;
    color: var(--muted)
}


/* anatomical line art */

.hh-fl {
    position: absolute;
    z-index: 1;
    color: var(--teal);
    pointer-events: none
}

.hh-fl .hh-fin {
    animation: hhFloat 9s ease-in-out infinite
}

.hh-fl svg {
    width: 100%;
    height: auto;
    overflow: visible
}

.hh-fl path,
.hh-fl rect[pathLength],
.hh-fl circle {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: hhDraw 2.6s cubic-bezier(.4, 0, .2, 1) forwards
}

@keyframes hhDraw {
    to {
        stroke-dashoffset: 0
    }
}

.fl-brain {
    width: 132px;
    right: 2%;
    top: 2%;
    opacity: .55
}

.fl-brain path {
    animation-delay: 1.2s
}

.fl-brain .hh-fin {
    animation-duration: 10s
}

.fl-spine {
    width: 44px;
    right: 5%;
    top: 56%;
    opacity: .45;
    color: var(--navy)
}

.fl-spine rect,
.fl-spine path {
    animation-delay: 1.5s
}

.fl-spine .hh-fin {
    animation-duration: 8s;
    animation-delay: -3s
}

.fl-neuron {
    width: 100px;
    left: 3%;
    top: 2%;
    opacity: .45
}

.fl-neuron path,
.fl-neuron circle {
    animation-delay: 1.8s
}

.fl-neuron .hh-fin {
    animation-duration: 11s;
    animation-delay: -5s
}

.hh.paused *,
.hh.paused *::before,
.hh.paused *::after {
    animation-play-state: paused !important
}

@media(max-width:1180px) {
    .hh-stage {
        padding: 30px 40px 46px
    }
    .hh-card.c1 {
        left: -10px
    }
    .hh-card.c2 {
        right: -10px
    }
    .hh-hosp {
        left: -26px
    }
    .hh-stats div {
        padding: 0 18px
    }
}

@media(max-width:900px) {
    .hh-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "stage" "head" "body";
        padding: 20px 0 60px
    }
    .hh-head {
        text-align: center;
        align-self: start;
        margin-top: 34px
    }
    .hh-head .kicker::before {
        display: none
    }
    .hh-quals {
        justify-content: center
    }
    .hh-title .ds::after {
        left: 50%;
        margin-left: -36px;
        transform-origin: center
    }
    .hh-stage {
        padding: 40px 24px 30px;
        margin-top: 6px
    }
    .hh-photo {
        max-width: 340px
    }
    .hh-hosp {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        max-width: 360px;
        margin-top: 46px;
        translate: none
    }
    .hh-hosp .hh-cin {
        justify-content: flex-start
    }
    .hh-card.c1 {
        left: 0;
        top: 6%
    }
    .hh-card.c2 {
        right: 0;
        top: 56%
    }
    .fl-brain {
        width: 92px;
        right: 0;
        top: 0
    }
    .fl-spine {
        right: 1%;
        left: auto;
        top: 62%;
        width: 32px
    }
    .fl-neuron {
        width: 80px;
        left: 0;
        top: 2%
    }
}

@media(max-width:560px) {
    .hh-title .nm {
        font-size: clamp(34px, 10vw, 42px)
    }
    .hh-photo {
        max-width: 284px
    }
    .hh-stage {
        padding: 34px 4px 24px
    }
    .hh-card .hh-cin {
        padding: 8px 11px 8px 8px;
        gap: 8px
    }
    .hh-card .ic {
        width: 32px;
        height: 32px
    }
    .hh-card b {
        font-size: 13px
    }
    .hh-card small {
        font-size: 11px
    }
    .hh-card.c1 {
        display: none
    }
    .hh-card.c2 {
        right: -2px;
        top: 58%
    }
    .hh-ctas {
        flex-direction: column
    }
    .hh-ctas .btn {
        width: 100%
    }
    .hh-stats {
        grid-template-columns: repeat(3, 1fr)
    }
    .hh-stats div {
        padding: 0 10px
    }
    .hh-stats div:first-child {
        padding-left: 0
    }
    .hh-stats dd {
        font-size: 19px;
        white-space: nowrap
    }
    .hh-stats dt {
        font-size: 12px;
        line-height: 1.35
    }
    .hh-plate {
        padding: 10px 16px
    }
    .hh-plate b {
        font-size: 16px
    }
}

@media(hover:none) {
    .hh-photo,
    .hh-fl,
    .hh-card,
    .hh-hosp {
        translate: none
    }
}

@media(prefers-reduced-motion:reduce) {
    .hh *,
    .hh *::before,
    .hh *::after {
        animation: none !important
    }
    .hh-a,
    .hh-quals li,
    .hh-title .ds,
    .hh-card .hh-cin,
    .hh-hosp .hh-cin,
    .hh-halo i,
    .hh-plate {
        opacity: 1
    }
    .hh-title .w>span,
    .hh-img {
        transform: none
    }
    .hh-title .ds::after {
        transform: scaleX(1)
    }
    .hh-plate {
        transform: translateX(-50%)
    }
    .hh-frame {
        clip-path: none
    }
    .hh-fl path,
    .hh-fl rect,
    .hh-fl circle {
        stroke-dashoffset: 0
    }
    .hh-sheen {
        display: none
    }
    .hh-hosp-im .hp1 {
        opacity: 0
    }
}

/* ---- HD photo updates ---- */

/* the official HD portrait has a thin frame baked into its edges: overscan slightly so the frame is cropped away */
.hh-img {
    inset: -3%;
    width: 106%;
    height: 106%;
    max-width: none
}

.photo img.trim {
    inset: -3%;
    width: 106%;
    height: 106%;
    max-width: none;
    object-position: 50% 100%
}

/* gallery: HD photos from the Google Business Profile */
.pgal {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 15vw, 220px);
    grid-auto-flow: dense;
    gap: clamp(10px, 1.2vw, 16px);
    margin-top: clamp(28px, 3.4vw, 44px)
}

.pg-it {
    margin: 0;
    border-radius: var(--rl);
    overflow: hidden;
    background: linear-gradient(160deg, #DCE7F3, #C6D6E8);
    box-shadow: var(--sh)
}

.pg-it.tall {
    grid-row: span 2
}

.pg-it img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    display: block
}

.pg-it.reveal-img.in img {
    transition: transform 1.6s var(--ease)
}

@media(hover:hover) {
    .pg-it.reveal-img.in:hover img {
        transform: scale(1.04)
    }
}

@media(max-width:900px) {
    .pgal {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: clamp(140px, 24vw, 200px)
    }
}

@media(max-width:560px) {
    .pgal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 42vw
    }
}
