
/* TeachMeMore Author Profile v1.0 */

#tmm-author-profile {
    --tmm-p-dark: #050914;
    --tmm-p-dark-2: #08111f;
    --tmm-p-light: #fbfcfe;
    --tmm-p-text: #0a1020;
    --tmm-p-muted: #667085;
    --tmm-p-light-text: #f7f9fc;
    --tmm-p-light-muted: #aab5c7;
    --tmm-p-violet: #6952ff;
    --tmm-p-blue: #3478f6;
    --tmm-p-cyan: #16c7be;
    --tmm-p-line: rgba(15,23,42,.08);
    margin: 0;
    overflow: hidden;
    background: var(--tmm-p-light);
    color: var(--tmm-p-text);
    font-family: inherit;
}

#tmm-author-profile *,
#tmm-author-profile *::before,
#tmm-author-profile *::after {
    box-sizing: border-box;
}

.tmm-profile-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.tmm-profile-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 54px;
    background:
        radial-gradient(900px 520px at -7% 25%, rgba(105,82,255,.28), transparent 68%),
        radial-gradient(900px 560px at 108% 56%, rgba(22,199,190,.20), transparent 70%),
        linear-gradient(120deg, #050914 0%, #07101e 54%, #041819 100%);
    color: var(--tmm-p-light-text);
}

.tmm-profile-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .42;
}
.tmm-glow-a { width: 340px; height: 340px; left: -170px; top: 140px; background: #6952ff; }
.tmm-glow-b { width: 360px; height: 360px; right: -180px; bottom: -60px; background: #16c7be; }

.tmm-profile-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .68fr);
    gap: 72px;
    align-items: center;
}

.tmm-profile-kicker,
.tmm-profile-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.tmm-profile-kicker { color: #c2ccda; }
.tmm-profile-eyebrow { color: var(--tmm-p-violet); }

.tmm-profile-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tmm-p-cyan);
    box-shadow: 0 0 14px rgba(22,199,190,.8);
}

.tmm-profile-hero h1 {
    margin: 22px 0 20px;
    padding-left: 4px;
    color: #fff;
    font-size: clamp(3.1rem, 6vw, 5.4rem);
    line-height: .94;
    letter-spacing: -.045em;
    font-weight: 850;
    overflow: visible;
}

.tmm-profile-lead {
    max-width: 720px;
    margin: 0;
    color: #b8c2d2;
    font-size: clamp(1.1rem, 2vw, 1.38rem);
    line-height: 1.72;
}

.tmm-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.tmm-profile-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border-radius: 14px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.tmm-profile-btn:hover { transform: translateY(-2px); }

.tmm-profile-btn-primary {
    color: #fff !important;
    background: linear-gradient(90deg, #7458ff, #4585ff 57%, #24c9c0);
    box-shadow: 0 14px 38px rgba(58,101,230,.24);
}

.tmm-profile-btn-secondary {
    color: #edf2fa !important;
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}

.tmm-profile-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 26px;
}
.tmm-profile-socials a {
    color: #9fb0c7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}
.tmm-profile-socials a:hover { color: #fff; }

.tmm-profile-photo-wrap {
    position: relative;
    width: min(100%, 420px);
    justify-self: end;
}
.tmm-profile-photo-frame {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    background: #111827;
    box-shadow: 0 30px 80px rgba(0,0,0,.38);
    aspect-ratio: 1 / 1;
    isolation: isolate;
}
.tmm-profile-photo-frame::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(116,88,255,.9), rgba(34,201,192,.75));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    z-index: 2;
    pointer-events: none;
}
.tmm-profile-photo-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
}
.tmm-profile-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4,8,17,.32), transparent 38%);
}

.tmm-profile-floating-card {
    position: absolute;
    left: -26px;
    bottom: 16px;
    width: 260px;
    padding: 17px 19px;
    border-radius: 17px;
    background: rgba(5,9,20,.82);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 50px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.08);
}
.tmm-profile-floating-label {
    display: block;
    color: #8694a8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.tmm-profile-floating-card strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

.tmm-profile-proofbar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 74px;
    border-top: 1px solid rgba(255,255,255,.09);
    border-bottom: 1px solid rgba(255,255,255,.09);
}
.tmm-profile-proof {
    padding: 26px 32px 26px 0;
}
.tmm-profile-proof + .tmm-profile-proof {
    padding-left: 32px;
    border-left: 1px solid rgba(255,255,255,.09);
}
.tmm-profile-proof strong {
    display: block;
    margin-bottom: 7px;
    font-size: 29px;
    letter-spacing: -.04em;
    background: linear-gradient(90deg, #8a68ff, #5f82ff, #2ad0c5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tmm-profile-proof span {
    display: block;
    color: #9eabbf;
    font-size: 14px;
    line-height: 1.55;
}
.tmm-profile-disclaimer {
    position: relative;
    z-index: 2;
    margin: 13px 0 0;
    color: #69778c;
    font-size: 12px;
    line-height: 1.55;
}

.tmm-profile-section {
    padding: 104px 0;
}
.tmm-profile-section-light {
    background: #fff;
}
.tmm-profile-about-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 90px;
    align-items: start;
}
.tmm-profile-section-intro h2,
.tmm-profile-section-header h2,
.tmm-profile-paths h2,
.tmm-profile-cta h2 {
    margin: 15px 0 0;
    color: #0b1325;
    font-size: clamp(2.2rem, 4vw, 4.1rem);
    line-height: 1.04;
    letter-spacing: -.05em;
}
.tmm-profile-copy {
    max-width: 720px;
}
.tmm-profile-copy p {
    margin: 0 0 22px;
    color: #536176;
    font-size: 18px;
    line-height: 1.82;
}

.tmm-profile-expertise {
    background: #f7f9fc;
}
.tmm-profile-section-header {
    max-width: 760px;
    margin-bottom: 48px;
}
.tmm-profile-section-header p,
.tmm-profile-paths p {
    margin: 18px 0 0;
    color: var(--tmm-p-muted);
    font-size: 17px;
    line-height: 1.72;
}

.tmm-profile-expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.tmm-profile-expertise-card {
    padding: 29px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(18,32,63,.055);
}
.tmm-profile-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(105,82,255,.11), rgba(22,199,190,.08));
}
.tmm-profile-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: #586cf5;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tmm-profile-expertise-card h3 {
    margin: 0 0 10px;
    color: #101827;
    font-size: 19px;
}
.tmm-profile-expertise-card p {
    margin: 0;
    color: #697586;
    font-size: 15px;
    line-height: 1.68;
}

.tmm-profile-method {
    background:
        radial-gradient(700px 400px at 12% 36%, rgba(105,82,255,.20), transparent 70%),
        radial-gradient(700px 400px at 92% 62%, rgba(22,199,190,.15), transparent 70%),
        #060a14;
    color: #fff;
}
.tmm-profile-method .tmm-profile-eyebrow { color: #8c7bff; }
.tmm-profile-method .tmm-profile-section-header h2 { color: #fff; }
.tmm-profile-method .tmm-profile-section-header p { color: #9eabbf; }

.tmm-profile-method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.tmm-profile-method-step {
    position: relative;
    padding: 8px 28px 12px 0;
}
.tmm-profile-method-step + .tmm-profile-method-step {
    padding-left: 28px;
    border-left: 1px solid rgba(255,255,255,.10);
}
.tmm-profile-method-step span {
    display: block;
    margin-bottom: 30px;
    color: #6f80a0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}
.tmm-profile-method-step h3 {
    margin: 0 0 11px;
    color: #fff;
    font-size: 21px;
}
.tmm-profile-method-step p {
    margin: 0;
    color: #9da9bb;
    font-size: 14px;
    line-height: 1.7;
}

.tmm-profile-paths {
    background: #fff;
}
.tmm-profile-paths-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 82px;
    align-items: center;
}
.tmm-profile-path-links {
    display: grid;
    gap: 12px;
}
.tmm-profile-path-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 16px;
    color: #111827 !important;
    text-decoration: none !important;
    background: #f7f9fc;
    transition: transform .22s ease, background .22s ease;
}
.tmm-profile-path-links a:hover {
    transform: translateX(4px);
    background: #f0f4fb;
}
.tmm-profile-path-links span {
    color: #647085;
    font-size: 14px;
}
.tmm-profile-path-links strong {
    font-size: 15px;
}

.tmm-profile-cta {
    position: relative;
    overflow: hidden;
    padding: 104px 0;
    text-align: center;
    background: linear-gradient(125deg, #070a15, #11102c 56%, #072428);
    color: #fff;
}
.tmm-glow-c {
    width: 620px;
    height: 400px;
    left: 50%;
    bottom: -260px;
    transform: translateX(-50%);
    background: #604bff;
    opacity: .27;
}
.tmm-profile-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 850px;
}
.tmm-profile-cta .tmm-profile-eyebrow { color: #8e7dff; }
.tmm-profile-cta h2 { color: #fff; }
.tmm-profile-cta p {
    margin: 20px 0 0;
    color: #a9b5c7;
    font-size: 18px;
}
.tmm-profile-actions-center {
    justify-content: center;
}

.tmm-profile-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s ease, transform .65s ease;
}
.tmm-profile-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .tmm-profile-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 980px) {
    .tmm-profile-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .tmm-profile-photo-wrap {
        justify-self: start;
        width: min(100%, 420px);
    }
    .tmm-profile-floating-card {
        left: 18px;
        bottom: 18px;
    }
    .tmm-profile-proofbar,
    .tmm-profile-expertise-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tmm-profile-proof:nth-child(3) {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.09);
        padding-left: 0;
    }
    .tmm-profile-about-grid,
    .tmm-profile-paths-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
    .tmm-profile-method-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 0;
    }
    .tmm-profile-method-step:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 680px) {
    .tmm-profile-shell {
        width: min(100% - 28px, 1180px);
    }
    .tmm-profile-hero {
        padding: 64px 0 36px;
    }
    .tmm-profile-hero h1 {
        padding-left: 2px;
        font-size: clamp(2.8rem, 15vw, 4rem);
    }
    .tmm-profile-lead {
        font-size: 1.05rem;
    }
    .tmm-profile-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .tmm-profile-btn {
        width: 100%;
    }
    .tmm-profile-photo-wrap {
        width: min(100%, 340px);
    }
    .tmm-profile-floating-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        margin-top: 12px;
    }
    .tmm-profile-proofbar,
    .tmm-profile-expertise-grid,
    .tmm-profile-method-grid {
        grid-template-columns: 1fr;
    }
    .tmm-profile-proof {
        padding: 22px 0;
    }
    .tmm-profile-proof + .tmm-profile-proof,
    .tmm-profile-proof:nth-child(3) {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.09);
    }
    .tmm-profile-section,
    .tmm-profile-cta {
        padding: 74px 0;
    }
    .tmm-profile-method-step,
    .tmm-profile-method-step + .tmm-profile-method-step,
    .tmm-profile-method-step:nth-child(3) {
        padding: 4px 0 25px;
        border-left: 0;
        border-bottom: 1px solid rgba(255,255,255,.10);
    }
    .tmm-profile-path-links a {
        align-items: flex-start;
        flex-direction: column;
    }
}
