/* ===================================
   HOME 2: EDITORIAL THEME (BESPOKE)
   =================================== */

:root {
    --onyx-40: rgba(2, 6, 23, 0.4);
    --border-subtle: rgba(56, 189, 248, 0.1);
    --border-strong: rgba(56, 189, 248, 0.3);
}

.hero-bespoke {
    padding: 10rem 0 5rem;
    background: var(--bg-1);
    position: relative;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
}

.editorial-item {
    position: relative;
}

.span-12 {
    grid-column: span 12;
}

.span-8 {
    grid-column: span 8;
}

.span-6 {
    grid-column: span 6;
}

.span-4 {
    grid-column: span 4;
}

.section-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-1);
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-main);
    letter-spacing: -0.04em;
}

.light-theme .hero-title {
    background: linear-gradient(to bottom, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 4rem;
}

.stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 3.5rem;
    color: var(--primary-1);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 2rem;
}

.practice-card {
    background: var(--surface-light);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.5s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.practice-card:hover {
    background: var(--surface-glass);
    border-color: var(--primary-1);
    transform: translateY(-10px);
}

.practice-card h3 {
    margin: 2rem 0 1.5rem;
    font-size: 1.8rem;
    font-family: var(--font-display);
}

.practice-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer Heavy Styling */
.footer-heavy {
    padding: 10rem 0 4rem;
    background: #000;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-1);
}

/* Premium Button Styling for Home 2 context */
.btn-premium {
    display: inline-flex;
    align-items: center;
    padding: 1.25rem 2.5rem;
    background: var(--primary-1);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-premium:hover {
    background: #fff;
    transform: translateY(-2px);
}

.btn-premium.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-1);
    color: var(--primary-1);
}

.btn-premium.btn-outline:hover {
    border-color: #fff;
    color: #fff;
}

@media (max-width: 1024px) {
    .editorial-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 3rem;
    }

    .span-8,
    .span-6,
    .span-4,
    .span-12 {
        grid-column: auto !important;
        width: 100% !important;
    }

    .hero-bespoke {
        padding-top: 8rem;
        text-align: left;
    }

    .stat-num {
        font-size: 2.5rem !important;
    }

    .section-title {
        font-size: 2.5rem !important;
    }

    .practice-card {
        padding: 2rem !important;
    }

    .editorial-item,
    .practice-card {
        border-left: none !important;
        padding-left: 1.5rem !important;
        /* Give it some breathing room on mobile */
        padding-right: 1.5rem !important;
    }
}

/* Additional Editorial Sections */
.wisdom-section {
    padding: 5rem 5%;
    background: var(--surface-light);
    border-top: 1px solid var(--border-subtle);
}

.wisdom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.wisdom-card {
    padding: 3rem;
    border-left: 1px solid var(--primary-1);
    position: relative;
    background: var(--bg-1);
}

.wisdom-quote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.professional-plate {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wisdom-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wisdom-author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.intelligence-section {
    padding: 5rem 5%;
    background: var(--bg-1);
}

.intelligence-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 6rem;
}

.intelligence-header h2 {
    margin: 0;
}

.intelligence-header .btn-premium {
    padding: 1rem 2rem;
}

@media (max-width: 768px) {
    .intelligence-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .intelligence-header .btn-premium {
        width: 100%;
        justify-content: center;
    }
}

.intelligence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.insight-editorial {
    padding: 3rem;
    border: 1px solid var(--border-subtle);
    background: var(--surface-light);
    transition: all 0.5s ease;
    text-decoration: none;
    color: inherit;
}

.insight-editorial:hover {
    border-color: var(--primary-1);
    background: var(--surface-glass);
    transform: translateY(-5px);
}

.legacy-section {
    padding: 5rem 5%;
    background: var(--bg-2);
    border-top: 1px solid var(--border-subtle);
}

.timeline-editorial {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    padding-top: 4rem;
    border-top: 1px solid var(--border-subtle);
}

.timeline-node {
    flex: 1;
    position: relative;
    margin-bottom: 0;
}

.timeline-node::before {
    content: '';
    position: absolute;
    left: 0;
    top: -4.3rem;
    width: 0.6rem;
    height: 0.6rem;
    background: var(--primary-1);
}

@media (max-width: 768px) {
    .intelligence-grid {
        grid-template-columns: 1fr;
    }

    .wisdom-card {
        padding: 2rem;
    }

    .timeline-editorial {
        flex-direction: column;
        padding-left: 2rem;
        padding-top: 0;
        border-left: 1px solid var(--border-subtle);
        border-top: none;
        gap: 2rem;
    }

    .timeline-node::before {
        left: -2.3rem;
        top: 0.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .hero-actions .btn-premium {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .logo-bar-flex {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        justify-items: center;
        text-align: center;
    }

    .logo-bar-flex span:last-child {
        grid-column: span 2;
    }

    .hero-bespoke .span-4 div[style*="border-left"] {
        border-left: none !important;
        border-top: 1px solid var(--border-strong);
        padding-left: 0 !important;
        padding-top: 3rem;
        width: 100%;
        text-align: center;
    }
}

.hero-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.logo-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.4;
}

.logo-bar-flex span {
    font-weight: 700;
    letter-spacing: 0.1rem;
    font-size: 1.2rem;
}