:root {
    --navy: #071422;
    --navy-2: #0c1c33;
    --navy-3: #132844;
    --gold: #e4b45c;
    --gold-2: #c9963a;
    --bg: #f3f5f8;
    --card: #ffffff;
    --text: #172033;
    --muted: #6c7684;
    --line: #e7edf3;
    --shadow: 0 14px 40px rgba(16, 32, 58, 0.08);
    --radius: 18px;
    --header: 78px;
    --tab: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Manrope, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }

.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--navy);
    color: #fff;
    height: var(--header);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.header-bar { display: flex; align-items: center; gap: 28px; width: min(1180px, calc(100% - 32px)); }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; }
.desk-nav { display: flex; align-items: center; gap: 22px; flex: 1; }
.desk-nav a {
    color: rgba(255,255,255,.88);
    font-size: 14.5px;
    font-weight: 650;
}
.desk-nav a.active, .desk-nav a:hover { color: var(--gold); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
    width: 40px; height: 40px; border: 0; background: transparent; color: #fff;
    border-radius: 10px; display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: rgba(255,255,255,.06); }
.tool-rule { width: 1px; height: 22px; background: rgba(255,255,255,.16); margin: 0 4px; }

.page { padding: 22px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.65fr .9fr; gap: 18px; align-items: stretch; }
.hero {
    position: relative; min-height: 460px; border-radius: 22px; overflow: hidden;
    background: var(--navy-2); color: #fff; box-shadow: var(--shadow);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img, .hero-fallback { width: 100%; height: 100%; object-fit: cover; }
.hero-fallback { background: radial-gradient(circle at 70% 30%, #1d3e6e, #071422 70%); }
.hero-slide::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(5,12,24,.05) 20%, rgba(5,12,24,.88) 100%);
}
.hero-copy { position: absolute; left: 28px; right: 88px; bottom: 26px; z-index: 2; }
.kicker {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 14px; height: 2px; background: var(--gold); }
.when { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 600; margin-top: 8px; }
.hero-copy h1 { margin: 8px 0 8px; font-size: 34px; line-height: 1.15; letter-spacing: -0.03em; }
.hero-copy p { margin: 0 0 16px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.45; max-width: 620px; }
.btn {
    display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
    padding: 10px 16px; font-weight: 750; font-size: 14px; border: 0; cursor: pointer;
}
.btn-light { background: #fff; color: var(--navy); }
.btn-gold { background: var(--gold); color: #1b1406; }
.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.hero-nav { position: absolute; right: 18px; bottom: 22px; z-index: 3; display: flex; gap: 8px; }
.hero-nav button {
    width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(6px);
}

.side-card, .panel, .story-card, .newsletter {
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.side-card { padding: 18px 18px 8px; }
.section-head, .side-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px;
}
.section-head h2, .side-head h2 {
    margin: 0; font-size: 20px; display: flex; align-items: center; gap: 10px;
}
.section-head h2::before, .side-head h2::before {
    content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--gold);
}
.more { color: #5d6b80; font-size: 13px; font-weight: 750; }
.more:hover { color: var(--gold-2); }
.latest-item {
    display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 12px 0;
    border-top: 1px solid var(--line);
}
.latest-item img, .thumb-fallback {
    width: 74px; height: 62px; object-fit: cover; border-radius: 10px; background: #d9e1ea;
}
.latest-item h3 { margin: 4px 0 0; font-size: 14.5px; line-height: 1.3; }
.meta { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; font-weight: 700; }
.meta .kicker { letter-spacing: .04em; }
.meta .kicker::before { display: none; }

.chips { display: flex; gap: 10px; overflow: auto; padding: 18px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    background: #fff; border-radius: 999px; padding: 10px 14px; font-weight: 750; font-size: 14px;
    box-shadow: 0 6px 18px rgba(16,32,58,.05); color: var(--navy);
}
.chip svg { width: 16px; height: 16px; }
.chip.active { background: var(--navy); color: #fff; }
.chip.active svg { color: var(--gold); }

.block { margin-top: 26px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.story-card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.story-card .media { height: 168px; background: #d5deea; }
.story-card .media img { width: 100%; height: 100%; object-fit: cover; }
.story-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.story-card h3 { margin: 0; font-size: 17px; line-height: 1.3; letter-spacing: -.02em; }
.story-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.leer { margin-top: auto; color: var(--navy); font-weight: 800; font-size: 14px; }
.leer:hover { color: var(--gold-2); }

.newsletter {
    background: linear-gradient(160deg, #10284a, #071422 60%);
    color: #fff; padding: 22px 20px; display: flex; flex-direction: column; justify-content: center;
}
.newsletter img {
    align-self: flex-start; width: auto; height: auto; max-height: 56px; max-width: 100%;
    margin-bottom: 14px; object-fit: contain;
}
.newsletter h3 { margin: 0 0 8px; font-size: 26px; line-height: 1.15; letter-spacing: -.03em; }
.newsletter p { margin: 0 0 14px; color: rgba(255,255,255,.75); font-size: 14px; }
.news-form { display: flex; background: #fff; border-radius: 12px; overflow: hidden; }
.news-form input { border: 0; flex: 1; padding: 12px 14px; outline: none; color: var(--text); }
.news-form button { border: 0; background: var(--navy); color: var(--gold); width: 46px; cursor: pointer; font-size: 18px; }
.secure { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.62); }
.alert { background: #e8f7ee; color: #146c36; border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 700; }

.list-page { display: grid; gap: 14px; }
.story-row {
    display: grid; grid-template-columns: 220px 1fr; gap: 16px; background: #fff;
    border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
}
.story-row img, .story-row .media { width: 100%; height: 140px; object-fit: cover; background: #d5deea; }
.story-row .body { padding: 14px 16px 14px 0; }
.story-row h2 { margin: 6px 0; font-size: 20px; letter-spacing: -.02em; }
.story-row p { margin: 0; color: var(--muted); }

.article { display: grid; grid-template-columns: 1fr 300px; gap: 22px; }
.article-main { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.article-hero img { width: 100%; height: 420px; object-fit: cover; }
.article-body { padding: 22px 26px 32px; }
.article-body h1 { margin: 10px 0; font-size: 36px; line-height: 1.15; letter-spacing: -.03em; }
.article-body .deck { font-size: 18px; color: #3d4a5c; line-height: 1.5; }
.prose { font-size: 17.5px; line-height: 1.7; }
.prose p { margin: 0 0 14px; }
.prose h2 { font-size: 24px; margin: 22px 0 8px; }
.prose a { color: #1d4f91; }
.article figure { margin: 18px 0; }
.article figure img { width: 100%; border-radius: 14px; height: 360px; object-fit: cover; }

.video-hero { position: relative; border-radius: 20px; overflow: hidden; min-height: 380px; background: #000; }
.video-hero img { width: 100%; height: 460px; object-fit: cover; opacity: .85; }
.play {
    position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%;
    background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--navy);
}
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.video-card { display: grid; grid-template-columns: 150px 1fr; gap: 12px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.video-card img { width: 150px; height: 96px; object-fit: cover; }

.site-footer { background: var(--navy); color: rgba(255,255,255,.82); margin-top: 28px; }
.footer-bar {
    display: flex; justify-content: space-between; gap: 18px; align-items: center;
    padding: 18px 0 14px; font-size: 14px; font-weight: 650;
}
.trust { display: flex; gap: 22px; flex-wrap: wrap; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { flex: 0 0 auto; }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 36px; height: 36px; display: grid; place-items: center; color: #fff;
    border-radius: 50%; background: rgba(255,255,255,.08); font-size: 14px;
}
.socials a:hover { background: rgba(228,180,92,.22); color: var(--gold); }
.footer-meta {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 0 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { color: rgba(255,255,255,.72); font-weight: 700; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { margin: 0; color: rgba(255,255,255,.5); }

.tabbar {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: var(--navy); color: rgba(255,255,255,.78);
    height: var(--tab); padding-bottom: env(safe-area-inset-bottom);
    grid-template-columns: repeat(4, 1fr);
}
.tabbar a, .menu-list a { }
.tabbar svg, .menu-list svg { width: 20px; height: 20px; flex: 0 0 auto; }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 750; }
.tabbar a.active { color: var(--gold); }
.drawer {
    position: fixed; inset: 0; z-index: 60; background: rgba(4,10,20,.45); display: none;
}
.drawer.open { display: block; }
.drawer-panel {
    margin-left: auto; width: min(420px, 100%); height: 100%; background:
        radial-gradient(circle at 80% 20%, rgba(228,180,92,.18), transparent 28%),
        linear-gradient(180deg, #0d2244, #071422);
    color: #fff; padding: 18px 18px 28px; overflow: auto;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head img { height: 48px; }
.menu-list { display: grid; gap: 4px; margin-top: 18px; }
.menu-list a { display: flex; align-items: center; gap: 12px; padding: 12px 8px; font-weight: 700; border-radius: 10px; }
.menu-list a:hover, .menu-list a.active { background: rgba(255,255,255,.06); color: var(--gold); }
.search-pop {
    display: none; position: absolute; top: calc(var(--header) - 8px); right: 16px; z-index: 50;
    background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px; width: min(360px, calc(100% - 32px));
}
.search-pop.open { display: flex; gap: 8px; }
.search-pop input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.page-title { margin: 6px 0 14px; font-size: 32px; }
.empty { background: #fff; border-radius: 16px; padding: 28px; color: var(--muted); }
.contact-form { display: grid; gap: 12px; margin-top: 18px; }
.contact-form input, .contact-form textarea {
    width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #f8fafc;
}
.pager { margin-top: 16px; }
.pager nav { display: flex; gap: 8px; }

.rank-grid {
    display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px;
    background: #fff; border-radius: 18px; padding: 6px 20px 8px; box-shadow: var(--shadow);
}
.rank-item {
    display: grid; grid-template-columns: 42px 72px 1fr; gap: 12px; align-items: center;
    padding: 14px 0; border-bottom: 1px solid var(--line); color: inherit;
}
.rank-item .n { font-size: 28px; font-weight: 800; color: var(--gold-2); letter-spacing: -.04em; }
.rank-item img, .rank-item .thumb-fallback { width: 72px; height: 60px; object-fit: cover; border-radius: 10px; background: #d9e1ea; }
.rank-item h3 { margin: 4px 0 0; font-size: 15px; line-height: 1.3; }

.dossier-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 16px; align-items: stretch; }
.dossier-grid:has(> :only-child) { grid-template-columns: 1fr; }
.dossier-lead {
    position: relative; display: block; min-height: 380px; border-radius: 22px; overflow: hidden; color: #fff;
}
.dossier-lead img, .dossier-lead .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dossier-lead::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(5,12,24,.05) 30%, rgba(5,12,24,.88) 100%);
}
.dossier-lead .copy { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.dossier-lead h3 { margin: 8px 0; font-size: 28px; line-height: 1.15; letter-spacing: -.03em; }
.dossier-lead p { margin: 0; color: rgba(255,255,255,.82); font-size: 14.5px; line-height: 1.45; }
.dossier-list { background: #fff; border-radius: 18px; padding: 6px 18px; box-shadow: var(--shadow); }
.dossier-row {
    display: grid; grid-template-columns: 36px 1fr; gap: 8px; align-items: start;
    padding: 16px 0; border-top: 1px solid var(--line);
}
.dossier-row:first-child { border-top: 0; }
.dossier-row .num { color: var(--gold-2); font-weight: 800; font-size: 18px; }
.dossier-row h3 { margin: 4px 0 0; font-size: 16px; line-height: 1.3; }

.ink {
    display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: center;
    background:
        radial-gradient(circle at 90% 0%, rgba(228,180,92,.2), transparent 32%),
        linear-gradient(145deg, #10284a, #071422 68%);
    color: #fff; border-radius: 22px; padding: 32px 30px;
}
.ink:has(> :only-child) { grid-template-columns: 1fr; }
.ink-lead { display: block; }
.ink h3 { margin: 10px 0 12px; font-size: 32px; line-height: 1.15; letter-spacing: -.03em; }
.ink p { margin: 0 0 18px; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.5; max-width: 560px; }
.ink-side { display: grid; gap: 16px; border-left: 1px solid rgba(255,255,255,.14); padding-left: 22px; }
.ink-side a { color: #fff; }
.ink-side h3 { margin: 6px 0 0; font-size: 18px; }
.ink .meta { color: rgba(255,255,255,.65); }

.pitch { position: relative; display: block; border-radius: 22px; overflow: hidden; color: #fff; min-height: 260px; }
.pitch img, .pitch .hero-fallback { width: 100%; height: 280px; object-fit: cover; }
.pitch .copy {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 24px 22px;
    background: linear-gradient(180deg, transparent, rgba(5,12,24,.92));
}
.pitch h3 { margin: 8px 0 0; font-size: 30px; line-height: 1.15; letter-spacing: -.03em; max-width: 760px; }
.pitch-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.pitch-row a {
    background: #fff; border-radius: 14px; padding: 14px 16px; font-weight: 750; line-height: 1.35;
    box-shadow: var(--shadow); border-top: 3px solid var(--gold);
}

.ledger { display: grid; gap: 12px; }
.ledger a {
    display: block; background: #fff; border-radius: 16px; padding: 16px 18px 16px 20px;
    box-shadow: var(--shadow); border-left: 4px solid var(--gold);
}
.ledger h3 { margin: 6px 0; font-size: 20px; letter-spacing: -.02em; }
.ledger p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

.world-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.world-grid:has(> :only-child) { grid-template-columns: 1fr; }
.world-card { position: relative; display: block; min-height: 280px; border-radius: 22px; overflow: hidden; color: #fff; }
.world-card img, .world-card .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.world-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(5,12,24,.08), rgba(5,12,24,.82));
}
.world-card .copy { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.world-card h3 { margin: 8px 0 0; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }

.rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 14px;
    overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin;
}
.rail-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.rail-card img, .rail-card .media { width: 100%; height: 140px; object-fit: cover; background: #d5deea; }
.rail-card div { padding: 12px 14px 14px; }
.rail-card h3 { margin: 6px 0 0; font-size: 16px; line-height: 1.3; }

@media (max-width: 980px) {
    .desk-nav { display: none; }
    .hero-grid, .article, .cards-4, .dossier-grid, .ink, .world-grid, .rank-grid, .pitch-row { grid-template-columns: 1fr; }
    .ink-side { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; }
    .dossier-lead, .pitch img, .pitch .hero-fallback { min-height: 240px; height: 240px; }
    .dossier-lead h3, .pitch h3, .ink h3 { font-size: 24px; }
    .rank-item { grid-template-columns: 34px 64px 1fr; }
    .cards-4 .newsletter { order: 4; }
    .hero { min-height: 420px; }
    .hero-copy { right: 20px; }
    .hero-copy h1 { font-size: 28px; }
    .story-row { grid-template-columns: 120px 1fr; }
    .story-row .body { padding: 12px 12px 12px 0; }
    .story-row h2, .article-body h1 { font-size: 22px; }
    .article-hero img, .article figure img, .video-hero img { height: 220px; }
    .video-grid, .video-card { grid-template-columns: 1fr; }
    .video-card img { width: 100%; height: 160px; }
    .tabbar { display: grid; }
    body { padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom)); }
    .footer-bar, .footer-meta { flex-direction: column; align-items: center; text-align: center; }
    .trust { flex-direction: column; align-items: flex-start; gap: 12px; width: min(100%, 280px); }
    .socials { justify-content: center; }
    .footer-links { justify-content: center; }
    .site-footer { padding-bottom: 8px; }
    .page { padding-top: 14px; }
}
