/*
 * EyeHealth Northwest — doctor directory (/doctors/) and bio pages.
 * Loaded only on those templates (includes/site-doctors.php).
 *
 * Brand tokens come from the kit (--gl-c-ink #132d52, --gl-c-primary #1479d1,
 * --gl-c-soft #78cdff, --gl-c-ice #f2faff). Display type is freight-big-pro,
 * body franklin-gothic (the design's Adobe kit).
 *
 * Headshots are transparent cut-outs with identical framing, so the photo
 * "backdrop" (soft ice → blue with an iris-ring motif) lives here.
 */

:root {
    --ehn-ink: var(--gl-c-ink, #132d52);
    --ehn-blue: var(--gl-c-primary, #1479d1);
    --ehn-soft: var(--gl-c-soft, #78cdff);
    --ehn-ice: var(--gl-c-ice, #f2faff);
    --ehn-text: var(--gl-c-text, #333);
    --ehn-muted: #5b6b80;
    --ehn-line: #dfe8f2;
    --ehn-display: freight-big-pro, Georgia, serif;
    --ehn-radius: 22px;
    --ehn-shadow: 0 1px 2px rgba(19, 45, 82, .06), 0 8px 24px -8px rgba(19, 45, 82, .18);
    --ehn-shadow-hover: 0 2px 4px rgba(19, 45, 82, .06), 0 24px 48px -16px rgba(19, 45, 82, .35);
    --ehn-header: 125px;
    --ehn-sticky: 125px;
    --ehn-photo-bg:
        radial-gradient(120% 70% at 50% 28%, rgba(255, 255, 255, .95) 0 34%, rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, #eaf5fe 0%, #cfe7fa 100%);
    --ehn-blur: blur(18px) saturate(180%);
    --ehn-glass-light:
        radial-gradient(120% 160% at 15% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .5));
    --ehn-glass-light-edge:
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -1px 0 rgba(255, 255, 255, .4),
        inset 0 0 0 1px rgba(255, 255, 255, .5),
        0 1px 2px rgba(19, 45, 82, .1),
        0 8px 20px -10px rgba(19, 45, 82, .4);
    --ehn-glass-dark:
        radial-gradient(120% 160% at 15% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
    --ehn-glass-dark-edge:
        inset 0 1px 0 rgba(255, 255, 255, .38),
        inset 0 -1px 0 rgba(255, 255, 255, .08),
        inset 0 0 0 1px rgba(255, 255, 255, .14),
        0 12px 30px -14px rgba(0, 0, 0, .5);
    --ehn-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --ehn-mesh:
        radial-gradient(36% 44% at 74% 28%, rgba(20, 121, 209, .8), rgba(20, 121, 209, 0) 70%),
        radial-gradient(26% 34% at 90% 80%, rgba(120, 205, 255, .38), rgba(120, 205, 255, 0) 70%),
        radial-gradient(34% 42% at 16% 88%, rgba(20, 121, 209, .42), rgba(20, 121, 209, 0) 70%),
        radial-gradient(30% 30% at 34% 12%, rgba(70, 112, 190, .45), rgba(70, 112, 190, 0) 70%),
        radial-gradient(28% 36% at 40% 62%, rgba(20, 121, 209, .22), rgba(20, 121, 209, 0) 70%);
    --ehn-tile-shadow:
        0 0 0 1px rgba(19, 45, 82, .06),
        0 1px 2px rgba(19, 45, 82, .05),
        0 20px 44px -26px rgba(19, 45, 82, .4);
}

@media (max-width: 991px) {

    :root {
        --ehn-header: 90px;
        --ehn-sticky: 93px;
    }
}

@media (max-width: 479px) {

    :root {
        --ehn-header: 75px;
        --ehn-sticky: 75px;
    }
}

.ehn-wrap {
    width: 90%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.ehn-eyebrow-light {
    color: var(--ehn-soft);
}

.ehn-crumbs {
    margin-bottom: 26px;
    font-size: .8rem;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .7);
}

.ehn-crumbs p {
    margin: 0;
}

.ehn-crumbs a {
    color: #fff;
    text-decoration: none;
}

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

/* ------------------------------------------------------------------ *
 * Directory hero
 * ------------------------------------------------------------------ */

.ehn-dir-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--ehn-header) + 64px) 0 96px;
    color: #fff;
    background: #0e2545;
    isolation: isolate;
}

.ehn-dir-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ehn-grain);
    pointer-events: none;
    z-index: -1;
    background-size: 200px 200px;
    opacity: .16;
    mix-blend-mode: overlay;
}

.ehn-dir-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.ehn-dir-hero__title {
    margin: 10px 0 22px;
    font-family: var(--ehn-display);
    font-size: clamp(3rem, 5.6vw, 5.75rem);
    font-weight: 400;
    line-height: .98;
    color: #fff;
}

.ehn-dir-hero__title em {
    color: var(--ehn-soft);
}

.ehn-dir-hero__lede {
    max-width: 38em;
    margin: 0 0 36px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .82);
}

.ehn-dir-stats {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 0;
    margin: 0 0 40px;
}

.ehn-dir-stats > div {
    display: flex;
    flex-direction: column-reverse;
    padding: 0 28px;
    border-left: 1px solid rgba(255, 255, 255, .18);
}

.ehn-dir-stats > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.ehn-dir-stats dd {
    margin: 0;
    font-family: var(--ehn-display);
    font-size: clamp(2.2rem, 3.4vw, 3.25rem);
    line-height: 1;
    color: #fff;
}

.ehn-dir-stats dt {
    margin-top: 8px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ehn-soft);
}

.ehn-dir-hero__jump {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px 14px 20px;
    border-radius: 999px;
    background: var(--ehn-glass-dark);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--ehn-glass-dark-edge);
    transition: transform .25s ease, box-shadow .25s ease;
    -webkit-backdrop-filter: var(--ehn-blur);
    backdrop-filter: var(--ehn-blur);
}

.ehn-dir-hero__jump svg {
    width: 20px;
    height: 20px;
    color: var(--ehn-soft);
}

.ehn-dir-hero__jump:hover {
    transform: translateY(-2px);
    box-shadow: var(--ehn-glass-dark-edge), 0 18px 36px -14px rgba(0, 0, 0, .55);
    color: #fff;
    background:
        radial-gradient(120% 160% at 15% 0%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08));
}

/* Collage: five arch-framed headshots, gently staggered. */

.ehn-dir-hero__collage {
    position: relative;
    height: clamp(420px, 38vw, 560px);
}

.ehn-dir-hero::before,
.ehn-bio-hero::before {
    content: "";
    position: absolute;
    inset: -25%;
    z-index: -1;
    background: var(--ehn-mesh);
    pointer-events: none;
    animation: ehn-mesh 28s ease-in-out infinite alternate;
}

.ehn-collage__item {
    position: absolute;
    width: 34%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 999px 999px 26px 26px;
    background: var(--ehn-photo-bg);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .06);
    animation: ehn-float 9s ease-in-out infinite;
}

.ehn-collage__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ehn-collage__item--1 { left: 33%; top: 4%; width: 36%; z-index: 3; animation-delay: -1s; }

.ehn-collage__item--2 { left: 2%; top: 22%; z-index: 2; animation-delay: -4s; }

.ehn-collage__item--3 { right: 0; top: 18%; z-index: 2; animation-delay: -6s; }

.ehn-collage__item--4 { left: 16%; bottom: -18%; width: 28%; z-index: 1; opacity: .9; animation-delay: -2.5s; }

.ehn-collage__item--5 { right: 12%; bottom: -22%; width: 28%; z-index: 1; opacity: .9; animation-delay: -7s; }

.ehn-collage__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(120, 205, 255, .35);
    pointer-events: none;
}

.ehn-collage__ring--a {
    width: 92%;
    aspect-ratio: 1;
    left: 4%;
    top: -6%;
}

.ehn-collage__ring--b {
    width: 64%;
    aspect-ratio: 1;
    left: 18%;
    top: 8%;
    border-style: dashed;
    border-color: rgba(255, 255, 255, .16);
    animation: ehn-spin 80s linear infinite;
}

@keyframes ehn-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes ehn-spin {
    to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------------ *
 * Filter bar
 * ------------------------------------------------------------------ */

.ehn-dir {
    position: relative;
    padding-bottom: 110px;
    background: linear-gradient(180deg, var(--ehn-ice) 0, #fff 520px);
}

.ehn-filter__sentinel {
    height: 1px;
}

.ehn-filter {
    position: sticky;
    top: var(--ehn-sticky);
    z-index: 20;
    margin-top: -1px;
    padding: 18px 0;
    background: rgba(242, 250, 255, .62);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}

.ehn-filter.is-stuck {
    background: rgba(255, 255, 255, .64);
    border-bottom-color: rgba(19, 45, 82, .08);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .7), 0 14px 30px -22px rgba(19, 45, 82, .5);
}

.ehn-filter > .ehn-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
}

.ehn-filter__tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(19, 45, 82, .055);
    box-shadow: inset 0 1px 2px rgba(19, 45, 82, .08), inset 0 0 0 1px rgba(19, 45, 82, .05), 0 1px 0 rgba(255, 255, 255, .9);
    position: relative;
    isolation: isolate;
}

.ehn-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #44566f;
    font: inherit;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: color .3s ease, background-color .2s ease;
    position: relative;
    z-index: 1;
}

.ehn-tab:hover {
    background: rgba(255, 255, 255, .55);
    color: var(--ehn-ink);
}

.ehn-tab[aria-pressed="true"] {
    background: #fff;
    color: var(--ehn-ink);
    box-shadow: var(--ehn-glass-light-edge);
}

.ehn-tab__n {
    min-width: 0;
    color: var(--ehn-blue);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.ehn-tab[aria-pressed="true"] .ehn-tab__n {
    color: var(--ehn-blue);
    min-width: 0;
    padding: 0;
    border-radius: 0;
    font-size: .8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ehn-filter__fields {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ehn-field {
    position: relative;
    /* a <select> is otherwise as wide as its longest option */
    min-width: 0;
}

.ehn-field__icon {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--ehn-blue);
    pointer-events: none;
}

.ehn-field input,
.ehn-field select {
    height: 50px;
    margin: 0;
    padding: 0 40px 0 44px;
    border: 1px solid var(--ehn-line);
    border-radius: 999px;
    background-color: #fff;
    color: var(--ehn-ink);
    font: inherit;
    font-size: .95rem;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(19, 45, 82, .04);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ehn-field--search input {
    width: 250px;
    padding-right: 18px;
}

.ehn-field select {
    width: 220px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23132d52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.ehn-field input::placeholder {
    color: var(--ehn-muted);
}

.ehn-field input:hover,
.ehn-field select:hover {
    border-color: #b9cde3;
}

.ehn-field input:focus-visible,
.ehn-field select:focus-visible,
.ehn-tab:focus-visible,
.ehn-filter__reset:focus-visible {
    outline: 2px solid var(--ehn-blue);
    outline-offset: 2px;
}

.has-lens .ehn-tab[aria-pressed="true"] {
    background: transparent;
    box-shadow: none;
}

.ehn-filter__reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ehn-blue);
    font: inherit;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
}

.ehn-filter__reset[hidden] {
    display: none;
}

.ehn-filter__reset svg {
    width: 16px;
    height: 16px;
}

.ehn-filter__reset:hover {
    background: #fff;
}

.ehn-filter__reset.is-solid {
    padding: 0 26px;
    background: var(--ehn-ink);
    color: #fff;
}

/* ------------------------------------------------------------------ *
 * Grid + cards
 * ------------------------------------------------------------------ */

.ehn-dir__count {
    margin: 30px 0 22px;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--ehn-muted);
}

.ehn-dir__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.ehn-dc {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--ehn-radius);
    background: #fff;
    box-shadow: var(--ehn-shadow);
    isolation: isolate;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}

.ehn-dc[hidden] {
    display: none;
}

.ehn-dc.is-entering {
    animation: ehn-card-in .4s cubic-bezier(.2, .7, .2, 1) backwards;
    animation-delay: calc(var(--i, 0) * 24ms);
}

@keyframes ehn-card-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.ehn-dc__media {
    position: relative;
    aspect-ratio: 4 / 4.3;
    overflow: hidden;
    border-radius: var(--ehn-radius) var(--ehn-radius) 0 0;
    background: var(--ehn-photo-bg);
}

/* Iris rings behind the head — same spot on every card. */

.ehn-dc__rings {
    position: absolute;
    left: 50%;
    top: 32%;
    width: 86%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 55%, rgba(20, 121, 209, .10) 55.5% 56.5%, transparent 57% 70%, rgba(20, 121, 209, .07) 70.5% 71.5%, transparent 72%);
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.ehn-dc__img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    /* 800x1000 cut-out; show head → mid-chest, eye line constant. */
    transform: translateY(14%);
    transform-origin: 50% 30%;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.ehn-dc__badge {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--ehn-glass-light);
    -webkit-backdrop-filter: var(--ehn-blur);
    backdrop-filter: var(--ehn-blur);
    color: var(--ehn-ink);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.35;
    text-transform: none;
    box-shadow: var(--ehn-glass-light-edge);
}

.ehn-dc__body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 20px;
}

.ehn-dc__body::before {
    /* thin brand rule that grows on hover */
    content: "";
    position: absolute;
    left: 22px;
    top: 0;
    width: 36px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--ehn-blue);
    transition: width .4s cubic-bezier(.2, .7, .2, 1);
}

.ehn-dc__name {
    margin: 0 0 4px;
    font-family: var(--ehn-display);
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.12;
    color: var(--ehn-ink);
}

.ehn-dc__link {
    color: inherit;
    text-decoration: none;
}

.ehn-dc__link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: var(--ehn-radius);
}

.ehn-dc__link:focus-visible {
    outline: none;
}

.ehn-dc:has(.ehn-dc__link:focus-visible) {
    outline: 3px solid var(--ehn-blue);
    outline-offset: 3px;
}

.ehn-dc__role {
    margin: 0 0 14px;
    font-size: .88rem;
    line-height: 1.45;
    color: var(--ehn-blue);
    font-weight: 600;
}

.ehn-dc__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    margin-left: -11px;
    overflow: hidden;
}

.ehn-dc__chips li {
    margin: 0 0 0 -1px;
    padding: 0 10px;
    color: #3d4f66;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.25;
    border-left: 1px solid #cbd8e6;
    box-shadow: none;
}

.ehn-dc__chips li.is-more {
    color: var(--ehn-blue);
    margin: 0 0 0 -1px;
    padding: 0 10px;
    border-left: 1px solid #cbd8e6;
    border-radius: 0;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.25;
}

.ehn-dc__places {
    display: flex;
    gap: 7px;
    margin: auto 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--ehn-line);
    font-size: .82rem;
    line-height: 1.45;
    color: var(--ehn-muted);
}

.ehn-dc__pin {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    color: var(--ehn-blue);
}

.ehn-dc__plus {
    white-space: nowrap;
    color: var(--ehn-blue);
    font-weight: 600;
}

.ehn-dc__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--ehn-ink);
}

.ehn-dc__cta svg {
    width: 16px;
    height: 16px;
    transition: transform .3s ease;
}

@media (hover: hover) {

    .ehn-dc:hover {
        transform: translateY(-6px);
        box-shadow: var(--ehn-shadow-hover);
    }

    .ehn-dc:hover .ehn-dc__img {
        transform: translateY(14%) scale(1.045);
    }

    .ehn-dc:hover .ehn-dc__rings {
        transform: translate(-50%, -50%) scale(1.12);
    }

    .ehn-dc:hover .ehn-dc__body::before {
        width: calc(100% - 44px);
    }

    .ehn-dc:hover .ehn-dc__cta {
        color: var(--ehn-blue);
    }

    .ehn-dc:hover .ehn-dc__cta svg {
        transform: translateX(4px);
    }
}

.ehn-dir__empty {
    max-width: 460px;
    margin: 40px auto 0;
    padding: 48px 32px;
    border-radius: var(--ehn-radius);
    background: #fff;
    box-shadow: var(--ehn-shadow);
    text-align: center;
}

.ehn-dir__empty[hidden] {
    display: none;
}

.ehn-dir__empty-icon {
    width: 40px;
    height: 40px;
    color: var(--ehn-soft);
}

.ehn-dir__empty h3 {
    margin: 12px 0 8px;
    font-family: var(--ehn-display);
    font-size: 1.8rem;
    color: var(--ehn-ink);
}

.ehn-dir__empty p {
    margin: 0 0 22px;
    color: var(--ehn-muted);
}

/* ------------------------------------------------------------------ *
 * Responsive (directory)
 * ------------------------------------------------------------------ */

@media (max-width: 1199px) {

    .ehn-filter > .ehn-wrap {
        flex-direction: column;
        /* a wrapping column sizes each line to its widest item (the tab strip) */
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .ehn-filter__tabs {
        align-self: flex-start;
    }
}

@media (max-width: 991px) {

    .ehn-dir-hero {
        padding: calc(var(--ehn-header) + 40px) 0 64px;
    }

    .ehn-dir-hero__inner {
        grid-template-columns: 1fr;
    }

    .ehn-dir-hero__collage {
        display: none;
    }

    .ehn-field--search {
        flex: 1 1 100%;
    }

    .ehn-field--search input {
        width: 100%;
    }

    .ehn-field:not(.ehn-field--search) {
        flex: 1 1 200px;
    }

    .ehn-field select {
        width: 100%;
    }
}

@media (max-width: 767px) {

    .ehn-dir-stats {
        grid-template-columns: repeat(2, auto);
        row-gap: 22px;
    }

    .ehn-dir-stats > div:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    /* The bar would eat the viewport on phones: let it scroll away. */

    .ehn-filter {
        position: relative;
        top: auto;
    }

    .ehn-filter__tabs {
        display: flex;
        flex-wrap: nowrap;
        align-self: stretch;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .ehn-filter__tabs::-webkit-scrollbar {
        display: none;
    }

    .ehn-tab {
        flex: none;
    }

    .ehn-field:not(.ehn-field--search) {
        flex: 1 1 0;
    }

    .ehn-field select {
        padding-right: 34px;
        padding-left: 40px;
        background-position: right 12px center;
        text-overflow: ellipsis;
    }

    .ehn-dir__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .ehn-dc__body {
        padding: 16px 14px 14px;
    }

    .ehn-dc__body::before {
        left: 14px;
    }

    .ehn-dc__name {
        font-size: 1.2rem;
    }

    .ehn-dc__role {
        margin-bottom: 10px;
        font-size: .78rem;
    }

    .ehn-dc__chips,
    .ehn-dc__cta {
        display: none;
    }

    .ehn-dc__places {
        font-size: .74rem;
    }

    .ehn-dc__badge {
        left: 8px;
        top: 8px;
    }
}

@media (max-width: 359px) {

    .ehn-dir__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ehn-collage__item,
    .ehn-collage__ring--b,
    .ehn-dc.is-entering {
        animation: none;
    }

    .ehn-dc,
    .ehn-dc__img,
    .ehn-dc__rings {
        transition: none;
    }
}

/* ================================================================== *
 * Doctor bio — redesigned layout (body.ehn-bio-v2)
 * ================================================================== */

.ehn-bio-v2 .ehn-cpt-main {
    background: #fff;
}

/* ---- Hero ---------------------------------------------------------- */

.ehn-bio-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--ehn-header) + 44px) 0 0;
    color: #fff;
    background: #0e2545;
    isolation: isolate;
}

.ehn-bio-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ehn-grain);
    pointer-events: none;
    z-index: -1;
    background-size: 200px 200px;
    opacity: .16;
    mix-blend-mode: overlay;
}

.ehn-bio-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 48px;
    align-items: end;
}

.ehn-bio-hero__text {
    padding-bottom: 72px;
}

.ehn-back {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, gap .2s ease;
}

.ehn-back svg {
    width: 16px;
    height: 16px;
}

.ehn-back:hover {
    gap: 12px;
    color: #fff;
}

.ehn-bio-hero__type {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--ehn-glass-dark);
    box-shadow: var(--ehn-glass-dark-edge);
    color: #fff;
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
    -webkit-backdrop-filter: var(--ehn-blur);
    backdrop-filter: var(--ehn-blur);
}

.ehn-bio-hero__name {
    margin: 0 0 14px;
    font-family: var(--ehn-display);
    font-size: clamp(2.8rem, 5.4vw, 5.4rem);
    font-weight: 400;
    line-height: 1;
    color: #fff;
}

.ehn-bio-hero__deg {
    font-size: .5em;
    color: var(--ehn-soft);
    letter-spacing: .01em;
    white-space: nowrap;
}

.ehn-bio-hero__role {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .9);
}

.ehn-bio-hero__cred {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 32px;
    font-size: .95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .75);
}

.ehn-bio-hero__cred svg {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: var(--ehn-soft);
}

.ehn-bio-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.ehn-bio-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 0;
    padding: 26px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    list-style: none;
}

.ehn-bio-facts li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: .92rem;
    color: rgba(255, 255, 255, .8);
}

.ehn-bio-facts svg {
    width: 20px;
    height: 20px;
    color: var(--ehn-soft);
}

.ehn-bio-facts strong {
    color: #fff;
    font-weight: 700;
}

.ehn-bio-facts a {
    color: inherit;
    text-decoration: none;
}

.ehn-bio-facts a:hover strong,
.ehn-bio-facts a:focus-visible strong {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ehn-bio-facts__more {
    color: var(--ehn-soft);
    font-weight: 600;
    white-space: nowrap;
}

/* Portrait: arch frame rising from the bottom edge of the hero. */

.ehn-bio-hero__media {
    position: relative;
    align-self: end;
}

.ehn-bio-portrait {
    position: relative;
    width: min(100%, 470px);
    margin-left: auto;
    aspect-ratio: 4 / 4.6;
    overflow: hidden;
    border-radius: 999px 999px 0 0;
    background: var(--ehn-photo-bg);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 0 0 22px rgba(120, 205, 255, .06);
}

.ehn-bio-portrait__rings {
    position: absolute;
    left: 50%;
    top: 30%;
    width: 92%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, transparent 0 55%, rgba(20, 121, 209, .12) 55.5% 56.3%, transparent 56.8% 70%, rgba(20, 121, 209, .08) 70.5% 71.2%, transparent 71.7%);
}

.ehn-bio-portrait__img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    transform: translateY(10%);
}

.ehn-bio-award {
    position: absolute;
    left: -8%;
    bottom: 64px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 330px;
    padding: 18px 22px 18px 18px;
    border-radius: 18px;
    background:
        radial-gradient(120% 160% at 15% 0%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .64));
    color: var(--ehn-ink);
    box-shadow:
        inset 0 1px 0 #fff,
        inset 0 0 0 1px rgba(255, 255, 255, .55),
        0 30px 60px -24px rgba(0, 0, 0, .6);
    animation: ehn-float 8s ease-in-out infinite;
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
}

.ehn-bio-award__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ehn-blue), var(--ehn-ink));
    color: #fff;
}

.ehn-bio-award__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.ehn-bio-award__eyebrow {
    display: block;
    margin-bottom: 2px;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ehn-blue);
}

.ehn-bio-award__text {
    display: block;
    font-family: var(--ehn-display);
    font-size: 1.25rem;
    line-height: 1.15;
}

.ehn-bio-award__detail {
    display: block;
    margin-top: 6px;
    font-size: .78rem;
    line-height: 1.45;
    color: var(--ehn-muted);
}

/* ---- Sticky in-page nav ------------------------------------------- */

.ehn-bio-nav {
    position: sticky;
    top: var(--ehn-sticky);
    z-index: 20;
    border-bottom: 1px solid var(--ehn-line);
    background: rgba(255, 255, 255, .64);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    border-bottom-color: rgba(19, 45, 82, .08);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .7), 0 14px 30px -22px rgba(19, 45, 82, .5);
}

.ehn-bio-nav .ehn-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
}

.ehn-bio-nav ul {
    display: flex;
    gap: 4px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.ehn-bio-nav ul::-webkit-scrollbar {
    display: none;
}

.ehn-bio-nav li {
    flex: none;
    margin: 0;
}

.ehn-bio-nav a:not(.button) {
    display: block;
    padding: 10px 0;
    color: #3a4d68;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease;
    position: relative;
}

.ehn-bio-nav a:not(.button):hover,
.ehn-bio-nav a:not(.button):focus-visible {
    color: var(--ehn-ink);
}

.ehn-bio-nav .ehn-bio-nav__cta {
    flex: none;
}

.ehn-bio-nav a:not(.button)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--ehn-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.3, 1, .4, 1);
}

.ehn-bio-nav a:not(.button):hover::after,
.ehn-bio-nav a:not(.button):focus-visible::after {
    transform: scaleX(1);
}

/* Anchored sections clear the header + sticky nav. */

.ehn-bio-v2 :is(#expertise, #about, #training, #reviews) {
    scroll-margin-top: calc(var(--ehn-sticky) + 80px);
}

/* ---- Expertise & locations ---------------------------------------- */

.ehn-bio-at {
    padding: 90px 0 100px;
    background: linear-gradient(180deg, var(--ehn-ice), #fff);
}

.ehn-bio-at__head {
    margin-bottom: 40px;
}

.ehn-bio-at__head h2,
.ehn-bio-more__head h2 {
    margin: 6px 0 0;
    font-family: var(--ehn-display);
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    color: var(--ehn-ink);
}

.ehn-bio-at__head h2 em,
.ehn-bio-more__head h2 em {
    color: var(--ehn-blue);
}

.ehn-bio-at__grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: start;
}

.ehn-bio-at__card {
    padding: 34px;
    border-radius: var(--ehn-radius);
    background: #fff;
    box-shadow: var(--ehn-shadow);
}

.ehn-bio-at__card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--ehn-ink);
}

.ehn-bio-at__card h3 svg {
    width: 38px;
    height: 38px;
    padding: 9px;
    border-radius: 12px;
    background: var(--ehn-ice);
    color: var(--ehn-blue);
}

.ehn-bio-chips {
    display: grid;
    flex-wrap: wrap;
    gap: 0 32px;
    margin: 0;
    padding: 0;
    list-style: none;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.ehn-bio-chips li {
    margin: 0;
    border-bottom: 1px solid var(--ehn-line);
}

.ehn-bio-chips a,
.ehn-bio-chips span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    color: var(--ehn-ink);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
    justify-content: space-between;
    width: 100%;
}

.ehn-bio-chips a svg {
    width: 16px;
    height: 16px;
    color: var(--ehn-blue);
    transition: transform .2s ease, color .2s ease;
}

.ehn-bio-chips a:hover {
    color: var(--ehn-blue);
}

.ehn-bio-chips a:hover svg {
    color: var(--ehn-blue);
    transform: translateX(3px);
}

.ehn-bio-chips span {
    color: var(--ehn-muted);
    font-weight: 500;
}

.ehn-bio-locs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ehn-bio-locs li {
    position: relative;
    margin: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px var(--ehn-line);
    transition: box-shadow .2s ease, transform .2s ease;
}

.ehn-bio-locs li:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px #b9d6f2, 0 12px 24px -16px rgba(19, 45, 82, .45);
}

.ehn-bio-loc {
    display: block;
    padding: 18px 48px 10px 18px;
    color: inherit;
    text-decoration: none;
}

.ehn-bio-loc__name {
    display: block;
    margin-bottom: 4px;
    font-family: var(--ehn-display);
    font-size: 1.35rem;
    line-height: 1.15;
    color: var(--ehn-ink);
}

.ehn-bio-loc__addr {
    display: block;
    font-size: .84rem;
    line-height: 1.5;
    color: var(--ehn-muted);
}

.ehn-bio-loc__go {
    position: absolute;
    right: 16px;
    top: 18px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ehn-ice);
    color: var(--ehn-blue);
}

.ehn-bio-loc__go svg {
    width: 16px;
    height: 16px;
}

.ehn-bio-loc__tel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 18px 16px;
    color: var(--ehn-blue);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
}

.ehn-bio-loc__tel svg {
    width: 15px;
    height: 15px;
}

.ehn-bio-loc__tel:hover {
    text-decoration: underline;
}

.ehn-bio-surgery {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 0;
    font-size: .88rem;
    color: var(--ehn-muted);
}

.ehn-bio-surgery svg {
    width: 18px;
    height: 18px;
    color: var(--ehn-blue);
}

/* ---- Content blocks, restyled -------------------------------------- */

/* Recognition: a centred award band. */

.ehn-bio-v2 .recognition {
    padding: 0 0 20px;
    background: #fff;
}

.ehn-bio-v2 .recognition-div {
    position: relative;
    display: block;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 64px;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(70% 140% at 100% 0%, rgba(20, 121, 209, .5), rgba(20, 121, 209, 0) 60%),
        var(--ehn-ink);
    color: #fff;
    text-align: center;
}

.ehn-bio-v2 .recognition-div::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(120, 205, 255, .25);
    box-shadow: 0 0 0 40px rgba(120, 205, 255, .04), 0 0 0 80px rgba(120, 205, 255, .03);
}

.ehn-bio-v2 .recognition .best-titles {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.ehn-bio-v2 .recognition .eyebrow {
    color: var(--ehn-soft);
}

.ehn-bio-v2 .recognition .h2-less {
    margin: 10px 0 14px;
    font-family: var(--ehn-display);
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.1;
    color: #fff;
}

.ehn-bio-v2 .recognition .best-titles > div:last-child {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .8);
}

/* Bio rows: heading column sticks while the copy scrolls. */

.ehn-bio-v2 .new-doc-bio-info-jm {
    padding: 70px 0 30px;
}

.ehn-bio-v2 .new-doc-bio-info-jm .wrap.flex {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 60px;
    align-items: start;
    padding: 50px 0;
}

.ehn-bio-v2 .new-doc-bio-info-jm .btm-line {
    border-bottom: 1px solid var(--ehn-line);
}

.ehn-bio-v2 .new-doc-bio-info-jm .column-35,
.ehn-bio-v2 .new-doc-bio-info-jm .column-60 {
    width: auto;
    max-width: none;
}

.ehn-bio-v2 .new-doc-bio-info-jm .column-35 {
    position: sticky;
    top: calc(var(--ehn-sticky) + 90px);
    padding-left: 22px;
    border-left: 3px solid var(--ehn-blue);
}

.ehn-bio-v2 .new-doc-bio-info-jm h2 {
    margin: 8px 0 0;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.08;
    color: var(--ehn-ink);
}

.ehn-bio-v2 .new-doc-bio-info-jm h2 em {
    color: var(--ehn-blue);
}

.ehn-bio-v2 .new-doc-bio-info-jm .column-60 p {
    margin: 0 0 1.1em;
    font-size: 1.05rem;
    line-height: 1.85;
}

.ehn-bio-v2 .new-doc-bio-info-jm .wrap.flex:first-child .column-60 p:first-child {
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--ehn-ink);
}

/* Training timeline. */

.ehn-tl {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    color: #fff;
    background:
        radial-gradient(50% 70% at 0% 0%, rgba(20, 121, 209, .45), rgba(20, 121, 209, 0) 70%),
        var(--ehn-ink);
    isolation: isolate;
}

.ehn-tl__inner {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 70px;
    align-items: start;
}

.ehn-tl__inner.is-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
}

.ehn-tl .eyebrow {
    color: var(--ehn-soft);
}

.ehn-tl__heading {
    margin: 8px 0 44px;
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    color: #fff;
}

.ehn-tl__heading em {
    color: var(--ehn-soft);
}

.ehn-tl__list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ehn-tl__list::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--ehn-soft), rgba(120, 205, 255, .1));
}

.ehn-tl__item {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 22px;
    margin: 0 0 18px;
}

.ehn-tl__dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ehn-ink);
    box-shadow: inset 0 0 0 2px var(--ehn-soft);
    color: var(--ehn-soft);
}

.ehn-tl__dot svg {
    width: 20px;
    height: 20px;
}

.ehn-tl__item.is-current .ehn-tl__dot {
    background: var(--ehn-soft);
    color: var(--ehn-ink);
    box-shadow: 0 0 0 6px rgba(120, 205, 255, .18);
}

.ehn-tl__card {
    padding: 20px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    transition: background-color .25s ease, transform .25s ease;
}

.ehn-tl__item:hover .ehn-tl__card {
    background: rgba(255, 255, 255, .1);
    transform: translateX(4px);
}

.ehn-tl__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 14px;
    margin-bottom: 6px;
}

.ehn-tl__type {
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
    color: rgba(255, 255, 255, .6);
}

.ehn-tl__years {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ehn-soft);
    order: -1;
    font-family: var(--ehn-display);
    font-variant-numeric: lining-nums;
}

.ehn-tl__title {
    margin: 0 0 2px;
    font-family: var(--ehn-display);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
}

.ehn-tl__place {
    margin: 0;
    font-size: .92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .72);
}

.ehn-tl__aside {
    position: sticky;
    top: calc(var(--ehn-sticky) + 90px);
}

.ehn-tl__aside-card {
    padding: 32px;
    border-radius: 22px;
    background: #fff;
    color: var(--ehn-text);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}

.ehn-tl__aside-heading {
    margin: 0 0 18px;
    font-size: 1.6rem;
    color: var(--ehn-ink);
}

.ehn-tl__aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ehn-tl__aside li {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid var(--ehn-line);
    font-size: .95rem;
    line-height: 1.45;
    color: var(--ehn-ink);
}

.ehn-tl__aside li:first-child {
    padding-top: 0;
    border-top: 0;
}

.ehn-tl__aside-years {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--ehn-blue);
}

.ehn-tl::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ehn-grain);
    background-size: 200px 200px;
    opacity: .16;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Training/credential logos: white tiles on ice. */

.ehn-bio-v2 .doc-excellence {
    padding: 90px 0 40px;
    border: 0;
    background: #fff;
}

.ehn-bio-v2 .excellence-div {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
    background: none;
}

.ehn-bio-v2 .excellence-div .best-titles {
    margin-bottom: 26px;
    text-align: center;
}

.ehn-bio-v2 .excellence-div .grid-12 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.ehn-bio-v2 .excellence-div .div-block-9 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 190px;
    padding: 30px 24px 24px;
    border-radius: var(--ehn-radius);
    background: var(--ehn-ice);
    color: var(--ehn-ink);
    font-size: .92rem;
    font-weight: 600;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.ehn-bio-v2 .excellence-div .div-block-9:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: var(--ehn-shadow-hover);
}

.ehn-bio-v2 .excellence-div .image-9 {
    max-width: 100%;
    max-height: 84px;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Two columns → two feature cards. */

.ehn-bio-v2 .doc-section-2-jm {
    padding: 40px 0 110px;
    background: #fff;
}

.ehn-bio-v2 .doc-section-2-jm .wrap.flex {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1300px;
}

.ehn-bio-v2 .doc-section-2-jm .div-48 {
    position: relative;
    width: auto;
    padding: 40px 40px 44px;
    overflow: hidden;
    border-radius: var(--ehn-radius);
    background: #fff;
    box-shadow: var(--ehn-shadow);
}

.ehn-bio-v2 .doc-section-2-jm .div-48::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ehn-blue), var(--ehn-soft));
}

.ehn-bio-v2 .doc-section-2-jm h2 {
    margin: 8px 0 14px;
    font-size: clamp(1.7rem, 2.4vw, 2.2rem);
    line-height: 1.12;
    color: var(--ehn-ink);
}

.ehn-bio-v2 .doc-section-2-jm p {
    margin: 0;
    line-height: 1.8;
}

/* One card (most bios: just "Outside the Office") spans the row. */

.ehn-bio-v2 .doc-section-2-jm .div-48:only-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 10px 60px;
    align-items: start;
}

.ehn-bio-v2 .doc-section-2-jm .div-48:only-child .eyebrow,
.ehn-bio-v2 .doc-section-2-jm .div-48:only-child h2 {
    grid-column: 1;
}

.ehn-bio-v2 .doc-section-2-jm .div-48:only-child .eyebrow {
    align-self: end;
}

.ehn-bio-v2 .doc-section-2-jm .div-48:only-child h2 {
    margin-bottom: 0;
}

.ehn-bio-v2 .doc-section-2-jm .div-48:only-child p {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

/* A bio that opens with a quote (an all-italic first paragraph). */

.ehn-bio-v2 .new-doc-bio-info-jm .wrap.flex .column-60 p:first-child:has(> em:only-child) {
    position: relative;
    margin-bottom: 1.4em;
    padding: 4px 0 4px 26px;
    border-left: 3px solid var(--ehn-soft);
    font-family: var(--ehn-display);
    font-size: 1.55rem;
    line-height: 1.4;
    color: var(--ehn-ink);
}

/* ---- More doctors -------------------------------------------------- */

.ehn-bio-more {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--ehn-ice), #fff);
}

.ehn-bio-more__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
}

.ehn-bio-more__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ehn-blue);
    font-weight: 700;
    text-decoration: none;
}

.ehn-bio-more__all svg {
    width: 18px;
    height: 18px;
    transition: transform .2s ease;
}

.ehn-bio-more__all:hover svg {
    transform: translateX(4px);
}

.ehn-bio-more__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---- Responsive (bio) ---------------------------------------------- */

@media (max-width: 1199px) {

    .ehn-bio-more__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ehn-bio-award {
        left: 0;
    }
}

@media (max-width: 991px) {

    .ehn-bio-hero__inner,
    .ehn-bio-at__grid,
    .ehn-tl__inner,
    .ehn-bio-v2 .new-doc-bio-info-jm .wrap.flex,
    .ehn-bio-v2 .doc-section-2-jm .wrap.flex {
        grid-template-columns: minmax(0, 1fr);
    }

    .ehn-bio-v2 .doc-section-2-jm .div-48:only-child {
        display: block;
    }

    .ehn-bio-hero__text {
        padding-bottom: 10px;
    }

    .ehn-bio-portrait {
        width: min(86%, 420px);
        margin: 0 auto;
    }

    .ehn-bio-award {
        left: 4%;
        bottom: 30px;
    }

    .ehn-bio-v2 .new-doc-bio-info-jm .wrap.flex {
        gap: 22px;
        padding: 36px 0;
    }

    .ehn-bio-v2 .new-doc-bio-info-jm .column-35,
    .ehn-tl__aside {
        position: static;
    }

    .ehn-tl__inner {
        gap: 40px;
    }
}

@media (max-width: 767px) {

    .ehn-bio-nav .ehn-bio-nav__cta {
        display: none;
    }

    .ehn-bio-at,
    .ehn-tl,
    .ehn-bio-more {
        padding: 64px 0;
    }

    .ehn-bio-at__card,
    .ehn-tl__aside-card {
        padding: 24px;
    }

    .ehn-bio-v2 .recognition-div {
        padding: 40px 26px;
    }

    .ehn-bio-v2 .doc-section-2-jm .div-48 {
        padding: 30px 26px 32px;
    }

    .ehn-tl__item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
    }

    .ehn-tl__dot {
        width: 40px;
        height: 40px;
    }

    .ehn-tl__list::before {
        left: 19px;
    }

    .ehn-tl__card {
        padding: 16px 18px;
    }

    .ehn-bio-more__grid {
        gap: 14px;
    }

    .ehn-bio-award {
        position: relative;
        left: auto;
        bottom: auto;
        max-width: none;
        margin: -30px 5% 0;
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ehn-bio-award {
        animation: none;
    }

    .ehn-tl__card,
    .ehn-bio-locs li {
        transition: none;
    }
}

@keyframes ehn-mesh {
    0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    50% { transform: translate3d(-5%, 3%, 0) rotate(7deg) scale(1.08); }
    100% { transform: translate3d(4%, -3%, 0) rotate(-5deg) scale(1.03); }
}

.ehn-lens {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    border-radius: 999px;
    background:
        radial-gradient(120% 140% at 20% 0%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .78));
    -webkit-backdrop-filter: blur(10px) saturate(200%);
    backdrop-filter: blur(10px) saturate(200%);
    box-shadow:
        inset 0 1px 0 #fff,
        inset 0 -1px 1px rgba(19, 45, 82, .06),
        inset 0 0 0 1px rgba(255, 255, 255, .7),
        0 1px 2px rgba(19, 45, 82, .12),
        0 6px 16px -6px rgba(19, 45, 82, .32);
    pointer-events: none;
    transition:
        transform .55s cubic-bezier(.3, 1.35, .45, 1),
        width .55s cubic-bezier(.3, 1.35, .45, 1),
        height .3s ease,
        opacity .2s ease;
}

.ehn-lens.is-instant {
    transition: none;
}

@supports (animation-timeline: view()) {

    @media (prefers-reduced-motion: no-preference) {

        /* `translate` (not `transform`) so the cards' hover lift still works. */

        .ehn-bio-at__card,
        .ehn-bio-at__head,
        .ehn-bio-more__head,
        .ehn-dc:not(.is-entering) {
            animation: ehn-reveal linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 75%;
        }
    }
}

@keyframes ehn-reveal {
    from {
        opacity: 0;
        translate: 0 32px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {

    .ehn-dc__badge {
        background: rgba(255, 255, 255, .92);
    }

    .ehn-bio-hero__type,
    .ehn-dir-hero__jump {
        background: rgba(255, 255, 255, .16);
    }

    .ehn-filter,
    .ehn-bio-nav,
    .ehn-filter.is-stuck {
        background: rgba(255, 255, 255, .96);
    }
}

@media (prefers-reduced-transparency: reduce) {

    .ehn-dc__badge,
    .ehn-bio-award,
    .ehn-lens {
        background: #fff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .ehn-bio-hero__type,
    .ehn-dir-hero__jump {
        background: #23436f;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .ehn-filter,
    .ehn-bio-nav,
    .ehn-filter.is-stuck {
        background: #fff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ehn-dir-hero::before,
    .ehn-bio-hero::before {
        animation: none;
    }

    .ehn-lens {
        transition: none;
    }
}
