:root {
    --bg: #080909;
    --ink: #f3ead7;
    --muted: #b7a88b;
    --accent: #ff5a36;
    --accent-dim: rgba(255, 90, 54, 0.22);
    --panel: rgba(10, 10, 10, 0.44);
    --panel-border: rgba(255, 255, 255, 0.08);
    --shadow: rgba(0, 0, 0, 0.65);
}

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

html,
body {
    min-height: 100%;
}

body {
    overflow: hidden;
    background: var(--bg);
    color: var(--ink);
    font-family: "IBM Plex Mono", monospace;
}

.video-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -3;
}

#bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05) brightness(0.52);
    transform: scale(1.04);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 90, 54, 0.2), transparent 26%),
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.06), transparent 22%),
        linear-gradient(120deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72) 48%, rgba(0, 0, 0, 0.9));
    z-index: 1;
}

.noise-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.18;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 4px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02) 0,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 5px
        );
    mix-blend-mode: soft-light;
    animation: static-drift 9s linear infinite;
}

.hero-shell {
    min-height: 100vh;
    position: relative;
    z-index: 3;
    padding: clamp(20px, 3vw, 40px);
}

.hero-grid {
    min-height: calc(100vh - clamp(40px, 6vw, 80px));
    display: grid;
    grid-template-columns: 1.1fr 0.7fr;
    grid-template-rows: auto 1fr auto auto;
    gap: clamp(18px, 2vw, 28px);
    align-items: end;
}

.utility {
    font-size: 0.72rem;
    line-height: 1.5;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(243, 234, 215, 0.66);
}

.utility-top {
    grid-column: 1 / 2;
    align-self: start;
}

.audio-toggle--inline {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    justify-self: start;
    align-self: start;
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: clamp(2.3rem, 4vw, 4.4rem);
}

.utility-right {
    grid-column: 2 / 3;
    justify-self: end;
    align-self: start;
    max-width: 18rem;
    text-align: right;
}

.headline-stack {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
    align-self: center;
    max-width: 58rem;
    margin-top: -1.1rem;
}

.hero-title {
    font-family: "Anton", sans-serif;
    font-size: clamp(5rem, 14vw, 11rem);
    line-height: 0.86;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.58);
}

.title-line {
    display: block;
    transform: translateY(24px);
    opacity: 0;
}

.ready .title-line {
    animation: rise-in 0.95s cubic-bezier(.2, .8, .2, 1) forwards;
}

.ready .title-line:nth-child(2) {
    animation-delay: 0.08s;
}

.ready .title-line:nth-child(3) {
    animation-delay: 0.16s;
}

.ready .title-line:nth-child(4) {
    animation-delay: 0.24s;
}

.title-line-offset {
    margin-left: 0.7ch;
}

.title-line-accent {
    color: var(--accent);
    text-shadow:
        0 0 16px rgba(255, 90, 54, 0.26),
        0 0 50px rgba(255, 90, 54, 0.14);
}

.manifesto {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    align-self: center;
    justify-self: end;
    max-width: 26rem;
    padding: 1.4rem 1.5rem;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.58), rgba(18, 18, 18, 0.28));
    border: 1px solid var(--panel-border);
    box-shadow: 0 20px 50px var(--shadow);
    backdrop-filter: blur(12px);
}

.manifesto-line {
    font-size: clamp(0.96rem, 1.2vw, 1.08rem);
    line-height: 1.7;
    color: var(--ink);
}

.manifesto-line + .manifesto-line {
    margin-top: 1rem;
    color: rgba(243, 234, 215, 0.82);
}

.side-card {
    align-self: end;
    max-width: 18rem;
    padding: 1rem 1rem 1.15rem;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    box-shadow: 0 16px 40px var(--shadow);
    backdrop-filter: blur(10px);
}

.side-card-left {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    justify-self: start;
}

.side-card-right {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    justify-self: end;
}

.card-label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.72rem;
}

.side-card p {
    color: rgba(243, 234, 215, 0.82);
    line-height: 1.65;
    font-size: 0.88rem;
}

.footer-strip {
    grid-column: 1 / 3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: flex-start;
    align-self: end;
}

.footer-strip span {
    padding: 0.75rem 0.95rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(243, 234, 215, 0.78);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.68rem;
}

.audio-toggle {
    position: fixed;
    z-index: 8;
    min-width: 12.5rem;
    padding: 0.95rem 1rem 0.85rem;
    display: grid;
    grid-template-columns: 12px 1fr;
    grid-template-rows: auto auto;
    gap: 0.15rem 0.8rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(18, 18, 18, 0.92), rgba(10, 10, 10, 0.84)),
        linear-gradient(90deg, rgba(255, 90, 54, 0.08), transparent 45%);
    color: var(--ink);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    cursor: pointer;
    text-align: left;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
}

.audio-toggle::before,
.audio-toggle::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.audio-toggle::before {
    inset: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.audio-toggle::after {
    top: -1px;
    left: 18px;
    width: 42px;
    height: 3px;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(255, 90, 54, 0.45);
}

.audio-toggle__led {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 90, 54, 0.35);
    box-shadow: 0 0 0 1px rgba(255, 90, 54, 0.2);
}

.audio-toggle__text {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
}

.audio-toggle__state {
    color: rgba(243, 234, 215, 0.56);
    font-size: 0.62rem;
    letter-spacing: 0.28em;
}

.audio-toggle:not(.is-live) {
    animation: audio-toggle-idle 1.9s ease-in-out infinite;
}

.audio-toggle:not(.is-live) .audio-toggle__led {
    animation: audio-led-idle 1.1s ease-in-out infinite;
}

.audio-toggle:not(.is-live) .audio-toggle__state {
    color: rgba(255, 90, 54, 0.82);
}

.audio-toggle.is-live .audio-toggle__led {
    background: var(--accent);
    box-shadow:
        0 0 10px rgba(255, 90, 54, 0.85),
        0 0 20px rgba(255, 90, 54, 0.3);
}

.audio-toggle:focus-visible {
    outline: 2px solid rgba(255, 90, 54, 0.7);
    outline-offset: 3px;
}

.audio-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes static-drift {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-1.5%, 0.8%, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes audio-toggle-idle {
    0%,
    100% {
        box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.45),
            inset 0 0 0 1px rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.14);
    }

    50% {
        box-shadow:
            0 18px 48px rgba(0, 0, 0, 0.5),
            0 0 28px rgba(255, 90, 54, 0.12),
            inset 0 0 0 1px rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 90, 54, 0.32);
    }
}

@keyframes audio-led-idle {
    0%,
    100% {
        background: rgba(255, 90, 54, 0.28);
        box-shadow: 0 0 0 1px rgba(255, 90, 54, 0.2);
        transform: scale(1);
    }

    50% {
        background: rgba(255, 90, 54, 0.95);
        box-shadow:
            0 0 10px rgba(255, 90, 54, 0.9),
            0 0 24px rgba(255, 90, 54, 0.28);
        transform: scale(1.15);
    }
}

@media (max-width: 900px) {
    body {
        overflow-y: auto;
    }

    .hero-shell {
        padding: 22px 18px 28px;
    }

    .hero-grid {
        min-height: 100vh;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto auto;
        align-items: start;
    }

    .utility-top,
    .utility-right,
    .audio-toggle--inline,
    .headline-stack,
    .manifesto,
    .side-card-left,
    .side-card-right,
    .footer-strip {
        grid-column: 1 / 2;
        justify-self: stretch;
    }

    .utility-right {
        text-align: left;
        max-width: none;
    }

    .headline-stack {
        grid-row: auto;
        margin-top: 1rem;
    }

    .hero-title {
        font-size: clamp(4.2rem, 24vw, 7rem);
    }

    .title-line-offset {
        margin-left: 0;
    }

    .manifesto,
    .side-card {
        max-width: none;
    }

    .footer-strip {
        padding-bottom: 1rem;
    }

    .audio-toggle {
        min-width: 0;
    }

    .audio-toggle--inline {
        margin-top: 0.35rem;
    }
}
