:root {
    --surface: #f8f9ff;
    --surface-low: #eef4ff;
    --surface-card: #ffffff;
    --surface-soft: #e5efff;
    --text: #0d1c2d;
    --muted: #5f6c7d;
    --line: rgba(72, 92, 116, 0.18);
    --primary: #131726;
    --secondary: #00668a;
    --accent: #c4e7ff;
    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--surface);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.68;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.wrap {
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
}

.ticker {
    background: var(--surface-soft);
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    gap: 2rem;
    padding: 0.75rem 0;
    min-width: max-content;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ticker-item span:first-child {
    color: var(--muted);
}

.ticker-up {
    color: #1b8f63;
}

.ticker-down {
    color: #b84c4c;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(248, 249, 255, 0.88);
    backdrop-filter: blur(18px);
}

.header-row,
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.header-row {
    min-height: 78px;
}

.brand,
.nav a,
.footer-links a,
.pill,
.article-link,
.button {
    text-decoration: none;
}

.brand {
    font-family: "Newsreader", serif;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav a,
.footer-links a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.nav a:hover,
.footer-links a:hover,
.article-link:hover {
    color: var(--secondary);
}

.hero {
    padding: 2rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
    gap: 0;
    background: var(--surface-card);
}

.hero-media {
    min-height: 560px;
    background:
        linear-gradient(180deg, rgba(2, 48, 89, 0.12), rgba(2, 48, 89, 0.02)),
        linear-gradient(135deg, #66baf0 0%, #91d6ff 40%, #d8efff 100%);
    position: relative;
    overflow: hidden;
}

.hero-media::before,
.hero-media::after {
    content: "";
    position: absolute;
    inset: 12% auto 12% 18%;
    width: 30%;
    background: linear-gradient(180deg, rgba(18, 44, 77, 0.8), rgba(40, 90, 140, 0.45));
    transform: skewX(-8deg);
    box-shadow: 130px -30px 0 rgba(18, 44, 77, 0.7);
}

.hero-media::after {
    inset: 22% auto 8% 42%;
    width: 22%;
    transform: skewX(-7deg);
    box-shadow: none;
    background: linear-gradient(180deg, rgba(13, 35, 61, 0.72), rgba(40, 90, 140, 0.4));
}

.hero-copy {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow,
.section-label,
.meta,
.sidebar-title,
.small-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.eyebrow,
.section-label {
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.article-card h3,
.sidebar-card h4,
.article-page h1,
.article-content h2,
.imprint-card h1 {
    font-family: "Newsreader", serif;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    margin-top: 1rem;
    font-size: clamp(2.9rem, 6vw, 4.8rem);
    max-width: 12ch;
}

.hero-copy p {
    margin-top: 1.3rem;
    color: var(--muted);
    max-width: 48ch;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-author {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-author-dot {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: var(--surface-low);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 0.82rem;
}

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.85fr);
    gap: 4rem;
    padding-bottom: 4rem;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: 0.82rem;
    font-family: "Inter", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.section-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.article-list {
    display: grid;
    gap: 3rem;
}

.article-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.6rem;
    align-items: start;
}

.article-card:hover .article-thumb img {
    transform: scale(1.05);
}

.article-thumb {
    aspect-ratio: 3 / 2;
    background:
        linear-gradient(135deg, rgba(0, 102, 138, 0.1), rgba(0, 102, 138, 0.02)),
        var(--surface-soft);
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

.article-card h3 {
    margin-top: 0.65rem;
    font-size: 2rem;
}

.article-card p {
    margin-top: 0.85rem;
    color: var(--muted);
}

.meta {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.68rem;
    font-weight: 800;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.45rem;
    background: var(--surface-soft);
    color: var(--secondary);
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.article-link::after,
.button::after {
    content: "→";
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.1rem;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border: none;
}

.button-light {
    background: var(--surface-card);
    color: var(--primary);
    border: 1px solid var(--line);
}

.sidebar {
    display: grid;
    gap: 3rem;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.3rem;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
}

.sidebar-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.sidebar-list,
.rank-list {
    display: grid;
    gap: 1rem;
}

.sidebar-list a,
.rank-list a {
    text-decoration: none;
}

.sidebar-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text);
    font-size: 0.92rem;
}

.sidebar-row small,
.rank-list small {
    color: var(--muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rank-item {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.9rem;
}

.rank-number {
    font-family: "Newsreader", serif;
    font-size: 1.9rem;
    font-style: italic;
    color: #bac4d3;
}

.newsletter {
    padding: 2rem;
    background: var(--primary);
    color: #ffffff;
}

.newsletter h4 {
    font-family: "Newsreader", serif;
    font-size: 1.7rem;
    line-height: 1.05;
}

.newsletter p {
    margin-top: 0.8rem;
    color: rgba(255, 255, 255, 0.76);
}

.newsletter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.4rem;
    min-height: 3rem;
    width: 100%;
    background: #ffffff;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-decoration: none;
}

.footer {
    padding: 2rem 0 3rem;
    border-top: 1px solid rgba(72, 92, 116, 0.12);
}

.footer-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.footer-copy {
    color: var(--muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.article-page .site-header {
    background: rgba(248, 249, 255, 0.92);
}

.article-shell {
    width: min(calc(100% - 2rem), 860px);
    margin: 0 auto;
    padding: 3rem 0 4rem;
}

.imprint-card {
    background: var(--surface-card);
    padding: 2.25rem;
}

.article-page article {
    background: var(--surface-card);
}

.article-page .article-card,
.article-page .imprint-card {
    padding: 2.4rem;
    border: 1px solid rgba(72, 92, 116, 0.12);
}

.article-page h1,
.imprint-card h1 {
    margin-top: 0.8rem;
    font-size: clamp(2.7rem, 5vw, 4.3rem);
}

.article-meta {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.article-content {
    margin-top: 1.6rem;
}

.article-content h2 {
    margin: 2rem 0 0.8rem;
    font-size: 2rem;
}

.article-content p,
.article-content li {
    color: var(--text);
}

.article-content p + p {
    margin-top: 1rem;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 0 1.2rem;
}

@media (max-width: 980px) {
    .hero-grid,
    .page-grid,
    .article-card {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: 360px;
    }

    .page-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 720px) {
    .header-row,
    .footer-row,
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-copy,
    .newsletter,
    .article-page .article-card,
    .article-page .imprint-card {
        padding: 1.5rem;
    }

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

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }
}
