/* TRICORE PARTNERS - Layout Styles */
/* Concept O: Fusion (F + L) - Cosmic/Space Theme */

/* ================================================
   BRUTALIST HERO SECTION (Concept O Style)
   ================================================ */

.hero-brutalist {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* anchor below nav; centering causes tall titles to overflow into nav */
    padding: 140px 4rem 4rem;
    background: var(--color-space);
}

.hero-brutalist__title {
    font-family: 'Bebas Neue', var(--font-display);
    font-size: clamp(5rem, 18vw, 15rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    color: var(--color-white);
    font-weight: normal;
}

.hero-brutalist__content {
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.hero-brutalist__left {
    flex: 0 1 auto;
}

.hero-brutalist__right {
    border-left: 1px solid rgba(99, 102, 241, 0.4);
    padding-left: 1.5rem;
    margin-left: 1.5rem;
    align-self: flex-end;
    transform: translateY(20px);
}

.hero-brutalist__subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.9;
    margin: 0;
    text-align: left;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-brutalist {
        padding: 0 2rem;
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-brutalist__title {
        font-size: clamp(3rem, 15vw, 6rem);
    }

    .hero-brutalist__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-brutalist__right {
        border-left: none;
        border-top: 1px solid rgba(99, 102, 241, 0.4);
        padding-left: 0;
        padding-top: 1rem;
        margin-left: 0;
        margin-top: 1.5rem;
        transform: none;
    }

    .hero-brutalist__subtitle {
        white-space: normal;
        max-width: 100%;
    }
}

/* Page Hero Variant - Smaller than homepage */
.hero-brutalist--page {
    min-height: 60vh;
    padding-top: 140px;
    padding-bottom: 3rem;
    justify-content: flex-start; /* anchor title below nav; centering causes overflow with tall titles */
}

.hero-brutalist--page .hero-brutalist__title {
    font-size: clamp(3rem, 12vw, 10rem);
}

.hero-brutalist--page .section__eyebrow {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero-brutalist--page {
        min-height: auto;
        padding-bottom: 3rem;
    }
}

/* ================================================
   MANIFESTO SECTION (Concept O Style)
   ================================================ */

.manifesto {
    padding: 10rem 4rem;
    background: var(--color-deep);
}

.manifesto__content {
    max-width: 800px;
}

.manifesto__title {
    font-family: 'Bebas Neue', var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.manifesto__text {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 2;
    color: var(--color-gray);
}

.manifesto__text strong {
    color: var(--color-white);
    font-weight: 500;
}

@media (max-width: 768px) {
    .manifesto {
        padding: 5rem 2rem;
    }
}

/* ================================================
   EDITORIAL SERVICES LIST (Concept O Style)
   ================================================ */

.services-editorial {
    padding: 8rem 4rem;
    background: var(--color-space);
}

.services-editorial__header {
    margin-bottom: 4rem;
}

.services-editorial__label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-violet);
}

.services-editorial__list {
    list-style: none;
}

.services-editorial__item {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.services-editorial__item:hover {
    padding-left: 2rem;
}

.services-editorial__number {
    font-family: 'Bebas Neue', var(--font-display);
    font-size: 1.5rem;
    color: var(--color-electric);
}

.services-editorial__name {
    font-family: 'Bebas Neue', var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-white);
}

.services-editorial__arrow {
    font-size: 1.5rem;
    color: var(--color-gray);
    transition: all 0.3s ease;
}

.services-editorial__item:hover .services-editorial__arrow {
    transform: translateX(10px);
    color: var(--color-violet);
}

@media (max-width: 768px) {
    .services-editorial {
        padding: 4rem 2rem;
    }

    .services-editorial__item {
        grid-template-columns: 40px 1fr auto;
        gap: 1rem;
        padding: 2rem 0;
    }

    .services-editorial__number {
        font-size: 1.2rem;
    }
}

/* ================================================
   STATS SECTION (Concept O Style)
   ================================================ */

.stats-section {
    padding: 6rem 4rem;
    background: var(--color-deep);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.stats-section__item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.stats-section__number {
    font-family: 'Bebas Neue', var(--font-display);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-section__label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray);
}

@media (max-width: 768px) {
    .stats-section {
        padding: 4rem 2rem;
        flex-direction: column;
    }

    .stats-section__number {
        font-size: 3.5rem;
    }
}

/* ================================================
   CTA SECTION (Concept O Style)
   ================================================ */

.cta-section-brutalist {
    padding: 10rem 4rem;
    text-align: center;
    background: var(--color-space);
}

.cta-section-brutalist__title {
    font-family: 'Bebas Neue', var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    margin-bottom: 3rem;
    color: var(--color-white);
}

@media (max-width: 768px) {
    .cta-section-brutalist {
        padding: 5rem 2rem;
    }
}

/* ================================================
   LEGACY HERO STYLES
   ================================================ */

/* Hero Section - CONSISTENT HEIGHT ACROSS ALL PAGES */
.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: var(--color-white);
    overflow: hidden;
}

/* Page hero uses same height for consistency */
.page-hero {
    min-height: 50vh;
}

/* Banner Wrapper and Slides */
.hero__banner-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: #0A0A0A;
}

.hero__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: #0A0A0A;
}

.hero__banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 0s linear 1.5s;
    z-index: 0;
}

.hero__banner-slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1.5s ease-in-out, visibility 0s linear 0s;
    z-index: 1;
}

.hero__banner-slide.active .hero__video,
.hero__banner-slide.active .hero__image {
    animation: slowZoom 8s ease-out forwards;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

.hero__video,
.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #0A0A0A;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(10, 10, 10, 0.5) 0%,
        rgba(10, 10, 10, 0.45) 50%,
        rgba(10, 10, 10, 0.4) 100%);
    z-index: 1;
}

/* Banner Controls */
.hero__banner-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.banner-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.banner-control:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.banner-control svg {
    pointer-events: none;
}

/* Banner Indicators */
.banner-indicators {
    display: flex;
    gap: 12px;
    align-items: center;
}

.banner-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.banner-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.banner-indicator.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    width: 32px;
    border-radius: 5px;
}

/* Banner Content Containers */
.banner-main-content,
.banner-news-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
}

.banner-main-content {
    padding-top: 80px;
}

.banner-news-content {
    padding-top: 80px;
    padding-bottom: 100px; /* Space for controls */
}

/* News Content Styling */
.news-content {
    max-width: 900px;
    padding: var(--space-2xl) var(--space-xl);
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-eyebrow {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
    font-family: var(--font-display);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.news-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: var(--weight-bold);
    line-height: 1.25;
    color: var(--color-white);
    margin-bottom: 0;
    font-family: var(--font-display);
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero__title {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
}

.hero__title--accent {
    color: var(--color-gold);
    font-style: italic;
    display: block;
}

.hero__subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xl);
    max-width: 700px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

/* Geometric Pattern */
.hero__pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.08;
    pointer-events: none;
}

.geometric-grid {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--color-gold) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-gold) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateY(-15deg);
}

/* Split Content */
.split-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.split-content__text {
    max-width: 600px;
}

.split-content__text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* Section CTA */
.section--cta {
    background: var(--color-white);
}

/* Responsive */
@media (max-width: 1024px) {
    .split-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero__pattern {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--space-3xl) 0;
    }

    .hero__pattern {
        opacity: 0.04;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__banner-controls {
        bottom: 20px;
        gap: 16px;
    }

    .banner-control {
        width: 36px;
        height: 36px;
    }

    .banner-control svg {
        width: 18px;
        height: 18px;
    }

    .banner-indicators {
        gap: 8px;
    }

    .banner-indicator {
        width: 8px;
        height: 8px;
    }

    .banner-indicator.active {
        width: 24px;
    }

    .banner-news-content {
        padding-bottom: 80px;
    }

    .news-content {
        padding: var(--space-lg);
    }

    .news-eyebrow {
        font-size: 0.8125rem;
        margin-bottom: var(--space-md);
    }

    .news-title {
        font-size: clamp(1.375rem, 5vw, 1.75rem);
        line-height: 1.3;
    }
}
