/* Two orthodontists: the clinic's own interior, with the requested ivory veil. */
.hp-team-card{background:#F4EFE7 url('/assets/home-preview/consultation-table.webp') center/cover no-repeat;color:#2B2B2B;isolation:isolate}
.hp-team-card::before{content:'';position:absolute;inset:0;pointer-events:none;z-index:0;background:linear-gradient(90deg,rgba(244,239,231,.95) 0%,rgba(244,239,231,.91) 28%,rgba(244,239,231,.8) 42%,rgba(244,239,231,0) 55%)}
.hp-team-card-inner{position:relative;z-index:1}
body.site-typography .hp-team-card .hp-section-heading>p:first-child{color:#2F4A3F!important}
body.site-typography .hp-team-card .hp-section-heading h2,body.site-typography .hp-team-card .hp-section-heading>p:last-child{color:#2B2B2B!important}
.hp-team-card .hp-doctor-photo{mix-blend-mode:normal;background:none;isolation:auto;mask-image:linear-gradient(180deg,transparent 0%,#000 7%,#000 76%,transparent 100%),linear-gradient(90deg,transparent 0%,#000 12%,#000 88%,transparent 100%);mask-composite:intersect}
.hp-team-card .hp-doctor-photo img{mix-blend-mode:normal;mask-image:linear-gradient(90deg,transparent 0%,#000 7%,#000 93%,transparent 100%)}
.hp-team-card .hp-doctor{position:relative;isolation:isolate;color:#2B2B2B}
.hp-team-card .hp-orthodontists{position:relative;isolation:isolate}.hp-team-card .hp-orthodontists::before{content:'';position:absolute;inset:28% -24px -70px;z-index:-1;background:linear-gradient(180deg,transparent 0%,rgba(244,239,231,.94) 52%,rgba(244,239,231,.94) 72%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 8%,#000 92%,transparent 100%);pointer-events:none}
.hp-team-card .hp-doctor h3,.hp-team-card .hp-doctor a{color:#2F4A3F}
body.site-typography .hp-team-card .hp-doctor p{color:#2B2B2B!important}
body.site-typography .hp-card-carousel[data-active-card="1"] .hp-card-controls button,body.site-typography .hp-card-carousel[data-active-card="1"] .hp-card-counter,body.site-typography .hp-card-carousel[data-active-card="1"] .hp-card-counter>b,body.site-typography .hp-card-carousel[data-active-card="1"] .hp-card-counter>span{color:#2F4A3F!important}
.hp-card-carousel[data-active-card="1"] .hp-card-controls{color:#2F4A3F;background:rgba(244,239,231,.94)}
.hp-card-carousel[data-active-card="1"] .hp-card-caption{color:#2F4A3F}
@media(max-width:700px){.hp-team-card{background-position:65% center}.hp-team-card::before{background:rgba(244,239,231,.8)}.hp-team-card .hp-doctor::before{display:none}.hp-team-card .hp-doctor-photo{mix-blend-mode:multiply}.hp-team-card .hp-doctor-photo img{mask-image:none}.hp-team-card .hp-orthodontists{position:relative;background:none}.hp-team-card .hp-orthodontists::before{display:none}}

.hp-faculty-card{background:#11151B;color:#fff;isolation:isolate}
.hp-faculty-card .hp-story-inner{position:relative;display:flex;align-items:center;min-height:660px;padding:70px 6% 118px;isolation:isolate}
.hp-faculty-card .hp-story-visual{position:absolute;inset:0;width:100%;max-width:none;height:100%;margin:0;mix-blend-mode:normal;z-index:-2}
.hp-faculty-card .hp-story-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:78% 32%;mask-image:none;border-radius:0}
.hp-faculty-card .hp-story-visual::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,12,18,.99) 0%,rgba(9,12,18,.96) 30%,rgba(9,12,18,.82) 44%,rgba(9,12,18,.34) 67%,rgba(9,12,18,.13) 100%)}
.hp-faculty-card .hp-story-copy{width:66%;max-width:860px;position:relative;z-index:1}
.hp-faculty-card .hp-story-copy::before{content:'5';position:absolute;z-index:-1;left:-.15em;top:-.25em;font-family:MaruBuri,serif;font-size:clamp(180px,25vw,360px);line-height:1;font-weight:400;color:rgba(244,239,231,.075);pointer-events:none}
body.site-typography .hp-faculty-card .hp-story-label{color:#E1E4E8!important;font-size:15px!important;letter-spacing:.06em;margin-bottom:28px}
body.site-typography .hp-faculty-card .hp-story-copy h2{font-family:MaruBuri,serif!important;font-size:clamp(37px,4vw,66px)!important;font-weight:400!important;line-height:1.4;letter-spacing:-.02em;color:#fff;margin:0 0 32px;text-wrap:balance}
body.site-typography .hp-faculty-card .hp-diamond-number{font-family:MaruBuri,serif!important;font-size:1.7em;font-weight:400;line-height:.85;vertical-align:-.03em;color:#E4C46F;text-shadow:0 0 22px rgba(223,177,72,.2);-webkit-text-stroke:.5px #F2D795;margin-right:.06em}
body.site-typography .hp-faculty-card .hp-story-copy>p:not(.hp-story-label):not(.hp-story-note){font-size:17px!important;line-height:1.85;color:#F3F3F3!important;margin-bottom:26px}
.hp-faculty-card .hp-story-button{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.6);color:#fff;min-height:54px;padding:14px 22px}
body.site-typography .hp-faculty-card .hp-story-note{color:#D4D7DB!important;font-size:13px!important;line-height:1.8;margin:24px 0 7px}
.hp-faculty-card .hp-diamond-proof{display:inline-flex;align-items:center;gap:12px;color:#D4D7DB;font-size:13px;min-height:32px;line-height:1.6;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.4)}
.hp-card-carousel[data-active-card="2"] .hp-card-controls{color:#F4EFE7}
.hp-faculty-card a:focus-visible{outline:2px solid #F4EFE7;outline-offset:5px}
@media(min-width:1450px){.hp-faculty-card .hp-story-inner{min-height:740px}.hp-faculty-card .hp-story-copy{width:64%}}
@media(min-width:701px) and (max-width:1050px){.hp-faculty-card .hp-story-inner{min-height:650px;padding-left:5%;padding-right:5%}.hp-faculty-card .hp-story-copy{width:70%}.hp-faculty-card .hp-story-copy h2{font-size:40px!important}}
@media(max-width:700px){.hp-faculty-card .hp-story-inner{display:flex;min-height:760px;padding:58px 24px 112px;justify-content:flex-start;align-items:flex-start}.hp-faculty-card .hp-story-copy{width:100%;max-width:none}.hp-faculty-card .hp-story-visual{inset:0;width:100%;height:100%;margin:0}.hp-faculty-card .hp-story-visual img{width:100%;height:100%;object-fit:cover;object-position:64% center;mask-image:none}.hp-faculty-card .hp-story-visual::after{display:block;background:linear-gradient(180deg,rgba(9,12,18,.9) 0%,rgba(9,12,18,.78) 47%,rgba(9,12,18,.4) 100%),linear-gradient(90deg,rgba(9,12,18,.3),transparent)}body.site-typography .hp-faculty-card .hp-story-copy h2{font-size:clamp(30px,8.2vw,42px)!important;line-height:1.55;letter-spacing:-.02em;margin-bottom:28px}.hp-faculty-card .hp-story-copy::before{font-size:230px;top:-.12em;left:-.03em}body.site-typography .hp-faculty-card .hp-story-copy>p:not(.hp-story-label):not(.hp-story-note){font-size:16px!important}.hp-faculty-card .hp-story-button{min-height:54px;padding:14px 20px}body.site-typography .hp-faculty-card .hp-story-label{font-size:14px!important;margin-bottom:28px}.hp-faculty-card .hp-diamond-proof{font-size:13px}}
@media(max-width:360px){.hp-faculty-card .hp-story-inner{padding-left:20px;padding-right:20px;min-height:760px}.hp-faculty-card .hp-story-copy h2{font-size:29px!important}}

.hp-faculty-card .hp-story-visual figcaption{position:absolute;right:4%;bottom:24px;left:auto;font-size:12px;color:#F4EFE7;background:rgba(9,12,18,.45);padding:4px 8px;z-index:1}
@media(max-width:700px){.hp-faculty-card .hp-story-visual figcaption{bottom:87px;left:24px;right:auto;font-size:11px;background:none;padding:0}}
@media(min-width:701px){.hp-faculty-card .hp-story-visual img{left:12%;width:100%;max-width:none}}
body.site-typography .hp-faculty-card .hp-story-visual figcaption{color:#F4EFE7!important}

/* Fourth card: local care since 2017, with the existing approved clinic photo. */
body.site-typography .hp-history-card .hp-story-copy h2{font-size:clamp(35px,3.7vw,56px)!important;line-height:1.5;letter-spacing:-.02em}
.hp-card-carousel[data-active-card="3"] .hp-card-controls{color:#F4EFE7}
body.site-typography .hp-card-carousel[data-active-card="3"] .hp-card-controls button,body.site-typography .hp-card-carousel[data-active-card="3"] .hp-card-counter,body.site-typography .hp-card-carousel[data-active-card="3"] .hp-card-counter>b,body.site-typography .hp-card-carousel[data-active-card="3"] .hp-card-counter>span,body.site-typography .hp-card-carousel[data-active-card="3"] .hp-card-caption{color:#F4EFE7!important}
.hp-card-carousel[data-active-card="3"] .hp-card-controls button,.hp-card-carousel[data-active-card="3"] .hp-card-caption{border-color:rgba(244,239,231,.35)}
@media(max-width:700px){body.site-typography .hp-history-card .hp-story-copy h2{font-size:clamp(29px,7.7vw,40px)!important}}

/* Active-slide identity keeps navigation contrast correct when cards are reordered. */
.hp-card-carousel[data-active-slide="hp-card-faculty"]{background:#11151B}
.hp-card-carousel[data-active-slide="hp-card-diamond"],.hp-card-carousel[data-active-slide="hp-card-years"]{background:#756035}
.hp-card-carousel[data-active-slide]:not([data-active-slide="hp-card-collaboration"]) .hp-card-controls{background:transparent;color:#F4EFE7}
body.site-typography .hp-card-carousel[data-active-slide]:not([data-active-slide="hp-card-collaboration"]) .hp-card-controls button,body.site-typography .hp-card-carousel[data-active-slide]:not([data-active-slide="hp-card-collaboration"]) .hp-card-counter,body.site-typography .hp-card-carousel[data-active-slide]:not([data-active-slide="hp-card-collaboration"]) .hp-card-counter>b,body.site-typography .hp-card-carousel[data-active-slide]:not([data-active-slide="hp-card-collaboration"]) .hp-card-counter>span,body.site-typography .hp-card-carousel[data-active-slide]:not([data-active-slide="hp-card-collaboration"]) .hp-card-caption{color:#F4EFE7!important}
.hp-card-carousel[data-active-slide]:not([data-active-slide="hp-card-collaboration"]) .hp-card-controls button,.hp-card-carousel[data-active-slide]:not([data-active-slide="hp-card-collaboration"]) .hp-card-caption{border-color:rgba(244,239,231,.35)}
body.site-typography .hp-history-card .hp-story-visual figcaption{color:#F4EFE7!important;background:rgba(26,35,29,.6);padding:5px 9px}
@media(max-width:700px){.hp-history-card .hp-story-visual figcaption{left:24px;right:auto;bottom:8px;width:auto;max-width:calc(100% - 48px)}}
