/* ============================================================
   Dr Samarth Gupta, Plastic & Reconstructive Surgery
   Sophisticated, editorial, conversion-considered.
   ============================================================ */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

:root {
    --ink:        #0f1f1f;
    --ink-soft:   #2a3a3a;
    --ink-mute:   #5c6b6b;
    --ink-faint:  #8a9595;

    --cream:      #fbf8f3;
    --cream-2:    #f3ede2;
    --paper:      #ffffff;

    --teal-900:   #0d2727;
    --teal-800:   #143434;
    --teal-700:   #1a4040;
    --teal-500:   #2d6a6a;
    --teal-300:   #b9d2cf;

    --gold:       #b5894a;
    --gold-soft:  #d8b87f;
    --gold-faint: #efe1c8;

    --clay:       #c0846f;
    --clay-soft:  #f1ddd4;
    --clay-deep:  #8a5341;
    --clay-faint: #f8efe9;

    --shadow-sm:  0 1px 2px rgba(15, 31, 31, 0.04), 0 2px 8px rgba(15, 31, 31, 0.04);
    --shadow-md:  0 4px 12px rgba(15, 31, 31, 0.06), 0 12px 32px rgba(15, 31, 31, 0.06);
    --shadow-lg:  0 12px 32px rgba(15, 31, 31, 0.08), 0 24px 60px rgba(15, 31, 31, 0.08);

    --serif:      'Cormorant Garamond', 'Times New Roman', serif;
    --sans:       'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;

    --radius-sm:  6px;
    --radius:     14px;
    --radius-lg:  28px;

    --container:  1240px;
    --gutter:     clamp(20px, 4vw, 48px);

    --ease:       cubic-bezier(.2, .7, .2, 1);
    --ease-out:   cubic-bezier(.16, 1, .3, 1);
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

::selection {
    background: var(--teal-800);
    color: var(--cream);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, .hero__title, .section-title, .contact__title {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
}

em {
    font-style: italic;
    color: var(--teal-700);
    font-weight: 400;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    font-size: 11.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--teal-700);
    margin: 0 0 22px;
}

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

.eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(181, 137, 74, 0.15);
    animation: pulse 3.8s var(--ease) infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(181, 137, 74, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(181, 137, 74, 0); }
}

.section-title {
    font-size: clamp(36px, 5.4vw, 72px);
    margin-bottom: 20px;
}

.section-lead {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--ink-soft);
    max-width: 56ch;
    line-height: 1.65;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 72px;
}

.section-head .eyebrow { justify-content: center; }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------- Cursor glow (desktop only) ---------- */
.cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(45, 106, 106, .15), transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity .4s;
    opacity: 0;
    mix-blend-mode: multiply;
}

@media (hover: hover) {
    body:hover .cursor-glow { opacity: 1; }
}

/* ---------- Loader ---------- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 9999;
    display: grid;
    place-items: center;
    transition: opacity .6s var(--ease), visibility .6s;
    animation: loaderFailsafe .4s 1.2s forwards;
}
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader__mark {
    position: relative;
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
}

.loader__mark span {
    font-family: var(--serif);
    font-size: 28px;
    letter-spacing: 0.08em;
    color: var(--teal-700);
    z-index: 2;
}

.loader__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.loader__ring circle {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
    stroke-dasharray: 290;
    stroke-dashoffset: 290;
    animation: ring 1.4s var(--ease-out) infinite;
    transform-origin: center;
    transform: rotate(-90deg);
}

@keyframes ring {
    0% { stroke-dashoffset: 290; }
    60% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -290; }
}

/* ---------- Announcement bar ---------- */
.announce {
    background: var(--teal-900);
    color: var(--gold-soft);
    overflow: hidden;
    padding: 11px 0;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
}

.announce__track {
    display: flex;
    gap: 36px;
    white-space: nowrap;
    width: max-content;
    animation: marquee 38s linear infinite;
}

.announce__track span {
    display: inline-block;
}

.announce__track span[aria-hidden] {
    color: var(--gold);
    opacity: 0.5;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Navigation ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 248, 243, 0.78);
    backdrop-filter: saturate(140%) blur(16px);
    -webkit-backdrop-filter: saturate(140%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
}

.nav.is-scrolled {
    background: rgba(251, 248, 243, 0.92);
    border-color: rgba(15, 31, 31, 0.07);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 18px 0;
    transition: padding .3s var(--ease);
}

.nav.is-scrolled .nav__inner { padding: 12px 0; }

.nav__brand {
    display: inline-flex;
    align-items: center;
    transition: opacity .25s var(--ease);
}

.nav__brand:hover { opacity: 0.85; }

.nav__logo {
    display: block;
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: transform .4s var(--ease), height .3s var(--ease);
}

.nav.is-scrolled .nav__logo { height: 48px; }

.nav__brand:hover .nav__logo { transform: scale(1.03); }

/* Legacy monogram (kept for loader + footer use) */
.nav__monogram {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--teal-800);
    color: var(--gold-soft);
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: 0.06em;
}

.nav__monogram--light {
    background: var(--gold);
    color: var(--teal-900);
}

.nav__menu {
    display: flex;
    gap: 26px;
}

@media (max-width: 1180px) {
    .nav__menu { gap: 18px; }
    .nav__phone { display: none; }
}

.nav__menu a {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 4px 0;
    white-space: nowrap;
}

.nav__menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .35s var(--ease);
}

.nav__menu a:hover { color: var(--teal-700); }
.nav__menu a:hover::after { width: 100%; }

.nav__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-soft);
}

.nav__phone:hover { color: var(--teal-700); }

.nav__cta {
    padding: 10px 20px !important;
    font-size: 13px !important;
}

.nav__toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav__toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform .35s var(--ease), opacity .25s var(--ease);
    transform-origin: center;
}

.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px var(--gutter) 28px;
    background: var(--cream);
    border-top: 1px solid rgba(15, 31, 31, 0.08);
}

.nav__mobile a {
    padding: 14px 0;
    font-size: 18px;
    font-family: var(--serif);
    color: var(--ink);
    border-bottom: 1px solid rgba(15, 31, 31, 0.06);
}

.nav__mobile a.btn {
    border: 0;
    margin-top: 14px;
    text-align: center;
    padding: 14px 24px;
    font-family: var(--sans);
    font-size: 15px;
}

.nav__mobile.is-open {
    display: flex;
    animation: drop .35s var(--ease);
}

@keyframes drop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Buttons ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 50px;
    cursor: pointer;
    transition: transform .25s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    overflow: hidden;
    white-space: nowrap;
}

.btn--lg {
    padding: 17px 32px;
    font-size: 15px;
}

.btn--full { width: 100%; }

.btn--primary {
    background: var(--teal-800);
    color: var(--cream);
    box-shadow: 0 6px 18px rgba(20, 52, 52, 0.18);
    isolation: isolate;
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateY(101%);
    transition: transform .45s var(--ease-out);
    z-index: -1;
}

.btn--primary > * { position: relative; z-index: 1; }

.btn--primary:hover {
    color: var(--teal-900);
    box-shadow: 0 10px 28px rgba(20, 52, 52, 0.22);
}

.btn--primary:hover::before { transform: translateY(0); }
.btn--primary svg { transition: transform .35s var(--ease); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(15, 31, 31, 0.18);
}

.btn--ghost:hover {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

.btn--outline {
    background: transparent;
    color: var(--teal-700);
    border: 1px solid var(--teal-700);
    padding: 12px 24px;
    font-size: 14px;
}

.btn--outline:hover {
    background: var(--teal-700);
    color: var(--cream);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: clamp(40px, 8vw, 100px) 0 clamp(60px, 9vw, 120px);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 31, 31, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 31, 31, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at top, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 80%);
    opacity: 0.6;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 14s ease-in-out infinite;
}

.hero__orb--1 {
    width: 480px; height: 480px;
    top: -120px; right: -120px;
    background: radial-gradient(circle, rgba(216, 184, 127, 0.5), transparent 70%);
}

.hero__orb--2 {
    width: 400px; height: 400px;
    bottom: -100px; left: -80px;
    background: radial-gradient(circle, rgba(45, 106, 106, 0.28), transparent 70%);
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.08); }
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    z-index: 1;
}

.hero__copy { max-width: 640px; }

.hero__title {
    font-size: clamp(46px, 6.8vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
}

.hero__title em { display: inline-block; }

.hero__title-sub {
    display: block;
    font-size: clamp(20px, 2vw, 30px);
    font-style: italic;
    color: var(--ink-mute);
    margin-top: 14px;
    font-weight: 300;
    letter-spacing: 0;
}

.hero__lead {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0 0 36px;
    max-width: 52ch;
}

.hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero__trust {
    list-style: none;
    margin: 0;
    padding: 28px 0 0;
    display: flex;
    gap: clamp(20px, 4vw, 50px);
    border-top: 1px solid rgba(15, 31, 31, 0.1);
}

.hero__trust li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__trust strong {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--teal-800);
    line-height: 1;
}

.hero__trust span {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 500;
}

/* Portrait frame */
.hero__portrait {
    position: relative;
    justify-self: center;
}

.portrait-frame {
    position: relative;
    width: clamp(280px, 38vw, 460px);
    aspect-ratio: 3 / 4;
    border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
    overflow: visible;
}

.portrait-frame__inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--cream-2);
}

.portrait-frame__inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(13, 39, 39, 0.25));
    border-radius: inherit;
}

.portrait-frame__inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    transition: transform 1.2s var(--ease);
}

.portrait-frame:hover .portrait-frame__inner img {
    transform: scale(1.04);
}

.portrait-frame__badge {
    position: absolute;
    top: 18px;
    right: -28px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--cream);
    box-shadow: var(--shadow-md);
    display: grid;
    place-items: center;
    animation: spin 22s linear infinite;
}

.portrait-frame__badge svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.portrait-frame__badge text {
    font-family: var(--sans);
    font-size: 9.2px;
    font-weight: 500;
    letter-spacing: 0.22em;
    fill: var(--teal-700);
    text-transform: uppercase;
}

.portrait-frame__badge-core {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--gold);
    animation: spin 22s linear infinite reverse;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.portrait-frame__quote {
    position: absolute;
    bottom: -30px;
    left: -30px;
    max-width: 240px;
    background: var(--cream);
    border-left: 3px solid var(--gold);
    padding: 18px 22px;
    font-family: var(--serif);
    font-size: 15.5px;
    line-height: 1.45;
    font-style: italic;
    color: var(--ink-soft);
    box-shadow: var(--shadow-md);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quote-mark {
    font-size: 38px;
    line-height: 0;
    color: var(--gold);
    margin-right: 4px;
    vertical-align: -12px;
}

/* scroll indicator */
.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: 24px;
    height: 38px;
    border: 1.5px solid var(--ink-faint);
    border-radius: 14px;
    display: none;
}

.hero__scroll span {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--ink-faint);
    animation: scroll-dot 1.8s var(--ease) infinite;
}

@keyframes scroll-dot {
    0% { opacity: 0; transform: translate(-50%, -4px); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ---------- Logo strip ---------- */
.strip {
    padding: 38px 0;
    border-top: 1px solid rgba(15, 31, 31, 0.06);
    border-bottom: 1px solid rgba(15, 31, 31, 0.06);
    background: var(--cream);
}

.strip__label {
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0 0 22px;
}

.strip__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 50px);
    flex-wrap: wrap;
}

.strip__logo {
    font-family: var(--serif);
    font-size: clamp(17px, 2.2vw, 24px);
    color: var(--ink-mute);
    letter-spacing: 0.005em;
    font-style: italic;
    transition: color .3s var(--ease), transform .3s var(--ease);
    cursor: default;
}

.strip__logo:hover {
    color: var(--teal-700);
    transform: translateY(-2px);
}

.strip__divider {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.5;
}

/* ---------- Sections common ---------- */
section { padding: clamp(72px, 10vw, 130px) 0; }

/* ---------- EXPERTISE ---------- */
.expertise { background: var(--cream); }

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

.pillar {
    position: relative;
    padding: 50px 44px;
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid rgba(15, 31, 31, 0.06);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
    overflow: hidden;
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(181, 137, 74, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity .5s var(--ease);
    pointer-events: none;
}

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

.pillar:hover::before { opacity: 1; }

/* Beige variant (was dark teal; heading was unreadable on it) */
.pillar--accent {
    background: var(--cream-2);
    color: var(--ink);
    border-color: var(--gold-faint);
}

.pillar--accent .pillar__title { color: var(--ink); }

.pillar__num {
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 22px;
}

.pillar__title {
    font-size: clamp(26px, 2.6vw, 36px);
    margin-bottom: 18px;
    line-height: 1.1;
}

.pillar__desc {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 28px;
}

.pillar__list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.pillar__list li {
    padding: 13px 0;
    border-top: 1px solid rgba(15, 31, 31, 0.08);
    font-size: 15px;
    color: var(--ink-soft);
    position: relative;
    padding-left: 24px;
}

.pillar__list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 13px;
    font-size: 9px;
    color: var(--gold);
}

.pillar__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--teal-700);
    border-bottom: 1px solid currentColor;
    padding-bottom: 3px;
    transition: gap .3s var(--ease);
}

.pillar__link:hover { gap: 14px; }

/* ---------- ABOUT ---------- */
.about {
    background: var(--cream-2);
    position: relative;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

.about__visual {
    position: relative;
}

.about__photo {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.about__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(13, 39, 39, 0.2));
}

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

.about__visual:hover .about__photo img { transform: scale(1.04); }

.about__card {
    position: absolute;
    z-index: 2;
    background: var(--paper);
    padding: 24px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-width: 240px;
    transition: transform .4s var(--ease);
}

.about__card:hover { transform: translateY(-4px); }

.about__card--top {
    top: 30px;
    left: -30px;
    text-align: left;
}

.about__card-num {
    font-family: var(--serif);
    font-size: 56px;
    line-height: 1;
    color: var(--teal-800);
    margin: 0 0 4px;
}

.about__card--top p:not(.about__card-num) {
    margin: 0;
    font-size: 13px;
    color: var(--ink-mute);
    line-height: 1.4;
}

.about__card--bottom {
    bottom: 30px;
    right: -40px;
    max-width: 260px;
}

.about__card-eyebrow {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 10px;
    font-weight: 500;
}

.about__card--bottom p:not(.about__card-eyebrow) {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.45;
}

.about__card--bottom strong {
    color: var(--ink);
    font-weight: 600;
}

.about__lead {
    font-size: clamp(17px, 1.7vw, 20px);
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 18px 0 36px;
}

.about__pillars {
    display: grid;
    gap: 24px;
    margin-bottom: 36px;
}

.about__pillar {
    padding: 22px 0;
    border-top: 1px solid rgba(15, 31, 31, 0.1);
}

.about__pillar h4,
.about__pillar h3 {
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 500;
}

.about__pillar p {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink-mute);
    line-height: 1.6;
}

/* ---------- SERVICES ---------- */
.services { background: var(--cream); }

.services__tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 50px;
    padding: 6px;
    background: var(--paper);
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(15, 31, 31, 0.06);
}

.services__tab {
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-mute);
    transition: background .3s var(--ease), color .3s var(--ease);
}

.services__tab:hover { color: var(--teal-700); }

.services__tab.is-active {
    background: var(--teal-800);
    color: var(--cream);
}

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

.services__panel.is-active {
    display: grid;
    animation: fade-up .55s var(--ease-out);
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-card {
    background: var(--paper);
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(15, 31, 31, 0.06);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width .4s var(--ease);
}

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

.service-card:hover::before { width: 100%; }

.service-card h3 {
    font-size: 21px;
    margin: 0 0 10px;
    font-family: var(--serif);
    font-weight: 500;
}

.service-card p {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink-mute);
    line-height: 1.6;
}

/* ---------- JOURNEY ---------- */
.journey {
    background: var(--teal-900);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.journey::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(216, 184, 127, 0.1), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(45, 106, 106, 0.4), transparent 50%);
    pointer-events: none;
}

.journey .section-head { color: var(--cream); position: relative; }
.journey .section-title { color: var(--cream); }
.journey .section-title em { color: var(--gold-soft); }
.journey .section-lead { color: rgba(251, 248, 243, 0.72); }
.journey .eyebrow { color: var(--gold-soft); }

.journey__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    counter-reset: step;
}

.journey__step {
    position: relative;
    padding: 32px 28px;
    background: rgba(251, 248, 243, 0.04);
    border: 1px solid rgba(251, 248, 243, 0.08);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}

.journey__step:hover {
    transform: translateY(-4px);
    background: rgba(251, 248, 243, 0.06);
    border-color: var(--gold);
}

.journey__num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--teal-900);
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 18px;
    margin-bottom: 24px;
    transition: transform .4s var(--ease);
}

.journey__step:hover .journey__num {
    transform: rotate(360deg);
}

.journey__step h3 {
    font-size: 22px;
    color: var(--cream);
    margin: 0 0 12px;
    font-family: var(--serif);
    font-weight: 500;
}

.journey__step p {
    margin: 0;
    font-size: 14.5px;
    color: rgba(251, 248, 243, 0.78);
    line-height: 1.65;
}

/* ---------- VOICES ---------- */
.voices { background: var(--cream); }

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

.voice {
    margin: 0;
    background: var(--paper);
    padding: 38px 32px;
    border-radius: var(--radius);
    border: 1px solid rgba(15, 31, 31, 0.06);
    position: relative;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.voice::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    right: 24px;
    font-family: var(--serif);
    font-size: 90px;
    line-height: 1;
    color: var(--gold-faint);
    z-index: 0;
}

.voice:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.voice blockquote {
    margin: 0 0 26px;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.5;
    color: var(--ink);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.voice figcaption {
    display: flex;
    flex-direction: column;
    padding-top: 22px;
    border-top: 1px solid rgba(15, 31, 31, 0.08);
}

.voice__name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 3px;
}

.voice__meta {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

/* ---------- LIFE / Behind the practice ---------- */
.life {
    background: var(--cream);
    padding-top: clamp(72px, 10vw, 130px);
    padding-bottom: 60px;
}

/* Masonry: every photo keeps its own shape (no cropping, no empty cells) */
.life__grid {
    columns: 4 220px;
    column-gap: 14px;
}

.life__tile {
    margin: 0 0 14px;
    position: relative;
    display: block;
    break-inside: avoid;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.life__tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.life__tile img {
    display: block;
    width: 100%; height: auto;
    transition: transform 1.2s var(--ease);
}

.life__tile:hover img { transform: scale(1.05); }

.life__tile figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 18px;
    background: linear-gradient(to top, rgba(13,39,39,0.78), rgba(13,39,39,0));
    color: var(--cream);
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.life__tile:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .life__grid { columns: 2; column-gap: 10px; }
    .life__tile { margin-bottom: 10px; }
    .life__tile figcaption { font-size: 12px; opacity: 1; transform: none; padding: 12px 14px; }
}

/* ---------- Click-to-enlarge viewer (any [data-zoom] container) ---------- */
[data-zoom] img { cursor: zoom-in; }
.zoom {
    position: fixed; inset: 0; z-index: 200;
    display: flex; align-items: center; justify-content: center;
    background: rgba(13, 39, 39, 0.94);
    padding: 56px 64px;
}
.zoom[hidden] { display: none; }
.zoom__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.zoom__img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #fff; }
.zoom__cap { color: var(--cream); font-family: var(--serif); font-style: italic; font-size: 15px; margin-top: 12px; text-align: center; }
.zoom__close, .zoom__nav {
    position: absolute; border: 0; cursor: pointer;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(251, 248, 243, 0.12); color: var(--cream);
    font-size: 26px; line-height: 44px; text-align: center;
}
.zoom__close:hover, .zoom__nav:hover { background: rgba(251, 248, 243, 0.24); }
.zoom__close { top: 14px; right: 14px; }
.zoom__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.zoom__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
    .zoom { padding: 56px 8px; }
    .zoom__nav { top: auto; bottom: 14px; transform: none; }
}

/* ---------- INITIATIVES ---------- */
.initiatives {
    background: var(--cream);
    padding: 40px 0 100px;
}

.initiatives__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.initiative {
    padding: 50px 44px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid rgba(15, 31, 31, 0.06);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.initiative:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.initiative--accent {
    background: linear-gradient(135deg, #efe1c8 0%, #f5ead4 100%);
}

.initiative__tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin: 0 0 18px;
    padding: 5px 10px;
    background: rgba(181, 137, 74, 0.1);
    border-radius: 4px;
}

.initiative h3 {
    font-size: clamp(22px, 2.2vw, 30px);
    margin: 0 0 14px;
    line-height: 1.2;
}

.initiative p {
    margin: 0;
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq {
    background: var(--cream-2);
}

.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.faq__intro .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.faq__intro .section-lead {
    margin: 0 0 30px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq__item {
    border-bottom: 1px solid rgba(15, 31, 31, 0.12);
    padding: 0;
}

.faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    font-family: var(--serif);
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 500;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--teal-700); }

.faq__icon {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(15, 31, 31, 0.2);
    position: relative;
    transition: background .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease);
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background: var(--ink);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .3s var(--ease), background .3s var(--ease);
}

.faq__icon::before { width: 11px; height: 1.4px; }
.faq__icon::after { width: 1.4px; height: 11px; }

.faq__item[open] .faq__icon {
    background: var(--teal-800);
    border-color: var(--teal-800);
    transform: rotate(45deg);
}

.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--cream); }

.faq__answer {
    overflow: hidden;
    color: var(--ink-mute);
}

.faq__answer p {
    margin: 0 0 24px;
    font-size: 15.5px;
    line-height: 1.7;
    padding-right: 50px;
}

.faq__item[open] .faq__answer {
    animation: expand .4s var(--ease-out);
}

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

/* ---------- CONTACT ---------- */
.contact {
    background: var(--teal-900);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 184, 127, 0.18), transparent 70%);
    filter: blur(40px);
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 106, 106, 0.5), transparent 70%);
    filter: blur(40px);
}

.contact__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact__title {
    font-size: clamp(36px, 5vw, 64px);
    color: var(--cream);
    line-height: 1.05;
    margin-bottom: 22px;
}

.contact__title em { color: var(--gold-soft); }

.contact__lead {
    font-size: 17px;
    color: rgba(251, 248, 243, 0.78);
    line-height: 1.65;
    margin: 0 0 44px;
    max-width: 46ch;
}

.contact__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 22px;
}

.contact__list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact__icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(251, 248, 243, 0.06);
    border: 1px solid rgba(251, 248, 243, 0.12);
    display: grid;
    place-items: center;
    color: var(--gold-soft);
    transition: background .3s var(--ease), transform .3s var(--ease);
}

.contact__list li:hover .contact__icon {
    background: var(--gold);
    color: var(--teal-900);
    transform: scale(1.06);
}

.contact__label {
    font-size: 11.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin: 0 0 4px;
    font-weight: 500;
}

.contact__list a, .contact__list span {
    color: var(--cream);
    font-size: 15.5px;
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease);
}

.contact__list a:hover {
    border-color: var(--gold-soft);
}

/* Contact form */
.contact__form {
    background: var(--cream);
    color: var(--ink);
    padding: 44px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact__form-title {
    font-family: var(--serif);
    font-size: 28px;
    margin: 0 0 6px;
    font-weight: 500;
}

.contact__form-sub {
    font-size: 14px;
    color: var(--ink-mute);
    margin: 0 0 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: block;
    margin-bottom: 16px;
}

.field__label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 500;
    margin-bottom: 8px;
}

.field__optional {
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
    color: var(--ink-faint);
    font-weight: 400;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--paper);
    border: 1px solid rgba(15, 31, 31, 0.12);
    border-radius: var(--radius-sm);
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.field textarea { resize: vertical; min-height: 90px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal-700);
    box-shadow: 0 0 0 4px rgba(45, 106, 106, 0.12);
}

.contact__form .btn { margin-top: 8px; }

.contact__form-foot {
    margin: 18px 0 0;
    text-align: center;
    font-size: 12px;
    color: var(--ink-faint);
    line-height: 1.5;
}

/* ---------- Footer ---------- */
.foot {
    background: var(--teal-900);
    color: rgba(251, 248, 243, 0.65);
    padding: 70px 0 24px;
    border-top: 1px solid rgba(251, 248, 243, 0.08);
}

.foot__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.foot__brand .nav__monogram { margin-bottom: 18px; }

.foot__brand-name {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--cream);
    margin: 0 0 6px;
}

.foot__brand-sub {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    max-width: 30ch;
}

.foot__col h2,
.foot__col h3,
.foot__col h4 {
    font-family: var(--sans);
    font-size: 11.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-soft);
    font-weight: 600;
    margin: 0 0 18px;
}

.foot__col a, .foot__col p {
    display: block;
    font-size: 14px;
    color: rgba(251, 248, 243, 0.65);
    margin: 0 0 10px;
    line-height: 1.5;
}

.foot__col a:hover { color: var(--cream); }

.foot__bar {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(251, 248, 243, 0.08);
    font-size: 12.5px;
}

.foot__bar p { margin: 0; }

.foot__fineprint { max-width: 50ch; opacity: 0.8; }

/* ---------- Floating CTA ---------- */
.float-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
    z-index: 50;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.float-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45);
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
    transition-delay: 0ms;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 60px; }
    .hero__copy { max-width: 100%; }
    .hero__portrait { order: -1; }
    .portrait-frame { width: clamp(260px, 60vw, 360px); }
    .portrait-frame__badge { right: -10px; }
    .portrait-frame__quote { left: -10px; max-width: 220px; }

    .expertise__grid { grid-template-columns: 1fr; }
    .about__grid { grid-template-columns: 1fr; gap: 60px; }
    .about__card--top { left: 0; top: 20px; }
    .about__card--bottom { right: 0; bottom: 20px; }

    .services__panel.is-active { grid-template-columns: 1fr 1fr; }
    .journey__steps { grid-template-columns: 1fr 1fr; }
    .voices__grid { grid-template-columns: 1fr; gap: 18px; }
    .initiatives__grid { grid-template-columns: 1fr; }
    .faq__grid { grid-template-columns: 1fr; }
    .contact__grid { grid-template-columns: 1fr; }

    .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav__menu, .nav__phone, .nav__cta { display: none; }
    .nav__toggle { display: flex; }
    .nav__logo { height: 48px; }
    .nav.is-scrolled .nav__logo { height: 42px; }
    .nav__inner { padding: 14px 0; }

    .hero { padding-top: 40px; padding-bottom: 80px; }
    .hero__title { font-size: clamp(40px, 9vw, 60px); line-height: 1; }
    .hero__title-sub { font-size: 18px; margin-top: 12px; }
    .hero__lead { font-size: 16px; line-height: 1.6; }

    /* Trust bar: 3-column grid on mobile so all items align */
    .hero__trust {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding-top: 22px;
    }
    .hero__trust li { min-width: 0; }
    .hero__trust strong { font-size: 24px; }
    .hero__trust span { font-size: 10px; letter-spacing: 0.1em; }

    .portrait-frame__quote {
        position: static;
        margin: 24px auto 0;
        max-width: 100%;
    }

    /* Slightly smaller cursor glow not needed on touch */
    .cursor-glow { display: none; }

    .pillar { padding: 36px 28px; }
    .services__panel.is-active { grid-template-columns: 1fr; }
    .journey__steps { grid-template-columns: 1fr; }

    .contact__form { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }

    .foot__grid { grid-template-columns: 1fr; gap: 36px; }
    .foot__bar { flex-direction: column; gap: 12px; text-align: center; }

    .services__tabs { width: 100%; flex-direction: column; border-radius: var(--radius-sm); }
    .services__tab { width: 100%; }

    /* Tighter announcement bar */
    .announce { font-size: 10.5px; padding: 9px 0; }

    /* Page hero on inner pages: a bit more compact */
    .page-hero__meta { gap: 14px; }
    .page-hero__meta-val { font-size: 16px; }

    /* Bottom mobile CTA bar pushes float-cta higher */
    .float-cta { bottom: 80px; right: 14px; width: 50px; height: 50px; }
    body.has-mobile-bar { padding-bottom: 64px; }
}

@media (max-width: 480px) {
    section { padding: 60px 0; }
    .section-head { margin-bottom: 48px; }
    .hero__title { font-size: 42px; }
    .hero__ctas { flex-direction: column; gap: 10px; }
    .hero__ctas .btn { width: 100%; }
}

/* ============================================================
   Mobile Bottom CTA Bar — sticky conversion-friendly action bar
   ============================================================ */
.mobile-bar {
    display: none;
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    background: rgba(13, 39, 39, 0.96);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-top: 1px solid rgba(216, 184, 127, 0.18);
    padding: 8px 10px env(safe-area-inset-bottom, 8px);
    z-index: 80;
    transform: translateY(100%);
    transition: transform .5s var(--ease-out);
}

.mobile-bar.is-visible { transform: translateY(0); }

.mobile-bar__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.6fr;
    gap: 8px;
    align-items: stretch;
}

.mobile-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--cream);
    background: rgba(251, 248, 243, 0.07);
    border: 1px solid rgba(251, 248, 243, 0.12);
    border-radius: 12px;
    text-decoration: none;
    transition: background .25s var(--ease), transform .25s var(--ease);
    letter-spacing: 0.01em;
}

.mobile-bar__btn:active { transform: scale(0.96); }

.mobile-bar__btn svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.mobile-bar__btn--whatsapp {
    background: rgba(37, 211, 102, 0.16);
    border-color: rgba(37, 211, 102, 0.35);
    color: #6fe09c;
}

.mobile-bar__btn--book {
    background: var(--gold);
    color: var(--teal-900);
    border-color: var(--gold);
    font-weight: 600;
}

.mobile-bar__btn--book:hover, .mobile-bar__btn--book:active {
    background: var(--gold-soft);
}

@media (max-width: 768px) {
    .mobile-bar { display: block; }
}

/* ============================================================
   Mobile menu — improved animations
   ============================================================ */
.nav__mobile.is-open a,
.nav__mobile.is-open .btn {
    animation: slide-in .4s var(--ease-out) backwards;
}

.nav__mobile.is-open a:nth-child(1) { animation-delay: 0.05s; }
.nav__mobile.is-open a:nth-child(2) { animation-delay: 0.08s; }
.nav__mobile.is-open a:nth-child(3) { animation-delay: 0.11s; }
.nav__mobile.is-open a:nth-child(4) { animation-delay: 0.14s; }
.nav__mobile.is-open a:nth-child(5) { animation-delay: 0.17s; }
.nav__mobile.is-open a:nth-child(6) { animation-delay: 0.20s; }
.nav__mobile.is-open a:nth-child(7) { animation-delay: 0.23s; }
.nav__mobile.is-open .btn { animation-delay: 0.26s; }

@keyframes slide-in {
    from { opacity: 0; transform: translateX(-14px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Larger tap targets on mobile menu links */
@media (max-width: 768px) {
    .nav__mobile a { padding: 16px 0; font-size: 20px; }
    .nav__mobile a.btn { font-size: 15px; padding: 16px 24px; }
}

/* ===================================================================
   ATELIER LAYER — a painter's touch, kept quiet and surgical
   =================================================================== */

/* (1) Whisper of canvas/paper grain over the whole page */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* (2) Hand-painted brushstroke under the emphasised words in headings */
.hero__title em,
.section-title em,
.page-hero__title em,
.split__copy h2 em,
.contact__title em,
.programme-hero h1 em,
.private-gallery__title em {
    position: relative;
    display: inline-block;
    isolation: isolate;
}
.hero__title em::after,
.section-title em::after,
.page-hero__title em::after,
.split__copy h2 em::after,
.contact__title em::after,
.programme-hero h1 em::after,
.private-gallery__title em::after {
    content: '';
    position: absolute;
    left: -0.04em;
    right: -0.04em;
    bottom: 0.04em;
    height: 0.30em;
    z-index: -1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 26' preserveAspectRatio='none'%3E%3Cpath d='M2,17 C34,9 74,8 116,12 C158,16 204,9 238,13 C238,19 200,22 150,21 C108,20 58,24 2,17 Z' fill='%23c89a57'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    opacity: 0.55;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
/* draw the stroke in when its section reveals; visible by default if JS/observer is off */
.reveal.is-visible em::after,
.hero__title em::after { transform: scaleX(1); }
.no-js .hero__title em::after,
.no-js .section-title em::after { transform: scaleX(1); }

/* On programme heroes (dark teal bg) the stroke reads better a touch brighter */
.programme-hero h1 em::after { opacity: 0.7; }

/* (3) Soft watercolour bloom behind the hero portrait, in his palette */
.hero__portrait { position: relative; }
.hero__portrait::before {
    content: '';
    position: absolute;
    inset: -12% -8% -6% -14%;
    z-index: -1;
    background:
        radial-gradient(60% 50% at 70% 30%, rgba(181, 137, 74, 0.18), transparent 70%),
        radial-gradient(55% 60% at 30% 75%, rgba(45, 106, 106, 0.14), transparent 72%);
    filter: blur(28px);
    pointer-events: none;
}

/* keep the grain from sitting above interactive chrome */
.nav, .float-cta, .mobile-bar, .lightbox, #loader { z-index: 50; }

/* ===== Atelier band: his real paintings, gallery-wall treatment ===== */
.atelier {
    background: var(--teal-900);
    color: var(--cream);
    padding: clamp(80px, 10vw, 140px) 0;
    position: relative;
    overflow: hidden;
}
.atelier__head { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.atelier__title { color: var(--cream); font-size: clamp(34px, 5vw, 64px); }
.atelier__title em { color: var(--gold-soft); }
.atelier__title em::after { opacity: 0.7; }
.atelier__lead { color: rgba(251, 248, 243, 0.72); font-size: clamp(16px, 1.6vw, 19px); max-width: 62ch; margin: 22px auto 0; line-height: 1.65; }
.atelier__link {
    color: var(--gold-soft);
    border-bottom: 1px solid rgba(216, 184, 127, 0.4);
    padding-bottom: 2px;
    display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
    transition: color .25s var(--ease), gap .25s var(--ease);
}
.atelier__link:hover { color: var(--cream); gap: 11px; }
.atelier__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 34px); max-width: 1080px; margin: 0 auto; align-items: end; }
.atelier__work { margin: 0; }
.atelier__mat {
    background: linear-gradient(160deg, var(--teal-800), var(--teal-900));
    border-radius: var(--radius);
    display: block;
    padding: clamp(16px, 2.2vw, 32px);
    box-shadow: inset 0 0 0 1px rgba(216, 184, 127, 0.18), 0 22px 55px rgba(0, 0, 0, 0.38);
    overflow: hidden;
}
.atelier__mat img {
    width: 100%; height: auto; display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: transform .8s var(--ease);
    border-radius: 2px;
}
.atelier__work:hover .atelier__mat img { transform: scale(1.05); }
.atelier__work figcaption {
    margin-top: 16px; text-align: center;
    font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--gold-soft);
}
@media (max-width: 768px) {
    .atelier__grid { grid-template-columns: 1fr; max-width: 360px; }
}

.contact__form .is-invalid { border-color: #b4472f !important; box-shadow: 0 0 0 3px rgba(180, 71, 47, 0.15); }
.contact__form-foot a { color: inherit; text-decoration: underline; }

/* ---------- Phone layout fixes (Dr Gupta review: overlaps on mobile) ---------- */
@media (max-width: 768px) {
    /* The bottom bar already has a WhatsApp button; the floating one covered text */
    body.has-mobile-bar .float-cta { display: none; }

    /* Doctor's photo first (per client), then headline */
    .hero__portrait { order: -1; }

    /* Stat/affiliation cards sat on top of the photo (covering the face) and ran off-screen */
    .about__card {
        position: static;
        max-width: none;
        margin: 0 0 14px;
    }
    .about__card--bottom { margin: 14px 0 0; }
    .about__card:hover { transform: none; }
}

/* MCh badge covered Dr Gupta's face on narrower screens: move it to the
   top-left corner (plain wall) and make it smaller. Tighten hero bottom gap. */
@media (max-width: 1024px) {
    .portrait-frame__badge { right: auto; left: -14px; top: 10px; width: 86px; height: 86px; }
}
@media (max-width: 768px) {
    .hero { padding-bottom: 36px; }
    .hero__scroll { display: none; }
    .hero__inner { gap: 40px; }
}

/* ---------- Phone menu: grouped, collapsible, scrollable ---------- */
.nav__mobile.is-open { max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
.nav__group { border-bottom: 1px solid rgba(15, 31, 31, 0.08); }
.nav__group summary {
    list-style: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0;
    font-family: var(--serif);
    font-size: 20px;
    color: var(--ink);
}
.nav__group summary::-webkit-details-marker { display: none; }
.nav__group summary::after {
    content: ''; width: 9px; height: 9px;
    border-right: 1.5px solid var(--ink-mute); border-bottom: 1.5px solid var(--ink-mute);
    transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease);
}
.nav__group[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.nav__mobile .nav__group a {
    font-family: var(--sans);
    font-size: 15.5px;
    padding: 12px 0 12px 14px;
    color: var(--ink-soft);
    border-bottom: 0;
    border-left: 1px solid var(--gold-faint);
}
.nav__group[open] { padding-bottom: 10px; }
.nav__mobile a.nav__mobile-top { font-size: 20px; padding: 16px 0; }
.nav__mobile.is-open .nav__group a { animation: none; }

/* Home: tighter rhythm around the single testimonial; linked initiative cards */
.voices { padding-bottom: clamp(40px, 5vw, 72px); }
.life { padding-top: clamp(48px, 6vw, 90px); }
a.initiative { display: block; color: inherit; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
a.initiative:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.initiative__more { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 500; color: var(--teal-700); }
a.initiative:hover .initiative__more { color: var(--gold); }

/* Phone: service category tabs as a swipeable row of pills (was a stacked plain list) */
@media (max-width: 768px) {
    .services__tabs {
        flex-direction: row;
        flex-wrap: nowrap;
        width: auto;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        justify-content: flex-start;
        border-radius: 999px;
        -webkit-overflow-scrolling: touch;
    }
    .services__tabs::-webkit-scrollbar { display: none; }
    .services__tab { width: auto; flex: 0 0 auto; white-space: nowrap; padding: 11px 18px; }
}
.nav__mobile .nav__group a { display: block; }
/* Keep the last menu items above the bottom contact bar */
@media (max-width: 768px) { .nav__mobile { padding-bottom: 96px; } }

/* ---------- "As featured in": original outlet logos, optically balanced ---------- */
.strip__label { font-size: 12px; color: var(--ink-mute); margin-bottom: 26px; }
.strip__logos { gap: clamp(28px, 5vw, 64px); row-gap: 26px; }
a.strip__logo { display: inline-flex; align-items: center; font-style: normal; opacity: .92; transition: opacity .25s var(--ease), transform .25s var(--ease); }
a.strip__logo:hover { opacity: 1; transform: translateY(-2px); }
.strip__logo img { display: block; width: auto; }
.strip__logo--news18 img  { height: 30px; }
.strip__logo--biovoice img { height: 36px; }
.strip__logo--aajtak img  { height: 52px; }
.strip__logo--toi img     { height: 19px; }
.strip__logo--athenaa img { height: 46px; }
@media (max-width: 640px) {
    .strip__logos { gap: 22px 30px; }
    .strip__logo--news18 img  { height: 24px; }
    .strip__logo--biovoice img { height: 28px; }
    .strip__logo--aajtak img  { height: 42px; }
    .strip__logo--toi img     { height: 15px; }
    .strip__logo--athenaa img { height: 38px; }
}
