/* ==========================================================================
   Homepage v2 — Bold Editorial Dark Theme
   Gold primary, Public Sans, graphic/magazine feel
   ========================================================================== */

:root {
    --h-gold: #FFD700;
    --h-black: #0A0A0A;
    --h-surface: #171717;
    --h-white: #ffffff;
    --h-muted: rgba(255, 255, 255, 0.5);
    --h-border: rgba(255, 255, 255, 0.05);
    --h-sans: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Shell — break out of site container */
.home-shell {
    background: var(--h-black);
    color: var(--h-white);
    font-family: var(--h-sans);
    -webkit-font-smoothing: antialiased;
    width: 100%;
    overflow-x: hidden;
}

.home-shell ::selection {
    background: var(--h-gold);
    color: var(--h-black);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
    background: var(--h-gold);
    color: var(--h-black);
    padding: 48px 0 64px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section { padding: 64px 0 80px; }
}

.hero-dot-grid {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle, #000 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 7fr 5fr;
        gap: 48px;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 18px;
    border: 2px solid var(--h-black);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--h-black);
}

.hero-headline {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin: 0;
    animation: fadeUp 0.8s ease both;
}

.hero-fade {
    opacity: 0.55;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 500;
    max-width: 520px;
    line-height: 1.5;
    opacity: 0.75;
    margin: 0;
    animation: fadeUp 0.8s ease 0.15s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 8px;
    animation: fadeUp 0.8s ease 0.3s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--h-black);
    color: var(--h-white);
    padding: 20px 40px;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    color: var(--h-white);
}

.btn-hero-primary .material-symbols-outlined {
    font-size: 22px;
}

/* Portrait */
.hero-portrait {
    display: flex;
    justify-content: center;
    animation: fadeUp 0.8s ease 0.2s both;
}

@media (min-width: 1024px) {
    .hero-portrait { justify-content: flex-end; }
}

.hero-portrait {
    position: relative;
}

.portrait-ring {
    position: absolute;
    inset: 0;
    border: 3px solid var(--h-black);
    border-radius: 50%;
    transform: translate(16px, 16px);
    width: 256px;
    height: 256px;
}

.portrait-frame {
    position: relative;
    width: 256px;
    height: 256px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--h-black);
    background: #1a1a1a;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(1.1);
}

.portrait-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    color: var(--h-gold);
    background: var(--h-surface);
}

@media (min-width: 768px) {
    .portrait-ring { width: 320px; height: 320px; }
    .portrait-frame { width: 320px; height: 320px; }
}

@media (min-width: 1024px) {
    .portrait-ring { width: 384px; height: 384px; }
    .portrait-frame { width: 384px; height: 384px; }
}

/* ==========================================================================
   Content Area
   ========================================================================== */

.home-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.home-content > section {
    padding: 96px 0;
}

.home-content > section.cta-section {
    padding: 48px 48px 48px 56px;
}

@media (min-width: 768px) {
    .home-content > section.cta-section {
        padding: 80px 80px 80px 96px;
    }
}

.home-content > section + section {
    border-top: 1px solid var(--h-border);
}

/* ==========================================================================
   Section Labels
   ========================================================================== */

.section-label {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--h-gold);
    margin: 0 0 16px;
}

.section-heading {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0;
}

.section-heading-inline {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.section-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 48px;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--h-gold);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.explore-link:hover {
    gap: 16px;
    color: var(--h-gold);
}

.explore-link .material-symbols-outlined {
    font-size: 22px;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.section-about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .section-about {
        grid-template-columns: 4fr 8fr;
        gap: 48px;
    }
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text strong,
.about-text span.text-white {
    color: var(--h-white);
    font-weight: 500;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding-top: 24px;
}

.stat-block {}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--h-gold);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-desc {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    opacity: 0.6;
}

/* ==========================================================================
   Article Cards Grid
   ========================================================================== */

.articles-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .articles-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .articles-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.article-card-v2 {
    animation: cardFadeUp 0.6s ease both;
}

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

.card-v2-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--h-surface);
    border: 1px solid var(--h-border);
    border-radius: 24px;
    overflow: hidden;
    transition: border-color 0.5s ease;
}

.card-v2-link:hover {
    border-color: rgba(250, 204, 21, 0.4);
    color: inherit;
}

.card-v2-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card-v2-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.7s ease, transform 0.7s ease;
}

.card-v2-link:hover .card-v2-image img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.card-v2-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--h-surface) 0%, #222 100%);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
}

.card-v2-body {
    padding: 28px 28px 24px;
}

.card-v2-category {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--h-gold);
    margin-bottom: 12px;
}

.card-v2-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--h-white);
    margin: 0 0 12px;
    transition: color 0.3s ease;
}

.card-v2-link:hover .card-v2-title {
    color: var(--h-gold);
}

.card-v2-excerpt {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--h-muted);
    margin: 0 0 24px;
}

.card-v2-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--h-white);
    transition: gap 0.3s ease;
}

.card-v2-link:hover .card-v2-read {
    gap: 16px;
}

.card-v2-read .material-symbols-outlined {
    font-size: 18px;
}

/* ==========================================================================
   Resources List
   ========================================================================== */

.section-resources {
    margin-top: 16px;
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--h-border);
}

.resource-row {
    border-bottom: 1px solid var(--h-border);
    opacity: 0;
    animation: resourceFadeIn 0.6s ease forwards;
}

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

.resource-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 28px 8px;
    text-decoration: none;
    color: var(--h-white);
    transition: background 0.3s ease, padding 0.3s ease;
}

.resource-link:hover {
    background: rgba(255, 215, 0, 0.04);
    padding-left: 20px;
    padding-right: 20px;
    color: var(--h-white);
}

.resource-index {
    font-family: var(--h-sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--h-gold);
    letter-spacing: 0.1em;
    min-width: 32px;
}

.resource-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.resource-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--h-white);
    transition: color 0.2s ease;
}

.resource-link:hover .resource-title {
    color: var(--h-gold);
}

.resource-excerpt {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    margin: 0;
}

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.resource-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid var(--h-border);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.6);
}

.resource-date {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-left: 4px;
}

.resource-arrow {
    font-size: 24px !important;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, color 0.3s ease;
}

.resource-link:hover .resource-arrow {
    color: var(--h-gold);
    transform: translate(4px, -4px);
}

@media (max-width: 640px) {
    .resource-link {
        grid-template-columns: auto 1fr;
        gap: 16px;
        padding: 20px 4px;
    }
    .resource-arrow {
        display: none;
    }
    .resource-title { font-size: 1.1rem; }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background: var(--h-gold);
    color: var(--h-black);
    border-radius: 2rem;
    padding: 48px 48px 48px 56px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-section { padding: 80px 80px 80px 96px; }
}

.cta-bg-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 48px;
    opacity: 0.05;
    transform: scale(1.5) rotate(12deg);
    pointer-events: none;
}

.cta-bg-icon .material-symbols-outlined {
    font-size: 300px;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.cta-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin: 0 0 24px;
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
    opacity: 0.75;
    margin: 0 0 40px;
}

.cta-socials {
    display: flex;
    gap: 16px;
}

.social-circle {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--h-black);
    color: var(--h-white);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.social-circle:hover {
    background: var(--h-white);
    color: var(--h-black);
    transform: scale(1.08);
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 600px) {
    .hero-section {
        padding: 48px 0 64px;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .btn-hero-primary {
        padding: 16px 28px;
        font-size: 1rem;
    }

    .portrait-ring,
    .portrait-frame {
        width: 200px !important;
        height: 200px !important;
    }

    .home-content > section {
        padding: 64px 0;
    }

    .cta-section {
        padding: 40px 28px 40px 32px;
        border-radius: 1.5rem;
    }

    .cta-headline {
        font-size: 2rem;
    }

    .social-circle {
        width: 52px;
        height: 52px;
    }

    .social-circle svg {
        width: 22px;
        height: 22px;
    }
}
