/* SWISS REBEL — Extreme typography, asymmetric, grid-breaking */

:root {
    --black: #000000;
    --white: #ffffff;
    --red: #E30513;
    --gray: #666666;
    --light-gray: #e5e5e5;
}

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

body {
    font-family: 'Source Sans 3', -apple-system, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.4;
    overflow-x: hidden;
}

/* Grid overlay */
.grid-lines {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1000;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 80px 100%;
}

/* Header */
.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 24px 40px;
    border-bottom: 4px solid var(--black);
}

.header-left {
    display: flex;
    gap: 24px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.issue {
    color: var(--red);
}

.date {
    color: var(--gray);
}

.logo {
    font-family: 'Anton', sans-serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 4px;
    text-align: center;
}

.header-right {
    display: flex; align-items: center; gap: 24px; justify-content: flex-end;
}

.tagline {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero */
.hero {
    padding: 80px 40px;
}

.hero-asymmetric {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.hero-left {
    border-left: 1px solid var(--black);
    padding-left: 40px;
}

.kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 32px;
}

.headline {
    font-family: 'Anton', sans-serif;
    font-size: clamp(56px, 12vw, 140px);
    font-weight: 400;
    line-height: 0.85;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.line {
    display: block;
}

.line-break {
    color: var(--red);
    padding-left: 40px;
}

.hero-right {
    padding-top: 20px;
}

.statement {
    font-size: 20px;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 48px;
    font-weight: 400;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    border-bottom: 3px solid var(--black);
    padding-bottom: 8px;
    transition: all 0.2s;
}

.cta:hover {
    color: var(--red);
    border-color: var(--red);
}

.arrow {
    font-size: 20px;
    transition: transform 0.2s;
}

.cta:hover .arrow {
    transform: translateX(8px);
}

/* Manifesto */
.manifesto {
    background: var(--black);
    color: var(--white);
    padding: 80px 40px;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--white);
}

.manifesto-item {
    background: var(--black);
    padding: 48px 32px;
}

.number {
    font-family: 'Anton', sans-serif;
    font-size: 72px;
    font-weight: 400;
    color: var(--red);
    line-height: 1;
    display: block;
    margin-bottom: 16px;
}

.manifesto-item h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.manifesto-item p {
    font-size: 13px;
    line-height: 1.7;
    color: #999;
}

/* Latest */
.latest {
    padding: 80px 40px;
}

.latest-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.divider {
    flex: 1;
    height: 1px;
    background: var(--black);
}

.category {
    font-size: 11px;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 2px;
}

.feature {
    border-top: 6px solid var(--black);
    padding-top: 32px;
}

.feature-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.feature-title a {
    color: inherit;
    text-decoration: none;
}

.feature-title a:hover {
    color: var(--red);
}

.feature-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray);
    max-width: 700px;
    margin-bottom: 24px;
}

.feature-meta {
    display: flex;
    gap: 32px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.time {
    color: var(--black);
}

.includes {
    color: var(--red);
}

/* Footer */
.footer {
    padding: 40px;
    border-top: 4px solid var(--black);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: 'Anton', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
}

.footer-copy {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
}

/* Animations */
.headline .line {
    opacity: 0;
    animation: lineReveal 0.6s ease forwards;
}

.headline .line:nth-child(1) { animation-delay: 0.1s; }
.headline .line:nth-child(2) { animation-delay: 0.3s; }
.headline .line:nth-child(3) { animation-delay: 0.5s; }

@keyframes lineReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.manifesto-item {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.manifesto-item:nth-child(1) { animation-delay: 0.7s; }
.manifesto-item:nth-child(2) { animation-delay: 0.9s; }
.manifesto-item:nth-child(3) { animation-delay: 1.1s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
    .header {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .header-left, .header-right {
        justify-content: center;
    }

    .hero-asymmetric {
        grid-template-columns: 1fr;
    }

    .hero-left {
        border-left: none;
        padding-left: 0;
    }

    .manifesto-grid {
        grid-template-columns: 1fr;
    }

    .line-break {
        padding-left: 0;
    }
}

/* Subscribe Form */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 320px;
}

.subscribe-form input[type="email"] {
    width: 100%;
    padding: 12px 0;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid var(--black);
    background: transparent;
    color: var(--black);
    transition: border-color 0.2s;
}

.subscribe-form input[type="email"]::placeholder {
    color: var(--gray);
    font-style: italic;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-bottom-color: var(--red);
}

.subscribe-form button {
    width: fit-content;
}

.subscribe-form.loading .arrow {
    animation: loading 1s infinite;
}

@keyframes loading {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.form-message {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 8px;
    display: none;
}

.form-message.success {
    color: var(--red);
    display: block;
}

.form-message.error {
    color: var(--red);
    display: block;
}

/* Mobile: full width form */
@media (max-width: 900px) {
    .subscribe-form {
        max-width: 100%;
    }
}

/* CRO: Form Value Proposition */
.form-benefit {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* CRO: Form Input Group */
.form-input-group {
    position: relative;
}

/* CRO: Privacy Note */
.privacy-note {
    font-size: 10px;
    color: var(--gray);
    margin-top: 6px;
    font-style: italic;
    text-align: left;
}

/* CRO: Social Proof */
.social-proof {
    font-size: 11px;
    font-weight: 600;
    color: var(--red);
    margin-top: 12px;
    letter-spacing: 1px;
}

/* CRO: Input improvements */
.subscribe-form input[type="email"] {
    padding: 14px 0;
    font-size: 15px;
}

.subscribe-form input[type="email"]:focus {
    background: rgba(227, 5, 19, 0.02);
}

/* CRO: Split Color Button */
.subscribe-form button.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--black) 70%, var(--red) 70%);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    padding-bottom: 0;
    border-bottom: none;
}

.subscribe-form button.cta:hover {
    background: linear-gradient(90deg, var(--black) 60%, var(--red) 60%);
}

.subscribe-form button.cta .arrow {
    font-size: 18px;
    margin-left: auto;
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--black);
    transition: all 0.2s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    color: var(--red);
    transform: scale(1.1);
}

/* Mobile: Social links */
@media (max-width: 900px) {
    .social-links {
        margin-left: 0;
        margin-top: 8px;
    }
}

/* Article Page */
.issue-link {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    text-decoration: none;
}

.issue-link:hover {
    color: var(--black);
}

.article-main {
    padding-bottom: 80px;
}

.article-hero {
    padding: 72px 40px 40px;
    border-bottom: 4px solid var(--black);
}

.article-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: start;
}

.article-hero-left {
    border-left: 1px solid var(--black);
    padding-left: 40px;
}

.article-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(52px, 8vw, 104px);
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.article-hero-right {
    padding-top: 12px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
}

.article-dek {
    font-size: 22px;
    line-height: 1.55;
    margin-bottom: 32px;
    max-width: 34rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 760px);
    gap: 56px;
    padding: 56px 40px 0;
    align-items: start;
}

.article-rail {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rail-box {
    border-top: 4px solid var(--black);
    padding-top: 18px;
}

.rail-label,
.callout-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
}

.rail-box p,
.rail-list li {
    font-size: 14px;
    line-height: 1.7;
}

.rail-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.article-body {
    font-size: 20px;
    line-height: 1.75;
}

.article-body p,
.article-body ul,
.article-body h3,
.article-body h4,
.article-body .article-callout,
.article-body .article-cta {
    margin-bottom: 28px;
}

.article-body h3 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-top: 48px;
}

.article-body h4 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.article-body ul {
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-callout,
.article-cta {
    padding: 28px 32px;
    border: 4px solid var(--black);
    background: var(--white);
}

.article-callout {
    margin-top: 36px;
}

.article-cta {
    background: var(--black);
    color: var(--white);
}

.article-cta a {
    color: var(--white);
}

.article-subscribe {
    padding: 72px 40px 0;
}

.article-subscribe-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    align-items: start;
    border-top: 4px solid var(--black);
    padding-top: 40px;
}

.article-subscribe-copy h3 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 0.95;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.article-subscribe-copy p {
    max-width: 34rem;
    font-size: 18px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .article-hero,
    .article-layout,
    .article-subscribe {
        padding-left: 24px;
        padding-right: 24px;
    }

    .article-hero-grid,
    .article-layout,
    .article-subscribe-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .article-hero-left {
        border-left: none;
        padding-left: 0;
    }

    .article-rail {
        position: static;
    }

    .article-title {
        font-size: clamp(42px, 14vw, 72px);
    }

    .article-body {
        font-size: 18px;
    }

    .article-meta {
        flex-wrap: wrap;
    }
}
