/* --- Hero Section --- */
.hero {
    height: 100dvh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--color-text-inverted);
    padding-bottom: 6.25rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;

    /* Prevent horizontal scroll from slider parallax / 120% widths */
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    pointer-events: none;
}

/* Hero Overlay Content - New Layout */
.hero-overlay-content {
    position: absolute;
    width: 100%;

    /* inset: 0 */
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--grid-gutter);
    grid-template-rows: auto;

    /* justify-content: flex-end */
    z-index: 2;
}

/* Top-right info block */
.hero-info-block {
    text-align: left;
    max-width: 53ch;
}

.hero-ctas-row {
    /* display: flex */
    gap: 1.5rem;
}

.hero-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(var(--color-bg-light-rgb), 0.5);
    color: inherit;
    text-decoration: none;
    font-size: var(--text-size-sm);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.hero-cta-link:hover {
    background: rgba(var(--color-bg-light-rgb), 0.15);
    border-color: rgba(var(--color-bg-light-rgb), 0.8);
}

.hero-cta-arrow {
    font-size: 1.25rem;
}

/* Bottom large headline */
/* Variant: center the info block (for procurement page) */
.hero-info-block.hero-info-center {
    align-self: center;

    /* text-align: center */
    max-width: 600px;
}

/* Split headline layout for hero sections */
.hero-headline-split .hero-headline {
    margin: 0;
    line-height: 0.9;
}

/* First line - left aligned */
.hero-headline-split .hero-headline:first-child {
    text-align: left;
    align-self: flex-start;
}

/* Base Scroll Indicator Styles */
/* Second line - right aligned */
.hero-headline-split .hero-headline:last-child {
    /* text-align: right */
    /* align-self: flex-end */
}

/* Responsive font size for split headline using Osmo-like scaling */
.hero-headline-split .display-max {
    font-size: clamp(3.5rem, 14vw, var(--display-size-max));
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
    color: rgba(var(--color-bg-light-rgb), 0.8);
    font-size: var(--heading-size-s);
    cursor: pointer;

    /* Prevent FOUC - Revealed by GSAP */
    opacity: 0;
    visibility: hidden;
}

/* Animation Utilities */
.split-parent {
    overflow: hidden;
    display: block;
}



.intro-title {
    grid-column: 1 / span 6;
}

.intro-sub {
    grid-column: 8 / span 5;

    /* font-size: var(--text-size-lg) */
    align-self: flex-end;

    /* text-transform: uppercase */
    /* max-width: 29ch */
}

.teaser-section {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    padding: 6rem 1.5rem;
}

.section-header {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: var(--heading-size-s);
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.section-subtitle {
    color: var(--color-text-muted);
    max-width: 600px;
    font-weight: 400;
}