:root {
    --ink: #11264a;
    --ink-2: #27466f;
    --blue: #184d8f;
    --blue-2: #eaf3ff;
    --orange: #ff6b2c;
    --paper: #ffffff;
    --wash: #f4f7fb;
    --line: #dbe4ef;
    --muted: #6f7f92;
    --dark: #07182f;
    --radius: 14px;
    --shadow: 0 12px 30px rgba(23, 52, 86, 0.08);
    --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }

.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.shell--narrow { width: min(820px, calc(100% - 40px)); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-180%); background: #fff; padding: 8px 12px; border-radius: 6px; box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }

.topline { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.topline__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline__tagline { color: var(--ink-2); font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.98); box-shadow: 0 5px 20px rgba(10, 28, 54, .05); }
.masthead { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 250px; }
.brand__ball { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); position: relative; flex: none; overflow: hidden; box-shadow: inset 0 0 0 3px rgba(255,255,255,.12); }
.brand__ball::before, .brand__ball::after { content: ""; position: absolute; border: 2px solid rgba(255,255,255,.92); border-radius: 50%; }
.brand__ball::before { width: 60px; height: 30px; left: -5px; top: 9px; transform: rotate(24deg); }
.brand__ball::after { width: 28px; height: 62px; left: 10px; top: -6px; transform: rotate(-24deg); }
.brand__text { display: flex; flex-direction: column; line-height: .95; letter-spacing: -.04em; }
.brand__text strong { font-size: 27px; color: var(--ink); }
.brand__text small { font-size: 18px; color: var(--orange); font-weight: 900; letter-spacing: .12em; margin-top: 6px; }
.masthead__actions { display: flex; align-items: center; gap: 14px; }
.mini-link { font-size: 14px; font-weight: 800; color: var(--blue); padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.menu-toggle { display: none; align-items: center; gap: 4px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 8px; padding: 9px 11px; cursor: pointer; }
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); position: absolute; opacity: 0; }
.menu-toggle b { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

.primary-nav { border-top: 1px solid var(--line); border-bottom: 2px solid var(--ink); background: #fff; }
.primary-nav__inner { display: flex; align-items: center; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.primary-nav__inner::-webkit-scrollbar { display: none; }
.primary-nav a { position: relative; white-space: nowrap; padding: 14px 13px 12px; font-weight: 800; font-size: 14px; }
.primary-nav a:hover, .primary-nav a.is-current { color: var(--orange); }
.primary-nav a.is-current::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -2px; height: 3px; background: var(--orange); }

.topic-strip { background: var(--blue-2); border-bottom: 1px solid var(--line); }
.topic-strip__inner { display: flex; gap: 26px; align-items: center; min-height: 42px; overflow-x: auto; scrollbar-width: none; }
.topic-strip__inner::-webkit-scrollbar { display: none; }
.topic-strip strong { text-transform: uppercase; font-size: 12px; letter-spacing: .08em; color: var(--orange); white-space: nowrap; }
.topic-strip a { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.topic-strip a:hover { color: var(--orange); }

.home-lead { padding-top: 28px; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, .85fr) minmax(260px, .78fr); gap: 18px; align-items: stretch; }
.hero-story { min-height: 540px; }
.hero-story__media { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 16px; background: var(--dark); }
.hero-story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.hero-story__media:hover img { transform: scale(1.02); }
.hero-story__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,24,47,0) 25%, rgba(7,24,47,.88) 84%); }
.hero-story__content { position: absolute; left: 28px; right: 28px; bottom: 26px; color: white; }
.hero-story h1 { margin: 8px 0 12px; max-width: 730px; font-size: clamp(31px, 3.1vw, 50px); line-height: 1.03; letter-spacing: -.035em; }
.hero-story p { max-width: 690px; margin: 0 0 14px; color: rgba(255,255,255,.86); font-size: 17px; }
.eyebrow { display: inline-block; font-size: 11px; line-height: 1; font-weight: 900; letter-spacing: .08em; color: var(--orange); text-transform: uppercase; }
.eyebrow--light { background: var(--orange); color: #fff; padding: 7px 8px 6px; border-radius: 4px; }
.story-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); }
.story-meta--light { color: rgba(255,255,255,.8); }

.lead-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.side-story { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.side-story > a { display: block; height: 52%; overflow: hidden; }
.side-story img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.side-story:hover img { transform: scale(1.025); }
.side-story div { padding: 16px; }
.side-story h2 { font-size: 19px; line-height: 1.18; margin: 7px 0 12px; letter-spacing: -.015em; }
.side-story h2 a:hover { color: var(--blue); }
.side-story .story-meta { padding: 0; }

.latest-panel { border-radius: 14px; background: var(--wash); border: 1px solid var(--line); padding: 18px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); }
.section-heading h2 { margin: 0; font-size: 25px; line-height: 1; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.section-heading a { color: var(--blue); font-size: 13px; font-weight: 800; }
.section-heading--compact { margin-bottom: 6px; padding-bottom: 12px; }
.section-heading--compact h2 { font-size: 23px; }
.latest-list { list-style: none; margin: 0; padding: 0; }
.latest-list li { display: grid; grid-template-columns: 46px 1fr; gap: 9px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.latest-list li:last-child { border-bottom: 0; }
.latest-list span { color: var(--orange); font-size: 12px; font-weight: 800; }
.latest-list a { font-weight: 700; font-size: 14px; line-height: 1.3; }
.latest-list a:hover { color: var(--blue); }

.section-block { padding-top: 46px; padding-bottom: 46px; }
.section-block--first { padding-bottom: 48px; }
.card-grid { display: grid; gap: 18px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.story-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; min-width: 0; box-shadow: 0 8px 18px rgba(23,52,86,.04); }
.story-card__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--wash); }
.story-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.story-card:hover .story-card__image img { transform: scale(1.025); }
.story-card__body { padding: 16px 16px 18px; }
.story-card h3 { font-size: 19px; line-height: 1.17; letter-spacing: -.018em; margin: 8px 0 9px; }
.story-card h3 a:hover { color: var(--blue); }
.story-card p { margin: 0 0 15px; color: var(--muted); font-size: 14px; line-height: 1.45; }

.full-bleed-band { margin-top: 8px; padding: 38px 0; background: var(--dark); color: white; }
.archive-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 34px; align-items: center; }
.archive-feature { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: center; }
.archive-feature img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.archive-feature h2 { margin: 9px 0 10px; font-size: 32px; line-height: 1.05; }
.archive-feature p { margin: 0; color: #b9c7d9; }
.archive-links { display: grid; border-top: 1px solid rgba(255,255,255,.18); }
.archive-links a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.archive-links a:hover strong { color: #ff9b70; }
.archive-links span { color: #9eb0c7; font-size: 12px; text-align: right; }

.page-hero { padding-top: 54px; padding-bottom: 28px; max-width: 950px; }
.page-hero--compact { padding-bottom: 8px; }
.page-hero h1 { margin: 8px 0 12px; font-size: clamp(42px, 6vw, 72px); line-height: .96; letter-spacing: -.05em; }
.page-hero p { margin: 0; color: var(--muted); font-size: 19px; max-width: 800px; }
.split-section { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .62fr); gap: 34px; padding-bottom: 54px; }
.feature-aside { align-self: start; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding-bottom: 20px; background: #fff; box-shadow: var(--shadow); }
.feature-aside img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 18px; }
.feature-aside > :not(img) { margin-left: 20px; margin-right: 20px; }
.feature-aside h2 { font-size: 25px; line-height: 1.05; margin-top: 9px; margin-bottom: 10px; }
.feature-aside p { color: var(--muted); font-size: 14px; }
.button-link { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; margin-top: 6px; border-radius: 8px; color: white; background: var(--blue); font-size: 13px; font-weight: 800; }
.button-link:hover { background: var(--ink); }
.muted { color: var(--muted); }

.archive-list { display: grid; border-top: 1px solid var(--line); }
.archive-row { display: grid; grid-template-columns: 8px 1fr; gap: 14px; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line); }
.archive-row span { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.archive-row strong { font-size: 16px; }
.archive-columns .archive-list { grid-template-columns: repeat(2, 1fr); column-gap: 28px; border-top: 0; }
.archive-columns .archive-row { border-top: 1px solid var(--line); }
.text-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.text-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); }
.text-card h2 { font-size: 21px; line-height: 1.15; margin: 9px 0 8px; }
.text-card p { margin: 0; color: var(--muted); font-size: 14px; }
.inline-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; border-top: 2px solid var(--ink); padding-top: 24px; }
.inline-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.inline-feature h2 { font-size: 34px; line-height: 1.04; margin: 9px 0; }
.inline-feature p { color: var(--muted); }

.article-header { padding-top: 52px; }
.breadcrumb { display: inline-block; color: var(--blue); font-size: 13px; font-weight: 800; margin-bottom: 20px; }
.article-header h1 { font-size: clamp(42px, 6.5vw, 74px); line-height: .98; letter-spacing: -.055em; margin: 9px 0 18px; }
.article-dek { color: var(--ink-2); font-size: 21px; line-height: 1.45; margin: 0 0 18px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 15px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 14px; }
.article-byline span:first-child { color: var(--ink); font-weight: 800; }
.article-hero-image { margin-top: 30px; }
.article-hero-image img { width: 100%; max-height: 700px; object-fit: cover; border-radius: 16px; }
.article-body { padding-top: 30px; padding-bottom: 20px; color: #26384f; font-size: 18px; line-height: 1.75; }
.article-body p { margin: 0 0 22px; }
.article-body h2 { color: var(--ink); font-size: 31px; line-height: 1.12; letter-spacing: -.025em; margin: 42px 0 13px; }
.formula-card { display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; margin: 26px 0; background: var(--blue-2); border-left: 4px solid var(--blue); border-radius: 8px; color: var(--ink); }
.formula-card span { font-weight: 800; color: var(--blue); }
.takeaway { margin: 34px 0; padding: 20px 22px; background: #fff6f1; border-left: 4px solid var(--orange); border-radius: 8px; }
.related-section { padding-top: 32px; }

.spacing-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .7fr); gap: 34px; padding-bottom: 54px; }
.spacing-tool { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--wash); }
.spacing-tool__head h2 { margin: 0 0 4px; font-size: 30px; }
.spacing-tool__head p { margin: 0 0 20px; color: var(--muted); }
.lineup-selects { display: grid; gap: 12px; }
.lineup-selects label { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: center; font-weight: 800; font-size: 14px; }
.lineup-selects select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
.rating-output { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; align-items: end; margin-top: 22px; padding-top: 18px; border-top: 2px solid var(--ink); }
.rating-output span { font-weight: 800; }
.rating-output strong { grid-row: 1 / 3; grid-column: 2; font-size: 54px; line-height: .9; color: var(--orange); }
.rating-output small { color: var(--muted); }

.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding-bottom: 55px; }
.contact-card > div { padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: var(--wash); }
.contact-card h2 { font-size: 30px; margin: 9px 0; }
.contact-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; }
.sitemap-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; padding-bottom: 55px; }
.sitemap-grid > div { border-top: 2px solid var(--ink); }
.sitemap-grid h2 { margin: 14px 0; }
.sitemap-grid a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.sitemap-grid a:hover { color: var(--blue); }

.site-footer { margin-top: 44px; background: var(--dark); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 50px; padding: 42px 0 34px; }
.brand--footer { min-width: 0; }
.brand--footer .brand__text strong { color: white; }
.footer-grid p { color: #aebed1; max-width: 500px; }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 9px; }
.footer-grid > div:not(:first-child) strong { color: #ff9b70; margin-bottom: 4px; }
.footer-grid a:not(.brand) { color: #c8d3df; font-size: 14px; }
.footer-grid a:hover { color: white; }
.footer-bottom { padding: 16px 0 26px; border-top: 1px solid rgba(255,255,255,.12); color: #8498b2; font-size: 12px; }

@media (max-width: 1080px) {
    .lead-grid { grid-template-columns: minmax(0, 1.4fr) minmax(270px, .8fr); }
    .latest-panel { grid-column: 1 / -1; }
    .latest-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 28px; }
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .text-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .shell, .shell--narrow { width: min(100% - 28px, var(--shell)); }
    .site-header { position: relative; }
    .topline__tagline { display: none; }
    .masthead { min-height: 72px; }
    .brand { min-width: 0; gap: 9px; }
    .brand__ball { width: 42px; height: 42px; }
    .brand__text strong { font-size: 20px; }
    .brand__text small { font-size: 14px; margin-top: 5px; }
    .mini-link { display: none; }
    .menu-toggle { display: inline-flex; }
    .primary-nav { display: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .primary-nav.is-open { display: block; }
    .primary-nav__inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 8px 0; }
    .primary-nav a { padding: 10px 8px; border-bottom: 1px solid var(--line); }
    .primary-nav a.is-current::after { display: none; }
    .topic-strip__inner { gap: 18px; }
    .lead-grid { grid-template-columns: 1fr; }
    .hero-story { min-height: 470px; }
    .lead-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .side-story > a { height: 180px; }
    .latest-list { grid-template-columns: 1fr; }
    .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .archive-grid { grid-template-columns: 1fr; }
    .split-section, .spacing-layout { grid-template-columns: 1fr; }
    .archive-columns .archive-list { grid-template-columns: 1fr; }
    .inline-feature { grid-template-columns: 1fr; }
    .contact-card { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    body { font-size: 15px; }
    .topline { display: none; }
    .masthead { min-height: 66px; }
    .brand__text strong { font-size: 17px; }
    .brand__text small { font-size: 12px; }
    .brand__ball { width: 38px; height: 38px; }
    .topic-strip__inner { min-height: 38px; }
    .home-lead { padding-top: 14px; }
    .hero-story { min-height: 440px; }
    .hero-story__content { left: 18px; right: 18px; bottom: 18px; }
    .hero-story h1 { font-size: 34px; }
    .hero-story p { font-size: 14px; }
    .lead-stack { grid-template-columns: 1fr; }
    .side-story { display: grid; grid-template-columns: 140px 1fr; }
    .side-story > a { height: 100%; min-height: 155px; }
    .side-story div { padding: 14px; }
    .side-story h2 { font-size: 17px; }
    .latest-panel { padding: 14px; }
    .section-block { padding-top: 34px; padding-bottom: 34px; }
    .section-heading { align-items: start; flex-direction: column; gap: 6px; }
    .card-grid--4, .card-grid--3 { grid-template-columns: 1fr; }
    .archive-feature { grid-template-columns: 1fr; }
    .archive-feature img { aspect-ratio: 16 / 9; }
    .archive-feature h2 { font-size: 27px; }
    .archive-links a { flex-direction: column; gap: 3px; }
    .archive-links span { text-align: left; }
    .page-hero { padding-top: 36px; }
    .page-hero h1 { font-size: 46px; }
    .page-hero p { font-size: 16px; }
    .text-card-grid { grid-template-columns: 1fr; }
    .article-header { padding-top: 34px; }
    .article-header h1 { font-size: 43px; }
    .article-dek { font-size: 18px; }
    .article-hero-image { margin-top: 22px; }
    .article-hero-image img { border-radius: 10px; aspect-ratio: 16/10; }
    .article-body { font-size: 16.5px; padding-top: 22px; }
    .article-body h2 { font-size: 27px; }
    .formula-card { flex-direction: column; gap: 6px; }
    .lineup-selects label { grid-template-columns: 1fr; gap: 5px; }
    .contact-card > div { padding: 22px; }
    .sitemap-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid > div:first-child { grid-column: auto; }
}
.menu-toggle::before {
    content: "☰";
    font-size: 18px;
    line-height: 1;
}
