/* =========================================================================
   CITEM — Hero Section: "Blockout Suizo"
   
   Architecture:
   - .hero-viewport wraps hero + flags marquee
   - Height = 100svh - nav (fills remaining viewport after sticky nav)
   - Flex column: hero fills remaining space, marquee sits at bottom
   - Zero magic numbers — everything references design tokens
   ========================================================================= */

/* ─── Viewport wrapper (hero + marquee = fills below nav) ─── */
.hero-viewport {
    height: calc(100svh - var(--nav-height));
    display: flex;
    flex-direction: column;
}

/* ─── Hero Section (takes all remaining space) ─── */
.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0; /* Override global section padding */
    border-bottom: var(--border-weight) solid var(--c-navy);
    min-height: 0; /* Prevent flex overflow */
}

@media (min-width: 768px) {
    .hero-section {
        flex-direction: row;
    }
}

/* ─── Hero Main (Left — Brand) ─── */
.hero-main {
    flex: 1;
    background-color: var(--c-cream);
    padding: var(--spacing-lg) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-main {
        border-right: var(--border-weight) solid var(--c-navy);
    }
}

.hero-kicker {
    font-size: 0.875rem;
    font-weight: 900;
    color: var(--c-navy);
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
}

.hero-title {
    font-size: var(--text-hero);
    color: var(--c-navy);
    line-height: 0.85;
    letter-spacing: var(--letter-spacing-title);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    font-weight: 900;
}

.hero-card-text {
    font-size: 1.25rem;
    color: var(--c-crimson);
    font-weight: 900;
    line-height: 1.3;
    max-width: 500px;
    text-transform: uppercase;
}

/* ─── Hero Aside (Right — CTA) ─── */
.hero-aside {
    flex: 1;
    background-color: var(--c-crimson);
    color: var(--c-cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--spacing-lg) 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-aside {
        box-shadow: inset 10px 0 0 rgba(0,0,0,0.1);
    }
}

.hero-aside .cta-wrapper {
    z-index: 2;
}

.hero-aside .btn-primary {
    background-color: var(--c-cream);
    color: var(--c-navy);
    border: var(--border-weight) solid var(--c-navy);
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 0;
    box-shadow: 4px 4px 0 var(--c-navy);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.hero-aside .btn-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--c-navy);
}

.hero-aside .microcopy {
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-cream);
    opacity: 0.7;
}

/* ─── Marquee (natural height, sits at bottom of viewport) ─── */
.marquee-container {
    width: 100%;
    background-color: var(--c-navy);
    color: var(--c-cream);
    padding: 1rem 0;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    flex-shrink: 0; /* Never shrink — always show at full height */
    border-bottom: var(--border-weight) solid var(--c-navy);
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
    will-change: transform;
    padding-right: 50px;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track span {
    color: var(--c-cream);
}

.marquee-track span:nth-child(even) {
    color: var(--c-crimson);
}
