/* ── home page — premium revamp ──────────────────────────────────────────
   Loaded/enabled by the router (index.html #css-home). Self-contained:
   swap the literal hexes for theme.css vars if you prefer.
   silver ramp: #e8eaee #c3c9d1 #a3abb6 #9aa1ad #5c626c
   brand:       #c0509a pink · #e07ab8 light pink · #9b93ea lavender
   ground:      #fdfaf8 cream · #1a1018 ink · #5c4d58 muted ink
────────────────────────────────────────────────────────────────────────── */

.home-wrap { width: 92%; max-width: 1200px; margin: 0 auto; }

/* shared reveal (driven by home.js) */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s cubic-bezier(0.22, 1, 0.36, 1),
                transform .8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible { opacity: 1; transform: none; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .6875rem; font-weight: 700; letter-spacing: .14em;
    line-height: 1.3; text-transform: uppercase;
    color: #c0509a; margin-bottom: 20px;
}
.eyebrow-rule { width: 24px; height: 1px; background: linear-gradient(90deg, #e07ab8, #c3c9d1); }

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2; letter-spacing: -0.02em;
    color: #1a1018; margin-bottom: 20px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}
.section-title em { font-style: italic; color: #c0509a; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: #c0509a; font-weight: 600; font-size: .9rem;
    text-decoration: none; transition: gap .2s, color .2s;
}
.link-arrow:hover { gap: 14px; color: #5a1a44; }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
    position: relative; overflow: hidden;
    min-height: 92vh; display: flex; align-items: center;
    padding: 70px 0 60px;
    background: linear-gradient(135deg, #fdf6fb 0%, #f3eaf8 100%);
}
.hero-grid-bg {
    position: absolute; inset: 0; z-index: 0; opacity: .6;
    background-image:
        linear-gradient(rgba(180, 140, 170, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 140, 170, .18) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 30% 40%, #000 30%, transparent 100%);
            mask-image: radial-gradient(ellipse 90% 70% at 30% 40%, #000 30%, transparent 100%);
}
.blob {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: .35; z-index: 1; pointer-events: none;
}
.blob-1 { width: 520px; height: 520px; background: #e8b4d8; top: -140px; right: -80px; }
.blob-2 { width: 340px; height: 340px; background: #c5bef0; bottom: 60px; left: -60px; }
.blob-3 { width: 220px; height: 220px; background: #f4c8e4; top: 40%; right: 18%; }
.silver-glow {
    position: absolute; width: 760px; height: 760px; border-radius: 50%;
    top: -320px; right: -180px; z-index: 1; pointer-events: none;
    background: radial-gradient(circle at 40% 40%,
        rgba(255, 255, 255, .9), rgba(214, 219, 226, .45) 40%, rgba(214, 219, 226, 0) 70%);
}
.hero-fade {
    position: absolute; bottom: -2px; left: 0; width: 100%; height: 80px; z-index: 3;
    background: linear-gradient(to bottom, transparent, #fdfaf8); pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 40px; align-items: center;
}

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    line-height: 1.04; letter-spacing: -0.03em;
    color: #1a1018; margin-bottom: 10px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .85), 0 2px 4px rgba(90, 26, 68, .10);
}
/* words are visible by default; home.js applies the blur-up on top */
.hero-title .word { display: inline-block; }
.hero-title .word.pre-reveal {
    opacity: 0; filter: blur(12px); transform: translateY(20px);
    transition: opacity .9s cubic-bezier(0.22, 1, 0.36, 1),
                transform .9s cubic-bezier(0.22, 1, 0.36, 1),
                filter .9s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-title .word.revealed { opacity: 1; filter: blur(0); transform: none; }

.hero-sub {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    color: #5c4d58; font-style: italic; margin-bottom: 30px;
}
.hero-lede {
    max-width: 560px; font-size: 1.05rem; color: #5c4d58;
    line-height: 1.75; margin-bottom: 38px; font-weight: 300; text-wrap: pretty;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-fill, .btn-line {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 999px;
    font-weight: 600; font-size: .95rem; text-decoration: none;
    transition: transform .2s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow .2s, border-color .2s, color .2s;
}
.btn-fill {
    background: linear-gradient(180deg, #cf62a8, #b8478f); color: #fff;
    box-shadow: 0 4px 18px rgba(192, 80, 154, .32),
                inset 0 1px 0 rgba(255, 255, 255, .4),
                inset 0 -1px 0 rgba(90, 26, 68, .35);
}
.btn-fill:hover {
    color: #fff; transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(192, 80, 154, .4),
                inset 0 1px 0 rgba(255, 255, 255, .45),
                inset 0 -1px 0 rgba(90, 26, 68, .35);
}
.btn-line { color: #1a1018; background: transparent; border: 1.5px solid rgba(180, 140, 170, .4); }
.btn-line:hover { color: #c0509a; border-color: #c0509a; transform: translateY(-2px); }

.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 52px; }
.stat {
    min-width: 118px; padding: 14px 22px; border-radius: 16px;
    display: flex; flex-direction: column; gap: 4px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .55));
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid transparent; background-clip: padding-box;
    box-shadow: 0 0 0 1px rgba(163, 171, 182, .18),
                inset 0 1px 0 rgba(255, 255, 255, .9),
                0 10px 24px rgba(120, 110, 130, .08);
}
.stat-num {
    font-family: 'DM Serif Display', serif; font-size: 1.9rem; font-style: italic;
    color: #c0509a; line-height: 1; letter-spacing: -.5px;
}
.stat-label {
    font-size: 13px; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: #5c4d58; margin-top: 2px;
}

/* static 2D chart graphic — pure SVG, no canvas, no JS */
.hero-visual { position: relative; height: min(74vh, 620px); min-height: 420px; }
.chart-graphic {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    -webkit-mask-image:
        linear-gradient(90deg, transparent 0%, #000 14%, #000 88%, transparent 100%),
        linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%);
            mask-image:
        linear-gradient(90deg, transparent 0%, #000 14%, #000 88%, transparent 100%),
        linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* sine/wavelet decomposition — three component frequencies (top/mid/bottom
   bands) periodically collapse into the single bold signal line at center,
   then separate back out. Pure CSS keyframes, no JS, no pointer tracking. */
.wave-band { animation-duration: 11s; animation-timing-function: cubic-bezier(.65, 0, .35, 1); animation-iteration-count: infinite; }
.wave-band-top { animation-name: waveCollapseDown; }
.wave-band-mid { animation-name: waveFade; }
.wave-band-bottom { animation-name: waveCollapseUp; }
.wave-signal {
    opacity: 0;
    animation: waveSignalIn 11s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes waveCollapseDown {
    0%, 40% { transform: translateY(0); opacity: 0.95; }
    50%, 90% { transform: translateY(150px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0.95; }
}
@keyframes waveCollapseUp {
    0%, 40% { transform: translateY(0); opacity: 0.95; }
    50%, 90% { transform: translateY(-150px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0.95; }
}
@keyframes waveFade {
    0%, 40% { opacity: 0.95; }
    50%, 90% { opacity: 0; }
    100% { opacity: 0.95; }
}
@keyframes waveSignalIn {
    0%, 40% { opacity: 0; }
    50%, 90% { opacity: 1; }
    100% { opacity: 0; }
}

.chart-caption {
    position: absolute; left: 6%; bottom: 4%;
    display: flex; align-items: center; gap: 10px;
    font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: #9e8ea0;
}
.caption-rule { width: 26px; height: 1px; background: linear-gradient(90deg, #c3c9d1, transparent); }

/* ── MISSION ──────────────────────────────────────────────────────────── */
.mission { position: relative; overflow: hidden; padding: 110px 0 90px; }
.mission-grid-bg {
    position: absolute; inset: 0; z-index: 0; opacity: .5;
    background-image:
        linear-gradient(rgba(180, 140, 170, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 140, 170, .18) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 40%, #000 20%, transparent 100%);
            mask-image: radial-gradient(ellipse 80% 60% at 70% 40%, #000 20%, transparent 100%);
}
.mission-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.mission-copy p {
    color: #5c4d58; font-size: 1rem; line-height: 1.8;
    margin-bottom: 16px; font-weight: 300; text-wrap: pretty;
}
.mission-copy .link-arrow { margin-top: 8px; }

.role-stack { display: flex; flex-direction: column; gap: 16px; perspective: 1200px; }
.role-card {
    position: relative; overflow: hidden;
    padding: 24px 26px; border-radius: 16px; border: 1px solid transparent;
    background: linear-gradient(180deg, #fff, #fbfbfc) padding-box,
                linear-gradient(135deg, #e8eaee, #b8bec8 40%, #f4f5f7 55%, #9aa1ad 80%, #dfe2e7) border-box;
    box-shadow: 0 10px 30px rgba(120, 110, 130, .10);
    opacity: 0; transform: translateX(72px);
    transition: opacity .5s ease,
                transform .55s cubic-bezier(0.22, 0.68, 0, 1.15),
                box-shadow .3s;
}
.role-card.slide-in { opacity: 1; transform: translateX(0); }
.role-card.slide-in:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(120, 110, 130, .20), 0 0 0 1px rgba(163, 171, 182, .35);
}
.role-card.slide-in:hover .role-orb { opacity: .7; }
.role-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.role-icon {
    width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; color: #c0509a; border: 1px solid transparent;
    background: linear-gradient(180deg, #fdf3f8, #f9dff0) padding-box,
                linear-gradient(135deg, #f2bade, #c3c9d1 60%, #e4e0fc) border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 4px 10px rgba(192, 80, 154, .12);
}
.role-name { font-weight: 700; font-size: .95rem; color: #1a1018; }
.role-body {
    position: relative; z-index: 1;
    font-size: 14px; color: #5c4d58; line-height: 1.7; font-weight: 300; text-wrap: pretty;
}
.role-orb {
    position: absolute; width: 130px; height: 130px; border-radius: 50%;
    bottom: -44px; right: -44px; pointer-events: none;
    background: radial-gradient(circle, #f2bade, #c9c4f7);
    filter: blur(36px); opacity: 0; transition: opacity .4s;
}

/* ── SOCIAL PROOF ─────────────────────────────────────────────────────── */
.proof { position: relative; overflow: hidden; padding: 120px 0 100px; background: #fdfaf8; }
.proof-grid-bg {
    position: absolute; inset: 0; z-index: 0; opacity: .5;
    background-image:
        linear-gradient(rgba(180, 140, 170, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 140, 170, .18) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 100%);
            mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 100%);
}
.proof-glow { position: absolute; z-index: 0; pointer-events: none; filter: blur(40px); }
.proof-glow-1 {
    bottom: -100px; left: -100px; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(232, 180, 216, .42), transparent 65%);
}
.proof-glow-2 {
    top: 8%; right: -140px; width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(197, 190, 240, .32), transparent 65%);
}
.proof .home-wrap { position: relative; z-index: 1; }
.proof-head { max-width: 640px; margin-bottom: 64px; }
.proof-head .section-title { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.proof-lede { color: #5c4d58; font-size: 1rem; line-height: 1.78; font-weight: 300; text-wrap: pretty; }

.partner-strip {
    display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
    padding: 26px 30px; border-radius: 18px; border: 1px solid transparent;
    background: linear-gradient(180deg, #fff, #fbfbfc) padding-box,
                linear-gradient(135deg, #e8eaee, #b8bec8 40%, #f4f5f7 55%, #9aa1ad 80%, #dfe2e7) border-box;
    box-shadow: 0 10px 30px rgba(120, 110, 130, .08);
    margin-bottom: 56px;
}
.partner-label {
    font-size: 11px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: #5c4d58; white-space: nowrap;
}
.partner-wso { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.partner-wso img { height: 42px; width: auto; object-fit: contain; display: block; }
.partner-wso span {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.3rem, 2.4vw, 1.75rem); letter-spacing: -.01em; color: #0e4463;
}
.partner-sep {
    width: 1px; height: 26px; flex-shrink: 0;
    background: linear-gradient(180deg, transparent, rgba(163, 171, 182, .6), transparent);
}
.partner-vantedge {
    display: inline-flex; align-items: center; flex-shrink: 0;
    padding: 12px 20px; border-radius: 4px; background: #12152a;
    box-shadow: 0 6px 18px rgba(18, 21, 42, .22);
}
.partner-vantedge span {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(.9rem, 1.5vw, 1.15rem); letter-spacing: .22em; color: #cfc9c0;
}
.partner-rule {
    flex: 1; min-width: 40px; height: 1px;
    background: linear-gradient(90deg, rgba(163, 171, 182, .5), transparent);
}

.proof-stats {
    display: flex; flex-wrap: wrap;
    border-top: 1px solid rgba(163, 171, 182, .28); padding-top: 36px;
}
.proof-stat { flex: 1; min-width: 180px; padding-right: 24px; }
.proof-num {
    font-family: 'DM Serif Display', serif; font-size: 2rem; font-style: italic;
    color: #e07ab8; line-height: 1; margin-bottom: 8px;
}
.proof-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #5c4d58; }
.proof-cta { display: flex; align-items: flex-end; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner, .mission-inner { grid-template-columns: 1fr; gap: 40px; }
    .mission { padding: 80px 0 70px; }
    .proof { padding: 90px 0 80px; }
}
@media (max-width: 720px) {
    .hero { min-height: auto; padding: 48px 0 40px; }
    .hero-visual { height: 44vh; min-height: 300px; }
    .partner-strip { gap: 20px; }
    .partner-rule, .partner-sep { display: none; }
    .proof-stats { gap: 28px; }
    .proof-stat { flex: 1 1 100%; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .fade-up, .role-card, .hero-title .word {
        opacity: 1 !important; transform: none !important; filter: none !important;
        transition: none !important;
    }
    /* freeze the wave graphic on the composed signal, its most legible state */
    .wave-band { animation: none !important; opacity: 0 !important; }
    .wave-signal { animation: none !important; opacity: 1 !important; }
}
