/* [RESET] */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important;
    /* STRICT NO RADIUS */
}

:root {
    --color-bg: #050505;
    --color-text: #F0F0F0;
    --color-accent: #FF1F1F;
    /* Neon Red */
    --color-grid: #333333;

    --font-primary: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-primary);
    overflow-x: hidden;
    cursor: crosshair;
    /* Raw cursor */
}

a {
    color: inherit;
    text-decoration: none;
}

/* [GRID_OVERLAY] */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 0;
    padding: 0 var(--spacing-md);
}

.grid-line {
    width: 1px;
    height: 100%;
    background-color: var(--color-grid);
    opacity: 0.5;
}

/* [HEADER] */
.brutal-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 2px solid var(--color-text);
    background-color: var(--color-bg);
    z-index: 100;
}

.brand {
    display: flex;
    flex-direction: column;
}

.mono-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-accent);
}

.brutal-header h1 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.nav-item:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
    padding: 0 5px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
}

.blink {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    display: block;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* [HERO] */
.hero-section {
    position: relative;
    padding-top: 15vh;
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-text);
    z-index: 10;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid var(--color-grid);
    border-bottom: 1px solid var(--color-grid);
    padding: 10px 0;
    background: var(--color-text);
    color: var(--color-bg);
    font-family: var(--font-mono);
    font-weight: 700;
    transform: rotate(-1deg) scale(1.05);
    margin-bottom: var(--spacing-md);
    display: flex;
}

.marquee-content {
    display: flex;
    /* Changed from inline-block to flex for seamless join */
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    /* Padding removed for continuous flow */
    /* padding-right: 50px; */
    font-size: 1.5rem;
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.massive-type {
    font-size: 25vw;
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.05em;
    text-align: center;
    margin: var(--spacing-sm) 0;
    -webkit-text-stroke: 2px var(--color-text);
    color: transparent;
    transition: all 0.3s ease;
}

.massive-type:hover {
    color: var(--color-accent);
    -webkit-text-stroke: 2px var(--color-accent);
}

.hero-meta {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--color-text);
    padding-top: var(--spacing-md);
    font-family: var(--font-mono);
}

.meta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.meta-block .label {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.meta-block .value {
    font-size: 1.2rem;
    font-weight: 700;
}

/* [MANIFESTO_GRID] */
.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 2px solid var(--color-text);
}

.grid-item {
    border-right: 2px solid var(--color-text);
    border-bottom: 2px solid var(--color-text);
    padding: var(--spacing-md);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.grid-item:nth-child(even) {
    border-right: none;
}

.mono-title {
    font-family: var(--font-mono);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent);
}

.body-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.arrow-icon {
    font-family: var(--font-primary);
    font-size: 3rem;
    align-self: flex-end;
}

.stat-block {
    justify-content: center;
    align-items: center;
    background-color: var(--color-text);
    color: var(--color-bg);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 1rem;
}

.stat-large {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -2px;
}

/* [ABSTRACT_SHAPES] */
.abstract-shape {
    width: 60%;
    height: 60%;
    background-color: var(--color-accent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.shape-01 {
    clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
}

.shape-02 {
    border-radius: 50%;
    /* Just kidding, overwritten by reset? NO, scoped. */
    /* Actually reset has !important so round won't work easily. Let's make it diamond */
    border-radius: 0 !important;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 5px solid var(--color-bg);
    background: transparent;
}

.visual-block.invert {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

.shape-02 {
    border-color: var(--color-bg);
}

/* [TICKER_TAPE] */
.ticker-tape {
    background-color: var(--color-accent);
    color: var(--color-bg);
    padding: var(--spacing-sm) 0;
    font-weight: 900;
    font-size: 3rem;
    white-space: nowrap;
    overflow: hidden;
    font-family: var(--font-primary);
}

.tape-content {
    animation: marquee-rev 15s linear infinite;
    display: inline-block;
}

@keyframes marquee-rev {
    0% {
        transform: translate(-50%, 0);
    }

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

/* [FOOTER] */
.brutal-footer {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-col.right {
    text-align: right;
}

/* [THESIS_PAGE_STYLES] */
.thesis-hero {
    border-bottom: none;
}

.thesis-title {
    font-size: 15vw;
}

.thesis-grid {
    display: block;
    padding-bottom: 5rem;
}

.thesis-text-block {
    border: none;
    aspect-ratio: auto;
    min-height: auto;
}

.thesis-intro-text {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.thesis-history-list {
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1.6;
}

.thesis-body-text {
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.thesis-request {
    font-size: 1.5rem;
    color: var(--color-accent);
}

/* [MOBILE_RESPONSIVE] */
@media (max-width: 768px) {

    /* RESET / GLOBAL */
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 3rem;
    }

    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* HEADER */
    .brutal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }

    .brutal-header h1 {
        font-size: 3.5rem;
        /* Bigger logo */
    }

    .status-indicator {
        display: none;
        /* Hide LIVE status */
    }

    .nav-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        /* Stack nav items */
        gap: 0.5rem;
        font-size: 1rem;
    }

    .marquee-content span {
        font-size: 1rem;
        /* Smaller marquee text */
    }

    /* HERO */
    .hero-section {
        padding-top: 160px;
        /* Account for taller header */
        padding-bottom: 3rem;
    }

    .massive-type {
        font-size: 28vw;
        /* Much bigger hero */
        letter-spacing: -2px;
        margin: 1rem 0;
    }

    .hero-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
        /* Tighter gap */
        justify-content: flex-start;
        padding: 0.5rem 1rem;
        flex-direction: column;
        /* Stack meta items */
    }

    .meta-block {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .meta-block .label {
        font-size: 0.7rem;
        /* Smaller label */
        margin-bottom: 2px;
    }

    .meta-block .value {
        font-size: 1rem;
        /* Smaller value */
    }

    /* Fixed stray brace */

    /* MANIFESTO GRID */
    .manifesto-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        /* Force 1 column */
        width: 100%;
    }

    .grid-item {
        border-right: none;
        border-bottom: 2px solid var(--color-text);
        width: 100%;
        min-height: auto;
        padding: 2rem 1rem;
    }

    .text-block {
        min-height: auto;
    }

    .visual-block {
        display: none;
        /* Hide abstract shapes on mobile */
    }

    .body-text {
        font-size: 1.65rem;
        /* Increased by 50% */
        line-height: 1.4;
    }

    .stat-large {
        font-size: 5.25rem;
        /* Increased by 50% */
    }

    /* THESIS SPECIFIC FIXES */
    .thesis-title {
        font-size: 18vw;
        /* Slightly smaller than desktop but big enough */
    }

    .thesis-grid {
        padding-bottom: 3rem;
    }

    .thesis-intro-text,
    .thesis-body-text,
    .thesis-request {
        font-size: 1.2rem;
        /* Readable mobile size */
    }

    .thesis-history-list {
        font-size: 1rem;
    }

    /* FOOTER */
    .brutal-footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-col.right {
        text-align: center;
    }
}