/* ============================================================
   INNER HARMONY — Heal Within. Shine Beyond.
   Design system: calm, warm rosewood + cream
   ============================================================ */

/* ========== DESIGN TOKENS ========== */
:root {
    /* Core palette (from brief) */
    --ink:        #4f2f39;   /* dark grey crimson — deepest */
    --ink-2:      #502f3a;   /* dark grey crimson variant */
    --rosewood:   #5b3a44;   /* grey crimson */
    --plum:       #583843;   /* grey pink — inner dark box */
    --muted:      #a28d8d;   /* grey red — soft secondary */
    --cream:      #fdf4eb;   /* light background */
    --peach:      #fcdbd8;   /* background pink / light orange */
    --sand:       #ffeed0;   /* light orange */
    --btn:        #ecd8ca;   /* button */

    /* Derived, on-brand tints */
    --text:       #4a2c35;   /* body text on light */
    --text-soft:  #7c6169;   /* softened body text */
    --line:       rgba(79, 47, 57, 0.12);
    --line-soft:  rgba(79, 47, 57, 0.07);
    --cream-2:    #fbeadd;   /* between cream & peach */
    --gold:       #c9a06f;   /* warm derived accent for hairlines */

    /* Semantic */
    --bg:         var(--cream);
    --bg-warm:    var(--sand);
    --bg-blush:   var(--peach);
    --surface:    #fffaf3;   /* card surface, lifted off cream */

    /* Shadows — warm, diffuse, soft */
    --shadow-sm:  0 6px 24px rgba(79, 47, 57, 0.06);
    --shadow:     0 18px 50px rgba(79, 47, 57, 0.10);
    --shadow-lg:  0 30px 80px rgba(79, 47, 57, 0.16);

    --radius-xl:  32px;
    --radius:     22px;
    --radius-sm:  14px;

    /* Calm, unhurried motion */
    --ease:       cubic-bezier(0.22, 1, 0.36, 1);
    --t:          0.5s var(--ease);
    --t-slow:     0.8s var(--ease);

    --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --maxw: 1180px;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.75;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Soft ambient warmth painted behind everything */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(60% 55% at 15% 8%, rgba(255, 238, 208, 0.55) 0%, transparent 60%),
        radial-gradient(55% 50% at 92% 22%, rgba(252, 219, 216, 0.45) 0%, transparent 55%),
        radial-gradient(70% 60% at 50% 108%, rgba(252, 219, 216, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

/* Barely-there grain for tactile calm */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px;
}

a { text-decoration: none; color: inherit; transition: color var(--t); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 26px;
}

.section {
    padding: 118px 0;
    position: relative;
}
.section-sm { padding: 84px 0; }

/* Background helpers */
.bg-cream  { background: var(--cream); }
.bg-sand   { background: var(--sand); }
.bg-blush  { background: linear-gradient(180deg, var(--cream) 0%, var(--peach) 100%); }
.bg-surface{ background: var(--surface); }
.bg-dark {
    background:
        radial-gradient(80% 120% at 100% 0%, #62414c 0%, transparent 60%),
        linear-gradient(160deg, var(--plum) 0%, var(--ink) 70%, var(--ink-2) 100%);
    color: var(--sand);
}
.bg-dark .section-title,
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--cream); }
.bg-dark p { color: rgba(255, 238, 208, 0.78); }

/* ========== TYPOGRAPHY ========== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}
.eyebrow::before {
    content: '';
    width: 26px;
    height: 1px;
    background: var(--gold);
    display: inline-block;
}
.eyebrow.centered { justify-content: center; }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
    line-height: 1.12;
    margin-bottom: 22px;
}
.section-title em {
    font-style: italic;
    color: var(--rosewood);
}
.bg-dark .section-title em { color: var(--sand); }

.section-subtitle {
    font-size: 1.08rem;
    color: var(--text-soft);
    max-width: 620px;
    line-height: 1.85;
}
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 68px;
}
.section-header .section-subtitle { margin: 0 auto; }

.lead {
    font-size: 1.22rem;
    line-height: 1.9;
    color: var(--rosewood);
    font-weight: 300;
}

/* Split-text animation helpers */
.split-words .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.08em;
}
.split-words .word-inner {
    display: inline-block;
    transform: translateY(110%);
    will-change: transform;
}
.split-chars .char { display: inline-block; will-change: transform, opacity; }
.reveal-text { clip-path: inset(0 100% 0 0); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
    position: relative;
    will-change: transform;
}
.btn svg { transition: transform var(--t); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
    background: var(--ink);
    color: var(--sand);
    box-shadow: 0 12px 30px rgba(79, 47, 57, 0.22);
}
.btn-primary:hover {
    background: var(--ink-2);
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(79, 47, 57, 0.32);
}

.btn-secondary {
    background: transparent;
    color: var(--rosewood);
    border-color: rgba(79, 47, 57, 0.28);
}
.btn-secondary:hover {
    background: var(--ink);
    color: var(--sand);
    border-color: var(--ink);
    transform: translateY(-3px);
}

/* On dark backgrounds */
.btn-sand {
    background: var(--sand);
    color: var(--ink);
    border-color: var(--sand);
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.btn-sand:hover {
    background: #ffffff;
    color: var(--ink);
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.btn-light {
    background: var(--btn);
    color: var(--ink);
}
.btn-light:hover {
    background: var(--sand);
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}
.btn-ghost-light {
    background: transparent;
    color: var(--sand);
    border-color: rgba(255, 238, 208, 0.35);
}
.btn-ghost-light:hover {
    background: rgba(255, 238, 208, 0.12);
    border-color: var(--sand);
    transform: translateY(-3px);
}

.btn-full { width: 100%; justify-content: center; }

/* ========== CUSTOM CURSOR (soft) ========== */
.cursor, .cursor-follower {
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    border-radius: 50%;
}
.cursor {
    width: 7px; height: 7px;
    background: var(--rosewood);
    transition: width .25s, height .25s, background .25s, opacity .25s;
}
.cursor-follower {
    width: 38px; height: 38px;
    border: 1px solid rgba(91, 58, 68, 0.35);
    z-index: 9998;
    transition: width .35s, height .35s, border-color .35s, background .35s;
}
.cursor.hover { width: 42px; height: 42px; background: rgba(91, 58, 68, 0.12); }
.cursor-follower.hover { width: 62px; height: 62px; border-color: var(--rosewood); }
@media (max-width: 900px) { .cursor, .cursor-follower { display: none !important; } }

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 22px 0;
    transition: padding var(--t), background var(--t), box-shadow var(--t);
}
.navbar.scrolled {
    background: rgba(253, 244, 235, 0.82);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    padding: 13px 0;
    box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px rgba(79, 47, 57, 0.05);
}
.nav-container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-mark {
    width: 38px; height: 38px;
    flex-shrink: 0;
    color: var(--rosewood);
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink);
    line-height: 1;
}
.logo-text small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.56rem;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-links > li > a {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 4px 0;
}
.nav-links > li > a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 1px;
    background: var(--rosewood);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--t);
}
.nav-links > li > a:hover { color: var(--rosewood); }
.nav-links > li > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links > li > a.active { color: var(--rosewood); }
.nav-links > li > a.active::after { transform: scaleX(1); }

/* Dropdown */
.nav-item-has-drop { position: relative; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-drop-toggle svg { transition: transform var(--t); }
.nav-item-has-drop:hover .nav-drop-toggle svg { transform: rotate(180deg); }
.nav-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 268px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav-item-has-drop::before {
    content: '';
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: 22px;
}
.nav-item-has-drop:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
    display: block;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 0.86rem;
    color: var(--text);
    transition: background var(--t), color var(--t);
}
.nav-dropdown a small {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 1px;
}
.nav-dropdown a:hover { background: var(--cream-2); color: var(--rosewood); }
.nav-dropdown .nav-dropdown-featured {
    margin-bottom: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    border-radius: 10px 10px 2px 2px;
    color: var(--rosewood);
    font-weight: 600;
}

.nav-cta {
    display: inline-block;
    white-space: nowrap;
    background: var(--ink);
    color: var(--sand) !important;
    padding: 11px 24px !important;
    border-radius: 50px;
    transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--ink-2);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(79, 47, 57, 0.25);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 26px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform var(--t), opacity var(--t);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(70% 60% at 80% 10%, #62414c 0%, transparent 60%),
        linear-gradient(160deg, var(--plum), var(--ink));
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle(0% at calc(100% - 40px) 40px);
    transition: clip-path 0.6s var(--ease);
    pointer-events: none;
}
.mobile-menu.active {
    clip-path: circle(150% at calc(100% - 40px) 40px);
    pointer-events: auto;
}
.mobile-menu-content { text-align: center; padding: 40px; }
.mobile-nav-links li { margin-bottom: 22px; }
.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--sand);
    opacity: 0.85;
    transition: opacity var(--t), letter-spacing var(--t);
}
.mobile-nav-links a:hover { opacity: 1; letter-spacing: 0.04em; }
.mobile-tagline {
    margin-top: 34px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    color: rgba(255, 238, 208, 0.65);
}

/* ========== HERO (home) ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 150px 0 90px;
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
    opacity: 0.55;
    will-change: transform;
}
.orb-1 { width: 460px; height: 460px; top: -140px; right: -120px;
    background: radial-gradient(circle at 35% 35%, var(--sand), transparent 70%); }
.orb-2 { width: 380px; height: 380px; bottom: -120px; left: -110px;
    background: radial-gradient(circle at 40% 40%, var(--peach), transparent 70%); }
.orb-3 { width: 240px; height: 240px; top: 46%; right: 16%;
    background: radial-gradient(circle at 40% 40%, rgba(236, 216, 202, 0.8), transparent 70%); opacity: 0.4; }
.orb-4 { width: 160px; height: 160px; top: 22%; left: 12%;
    background: radial-gradient(circle at 40% 40%, rgba(252, 219, 216, 0.9), transparent 70%); opacity: 0.5; }

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 860px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 22px;
    border-radius: 50px;
    background: rgba(255, 250, 243, 0.7);
    border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--rosewood);
    margin-bottom: 30px;
}
.hero-eyebrow .om { color: var(--gold); font-size: 0.9rem; }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.9rem, 7.4vw, 5.6rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 28px;
}
.hero-title .title-line { display: block; overflow: hidden; padding-bottom: 0.3em; margin-bottom: -0.3em; }
.hero-title em { font-style: italic; color: var(--rosewood); }

.hero-subtitle {
    font-size: 1.14rem;
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto 42px;
    line-height: 1.9;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    z-index: 2;
}
.scroll-line {
    width: 1px; height: 44px;
    background: linear-gradient(var(--rosewood), transparent);
    animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* Whisper intro lines (from brief: "Perhaps you're looking for guidance...") */
.whisper {
    text-align: center;
    background: var(--surface);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.whisper-inner { max-width: 760px; margin: 0 auto; }
.whisper p {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.05rem);
    font-weight: 400;
    line-height: 1.55;
    color: var(--rosewood);
}
.whisper .whisper-soft { color: var(--muted); font-style: italic; }
.whisper .whisper-strong { display: block; margin-top: 22px; color: var(--ink); }

/* ========== MARQUEE ========== */
.marquee-section {
    padding: 18px 0;
    background: var(--ink);
    overflow: hidden;
    position: relative;
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-content { display: flex; align-items: center; flex-shrink: 0; }
.marquee-content span {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-style: italic;
    color: rgba(255, 238, 208, 0.9);
    white-space: nowrap;
    padding: 0 26px;
}
.marquee-star { color: var(--gold) !important; font-size: 0.7rem !important; font-style: normal !important; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========== PILLARS (Understand / Heal / Grow) ========== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.pillar-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 46px 38px;
    position: relative;
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pillar-card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--rosewood));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-slow);
}
.pillar-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.pillar-card:hover::after { transform: scaleX(1); }
.pillar-index {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 20px;
}
.pillar-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(140deg, var(--sand), var(--peach));
    display: flex; align-items: center; justify-content: center;
    color: var(--rosewood);
    margin-bottom: 24px;
}
.pillar-card h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}
.pillar-card .pillar-sub {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}
.pillar-card p { color: var(--text-soft); font-size: 0.98rem; }

/* ========== BLUEPRINTS / SERVICES GRID ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 34px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.service-icon {
    width: 74px; height: 74px;
    border-radius: 20px;
    background: linear-gradient(140deg, var(--cream-2), var(--sand));
    display: flex; align-items: center; justify-content: center;
    color: var(--rosewood);
    margin-bottom: 24px;
    transition: background var(--t), color var(--t), transform var(--t);
}
.service-card:hover .service-icon {
    background: linear-gradient(140deg, var(--rosewood), var(--ink));
    color: var(--sand);
    transform: rotate(-6deg);
}
.service-tag {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 14px;
}
.service-card p {
    color: var(--text-soft);
    font-size: 0.96rem;
    margin-bottom: 26px;
    flex-grow: 1;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--rosewood);
    transition: gap var(--t);
}
.service-link svg { transition: transform var(--t); }
.service-card:hover .service-link { gap: 14px; }
.service-card:hover .service-link svg { transform: translateX(2px); }

/* ========== ABOUT (split) ========== */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 76px;
    align-items: center;
}
.portrait {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(155deg, var(--sand), var(--peach));
    box-shadow: var(--shadow);
    will-change: transform;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 16px; color: var(--rosewood); text-align: center; padding: 30px;
}
.portrait-placeholder span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    opacity: 0.85;
}
.portrait-badge {
    position: absolute;
    left: -22px; bottom: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 22px;
    box-shadow: var(--shadow);
    text-align: center;
}
.portrait-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--rosewood);
    line-height: 1;
}
.portrait-badge span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.about-text p { color: var(--text-soft); margin-bottom: 18px; font-size: 1.04rem; }
.about-text p.lead { color: var(--rosewood); margin-bottom: 24px; }
.signature {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.7rem;
    color: var(--rosewood);
    margin-top: 8px;
}

/* Stat row */
.stat-row {
    display: flex;
    gap: 46px;
    margin-top: 34px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-number, .stat-suffix {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--rosewood);
    line-height: 1;
    display: inline;
}
.stat-label { font-size: 0.95rem; color: var(--muted); margin-top: 8px; letter-spacing: 0.04em; }

/* ========== QUOTE / PHILOSOPHY BAND ========== */
.quote-band { text-align: center; overflow: hidden; }
.quote-band .quote-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 0.6;
    color: rgba(255, 238, 208, 0.4);
    margin-bottom: 10px;
}
.big-quote {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
    line-height: 1.34;
    max-width: 900px;
    margin: 0 auto 30px;
}
.big-quote .quote-line { display: block; }
.big-quote em { font-style: italic; color: var(--sand); }
.quote-attrib {
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 238, 208, 0.6);
}

/* ========== STEPS / PROCESS ========== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    align-items: stretch;
}
.step-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 34px;
    position: relative;
    transition: transform var(--t), box-shadow var(--t);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-number {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 2.4rem;
    color: var(--rosewood);
    display: block;
    margin-bottom: 8px;
}
.step-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    background: linear-gradient(140deg, var(--sand), var(--peach));
    display: flex; align-items: center; justify-content: center;
    color: var(--rosewood);
    margin-bottom: 20px;
}
.step-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.step-card p { color: var(--text-soft); font-size: 0.95rem; }

@media (min-width: 621px) {
    .steps-grid .step-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 13px);
    }
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 38px 34px;
    transition: transform var(--t), box-shadow var(--t);
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testimonial-stars { display: flex; gap: 4px; color: var(--gold); margin-bottom: 18px; }
.testimonial-text {
    font-family: var(--font-display);
    font-size: 1.24rem;
    line-height: 1.6;
    color: var(--rosewood);
    margin-bottom: 26px;
    flex-grow: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--rosewood), var(--ink));
    display: flex; align-items: center; justify-content: center;
    color: var(--sand); font-weight: 600; font-size: 1.05rem;
    font-family: var(--font-display);
    flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.92rem; color: var(--ink); }
.testimonial-author span { font-size: 0.78rem; color: var(--muted); }

/* ========== PAGE HERO (interior pages) ========== */
.page-hero {
    padding: 178px 0 92px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero .orb { filter: blur(10px); }
.breadcrumb {
    display: none !important;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}
.breadcrumb a:hover { color: var(--rosewood); }
.breadcrumb span { opacity: 0.5; }
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.6vw, 4.3rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--ink);
    max-width: 900px;
    margin: 0 auto 22px;
    position: relative;
    z-index: 2;
}
.page-hero h1 em { font-style: italic; color: var(--rosewood); }
.page-hero .page-hero-sub {
    font-size: 1.12rem;
    color: var(--text-soft);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.9;
    position: relative;
    z-index: 2;
}
.page-hero .tm-line {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--ink-2);
    margin-top: 10px;
    position: relative; z-index: 2;
}

/* ========== PROSE / RICH CONTENT ========== */
.prose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.prose-grid.reverse .prose-visual { order: 2; }
.prose p { color: var(--text-soft); font-size: 1.06rem; margin-bottom: 18px; }
.prose p.lead { color: var(--rosewood); }
.prose h2 { margin-bottom: 20px; }
.prose .eyebrow { margin-bottom: 16px; }

.prose-visual {
    border-radius: var(--radius-xl);
    aspect-ratio: 1/1;
    background:
        radial-gradient(circle at 30% 30%, var(--sand), transparent 60%),
        linear-gradient(150deg, var(--peach), var(--cream-2));
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.prose-visual .glyph {
    width: 44%;
    height: 44%;
    color: var(--rosewood);
    opacity: 0.85;
}
.prose-visual .ring {
    position: absolute;
    border: 1px solid rgba(91, 58, 68, 0.16);
    border-radius: 50%;
}
.ring-a { inset: 12%; animation: spin-slow 20s linear infinite; }
.ring-b { inset: 24%; animation: spin-slow 30s linear infinite reverse; }
.prose-visual .glyph { animation: breathe 4s ease-in-out infinite; }

.page-hero .hero-char { display: inline-block; will-change: transform, opacity; }
.page-hero .hero-word { display: inline-block; white-space: nowrap; }

/* ========== PAGE BLUEPRINT THEMES ========== */
body[data-blueprint="reiki"] {
    --accent: #6b8a9e;
    --accent-soft: #9ec4c4;
    --orb-color: rgba(91, 72, 120, 0.45);
    --visual-glow: rgba(126, 200, 200, 0.35);
    --gold: #7ec8c8;
}
body[data-blueprint="heal"] {
    --accent: #4a3d6b;
    --accent-soft: #8b7ab8;
    --orb-color: rgba(74, 61, 107, 0.5);
    --visual-glow: rgba(201, 160, 111, 0.3);
    --gold: #e8c872;
}
body[data-blueprint="career"] {
    --accent: #633f4c;
    --accent-soft: #9b7079;
    --orb-color: rgba(99, 63, 76, 0.4);
    --visual-glow: rgba(201, 160, 111, 0.35);
    --gold: #c9a06f;
}
body[data-blueprint="parenting"] {
    --accent: #8b5a62;
    --accent-soft: #c49098;
    --orb-color: rgba(139, 90, 98, 0.4);
    --visual-glow: rgba(252, 219, 216, 0.5);
}
body[data-blueprint="inner-potential"] {
    --accent: #5a4a6b;
    --accent-soft: #9a8ab0;
    --orb-color: rgba(90, 74, 107, 0.45);
    --visual-glow: rgba(180, 160, 200, 0.35);
}
body[data-blueprint="empowered"] {
    --accent: #6b5248;
    --accent-soft: #a88878;
    --orb-color: rgba(107, 82, 72, 0.4);
    --visual-glow: rgba(255, 200, 160, 0.4);
}
body[data-blueprint="about"] {
    --accent: var(--rosewood);
    --visual-glow: rgba(252, 219, 216, 0.45);
}
body[data-blueprint="approach"] {
    --accent: #5b4560;
    --visual-glow: rgba(255, 238, 208, 0.4);
}
body[data-blueprint="home"] {
    --visual-glow: rgba(255, 238, 208, 0.5);
}

/* Blueprint-tinted ambient orbs on service pages */
body[data-blueprint] .page-hero .orb-1 {
    background: radial-gradient(circle at 35% 35%, var(--visual-glow, var(--sand)), transparent 70%);
}
body[data-blueprint] .page-hero .orb-2 {
    background: radial-gradient(circle at 40% 40%, var(--orb-color, var(--peach)), transparent 70%);
}
body[data-blueprint] .section-title em { color: var(--accent, var(--rosewood)); }
body[data-blueprint] .eyebrow::before { background: var(--gold); }

/* ========== ANIMATION KEYFRAMES ========== */
@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.06); opacity: 1; }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes float-particle {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(8px, -14px); opacity: 0.85; }
}
@keyframes card-flip-hint {
    0%, 100% { transform: perspective(600px) rotateY(-4deg); }
    50% { transform: perspective(600px) rotateY(6deg); }
}
@keyframes compass-wobble {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}

/* ========== PARTICLE CONTAINERS ========== */
.particle-field, .star-field, .hero-particle-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-soft, var(--gold));
    opacity: 0.5;
    animation: float-particle 5s ease-in-out infinite;
}
.particle-energy { background: var(--accent-soft, #9ec4c4); box-shadow: 0 0 8px var(--visual-glow, rgba(126,200,200,0.6)); }
.particle-star { width: 3px; height: 3px; background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.particle-hero { background: var(--gold); opacity: 0.35; width: 5px; height: 5px; }

.scroll-ripple {
    position: absolute;
    top: 50%; left: 50%;
    width: 120px; height: 120px;
    margin: -60px 0 0 -60px;
    border-radius: 50%;
    border: 1px solid var(--accent-soft, var(--gold));
    pointer-events: none;
    z-index: 0;
}

/* ========== PAGE-SPECIFIC PROSE VISUALS ========== */
body[data-blueprint="reiki"] .prose-visual--reiki {
    background:
        radial-gradient(circle at 50% 50%, var(--visual-glow), transparent 55%),
        linear-gradient(150deg, #e8e0f0, var(--cream-2));
}

.chakra-stack {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.chakra-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 0 12px currentColor;
}
.chakra-dot:nth-child(1) { color: #c0392b; background: #e74c3c; }
.chakra-dot:nth-child(2) { color: #d35400; background: #e67e22; width: 16px; height: 16px; }
.chakra-dot:nth-child(3) { color: #f39c12; background: #f1c40f; width: 18px; height: 18px; }
.chakra-dot:nth-child(4) { color: #27ae60; background: #2ecc71; width: 20px; height: 20px; }
.chakra-dot:nth-child(5) { color: #2980b9; background: #3498db; width: 18px; height: 18px; }
.chakra-dot:nth-child(6) { color: #8e44ad; background: #9b59b6; width: 16px; height: 16px; }
.chakra-dot:nth-child(7) { color: #6c3483; background: #8e44ad; width: 14px; height: 14px; }

body[data-blueprint="heal"] .prose-visual--heal {
    background:
        radial-gradient(circle at 30% 70%, rgba(74, 61, 107, 0.15), transparent 50%),
        linear-gradient(160deg, #e8e4f4, #f5eef8);
}
.mandala {
    position: absolute;
    width: 72%;
    height: 72%;
    color: var(--accent);
    opacity: 0.35;
}
.tarot-card {
    position: relative;
    z-index: 3;
    width: 38%;
    aspect-ratio: 2/3;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--accent), var(--accent-soft));
    border: 2px solid var(--gold);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: card-flip-hint 6s ease-in-out infinite;
}
.tarot-card svg { width: 50%; color: var(--gold); opacity: 0.9; }

body[data-blueprint="career"] .prose-visual--career {
    background:
        radial-gradient(circle at 60% 40%, rgba(201, 160, 111, 0.22), transparent 50%),
        linear-gradient(150deg, #eadadd, var(--cream-2));
}
.compass-visual {
    position: relative;
    z-index: 2;
    width: 58%;
    height: 58%;
}
.compass-visual .compass-ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0.5; }
.compass-visual .compass-needle {
    fill: var(--gold);
    transform-origin: 12px 12px;
    filter: drop-shadow(0 2px 4px rgba(99, 63, 76, 0.3));
}

body[data-blueprint="parenting"] .prose-visual--parenting {
    background:
        radial-gradient(circle at 50% 60%, rgba(252, 219, 216, 0.6), transparent 55%),
        linear-gradient(150deg, var(--peach), var(--cream-2));
}
.nurture-heart {
    position: relative;
    z-index: 2;
    width: 36%;
    color: var(--accent);
}
.bond-arcs {
    position: absolute;
    inset: 15%;
    width: 70%;
    height: 70%;
    color: var(--accent-soft);
    opacity: 0.5;
}
.bond-arc { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 200; stroke-dashoffset: 200; }

body[data-blueprint="inner-potential"] .prose-visual--dmit {
    background:
        radial-gradient(circle at 50% 50%, rgba(180, 160, 200, 0.25), transparent 55%),
        linear-gradient(150deg, #ebe6f2, var(--cream-2));
}
.fingerprint-spiral {
    position: relative;
    z-index: 2;
    width: 55%;
    height: 55%;
    color: var(--accent);
}
.fingerprint-spiral path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
.neural-lines {
    position: absolute;
    inset: 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    opacity: 0.4;
}
.neural-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
    transform: scaleX(0.3);
}

body[data-blueprint="empowered"] .prose-visual--empowered {
    background:
        radial-gradient(circle at 50% 80%, rgba(255, 200, 160, 0.35), transparent 50%),
        linear-gradient(150deg, var(--sand), var(--peach));
}
.home-blocks {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.home-block {
    background: var(--accent);
    border-radius: 4px;
    opacity: 0.85;
}
.home-block:nth-child(1) { width: 80px; height: 12px; }
.home-block:nth-child(2) { width: 60px; height: 40px; border-radius: 4px 4px 0 0; }
.home-block:nth-child(3) { width: 20px; height: 28px; margin-top: -6px; background: var(--gold); }
.warmth-ripples {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.warmth-ripple {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(255, 180, 120, 0.5);
}

/* ========== APPROACH / CAREER PATH SVG ========== */
.pillars-with-path { position: relative; }
.pillars-with-path .pillars-grid { position: relative; z-index: 1; }
.pillar-path-svg, .approach-path-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.pillar-path-line, .approach-path-line {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.45;
}

/* ========== ABOUT SIGNATURE ========== */
.signature-draw .sig-char {
    display: inline-block;
    opacity: 0;
}
.timeline-list { margin-top: 28px; }
.timeline-item {
    padding: 14px 0 14px 24px;
    border-left: 2px solid var(--line);
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -5px; top: 20px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
}
.timeline-item strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.25rem; }
.timeline-item span { font-size: 1.05rem; color: var(--text-soft); }

/* ========== WHISPER WORD REVEAL (home) ========== */
.whisper-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
.whisper-word-inner {
    display: inline-block;
    will-change: transform, opacity;
}

/* ========== BUTTON GLOW RIPPLE ========== */
.btn-glow-ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 238, 208, 0.8), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.btn > *:not(.btn-glow-ripple) { position: relative; z-index: 1; }

/* ========== QUOTE BAND PIN ========== */
.quote-band.is-pinned { z-index: 1; }


/* Feature list with check bullets */
.feature-list { margin-top: 14px; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text);
    font-size: 1rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .tick {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--sand), var(--peach));
    display: flex; align-items: center; justify-content: center;
    color: var(--rosewood);
    margin-top: 2px;
}

/* “Who is this for” chips */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}
.audience-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
    .audience-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .audience-grid--3col { grid-template-columns: 1fr; }
}

.audience-grid--center-5 {
    grid-template-columns: repeat(6, 1fr);
}
.audience-grid--center-5 > div {
    grid-column: span 2;
}
.audience-grid--center-5 > div:nth-child(4) {
    grid-column: 2 / 4;
}
.audience-grid--center-5 > div:nth-child(5) {
    grid-column: 4 / 6;
}
@media (max-width: 900px) {
    .audience-grid--center-5 { grid-template-columns: repeat(2, 1fr); }
    .audience-grid--center-5 > div { grid-column: span 1 !important; }
}
@media (max-width: 600px) {
    .audience-grid--center-5 { grid-template-columns: 1fr; }
}

.audience-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 26px 24px;
    transition: transform var(--t), box-shadow var(--t);
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.audience-card .a-icon { color: var(--gold); margin-bottom: 12px; }
.audience-card p { color: var(--text-soft); font-size: 0.96rem; margin: 0; }
.audience-card strong { color: var(--ink); display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }

/* Info callout */
.callout {
    background: linear-gradient(150deg, var(--sand), var(--peach));
    border-radius: var(--radius);
    padding: 44px 46px;
    position: relative;
    overflow: hidden;
}
.callout p { color: var(--rosewood); font-size: 1.16rem; font-family: var(--font-display); font-style: italic; margin: 0; line-height: 1.6; }

/* ========== FAQ / ACCORDION ========== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--line);
}
.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 600;
    color: var(--ink);
    transition: color var(--t);
}
.faq-q:hover { color: var(--rosewood); }
.faq-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--rosewood);
    transition: transform var(--t), background var(--t), color var(--t);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--rosewood); color: var(--sand); border-color: var(--rosewood); }
.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.55s var(--ease);
}
.faq-a-inner { padding: 0 0 28px; color: var(--text-soft); font-size: 1.02rem; line-height: 1.85; max-width: 90%; }

/* ========== CTA BAND ========== */
.cta-band { text-align: center; overflow: hidden; }
.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.4vw, 3.3rem);
    font-weight: 500;
    color: var(--cream);
    line-height: 1.14;
    max-width: 760px;
    margin: 0 auto 20px;
}
.cta-band h2 em { font-style: italic; color: var(--rosewood); }
.bg-dark.cta-band h2 em, .bg-dark .cta-band h2 em { color: var(--sand); }
.cta-band p { max-width: 560px; margin: 0 auto 38px; font-size: 1.06rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: start;
}
.contact-info p.lead { color: var(--rosewood); margin-bottom: 30px; }
.contact-details { display: flex; flex-direction: column; gap: 6px; margin: 30px 0; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text);
    font-size: 0.98rem;
}
.contact-item:last-child { border-bottom: none; }
.contact-item .ci-icon {
    width: 46px; height: 46px;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--sand), var(--peach));
    display: flex; align-items: center; justify-content: center;
    color: var(--rosewood);
    flex-shrink: 0;
}
.contact-item small { display: block; color: var(--muted); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #2f7d5b;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.94rem;
    transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.whatsapp-btn:hover { background: #276a4d; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(47, 125, 91, 0.3); color: #fff; }

.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 44px;
    box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    font-family: var(--font-body);
    font-size: 0.96rem;
    color: var(--text);
    transition: border-color var(--t), box-shadow var(--t), background var(--t);
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: 0.7; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--rosewood);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(91, 58, 68, 0.1);
}
.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23a28d8d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-message { padding: 14px 18px; border-radius: 12px; margin-top: 16px; font-size: 0.92rem; }
.form-message-success { background: #e7f3ec; color: #2f7d5b; border: 1px solid #b6dcc6; }
.form-message-error { background: #f8e7e5; color: #b0453c; border: 1px solid #e6b8b2; }

/* ========== FOOTER ========== */
.footer {
    background:
        radial-gradient(70% 120% at 100% 0%, #62414c 0%, transparent 55%),
        linear-gradient(160deg, var(--plum), var(--ink));
    color: var(--sand);
    padding: 84px 0 0;
    position: relative;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 44px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 238, 208, 0.12);
}
.footer-brand .logo-text { color: var(--cream); }
.footer-brand .logo-text small { color: rgba(255, 238, 208, 0.6); }
.footer-brand > p {
    color: rgba(255, 238, 208, 0.7);
    font-size: 0.94rem;
    margin: 20px 0 24px;
    max-width: 320px;
    line-height: 1.8;
}
.footer-doctor-name { display: inline-block; white-space: nowrap; }
.footer-om { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.05rem; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255, 238, 208, 0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--sand);
    transition: background var(--t), transform var(--t);
}
.footer-social a:hover { background: rgba(255, 238, 208, 0.22); transform: translateY(-3px); }
.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 238, 208, 0.55);
    margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a, .footer-col ul li {
    color: rgba(255, 238, 208, 0.82);
    font-size: 0.92rem;
    transition: color var(--t), padding-left var(--t);
}
.footer-col ul li a:hover { color: var(--cream); padding-left: 4px; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 26px 0;
    color: rgba(255, 238, 208, 0.5);
    font-size: 0.82rem;
}

/* ========== FLOATING WHATSAPP ========== */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #2f7d5b;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(47, 125, 91, 0.4);
    z-index: 990;
    transition: transform var(--t), box-shadow var(--t);
}
.whatsapp-float::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 2px solid #2f7d5b;
    animation: ripple 2.6s ease-out infinite;
}
@keyframes ripple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.7); opacity: 0; }
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* ========== REVEAL DEFAULTS ========== */
.reveal-up { will-change: transform, opacity; }

/* ========== RESPONSIVE ========== */

/* ---- Big screens: scale the canvas up gracefully ---- */
@media (min-width: 1600px) {
    :root { --maxw: 1320px; }
    html { font-size: 17px; }
    .hero-content { max-width: 980px; }
    .section-header { max-width: 800px; }
}
@media (min-width: 2200px) {
    :root { --maxw: 1480px; }
    html { font-size: 18px; }
}

/* ---- Small laptops / large tablets ---- */
@media (max-width: 1180px) {
    .nav-links { gap: 22px; }
    .nav-links > li > a { font-size: 0.84rem; }
    .nav-cta { padding: 10px 18px !important; }
    .logo-text { font-size: 1.32rem; }
}

/* Collapse nav to hamburger before links can collide with the logo */
@media (max-width: 991px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 1024px) {
    .about-grid, .prose-grid { gap: 44px; }
    .contact-grid { gap: 40px; }
    .nav-links { gap: 18px; }
    .section { padding: 96px 0; }
    .pillars-grid, .services-grid, .testimonials-grid { gap: 20px; }
    .pillar-card { padding: 38px 28px; }
    .service-card { padding: 34px 26px; }
    .testimonial-card { padding: 32px 26px; }
}

@media (min-width: 861px) and (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Tablets ---- */
@media (max-width: 860px) {
    .section { padding: 82px 0; }
    .section-sm { padding: 62px 0; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero { padding: 140px 0 90px; min-height: auto; }
    .hero-scroll { display: none; }

    /* fixed-attachment backgrounds are broken on iOS/Android — inline style needs !important */
    .hero, .page-hero { background-attachment: scroll !important; }

    .marquee-content span { font-size: 1.15rem; padding: 0 18px; }

    /* two columns on tablet, not straight to one */
    .pillars-grid,
    .services-grid,
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .pillars-grid .pillar-card:last-child:nth-child(odd),
    .testimonials-grid .testimonial-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .steps-grid { gap: 18px; }

    .about-grid { grid-template-columns: 1fr; }
    .portrait { max-width: 420px; margin: 0 auto; }
    .portrait-badge { left: 12px; }

    .prose-grid { grid-template-columns: 1fr; }
    .prose-grid.reverse .prose-visual { order: 0; }
    .prose-visual { max-width: 460px; margin: 0 auto; width: 100%; }

    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .page-hero { padding: 150px 0 72px; }

    /* keep form font at 16px so iOS doesn't zoom on focus */
    .form-group input,
    .form-group select,
    .form-group textarea { font-size: 1rem; }

    .mobile-menu-content { max-height: 100dvh; overflow-y: auto; padding: 60px 40px; }
}

/* ---- Large phones / small tablets ---- */
@media (max-width: 620px) {
    .pillars-grid,
    .services-grid,
    .steps-grid,
    .testimonials-grid { grid-template-columns: 1fr; }
    .pillars-grid .pillar-card:last-child:nth-child(odd),
    .testimonials-grid .testimonial-card:last-child:nth-child(odd) { grid-column: auto; }
    .section-header { margin-bottom: 48px; }
    .faq-q { font-size: 1.16rem; gap: 16px; padding: 22px 0; }
    .faq-a-inner { max-width: 100%; }
}

@media (max-width: 540px) {
    .container { padding: 0 20px; }
    .nav-container { padding: 0 20px; }
    .nav-mark-img { width: 48px !important; height: 48px !important; }
    .logo-text { font-size: 1.15rem; }
    .logo-text small { letter-spacing: 0.24em; }
    .hero-buttons, .cta-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn, .cta-buttons .btn { justify-content: center; }
    .stat-row { gap: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .contact-card, .callout { padding: 30px 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
    .pillar-card, .service-card, .step-card, .testimonial-card { padding: 32px 26px; }
    .hero-eyebrow { letter-spacing: 0.18em; padding: 8px 16px; font-size: 0.66rem; }
    .orb-1 { width: 320px; height: 320px; }
    .orb-2 { width: 260px; height: 260px; }
    .mobile-nav-links a { font-size: 1.75rem; }
    .mobile-nav-links li { margin-bottom: 18px; }
}

/* ---- Small phones ---- */
@media (max-width: 380px) {
    html { font-size: 15px; }
    .container { padding: 0 16px; }
    .nav-container { padding: 0 16px; }
    .section { padding: 66px 0; }
    .section-sm { padding: 52px 0; }
    .hero { padding: 124px 0 70px; }
    .hero-title { font-size: 2.45rem; }
    .btn { padding: 14px 24px; font-size: 0.9rem; }
    .eyebrow { letter-spacing: 0.2em; }
    .stat-number, .stat-suffix { font-size: 2.6rem; }
    .contact-card, .callout { padding: 26px 18px; }
    .pillar-card, .service-card, .step-card, .testimonial-card { padding: 28px 20px; }
}

/* ---- Landscape phones ---- */
@media (max-height: 540px) and (orientation: landscape) {
    .hero { min-height: auto; padding: 120px 0 70px; }
    .hero-scroll { display: none; }
    .page-hero { padding: 130px 0 60px; }
    .mobile-nav-links a { font-size: 1.4rem; }
    .mobile-nav-links li { margin-bottom: 12px; }
    .mobile-tagline { margin-top: 18px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
    .marquee-track { animation: none; }
}

/* ============================================================
   PAYMENT MODAL & STANDALONE PAYMENT COMPONENTS
   ============================================================ */
.ih-pay-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s var(--ease);
}

.ih-pay-overlay[hidden] {
    display: none !important;
}

.ih-pay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(79, 47, 57, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.ih-pay-modal {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(170deg, #ffffff 0%, var(--surface) 60%, var(--cream) 100%);
    border: 1px solid rgba(201, 160, 111, 0.45);
    border-radius: var(--radius-xl);
    padding: 34px 28px 28px;
    box-shadow: 0 28px 70px rgba(79, 47, 57, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    animation: ihPayModalPop 0.4s var(--ease) forwards;
}

@keyframes ihPayModalPop {
    from { opacity: 0; transform: scale(0.94) translateY(14px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.ih-pay-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(79, 47, 57, 0.12);
    background: #fffaf3;
    color: var(--rosewood);
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.ih-pay-close:hover {
    background: var(--sand);
    color: var(--ink);
    transform: rotate(90deg);
}

.ih-pay-head {
    text-align: center;
    margin-bottom: 22px;
}

.ih-pay-title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    color: var(--ink);
    margin: 6px 0 4px;
    line-height: 1.18;
}

.ih-pay-sub {
    font-size: 0.86rem;
    color: var(--text-soft);
    margin: 0 auto;
    max-width: 320px;
}

.ih-pay-card {
    background: #ffffff;
    border: 1px solid rgba(201, 160, 111, 0.28);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.ih-pay-practitioner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 16px;
}

.ih-pay-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1.5px solid var(--gold);
    flex-shrink: 0;
}

.ih-pay-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.ih-pay-practitioner strong {
    display: block;
    font-size: 0.96rem;
    color: var(--ink);
    font-weight: 600;
}

.ih-pay-practitioner small {
    display: block;
    font-size: 0.74rem;
    color: var(--text-soft);
}

.ih-pay-verified-tag {
    margin-left: auto;
    font-size: 0.68rem;
    font-weight: 600;
    color: #1f683a;
    background: rgba(31, 104, 58, 0.08);
    border: 1px solid rgba(31, 104, 58, 0.2);
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.ih-pay-qr-frame {
    text-align: center;
    padding: 14px 14px 10px;
    background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
    border: 1.5px solid rgba(201, 160, 111, 0.35);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(79, 47, 57, 0.04);
    margin-bottom: 16px;
}

.ih-pay-qr-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.ih-pay-apps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ih-pay-apps-row span {
    font-size: 0.66rem;
    color: var(--text-soft);
    background: var(--cream);
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid rgba(79, 47, 57, 0.08);
}

.ih-pay-upi-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--cream);
    border: 1px dashed rgba(201, 160, 111, 0.65);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    margin-bottom: 16px;
}

.ih-pay-upi-val small {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 600;
}

.ih-pay-upi-val span {
    font-family: monospace, -apple-system;
    font-size: 0.88rem;
    color: var(--ink);
    font-weight: 600;
    user-select: all;
    word-break: break-all;
}

.ih-pay-copy-btn {
    background: var(--rosewood);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    flex-shrink: 0;
}

.ih-pay-copy-btn:hover {
    background: var(--ink);
    transform: translateY(-1px);
}

.ih-pay-copy-btn.copied {
    background: #1f683a !important;
}

.ih-pay-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ih-pay-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.88rem;
    gap: 8px;
}

.ih-pay-mobile-btn {
    display: none;
}

@media (max-width: 900px) {
    .ih-pay-mobile-btn {
        display: inline-flex;
    }
}

.ih-pay-wa-btn {
    background: #fdf4eb;
    color: var(--rosewood);
    border: 1px solid rgba(79, 47, 57, 0.15);
}

.ih-pay-wa-btn:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
}

.ih-pay-notes {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}

.ih-pay-notes p {
    font-size: 0.74rem;
    color: var(--text-soft);
    line-height: 1.45;
    margin-bottom: 6px;
}

.ih-pay-notes p:last-child {
    margin-bottom: 0;
}

/* Standalone /pay.html Page Styles */
.pay-page-hero {
    padding: 130px 0 40px;
    text-align: center;
    background: radial-gradient(60% 70% at 50% 18%, rgba(252, 219, 216, 0.6) 0%, transparent 60%),
                radial-gradient(85% 120% at 50% -8%, var(--sand) 0%, var(--cream) 48%, var(--cream-2) 100%);
}

.pay-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: start;
    max-width: 980px;
    margin: 0 auto;
}

.pay-step-card {
    background: var(--surface);
    border: 1px solid rgba(79, 47, 57, 0.08);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 16px;
}

.pay-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sand);
    color: var(--rosewood);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
    border: 1px solid var(--gold);
}

.pay-step-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 4px;
}

.pay-step-content p {
    font-size: 0.88rem;
    color: var(--text-soft);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 820px) {
    .pay-layout-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

