/*
  HEATHER ABOUT — MODERN EDITORIAL SYSTEM
  A complete port of the Fulltext Design logic.
  Isolated to ensure premium visual fidelity inside Kleo.
  Version: 1.0.15
*/

#heather-about-root {
    /* Enforce Dark Editorial Context */
    --ha-bg: #08070b;
    --ha-surface: rgba(255, 255, 255, 0.015);
    --ha-border: rgba(255, 255, 255, 0.06);
    --ha-text-hi: #f5f5f7;
    --ha-text-lo: #9a9aaa;
    --ha-pink: #ec4899;
    --ha-purple: #a855f7;
    --ha-fuchsia: #d946ef;
    --ha-gradient: linear-gradient(135deg, var(--ha-pink), var(--ha-fuchsia), var(--ha-purple));
    --ha-ease: cubic-bezier(0.4, 0, 0.2, 1);

    display: block !important;
    width: 100% !important;
    background: var(--ha-bg) !important;
    font-family: 'Sora', sans-serif !important;
    color: var(--ha-text-hi) !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 20px 0 0 !important;
}

/* Force Reset within root to stop theme contamination */
#heather-about-root * {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    list-style: none;
    text-decoration: none;
    transition: all 0.3s var(--ha-ease);
    color: inherit;
    font-family: inherit;
}

/* Background Drift Animation */
#heather-about-root .heather-about__bg-effects {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#heather-about-root .heather-about__bg-effects::before,
#heather-about-root .heather-about__bg-effects::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

#heather-about-root .heather-about__bg-effects::before {
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--ha-pink), transparent 60%);
    top: -300px; left: -200px;
    animation: haDrift 30s ease-in-out infinite;
}

#heather-about-root .heather-about__bg-effects::after {
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--ha-purple), transparent 60%);
    bottom: -200px; right: -150px;
    animation: haDrift 25s ease-in-out infinite reverse;
}

@keyframes haDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, 50px) scale(1.1); }
}

/* Main Premium Glass Panel */
#heather-about-root .heather-about__container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

#heather-about-root .row {
    margin-left: 0;
    margin-right: 0;
}

#heather-about-root [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

#heather-about-root .heather-about__panel {
    background: var(--ha-surface) !important;
    border: 1px solid var(--ha-border) !important;
    border-radius: 40px !important;
    backdrop-filter: blur(40px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
    padding: 40px;
    animation: haFadeIn 0.8s ease;
}

@media (min-width: 1024px) {
    #heather-about-root .heather-about__panel { padding: 60px; }
}

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

/* Hero Component */
#heather-about-root .heather-about__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    #heather-about-root .heather-about__hero {
        flex-direction: row;
        text-align: left;
        gap: 48px;
    }
}

#heather-about-root .heather-about__profile {
    width: 160px; height: 160px;
    flex-shrink: 0;
    border-radius: 35px;
    background: var(--ha-gradient);
    padding: 3px;
    position: relative;
}

#heather-about-root .heather-about__profile::after {
    content: '';
    position: absolute;
    inset: -15px;
    background: var(--ha-gradient);
    filter: blur(30px);
    opacity: 0.3;
    z-index: -1;
}

#heather-about-root .heather-about__profile-inner {
    width: 100%; height: 100%;
    border-radius: 32px;
    background: var(--ha-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: white;
    overflow: hidden;
}

#heather-about-root .heather-about__profile-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#heather-about-root .heather-about__hero-content { flex: 1; }

#heather-about-root .heather-about__title {
    font-family: 'Instrument Serif', serif !important;
    font-size: clamp(40px, 5vw, 72px) !important;
    line-height: 1.1 !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.02em !important;
}

#heather-about-root .heather-about__title span {
    background: var(--ha-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

#heather-about-root .heather-about__tagline {
    color: var(--ha-text-lo) !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    margin-bottom: 24px !important;
}

#heather-about-root .heather-about__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-radius: 100px;
    font-size: 14px;
    color: var(--ha-pink);
}

#heather-about-root .heather-about__status::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--ha-pink);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ha-pink);
    animation: haPulse 2s infinite;
}

@keyframes haPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Fading Divider */
#heather-about-root .heather-about__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ha-border), transparent);
    margin: 48px 0;
}

/* Section Header Icons */
#heather-about-root .heather-about__section-header {
    font-family: 'Instrument Serif', serif !important;
    font-size: 32px !important;
    margin-bottom: 32px !important;
    display: flex;
    align-items: center;
    gap: 16px;
}

#heather-about-root .heather-about__section-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--ha-gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    color: white;
}

/* Override WordPress emoji styles for section icons */
#heather-about-root .heather-about__section-icon img.wp-smiley,
#heather-about-root .heather-about__section-icon img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 24px !important;
    width: 24px !important;
    margin: 0 !important;
    vertical-align: middle !important;
    background: none !important;
    padding: 0 !important;
}

/* Editorial Content Layout */
#heather-about-root .heather-about__editorial-text {
    color: var(--ha-text-lo) !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
}

@media (min-width: 1024px) {
    #heather-about-root .heather-about__editorial-text {
        column-count: 2;
        column-gap: 60px;
        line-height: 2;
        text-align: justify;
    }
}

#heather-about-root .heather-about__editorial-text p { margin-bottom: 1.5em; }

/* Premium Gallery Strip */
#heather-about-root .heather-about__gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 768px) { #heather-about-root .heather-about__gallery-grid { grid-template-columns: repeat(3, 1fr); } }

#heather-about-root .heather-about__tile {
    aspect-ratio: 1 !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid var(--ha-border) !important;
    overflow: hidden !important;
    cursor: pointer !important;
    position: relative;
    max-width: 280px;
    margin: 0 auto;
}

#heather-about-root .heather-about__tile img {
    width: 100%; height: 100%;
    object-fit: cover !important;
}

#heather-about-root .heather-about__tile:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--ha-pink) !important;
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.2);
}

/* Premium Link Cards */
#heather-about-root .heather-about__links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

#heather-about-root .heather-about__link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid var(--ha-border) !important;
    border-radius: 20px !important;
}

#heather-about-root .heather-about__link-card:hover {
    background: rgba(255,255,255,0.04) !important;
    border-color: var(--ha-pink) !important;
    transform: translateX(8px);
}

#heather-about-root .heather-about__link-icon-box {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(168, 85, 247, 0.12));
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
    color: var(--ha-pink);
}

/* Override WordPress emoji styles for link icons */
#heather-about-root .heather-about__link-icon-box img.wp-smiley,
#heather-about-root .heather-about__link-icon-box img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 22px !important;
    width: 22px !important;
    margin: 0 !important;
    vertical-align: middle !important;
    background: none !important;
    padding: 0 !important;
}

#heather-about-root .heather-about__link-content { flex: 1; min-width: 0; }
#heather-about-root .heather-about__link-title { font-weight: 500; font-size: 18px; margin-bottom: 4px; }
#heather-about-root .heather-about__link-handle { color: var(--ha-text-lo); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#heather-about-root .heather-about__link-arrow { font-size: 22px; color: var(--ha-text-lo); }
#heather-about-root .heather-about__link-card:hover .heather-about__link-arrow { color: var(--ha-pink); transform: translateX(5px); }

/* Footer & Button */
#heather-about-root .heather-about__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

#heather-about-root .heather-about__contact-btn {
    padding: 18px 45px !important;
    background: var(--ha-gradient) !important;
    color: white !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
}

#heather-about-root .heather-about__contact-btn:hover { transform: scale(1.05); }

#heather-about-root .heather-about__location { color: var(--ha-text-lo); font-size: 16px; }

/* Lightbox UI */
#heather-about-root .heather-about__lightbox {
    position: fixed; inset: 0; z-index: 1000000;
    display: none; align-items: center; justify-content: center; padding: 20px;
}

#heather-about-root .heather-about__lightbox:not([hidden]) { display: flex; }

#heather-about-root .heather-about__lightbox-backdrop {
    position: absolute; inset: 0;
    background: rgba(8, 7, 11, 0.98);
    backdrop-filter: blur(20px);
}

#heather-about-root .heather-about__lightbox-dialog {
    position: relative; width: 94vw; height: 84vh;
    max-width: 1400px; max-height: 90vh;
    border-radius: 40px; border: 1px solid var(--ha-border);
    overflow: hidden; background: #000;
    display: flex; align-items: center; justify-content: center;
}

#heather-about-root .heather-about__lightbox-stage {
    position: relative; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}

#heather-about-root .heather-about__lightbox-spinner {
    position: absolute;
    width: 50px; height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--ha-pink);
    border-radius: 50%;
    animation: haSpin 1s linear infinite;
}

@keyframes haSpin {
    to { transform: rotate(360deg); }
}

#heather-about-root .heather-about__lightbox.is-loading .heather-about__lightbox-spinner { display: block; }
#heather-about-root .heather-about__lightbox.is-ready .heather-about__lightbox-spinner { display: none; }

#heather-about-root .ha-lightbox-img {
    width: 100%; height: 100%; object-fit: contain;
    opacity: 0; transition: opacity 0.5s;
}

#heather-about-root .heather-about__lightbox.is-ready .ha-lightbox-img { opacity: 1; }

#heather-about-root .heather-about__lightbox-close {
    position: absolute; top: 20px; right: 20px;
    width: 44px; height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--ha-border);
    border-radius: 50%;
    color: white;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s var(--ha-ease);
}

#heather-about-root .heather-about__lightbox-close:hover {
    background: rgba(236, 72, 153, 0.2);
    border-color: var(--ha-pink);
    transform: scale(1.1);
}

#heather-about-root .heather-about__lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--ha-border);
    border-radius: 50%;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s var(--ha-ease);
}

#heather-about-root .heather-about__lightbox-nav:hover {
    background: rgba(236, 72, 153, 0.2);
    border-color: var(--ha-pink);
    transform: translateY(-50%) scale(1.1);
}

#heather-about-root .heather-about__lightbox-prev { left: 20px; }
#heather-about-root .heather-about__lightbox-next { right: 20px; }
