:root {
  --navy: #0f172a;
  --navy-deep: #08101f;
  --royal: #1e3a8a;
  --gold: #d4af37;
  --gold-light: #f3df98;
  --paper: #f8fafc;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #d8dee8;
  --soft: #eef2f7;
  --max: 1240px;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "kern", "liga";
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}

.topline {
  background: var(--navy-deep);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.topline .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
}

.topline a {
  color: var(--gold-light);
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s;
}

.site-header:hover {
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
}

.nav {
  min-height: 82px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.brand-name span {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.nav nav a {
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav nav a:hover,
.footer a:hover,
.read:hover,
.text-link:hover {
  color: var(--gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s, background 0.18s, border-color 0.18s;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
}

.button.secondary {
  background: transparent;
  color: var(--navy);
}

.button.secondary:hover {
  background: var(--navy);
  color: #fff;
}

.button.light {
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}

.button.secondary.dark {
  border-color: #68758f;
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.kicker,
.eyebrow,
.meta {
  color: var(--royal);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.masthead {
  padding: 92px 0 78px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, var(--paper) 58%, rgba(212, 175, 55, 0.16) 58%),
    var(--paper);
}

.masthead-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
}

.masthead h1 {
  max-width: 980px;
  margin: 18px 0 28px;
  font-family: var(--serif);
  font-size: clamp(4.3rem, 9.2vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.masthead p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.2rem;
}

.issue-label {
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.text-link,
.read {
  align-self: center;
  font-weight: 850;
  text-decoration: none;
}

.lead-package {
  padding: 72px 0 90px;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.65fr);
  gap: 42px;
}

.lead-story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--navy-deep);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.09);
  color: #fff;
}

.lead-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: block;
  background: var(--gold);
}

.lead-visual::before {
  content: "";
  position: absolute;
  top: 40px;
  left: -120px;
  width: 440px;
  height: 440px;
  border: 78px solid var(--navy);
  border-radius: 50%;
}

.lead-visual::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 240px;
  height: 680px;
  background: var(--royal);
  mix-blend-mode: multiply;
  transform: rotate(32deg);
}

.lead-visual span {
  position: absolute;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.lead-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
}

.lead-copy h2 {
  margin: 14px 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.4vw, 4.8rem);
  font-weight: 500;
  line-height: 0.95;
}

.lead-copy h2 a,
.story-card h3 a,
.editors-picks h3 a {
  text-decoration: none;
}

.lead-copy p {
  color: #cbd5e1;
}

.lead-copy .meta {
  color: var(--gold-light);
}

.editors-picks {
  border-top: 5px solid var(--navy);
}

.editors-picks > .kicker {
  padding-bottom: 22px;
}

.editors-picks article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.editors-picks article span {
  color: var(--royal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editors-picks h3 {
  margin: 8px 0;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
}

.section {
  padding: 78px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 500;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.story-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.story-no {
  margin-bottom: auto;
  color: #b8c0ce;
  font-family: var(--serif);
  font-size: 3.8rem;
}

.story-card h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
}

.story-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.notes-section {
  background: var(--navy-deep);
  color: #fff;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #334155;
  border-left: 1px solid #334155;
}

.notes-grid article {
  padding: 30px;
  border-right: 1px solid #334155;
  border-bottom: 1px solid #334155;
}

.notes-grid span {
  color: var(--gold);
  font-weight: 900;
}

.notes-grid h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.notes-grid p {
  color: #b8c2d1;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.topic {
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.topic:hover {
  background: #fff;
  box-shadow: inset 0 -4px var(--gold);
}

.topic strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
}

.topic span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ai4-band {
  padding: 58px;
  background: var(--navy);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  color: #fff;
}

.ai4-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.ai4-band h2 {
  margin: 8px 0 20px;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500;
}

.ai4-band p {
  color: #cbd5e1;
}

.ai4-band .kicker {
  color: var(--gold) !important;
}

.coverage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.coverage-item {
  padding: 18px;
  border: 1px solid #475569;
}

.coverage-item strong,
.coverage-item span {
  display: block;
}

.coverage-item span {
  margin-top: 4px;
  color: #bdc8d8;
  font-size: 0.85rem;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 46px;
  background: #fff8dc;
  border-top: 4px solid var(--gold);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.newsletter h2 {
  margin: 4px 0 12px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 500;
}

.newsletter p {
  margin: 0;
  color: var(--muted);
}

.signup {
  display: flex;
  flex-wrap: wrap;
}

.signup input {
  min-width: 280px;
  padding: 14px;
  border: 1px solid #c9b56f;
  background: #fff;
  font: inherit;
}

.signup button {
  padding: 0 20px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-weight: 850;
}

.form-note {
  flex: 0 0 100%;
  margin-top: 9px !important;
  font-size: 0.74rem;
}

.newsletter-success {
  margin-top: 18px !important;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #fff;
  color: var(--navy) !important;
  font-weight: 700;
}

.newsletter-success[hidden] {
  display: none;
}

.page-hero {
  padding: 74px 0 48px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, var(--paper) 70%, rgba(212, 175, 55, 0.14) 70%);
}

.page-hero h1 {
  max-width: 980px;
  margin: 0.16em 0 0.22em;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  font-weight: 500;
}

.article-standfirst,
.page-hero .dek {
  max-width: 900px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

.prose {
  width: min(780px, calc(100% - 40px));
  margin: auto;
  padding: 60px 0 90px;
  font-family: var(--serif);
  font-size: 1.12rem;
}

.prose p {
  margin: 1.3em 0;
}

.prose h2 {
  margin-top: 2.2em;
  padding-top: 0.25em;
  border-top: 1px solid var(--line);
  font-family: Inter, system-ui, sans-serif;
  font-size: 2.05rem;
}

.prose h3 {
  margin-top: 1.8em;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.35rem;
}

.prose .dek {
  color: var(--muted);
  font-size: 1.45rem;
  line-height: 1.45;
}

.prose a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.byline {
  margin: 28px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.84rem;
}

.prose blockquote {
  margin: 2em 0;
  padding: 0.2em 0 0.2em 1.35em;
  border-left: 5px solid var(--gold);
  font-size: 1.45rem;
}

.sources {
  margin-top: 42px;
  padding: 22px 26px;
  background: var(--soft);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.9rem;
}

.notice {
  padding: 15px 18px;
  border-left: 4px solid var(--gold);
  background: #fff8dc;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.9rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 30px 0;
  background: var(--line);
}

.fact-grid > div {
  padding: 24px;
  background: #fff;
  font-family: Inter, system-ui, sans-serif;
}

.fact-grid strong,
.fact-grid span {
  display: block;
}

.fact-grid span {
  margin-top: 6px;
  color: var(--muted);
}

.author-box,
.editor-profile {
  display: grid;
  align-items: center;
  gap: 22px;
  font-family: Inter, system-ui, sans-serif;
}

.author-box {
  grid-template-columns: 88px 1fr;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.editor-profile {
  grid-template-columns: 130px 1fr;
  margin-bottom: 42px;
  padding: 28px;
  background: #fff;
}

.avatar {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 900;
}

.avatar.large {
  width: 130px;
  height: 130px;
  font-size: 2.4rem;
}

.article-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 46px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: Inter, system-ui, sans-serif;
}

.reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: 3px;
  background: transparent;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s, transform 0.65s;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.footer {
  padding: 66px 0 28px;
  background: var(--navy-deep);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 54px;
}

.footer-brand p {
  max-width: 330px;
  color: #aab4c5;
}

.footer h4 {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer a {
  display: block;
  margin: 9px 0;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer .brand-name span {
  color: var(--gold);
}

.footer-mark {
  background: #fff;
  color: var(--navy);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #26334b;
  color: #8996aa;
  font-size: 0.8rem;
}

.confirmation {
  max-width: 760px;
  margin: 0 auto;
  padding: 90px 24px 120px;
  text-align: center;
}

.confirmation h1 {
  margin: 12px 0 22px;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 500;
}

.confirmation p {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.form-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lead-story {
    grid-template-columns: 1fr;
  }

  .lead-visual {
    min-height: 380px;
  }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none !important;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .menu-open .primary-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .primary-nav a {
    padding: 15px;
    border-bottom: 1px solid var(--line);
  }

  .menu-open {
    overflow: hidden;
  }

  .ai4-grid,
  .newsletter {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .masthead-grid,
  .lead-grid {
    grid-template-columns: 1fr;
  }

  .masthead {
    background: var(--paper);
  }

  .notes-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: 0;
  }

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

  .article-share {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .wrap {
    width: min(var(--max), calc(100% - 26px));
  }

  .topline .wrap {
    display: block;
  }

  .brand-name,
  .nav > .button {
    display: none;
  }

  .nav {
    grid-template-columns: 1fr auto;
  }

  .menu-open .primary-nav,
  .coverage-list,
  .footer-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .masthead {
    padding: 60px 0;
  }

  .masthead h1 {
    font-size: 4rem;
  }

  .lead-copy,
  .ai4-band,
  .newsletter {
    padding: 30px;
  }

  .lead-package {
    padding: 42px 0 60px;
  }

  .section {
    padding: 58px 0;
  }

  .signup {
    display: block;
  }

  .signup input,
  .signup button {
    width: 100%;
  }

  .signup input {
    min-width: 0;
  }

  .signup button {
    padding: 14px;
  }

  .page-hero h1 {
    font-size: 3.3rem;
  }

  .editor-profile {
    grid-template-columns: 1fr;
  }

  .avatar.large {
    width: 100px;
    height: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
