/* ==========================================================================
   Dr. Madhu Chopra — Sections
   Media frames, hero, about, qualifications, leadership, expertise,
   treatments, gallery, philosophy, consultation CTA, FAQ and contact.
   Mobile-first: wider layouts live in responsive.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Media frames & placeholder artwork
   -------------------------------------------------------------------------- */

.media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--blush);
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.media--placeholder {
    display: grid;
    place-items: center;
}

.media--placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-radial-gradient(circle at 78% 18%, transparent 0 26px, currentColor 26px 27px);
    opacity: 0.1;
}

.media--placeholder::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid currentColor;
    border-radius: inherit;
    opacity: 0.35;
}

.exp-card .media--placeholder::after,
.treat-card .media--placeholder::after {
    border-radius: calc(var(--radius-lg) - 14px);
}

.media__mark {
    position: relative;
    font-family: var(--font-serif);
    font-size: clamp(4.5rem, 14vw, 8rem);
    font-style: italic;
    line-height: 1;
    letter-spacing: 0.02em;
}

.media__icon {
    position: relative;
    width: clamp(44px, 6vw, 60px);
    height: clamp(44px, 6vw, 60px);
    stroke-width: 1;
    opacity: 0.85;
}

.tone-burgundy {
    background: linear-gradient(160deg, #84394F 0%, #5A2235 100%);
    color: var(--gold-light);
}

.tone-wine {
    background: linear-gradient(160deg, #6E2E41 0%, #3F1826 100%);
    color: var(--gold-light);
}

.tone-plum {
    background: linear-gradient(160deg, #6F4258 0%, #3E2232 100%);
    color: var(--gold-light);
}

.tone-mocha {
    background: linear-gradient(160deg, #8A6650 0%, #4D3529 100%);
    color: #E8D3B6;
}

.tone-blush {
    background: linear-gradient(160deg, #F6ECE8 0%, #E7D3CB 100%);
    color: #A27C57;
}

.tone-champagne {
    background: linear-gradient(160deg, #F1E6D7 0%, #DCC5A6 100%);
    color: #85633F;
}

.tone-ivory {
    background: linear-gradient(160deg, #FCFAF7 0%, #EDE3D6 100%);
    color: #A8865E;
}

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

.hero {
    scroll-margin-top: 100vh; /* the full header sits above the hero, so Home goes right to the page top */
    position: relative;
    overflow: hidden;
    padding-top: 36px;
    padding-bottom: 56px;
    background:
        radial-gradient(900px 600px at 88% 8%, #F4E7E1 0%, rgba(244, 231, 225, 0) 62%),
        var(--ivory);
}

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

.hero__ring {
    position: absolute;
    border: 1px solid var(--line-gold);
    border-radius: 50%;
}

.hero__ring--one {
    top: -180px;
    left: -220px;
    width: 520px;
    height: 520px;
    opacity: 0.6;
}

.hero__ring--two {
    right: -120px;
    bottom: -260px;
    width: 640px;
    height: 640px;
    opacity: 0.45;
}

.hero__grid {
    position: relative;
    display: grid;
    gap: 64px;
    align-items: center;
}

.hero__eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 22px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.hero__eyebrow span {
    color: var(--gold);
}

.hero__title {
    font-size: clamp(3.25rem, 9vw, 6.25rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
}

/* Direct children only: SplitText adds its own spans inside these */
.hero__title > span,
.hero__title > em {
    display: block;
}

.hero__title > em {
    font-style: italic;
    color: var(--burgundy);
}

.hero__sub {
    margin-bottom: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--charcoal);
}

.hero__sep {
    margin: 0 10px;
    color: var(--gold);
}

.hero__text {
    max-width: 540px;
    font-size: 1.0625rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero__visual {
    position: relative;
    order: -1; /* portrait above the text on single-column layouts */
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
}

.hero__frame {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 5;
    border-radius: 50% 50% 32px 120px / 40% 40% 32px 120px;
    box-shadow: var(--shadow-lg);
}

/* Keep the face in view inside the tall arch */
.hero__frame img {
    object-position: 46% 30%;
}

.hero__outline {
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 1px solid var(--gold);
    border-radius: 50% 50% 32px 120px / 40% 40% 32px 120px;
    transform: translate(14px, 14px);
}

.hero__blob {
    position: absolute;
    top: -6%;
    right: -14%;
    z-index: 0;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #F3E4DD 0%, #EAD6CC 100%);
}

.hero__card {
    position: absolute;
    bottom: 9%;
    left: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 290px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.hero__card-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--burgundy);
    color: var(--gold-light);
}

.hero__card-icon .icon {
    width: 20px;
    height: 20px;
}

.hero__card-text strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
}

.hero__badge {
    position: absolute;
    top: 4%;
    right: 4px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: var(--ivory);
    box-shadow: var(--shadow);
}

.hero__badge-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: var(--gold-ink);
    font-family: var(--font-sans);
    font-size: 8.5px;
    font-weight: 600;
}

.hero__badge-core {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--burgundy);
    color: var(--gold-light);
}

.hero__badge-core .icon {
    width: 20px;
    height: 20px;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about__grid {
    display: grid;
    gap: 64px;
    align-items: center;
}

.about__media {
    position: relative;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
}

.about__media::before {
    content: "";
    position: absolute;
    inset: -14px 14px 14px -14px;
    border: 1px solid var(--line-gold);
    border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 160px;
}

.about__media .media {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 160px;
}

.about__tag {
    position: absolute;
    right: 12px;
    bottom: 32px;
    z-index: 1;
    max-width: 240px;
    padding: 18px 22px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.about__tag-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.about__tag strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--charcoal);
}

.about__bio {
    margin-top: 28px;
}

.quote {
    position: relative;
    margin: 36px 0 0;
    padding: 28px 32px 28px 76px;
    border-left: 2px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--ivory);
}

.quote__icon {
    position: absolute;
    top: 30px;
    left: 28px;
    width: 30px;
    height: 30px;
    color: var(--gold);
}

.quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 2.6vw, 1.75rem);
    font-style: italic;
    line-height: 1.35;
    color: var(--burgundy);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.stat {
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
}

.stat dd {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2.2vw, 1.5rem);
    line-height: 1.2;
    color: var(--burgundy);
}

.stat dt {
    font-size: 0.75rem;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Qualifications
   -------------------------------------------------------------------------- */

.quals {
    overflow: hidden;
    background: linear-gradient(180deg, var(--ivory) 0%, #F7EFEB 100%);
}

/* Soft tonal circles in the corners */
.quals::before,
.quals::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.quals::before {
    top: -300px;
    right: -260px;
    width: 640px;
    height: 640px;
    background: rgba(255, 255, 255, 0.55);
}

.quals::after {
    bottom: -280px;
    left: -300px;
    width: 680px;
    height: 680px;
    background: linear-gradient(45deg, #F1E2DC 0%, rgba(241, 226, 220, 0.2) 100%);
}

.quals > .container {
    position: relative;
    z-index: 1;
}

.quals__stage {
    display: grid;
    grid-template-areas: "head" "start" "end" "arch";
    gap: 14px;
}

.quals__head {
    grid-area: head;
    max-width: 560px;
    margin: 0 auto 26px;
    text-align: center;
}

.quals__title {
    font-size: clamp(3.25rem, 5.2vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.quals__title em {
    display: block;
}

.quals__kicker {
    display: block;
    margin-bottom: 10px;
    padding-left: 0.34em; /* balances the trailing letter-spacing */
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.quals__divider {
    margin: 22px auto;
}

.quals__tagline {
    margin-bottom: 8px;
    font-family: var(--font-serif);
    font-size: 1.375rem;
    line-height: 1.3;
    color: var(--burgundy);
}

.quals__lead {
    margin-top: 0;
    font-size: 1rem;
}

/* Arcs around the heading: an ellipse whose dots line up with the card rows */
.quals__ring {
    display: none;
    color: var(--gold);
    pointer-events: none;
}

.quals__ring svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.qual-card:nth-child(1),
.quals__dot:nth-of-type(4n + 1) {
    --a: 30deg;
}

.qual-card:nth-child(2),
.quals__dot:nth-of-type(4n + 2) {
    --a: 8deg;
}

.qual-card:nth-child(3),
.quals__dot:nth-of-type(4n + 3) {
    --a: -17deg;
}

.qual-card:nth-child(4),
.quals__dot:nth-of-type(4n + 4) {
    --a: -40deg;
}

.quals__dot {
    position: absolute;
    top: calc(50% - 50% * sin(var(--a)));
    left: calc(50% - 50% * var(--side, 1) * cos(var(--a)));
    width: 9px;
    height: 9px;
    margin: -4.5px 0 0 -4.5px;
    border-radius: 50%;
    background: #A34A5E;
    box-shadow: 0 0 0 4px rgba(163, 74, 94, 0.12);
}

.quals__dot:nth-of-type(n + 5) {
    --side: -1;
}

.quals__dot:nth-of-type(4n) {
    opacity: 0.55;
}

.quals__list {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}

.quals__list--start {
    grid-area: start;
}

.quals__list--end {
    grid-area: end;
}

.qual-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92px;
    padding: 8px 8px 8px 22px;
    border: 1px solid rgba(197, 164, 126, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 14px 32px -26px rgba(112, 45, 67, 0.4);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.qual-card:hover {
    border-color: var(--line-gold);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.qual-card__num {
    flex-shrink: 0;
    width: 34px;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-style: italic;
    line-height: 1;
    color: var(--gold);
}

.qual-card__body {
    flex: 1;
    min-width: 0;
    margin-left: 12px;
    padding: 2px 12px 2px 16px;
    border-left: 1px solid var(--line-gold);
}

.qual-card__title {
    font-size: 1rem;
    line-height: 1.3;
}

.qual-card__detail {
    margin-top: 3px;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.qual-card__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--blush);
    color: var(--burgundy);
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.85),
        0 0 0 7px rgba(197, 164, 126, 0.25),
        0 12px 24px -10px rgba(112, 45, 67, 0.4);
    transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

.qual-card:nth-child(even) .qual-card__icon {
    background: linear-gradient(160deg, #84394F 0%, var(--burgundy-deep) 100%);
    color: var(--ivory);
}

.qual-card__icon .icon {
    width: 26px;
    height: 26px;
    stroke-width: 1.3;
}

/* Arch with a soft halo; its base fades out above the training band */
.quals__arch {
    position: relative;
    grid-area: arch;
    display: flex;
    flex-direction: column;
    justify-self: center;
    width: min(100%, 320px);
    margin-top: 40px;
    padding: 14px 14px 0;
    border: 1px solid rgba(197, 164, 126, 0.35);
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 85%);
    -webkit-mask-image: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, 0.8) 62%, rgba(0, 0, 0, 0.35) 84%, transparent);
    mask-image: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, 0.8) 62%, rgba(0, 0, 0, 0.35) 84%, transparent);
}

.quals__arch::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 9px;
    height: 9px;
    margin-left: -4.5px;
    border-radius: 50%;
    background: var(--burgundy);
}

.quals__arch-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 320px;
    padding: 64px 24px 48px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, #8E4F61 0%, #793A4F 50%, #6A2B40 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    text-align: center;
}

.quals__arch-mark {
    width: 76px;
    height: 76px;
    stroke-width: 0.6;
    color: var(--gold);
}

.quals__arch-words {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 34px;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.quals__arch-words li {
    padding-left: 0.32em;
}

.quals__arch-words li:first-child {
    opacity: 0.7;
}

.quals__arch-words li + li::before {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    margin: 12px auto;
    border-radius: 50%;
    background: var(--gold);
}

.training-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
    padding: 30px 32px;
    border-radius: var(--radius-lg);
    background: var(--burgundy);
    color: rgba(250, 247, 243, 0.8);
    text-align: center;
}

.training-band__label {
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.training-band__text {
    font-size: 0.9375rem;
}

.training-band__countries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 0;
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    color: var(--ivory);
}

.training-band__countries li {
    display: flex;
    align-items: center;
}

.training-band__countries li + li::before {
    content: "";
    width: 6px;
    height: 6px;
    margin: 0 18px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Leadership
   -------------------------------------------------------------------------- */

.leaders {
    overflow: hidden;
    background: #FDFAF7;
}

/* Burgundy sweeps in the top-left and bottom-right corners: edges of large
   off-canvas circles, sized from how far each reaches along the section edge */
.leaders::before,
.leaders::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(201, 120, 135, 0.22);
    outline: 1px solid rgba(201, 151, 106, 0.55);
    outline-offset: 18px;
    pointer-events: none;
}

.leaders::before {
    --s: clamp(70px, 18.3vw, 280px); /* reach along the top edge */
    top: calc(var(--s) * -3.245);
    left: calc(var(--s) * -3.485);
    width: calc(var(--s) * 4.67);
    height: calc(var(--s) * 4.67);
    background: linear-gradient(135deg, var(--burgundy-deep) 66%, #84394F 82%, #A0506A 94%);
}

.leaders::after {
    --s: clamp(80px, 22.2vw, 340px); /* reach along the bottom edge */
    right: calc(var(--s) * -2.747);
    bottom: calc(var(--s) * -3.578);
    width: calc(var(--s) * 4.293);
    height: calc(var(--s) * 4.293);
    background: linear-gradient(315deg, var(--burgundy-deep) 66%, #84394F 82%, #A0506A 94%);
}

.leaders > .container {
    position: relative;
    z-index: 1;
}

.leaders__head .eyebrow::after {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.leaders__title {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.08;
}

.leaders__title em {
    display: block;
}

.leaders__grid {
    display: grid;
    gap: 28px;
}

.leader-card {
    --arc-w: 180px;
    --arc-h: 104px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--arc-h) + 28px) 24px 32px;
    border: 1px solid rgba(197, 164, 126, 0.55);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #FBF6EF 0%, #F6EDE1 100%);
    box-shadow: 0 30px 60px -42px rgba(112, 45, 67, 0.45);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.leader-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

/* Large circle clipped by the card: a top band on phones and in the three-column
   layout, a side panel on tablets */
.leader-card__arc {
    position: absolute;
    bottom: calc(100% - var(--arc-h));
    left: 50%;
    width: 900px;
    height: 900px;
    margin-left: -450px;
    border-radius: 50%;
    background: linear-gradient(160deg, #84394F 0%, var(--burgundy-deep) 100%);
}

/* Peach-to-gold crescent behind the edge of the arc */
.leader-card__arc::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(180deg, #F2C7B5 0%, #E2A98E 45%, #C9976A 100%);
    transform: translate(14px, 18px);
}

/* Fine highlight running parallel to the edge */
.leader-card__arc::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: inherit;
}

.leader-card__body {
    position: relative;
}

.leader-card__role {
    display: inline-flex;
    margin-bottom: 0;
    padding: 7px 18px;
    border: 1px solid var(--line-gold);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.leader-card__title {
    margin-top: 14px;
    font-size: clamp(1.25rem, 1.7vw, 1.5rem);
    line-height: 1.25;
    color: var(--burgundy);
}

.leader-card__title::after {
    content: "";
    display: block;
    width: 58px;
    height: 1.5px;
    margin: 12px 0;
    background: var(--gold);
}

.leader-card--rose {
    border-color: rgba(201, 138, 149, 0.5);
    background: linear-gradient(135deg, #FBF2F1 0%, #F8EAEA 100%);
}

.leader-card--rose .leader-card__arc {
    background: linear-gradient(170deg, #B35A6C 0%, #C98390 50%, #E8BCC0 100%);
}

.leader-card--rose .leader-card__role {
    border-color: rgba(169, 72, 93, 0.45);
    color: var(--burgundy);
}

.leader-card--photo {
    --arc-h: 260px;
}

/* Clipped to the arc's own circle, so the photo fills it and the crescent still shows */
.leader-card__photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--arc-h);
    object-fit: cover;
    object-position: 50% 42%;
    clip-path: circle(450px at 50% calc(var(--arc-h) - 450px));
}

/* Crop from the very top so the standing figure's head stays in frame */
.leader-card--burgundy .leader-card__photo {
    object-position: 50% 0;
}

/* --------------------------------------------------------------------------
   Expertise
   -------------------------------------------------------------------------- */

.expertise {
    background-color: #FCFAF6;
}

.expertise__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 56px;
    position: relative;
}

.exp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 32px;
    background: transparent;
    transition: transform 0.4s var(--ease);
}

.exp-card__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 185px;
    margin-bottom: 26px;
}

.exp-card__visual img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s var(--ease);
}

.exp-card:hover .exp-card__visual img {
    transform: translateY(-5px) scale(1.02);
}

.exp-card__placeholder {
    width: 160px;
    height: 160px;
    border-radius: 50% 40% 60% 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exp-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.exp-card__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.exp-card__num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1;
    color: var(--gold);
    letter-spacing: 0.02em;
}

.exp-card__rule {
    display: inline-block;
    width: 48px;
    height: 1px;
    background-color: var(--gold);
    opacity: 0.75;
}

.exp-card__title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 2vw, 2.05rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--burgundy-deep);
    margin-bottom: 16px;
    letter-spacing: -0.015em;
}

.exp-card__text {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.62;
    color: #635E66;
    margin: 0;
}

.exp-card .link-arrow {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 18px;
}

/* Section intro: centred heading, then image beside the narrative, above the cards */
.expertise__head .eyebrow::after {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.expertise__head .divider {
    margin-inline: auto;
}

.expertise__intro {
    display: grid;
    gap: 40px;
}

.expertise__title em {
    display: block;
}

/* Sub-heading after the narrative, introducing the treatment categories */
.expertise__explore {
    margin-top: clamp(56px, 7vw, 88px);
    margin-bottom: 0;
}

.expertise__explore .section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.expertise__media {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
}

.expertise__media::before {
    content: "";
    position: absolute;
    inset: -14px 14px 14px -14px;
    border: 1px solid var(--line-gold);
    border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 160px;
}

.expertise__media .media {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 160px;
}

/* --------------------------------------------------------------------------
   Treatments
   -------------------------------------------------------------------------- */

.treatments .section-title em {
    display: block;
}

.treatments__label {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.tabs__list {
    display: inline-flex;
    gap: 4px;
    max-width: 100%;
    padding: 6px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--ivory);
    scrollbar-width: none;
}

.tabs__list::-webkit-scrollbar {
    display: none;
}

.tabs__tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--grey);
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.tabs__tab:hover {
    color: var(--burgundy);
}

.tabs__tab[aria-selected="true"] {
    background: var(--burgundy);
    color: var(--ivory);
    box-shadow: 0 10px 24px -12px rgba(112, 45, 67, 0.7);
}

.tabs__suffix {
    display: none;
}

.tabs__count {
    display: none;
    min-width: 24px;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(112, 45, 67, 0.08);
    font-size: 0.75rem;
    text-align: center;
}

.tabs__tab[aria-selected="true"] .tabs__count {
    background: rgba(250, 247, 243, 0.18);
}

.js-enabled .tab-panel:not(.is-active) {
    display: none;
}

.tab-panel + .tab-panel {
    margin-top: 48px;
}

.js-enabled .tab-panel + .tab-panel {
    margin-top: 0;
}

.treat-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 880px;
    margin: 0 auto 32px;
    padding: 18px 22px;
    border: 1px solid rgba(112, 45, 67, 0.15);
    border-radius: var(--radius);
    background: #F8F0EC;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--charcoal);
}

.treat-note .icon {
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: var(--burgundy);
}

.treat-grid {
    display: grid;
    gap: 24px;
}

.treat-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ivory);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.treat-card:hover {
    border-color: var(--line-gold);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.treat-card:hover .media img {
    transform: scale(1.05);
}

.treat-card .media {
    aspect-ratio: 16 / 10;
    border-radius: 0;
}

.treat-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 26px 28px;
}

.treat-card__tag {
    margin-bottom: 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.treat-card__title {
    margin-bottom: 10px;
    font-size: 1.375rem;
}

.treat-card__text {
    margin-bottom: 22px;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.treat-card .link-arrow {
    align-self: flex-start;
    margin-top: auto;
}

.treat-footnote {
    max-width: 760px;
    margin: 44px auto 0;
    font-size: 0.875rem;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Educational videos
   -------------------------------------------------------------------------- */

.video-grid {
    display: grid;
    gap: 24px;
    max-width: 480px;
    margin-inline: auto;
    align-items: start;
}

/* position: relative keeps the loading player inside its card. embed.js makes it absolute while
   it loads; without this it sizes itself to the whole section, then reports a height of over
   2000px on desktop, which shoves the footer down the page */
.video-card {
    position: relative;
    container-type: inline-size;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.video-card:hover {
    border-color: var(--line-gold);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

/* Instagram's player is a 4:5 video plus about 207px of header and footer. embed.js briefly
   collapses each card as it loads, so this invisible spacer holds that height and keeps the
   page still; without it, links to the footer land short */
.video-card::before {
    content: "";
    float: left;
    height: 420px;
    height: calc(125cqw + 207px);
}

/* Placeholder link until embed.js swaps in the player (or if it never loads) */
.video-card blockquote.instagram-media {
    display: grid;
    place-items: center;
    min-height: 420px;
    min-height: calc(125cqw + 207px);
    margin: 0;
    padding: 24px;
    background: var(--blush);
}

.video-card blockquote.instagram-media a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--burgundy);
}

/* embed.js sets these inline; the card supplies the frame instead */
.video-card iframe.instagram-media {
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

/* Set by main.js while the mouse wheel is turning, so scrolling passes over the players */
.video-grid.is-scrolling iframe {
    pointer-events: none;
}

.videos__actions {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-grid {
    display: grid;
    gap: 20px;
}

.gallery-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border: 3px solid var(--burgundy);
    border-radius: 18px;
    background: var(--blush);
    box-shadow: 0 15px 38px rgba(41, 37, 42, 0.1);
    transition: box-shadow 0.5s var(--ease);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%; /* upright photos lose ceiling and legs here, never faces */
    transition: transform 0.65s var(--ease), filter 0.45s ease;
}

/* Fade along the bottom of each photo */
.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(63, 24, 38, 0.82) 100%);
    pointer-events: none;
}

/* Diagonal shine, parked off to the left until the card is hovered */
.gallery-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-150%);
    pointer-events: none;
}

.gallery-card:hover,
.gallery-card:focus-visible {
    box-shadow: 0 20px 44px rgba(112, 45, 67, 0.2);
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
    transform: scale(1.07);
    filter: saturate(1.08);
}

.gallery-card:hover::before,
.gallery-card:focus-visible::before {
    animation: gallery-shine 0.75s ease-in-out;
}

/* Full-screen photo viewer */
.gallery-lightbox {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 16px;
    overflow: hidden;
    border: 0;
    background: none;
}

.gallery-lightbox[open] {
    display: grid;
    place-items: center;
    animation: gallery-fade 0.22s ease;
}

.gallery-lightbox::backdrop {
    background: rgba(26, 12, 18, 0.9);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.gallery-lightbox :focus-visible {
    outline-color: var(--gold-light);
}

.gallery-lightbox__img {
    max-width: 90vw;
    max-height: 78vh;
    border-radius: 10px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
    position: absolute;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.2s ease, border-color 0.2s ease, scale 0.2s ease;
}

.gallery-lightbox__close {
    top: 18px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
}

.gallery-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.gallery-lightbox__nav {
    top: 50%;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.42);
}

.gallery-lightbox__nav:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: var(--burgundy);
    scale: 1.06;
}

.gallery-lightbox__nav--prev {
    left: 24px;
}

.gallery-lightbox__nav--prev .icon {
    rotate: 180deg;
}

.gallery-lightbox__nav--next {
    right: 24px;
}

/* --------------------------------------------------------------------------
   Philosophy
   -------------------------------------------------------------------------- */

.philosophy__grid {
    display: grid;
    gap: 56px;
    align-items: center;
}

.philosophy__media {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
}

.philosophy__media .media {
    aspect-ratio: 4 / 5;
    border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 36% 36% var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Portrait collage in the arch: trim a little more from the right than the
   left, so the faces in the left-hand circles stay clear of the curve */
.philosophy__media img {
    object-position: 35% 50%;
}

.phil-cards {
    display: grid;
    gap: 16px;
    margin-top: 40px;
}

.phil-card {
    padding: 26px;
    border: 1px solid rgba(197, 164, 126, 0.3);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.5s var(--ease);
}

.phil-card:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.phil-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--burgundy);
    color: var(--gold-light);
}

.phil-card__icon .icon {
    width: 22px;
    height: 22px;
}

.phil-card__title {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.phil-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Consultation CTA
   -------------------------------------------------------------------------- */

.cta {
    overflow: hidden;
    background: linear-gradient(135deg, #F7EAE5 0%, #EDD8CF 100%);
    color: #4A4549;
    text-align: center;
}

.cta__pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    color: var(--gold);
    opacity: 0.5;
}

.cta__inner {
    position: relative;
}

.cta .eyebrow {
    justify-content: center;
    color: var(--burgundy);
}

.cta .eyebrow::before {
    background: var(--gold);
}

.cta__title {
    max-width: 880px;
    margin-inline: auto;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: var(--charcoal);
}

.cta__title em {
    display: block;
    font-style: italic;
    color: var(--burgundy);
}

.cta__text {
    max-width: 560px;
    margin: 22px auto 0;
    font-size: 1.0625rem;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 38px;
}

/* Buttons restyled for the light background */
.cta .btn--gold {
    background: var(--burgundy);
    color: var(--ivory);
    box-shadow: 0 14px 30px -14px rgba(112, 45, 67, 0.6);
}

.cta .btn--gold:hover {
    background: var(--burgundy-deep);
}

.cta .btn--ghost-light {
    border-color: rgba(112, 45, 67, 0.35);
    color: var(--burgundy);
}

.cta .btn--ghost-light:hover {
    border-color: var(--burgundy);
    background: var(--burgundy);
    color: var(--ivory);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq__grid {
    display: grid;
    gap: 48px;
    align-items: start;
}

.faq__intro .section-lead {
    margin-bottom: 26px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
    border-top: 1px solid var(--line);
}

.faq-item__q {
    font-size: inherit;
}

.faq-item__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 24px 0;
    font-family: var(--font-serif);
    font-size: clamp(1.0625rem, 2vw, 1.3125rem);
    line-height: 1.4;
    text-align: left;
    color: var(--charcoal);
    transition: color 0.3s var(--ease);
}

.faq-item__btn:hover {
    color: var(--burgundy);
}

.faq-item__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-gold);
    border-radius: 50%;
    color: var(--burgundy);
    transition: transform 0.45s var(--ease), background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.faq-item__icon .icon {
    width: 18px;
    height: 18px;
}

.faq-item__btn[aria-expanded="true"] .faq-item__icon {
    border-color: var(--burgundy);
    background: var(--burgundy);
    color: var(--ivory);
    transform: rotate(180deg);
}

.faq-item__panel {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.45s var(--ease);
}

.faq-item__inner {
    overflow: hidden;
}

.faq-item__inner p {
    padding: 0 56px 26px 0;
}

.js-enabled .faq-item__panel {
    grid-template-rows: 0fr;
}

.js-enabled .faq-item__inner {
    visibility: hidden;
    transition: visibility 0s linear 0.45s;
}

.js-enabled .faq-item.is-open .faq-item__panel {
    grid-template-rows: 1fr;
}

.js-enabled .faq-item.is-open .faq-item__inner {
    visibility: visible;
    transition-delay: 0s;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact .section-title em {
    display: block;
}

.contact__grid {
    display: grid;
    gap: 40px;
}

.contact__org {
    margin-bottom: 28px;
    font-size: clamp(1.375rem, 2.4vw, 1.75rem);
}

.contact-list {
    display: grid;
    gap: 22px;
}

.contact-list__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-list__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line-gold);
    border-radius: 50%;
    color: var(--burgundy);
}

.contact-list__icon .icon {
    width: 20px;
    height: 20px;
}

.contact-list__label {
    display: block;
    margin-bottom: 2px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.contact-list__item a {
    color: var(--charcoal);
    overflow-wrap: anywhere;
    transition: color 0.3s var(--ease);
}

.contact-list__item a:hover {
    color: var(--burgundy);
}

.contact-list__pending {
    font-style: italic;
    color: #8C878D;
}

.map {
    margin-top: 36px;
    overflow: hidden;
    border-radius: var(--radius);
}

.map iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border: 0;
}

.map__placeholder {
    display: grid;
    place-items: center;
    gap: 10px;
    aspect-ratio: 16 / 10;
    padding: 24px;
    border: 1px dashed var(--line-gold);
    border-radius: var(--radius);
    background:
        repeating-linear-gradient(0deg, transparent 0 31px, rgba(197, 164, 126, 0.14) 31px 32px),
        repeating-linear-gradient(90deg, transparent 0 31px, rgba(197, 164, 126, 0.14) 31px 32px),
        var(--ivory);
    font-size: 0.875rem;
    text-align: center;
    align-content: center;
}

.map__placeholder .icon {
    width: 30px;
    height: 30px;
    color: var(--gold);
}

.form-card {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.form-card__title {
    margin-bottom: 6px;
    font-size: 1.75rem;
}

.form-card__text {
    margin-bottom: 28px;
    font-size: 0.875rem;
}
