/* political.bar - Retro-futuristic inflated-3D editorial */
/* Colors: #0b1426 #1e3a5f #f5f5f0 #f4a261 #00b4d8 #6b7280 #e76f51 #f8f4e8 */
/* Fonts: Space Grotesk, Source Serif 4, Share Tech Mono */

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

:root {
    --deep-navy: #0b1426;
    --steel-blue: #1e3a5f;
    --near-white: #f5f5f0;
    --warm-amber: #f4a261;
    --electric-teal: #00b4d8;
    --medium-gray: #6b7280;
    --accent-orange: #e76f51;
    --cream: #f8f4e8;
    --font-primary: 'Space Grotesk', sans-serif;
    --font-body: 'Source Serif 4', serif;
    --font-mono: 'Share Tech Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--deep-navy);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===========================
   NAVIGATION
   =========================== */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11, 20, 38, 0.95);
    backdrop-filter: blur(8px);
    padding: 16px 24px;
    transition: all 0.15s ease;
}

.nav-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--near-white);
    text-decoration: none;
    transition: transform 0.15s ease;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.logo-dot {
    color: var(--warm-amber);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--medium-gray);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.15s ease, transform 0.15s ease;
}

.nav-link:hover {
    color: var(--near-white);
    transform: scale(1.02);
}

.nav-link--cta {
    background: var(--warm-amber);
    color: var(--deep-navy);
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.15s ease;
    box-shadow:
        0 2px 0 #c47d3a,
        0 4px 0 #a36830,
        0 6px 8px rgba(0, 0, 0, 0.2);
}

.nav-link--cta:hover {
    color: var(--deep-navy);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 4px 0 #c47d3a,
        0 6px 0 #a36830,
        0 8px 12px rgba(0, 0, 0, 0.25);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 120px 24px 64px;
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600"><rect fill="%231e3a5f" width="800" height="600"/><rect fill="%230b1426" x="0" y="200" width="800" height="200" opacity="0.5"/><circle cx="400" cy="300" r="150" fill="%23f4a261" opacity="0.08"/><circle cx="200" cy="150" r="80" fill="%2300b4d8" opacity="0.06"/><rect fill="%23f8f4e8" x="350" y="250" width="100" height="100" opacity="0.04"/></svg>') center/cover no-repeat;
    filter: sepia(0.4) grayscale(0.3) contrast(1.1);
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-image.zoomed {
    transform: scale(1.12);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 20, 38, 0.3) 0%,
        rgba(11, 20, 38, 0.6) 50%,
        rgba(11, 20, 38, 0.92) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    width: 100%;
    text-align: left;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--electric-teal);
    background: rgba(0, 180, 216, 0.12);
    border: 1px solid rgba(0, 180, 216, 0.3);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--near-white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: rgba(245, 245, 240, 0.75);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 560px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.meta-author,
.meta-date,
.meta-read {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--medium-gray);
    letter-spacing: 0.02em;
}

.meta-separator {
    color: var(--steel-blue);
    font-size: 0.75rem;
}

/* ===========================
   INFLATED BUTTONS
   =========================== */

.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    padding: 14px 32px;
    position: relative;
    transition: all 0.15s ease;
}

.btn--inflated {
    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.15),
        0 4px 0 rgba(0, 0, 0, 0.12),
        0 6px 0 rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn--inflated:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.15),
        0 6px 0 rgba(0, 0, 0, 0.12),
        0 8px 0 rgba(0, 0, 0, 0.08),
        0 12px 24px rgba(0, 0, 0, 0.25);
}

.btn--inflated:active {
    transform: translateY(1px) scale(0.98);
    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.15),
        0 2px 0 rgba(0, 0, 0, 0.1),
        0 3px 8px rgba(0, 0, 0, 0.15);
}

.btn--primary {
    background: linear-gradient(180deg, var(--warm-amber) 0%, #e8923a 100%);
    color: var(--deep-navy);
}

/* ===========================
   DIAMOND DIVIDERS
   =========================== */

.diamond-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 24px;
    max-width: 680px;
    margin: 0 auto;
}

.diamond-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--steel-blue), transparent);
}

.diamond-shape {
    width: 12px;
    height: 12px;
    background: var(--warm-amber);
    transform: rotate(45deg);
    border: 2px solid var(--steel-blue);
    flex-shrink: 0;
    transition: transform 0.15s ease, background 0.15s ease;
}

.diamond-shape:hover {
    transform: rotate(45deg) scale(1.3);
    background: var(--electric-teal);
}

/* ===========================
   SECTIONS
   =========================== */

.section {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 24px 48px;
}

.section-heading {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 12px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--warm-amber);
    border-radius: 2px;
}

/* ===========================
   STORY CARDS
   =========================== */

.story-card {
    background: var(--near-white);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow:
        0 2px 0 rgba(30, 58, 95, 0.06),
        0 4px 0 rgba(30, 58, 95, 0.04),
        0 6px 0 rgba(30, 58, 95, 0.02),
        0 8px 24px rgba(11, 20, 38, 0.08);
    transition: all 0.15s ease;
    cursor: pointer;
}

.story-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 4px 0 rgba(30, 58, 95, 0.06),
        0 8px 0 rgba(30, 58, 95, 0.04),
        0 12px 0 rgba(30, 58, 95, 0.02),
        0 16px 32px rgba(11, 20, 38, 0.12);
}

.story-card__image {
    height: 200px;
    filter: sepia(0.4) grayscale(0.3) contrast(1.1);
    transition: filter 0.15s ease;
}

.story-card:hover .story-card__image {
    filter: sepia(0.2) grayscale(0.1) contrast(1.05);
}

.story-card__image--1 {
    background: linear-gradient(135deg, var(--steel-blue) 0%, var(--deep-navy) 60%, var(--warm-amber) 100%);
}

.story-card__image--2 {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--electric-teal) 50%, var(--steel-blue) 100%);
}

.story-card__image--3 {
    background: linear-gradient(135deg, var(--warm-amber) 0%, var(--accent-orange) 50%, var(--deep-navy) 100%);
}

.story-card__body {
    padding: 24px;
}

.story-card__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--electric-teal);
    background: rgba(0, 180, 216, 0.1);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.story-card__title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--deep-navy);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.story-card__excerpt {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.story-card__meta {
    display: flex;
    gap: 16px;
}

/* ===========================
   DATA DASHBOARD
   =========================== */

.data-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.data-card {
    background: var(--deep-navy);
    border-radius: 12px;
    padding: 24px;
    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.2),
        0 4px 0 rgba(0, 0, 0, 0.15),
        0 6px 0 rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.15s ease;
}

.data-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.2),
        0 8px 0 rgba(0, 0, 0, 0.15),
        0 12px 0 rgba(0, 0, 0, 0.1),
        0 16px 24px rgba(0, 0, 0, 0.25);
}

.data-card__label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--medium-gray);
    display: block;
    margin-bottom: 8px;
}

.data-card__value {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--near-white);
    margin-bottom: 12px;
    line-height: 1;
}

.data-bar {
    height: 8px;
    background: var(--steel-blue);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.data-bar__fill {
    height: 100%;
    background: var(--warm-amber);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.data-bar__fill--teal {
    background: var(--electric-teal);
}

.data-bar__fill--orange {
    background: var(--accent-orange);
}

.data-card__change {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.data-card__change--up {
    color: var(--electric-teal);
}

.data-card__change--down {
    color: var(--accent-orange);
}

/* ===========================
   OPINION CARDS
   =========================== */

.opinion-card {
    background: var(--near-white);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    border-left: 4px solid var(--warm-amber);
    box-shadow:
        0 2px 0 rgba(30, 58, 95, 0.06),
        0 4px 0 rgba(30, 58, 95, 0.04),
        0 6px 16px rgba(11, 20, 38, 0.06);
    transition: all 0.15s ease;
}

.opinion-card:hover {
    transform: translateY(-2px) scale(1.01);
    border-left-color: var(--electric-teal);
    box-shadow:
        0 4px 0 rgba(30, 58, 95, 0.06),
        0 8px 0 rgba(30, 58, 95, 0.04),
        0 12px 24px rgba(11, 20, 38, 0.1);
}

.opinion-card__quote {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--deep-navy);
    margin-bottom: 24px;
    quotes: none;
}

.opinion-card__author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.opinion-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--steel-blue), var(--electric-teal));
    flex-shrink: 0;
}

.opinion-card__avatar--2 {
    background: linear-gradient(135deg, var(--warm-amber), var(--accent-orange));
}

.opinion-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.opinion-card__name {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--deep-navy);
}

.opinion-card__role {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--medium-gray);
    letter-spacing: 0.02em;
}

/* ===========================
   SUBSCRIBE
   =========================== */

.section--subscribe {
    padding: 48px 24px 64px;
}

.subscribe-box {
    background: var(--deep-navy);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.2),
        0 8px 0 rgba(0, 0, 0, 0.15),
        0 12px 0 rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.2);
}

.subscribe-box__title {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--near-white);
    margin-bottom: 12px;
}

.subscribe-box__text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(245, 245, 240, 0.7);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.subscribe-form__input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    border: 2px solid var(--steel-blue);
    border-radius: 12px;
    background: rgba(30, 58, 95, 0.5);
    color: var(--near-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.15s ease;
}

.subscribe-form__input::placeholder {
    color: var(--medium-gray);
}

.subscribe-form__input:focus {
    outline: none;
    border-color: var(--electric-teal);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

.subscribe-box__note {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--medium-gray);
    letter-spacing: 0.02em;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
    background: var(--deep-navy);
    border-top: 1px solid var(--steel-blue);
    padding: 48px 24px;
}

.footer-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--near-white);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-link {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--medium-gray);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-link:hover {
    color: var(--near-white);
    transform: scale(1.02);
}

.footer-copy {
    color: var(--medium-gray);
}

/* ===========================
   ANIMATIONS & UTILITIES
   =========================== */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.ripple {
    position: fixed;
    border-radius: 50%;
    background: rgba(244, 162, 97, 0.3);
    transform: scale(0);
    animation: ripple-effect 0.6s ease-out forwards;
    pointer-events: none;
    z-index: 1000;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 640px) {
    .nav-links {
        gap: 12px;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .hero {
        min-height: 90vh;
        padding: 100px 16px 48px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section {
        padding: 24px 16px 32px;
    }

    .story-card__image {
        height: 140px;
    }

    .subscribe-box {
        padding: 32px 20px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .data-card__value {
        font-size: 2rem;
    }
}
