:root {
    --bg: #F0EDE8;
    --white: #FAFAFA;
    --ink: #1A1A1A;
    --ink-mid: #2A2A2A;
    --red: #E63030;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100vh;
    overflow: hidden;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* Center line */
.center-line {
    position: fixed;
    top: 50vh;
    left: 0;
    height: 2px;
    background: var(--red);
    z-index: 10;
    transform-origin: left center;
    width: 0;
    animation: line-draw 1s ease-out 0.3s forwards;
}

@keyframes line-draw {
    to {
        width: 100vw;
    }
}

/* Piste (horizontal strip) */
.piste {
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

/* Panels */
.panel {
    flex: 0 0 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

.panel-wide {
    flex: 0 0 120vw;
}

.panel-title {
    flex: 0 0 80vw;
}

.panel-accent {
    background: var(--white);
}

.panel-end {
    flex: 0 0 60vw;
}

/* Upper / Lower split around center line */
.panel-upper {
    flex: 0 0 50%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 40px 60px 32px;
}

.panel-lower {
    flex: 0 0 50%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 32px 60px 40px;
    gap: 40px;
}

/* Display heading (Bebas Neue) */
.display-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(3rem, 6vw, 6rem);
    letter-spacing: 0.02em;
    color: var(--ink);
    text-transform: uppercase;
    line-height: 0.9;
}

.sub-text {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 4rem);
    color: var(--red);
    letter-spacing: 0.02em;
}

/* Section headings */
.section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.02em;
    color: var(--ink);
    text-transform: uppercase;
    line-height: 1;
}

/* Thrust blocks (neubrutalist panels) */
.thrust-block {
    background: var(--white);
    border: 3px solid var(--ink);
    padding: 20px 32px;
    box-shadow: 4px 4px 0 var(--ink);
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.thrust-block.thrust-in {
    opacity: 1;
    transform: translateX(0);
}

.thrust-number {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--red);
    display: block;
    margin-bottom: 4px;
}

/* Content cards */
.content-card {
    background: var(--white);
    border: 3px solid var(--ink);
    padding: 24px 32px;
    box-shadow: 4px 4px 0 var(--ink);
    max-width: 480px;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s cubic-bezier(0.2, 0, 0, 1) 0.1s;
}

.content-card.thrust-in {
    opacity: 1;
    transform: translateX(0);
}

/* Body text */
.body-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-mid);
}

.large-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--ink);
}

/* Metric blocks */
.metric-block {
    background: var(--ink);
    color: var(--white);
    padding: 20px 32px;
    box-shadow: 4px 4px 0 var(--red);
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.metric-block.thrust-in {
    opacity: 1;
    transform: translateX(0);
}

.metric-label {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
    display: block;
    margin-bottom: 4px;
}

.metric-value {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 48px;
    letter-spacing: 0.02em;
    line-height: 1;
}

.metric-block .metric-label {
    color: rgba(250, 250, 250, 0.5);
}

.metric-block .metric-value {
    color: var(--white);
}

.metric-inline {
    background: var(--ink);
    color: var(--white);
    padding: 16px 24px;
    box-shadow: 4px 4px 0 var(--red);
    display: inline-block;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.3s ease 0.2s, transform 0.3s cubic-bezier(0.2, 0, 0, 1) 0.2s;
}

.metric-inline.thrust-in {
    opacity: 1;
    transform: translateX(0);
}

.metric-inline .metric-label {
    color: rgba(250, 250, 250, 0.5);
}

.metric-inline .metric-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: var(--white);
    line-height: 1;
}

/* Weapon list */
.weapon-list {
    display: flex;
    gap: 24px;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.weapon-list.thrust-in {
    opacity: 1;
    transform: translateX(0);
}

.weapon-item {
    background: var(--white);
    border: 3px solid var(--ink);
    padding: 16px 24px;
    box-shadow: 4px 4px 0 var(--ink);
}

.weapon-name {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 28px;
    letter-spacing: 0.02em;
    color: var(--ink);
    display: block;
    line-height: 1;
}

.weapon-desc {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--red);
    text-transform: uppercase;
}

/* End section */
.end-text {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(3rem, 6vw, 6rem);
    letter-spacing: 0.02em;
    color: var(--red);
}

.end-domain {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.04em;
    color: var(--ink);
}

/* Line terminator circle */
.line-terminator {
    position: absolute;
    right: 40px;
    top: calc(50vh - 8px);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--red);
}

/* Mobile */
@media (max-width: 600px) {
    .panel-upper,
    .panel-lower {
        padding: 20px 24px;
    }

    .weapon-list {
        flex-direction: column;
        gap: 12px;
    }

    .content-card {
        max-width: 100%;
    }
}
