:root {
  --ink: #242027;
  --plum: #563452;
  --plum-dark: #3f253e;
  --copper: #ad653f;
  --copper-soft: #e7c8b5;
  --paper: #fbfbfa;
  --mist: #eff0f2;
  --line: #d9d8dc;
  --white: #ffffff;
  --green: #456354;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(52, 38, 52, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.menu-open, body.search-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  border-radius: 8px;
  color: var(--white);
  background: var(--plum-dark);
}
.skip-link:focus { top: 1rem; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 250, .98);
}
.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  color: var(--plum-dark);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1;
}
.brand-dot { color: var(--copper); }
.brand-sub {
  margin-left: 10px;
  color: #716b72;
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  border-bottom: 2px solid transparent;
  color: #49444a;
  font-size: .84rem;
  font-weight: 700;
  line-height: 2;
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] {
  border-color: var(--copper);
  color: var(--plum);
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.tool-button, .menu-button, .search-close {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .55rem .8rem;
  background: var(--white);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
}
.tool-button:hover, .menu-button:hover, .search-close:hover { border-color: var(--copper); }
.menu-button { display: none; }
.edition-bar { background: var(--plum-dark); color: var(--white); }
.edition-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
  font-size: .72rem;
}
.edition-inner strong { color: #f2d1bd; }
.edition-links { display: flex; gap: 20px; }
.edition-links a:hover { color: #f2d1bd; }
.hero { padding: 42px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr);
  gap: 22px;
}
.lead-story {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 22px 22px 72px 22px;
  background: var(--plum-dark);
  box-shadow: var(--shadow);
}
.lead-story img { width: 100%; height: 100%; object-fit: cover; }
.lead-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 94px 42px 38px;
  color: var(--white);
  background: linear-gradient(to bottom, transparent, rgba(27, 19, 27, .9) 50%);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--copper);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.lead-copy .kicker { color: #f0c3a7; }
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; }
h1, h2, h3, h4, p { margin-top: 0; }
.lead-copy h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}
.lead-copy p { max-width: 650px; margin-bottom: 18px; color: #eee9ee; font-size: .96rem; }
.story-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: #6e6870; font-size: .74rem; }
.lead-copy .story-meta { color: #e2dce2; }
.side-briefs { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.brief {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
}
.brief:hover { border-color: var(--copper-soft); box-shadow: var(--shadow); transform: translateY(-2px); }
.brief img { width: 116px; height: 100%; min-height: 205px; border-radius: 12px 12px 40px 12px; object-fit: cover; }
.brief h2 { margin-bottom: 10px; color: var(--plum-dark); font-size: 1.18rem; line-height: 1.25; }
.issue-mark {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin: 0 0 14px auto;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--plum);
  font-size: .65rem;
  line-height: 1.2;
  text-align: center;
}
.section { padding: 64px 0; }
.section-tint { background: var(--mist); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-heading h2 { margin: 0; color: var(--plum-dark); font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.15; }
.section-heading p { max-width: 520px; margin: 0; color: #686269; font-size: .86rem; }
.section-link { white-space: nowrap; color: var(--plum); font-size: .78rem; font-weight: 700; }
.section-link:hover { color: var(--copper); }
.section-link-button { border: 0; padding: 0; background: transparent; cursor: pointer; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.story-card:hover { transform: translateY(-4px); border-color: var(--copper-soft); box-shadow: var(--shadow); }
.story-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.story-card-body { padding: 22px; }
.story-card h3 { margin-bottom: 12px; color: var(--plum-dark); font-size: 1.2rem; line-height: 1.3; }
.story-card p { color: #635e64; font-size: .86rem; }
.number-label { color: var(--copper); font-size: .68rem; font-weight: 700; }
.topic-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.topic-item { min-height: 175px; padding: 28px; border-right: 1px solid var(--line); }
.topic-item:last-child { border-right: 0; }
.topic-item:hover { background: #f7f1f3; }
.topic-no { color: var(--copper); font-size: .7rem; font-weight: 700; }
.topic-item h3 { margin: 18px 0 8px; color: var(--plum-dark); font-size: 1.15rem; }
.topic-item p { margin: 0; color: #6f6870; font-size: .8rem; }
.newsletter-band { padding: 50px 0; color: var(--white); background: var(--plum); }
.newsletter-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.newsletter-band h2 { margin-bottom: 8px; font-size: 1.65rem; }
.newsletter-band p { margin: 0; color: #eadfe8; font-size: .86rem; }
.newsletter-note { max-width: 420px; padding: 14px 18px; border-left: 3px solid var(--copper-soft); color: #f7edf4; font-size: .8rem; }
.site-footer { padding: 44px 0 28px; background: #211c22; color: #ded9de; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 48px; }
.footer-grid h2, .footer-grid h3 { color: var(--white); }
.footer-grid h3 { font-size: .83rem; }
.footer-grid p, .footer-grid a { color: #bdb5bd; font-size: .78rem; }
.footer-links { display: grid; gap: 7px; }
.footer-links a:hover { color: #f1c7ae; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid #3d343e; color: #938b94; font-size: .7rem; }

/* Search */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  overflow-y: auto;
  padding: 7vh 20px 40px;
  background: rgba(32, 25, 33, .96);
}
.search-panel.is-open { display: block; }
.search-shell { width: min(850px, 100%); margin: auto; }
.search-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; color: var(--white); }
.search-head h2 { margin: 0; font-size: 1.5rem; }
.search-close { border-color: #655966; color: var(--white); background: transparent; }
.search-form { display: flex; gap: 10px; }
.search-form input {
  width: 100%;
  min-height: 56px;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--white);
}
.search-form input:focus { border-color: var(--copper); outline: 0; }
.search-submit { border: 0; border-radius: 10px; padding: 0 22px; color: var(--white); background: var(--copper); cursor: pointer; font-weight: 700; }
.search-status { margin: 24px 0 12px; color: #d5cad3; font-size: .8rem; }
.search-results { display: grid; gap: 10px; }
.search-result { display: block; border-radius: 10px; padding: 18px; background: var(--white); }
.search-result:hover { background: #f7eef1; }
.search-result strong { display: block; color: var(--plum-dark); }
.search-result span { color: #6d666d; font-size: .78rem; }

/* Articles and category pages */
.page-hero { padding: 48px 0 36px; background: var(--mist); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; }
.page-hero h1 { max-width: 850px; margin-bottom: 12px; color: var(--plum-dark); font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.06; }
.page-hero p { max-width: 720px; margin-bottom: 0; color: #676168; }
.page-count { color: var(--copper); font-size: 3rem; font-weight: 700; line-height: 1; }
.breadcrumb { margin-bottom: 22px; color: #6e6870; font-size: .72rem; }
.breadcrumb a { color: var(--plum); }
.category-list { display: grid; gap: 22px; }
.category-story {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}
.category-story:last-child { border-bottom: 0; }
.category-story img { width: 100%; aspect-ratio: 16 / 10; border-radius: 14px 14px 46px 14px; object-fit: cover; }
.category-story h2 { margin-bottom: 12px; color: var(--plum-dark); font-size: clamp(1.35rem, 3vw, 2.15rem); line-height: 1.18; }
.category-story p { color: #655f66; }
.article-header { padding: 46px 0 32px; }
.article-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 45px; align-items: end; }
.article-header h1 { margin-bottom: 18px; color: var(--plum-dark); font-size: clamp(2rem, 5vw, 4.55rem); line-height: 1.04; }
.dek { max-width: 780px; color: #5f5960; font-size: 1.08rem; line-height: 1.6; }
.article-facts { border-left: 3px solid var(--copper); padding-left: 18px; color: #6e6770; font-size: .75rem; }
.article-facts strong { display: block; margin-top: 7px; color: var(--ink); }
.article-image-wrap { width: min(1320px, calc(100% - 40px)); margin: 0 auto 48px; }
.article-image-wrap img { width: 100%; max-height: 760px; border-radius: 20px 20px 80px 20px; object-fit: cover; }
.caption { margin: 9px 8px 0; color: #746e75; font-size: .68rem; }
.article-layout { display: grid; grid-template-columns: 180px minmax(0, 760px) 1fr; gap: 44px; align-items: start; }
.article-rail { position: sticky; top: 24px; border-top: 2px solid var(--copper); padding-top: 14px; }
.article-rail strong { display: block; margin-bottom: 8px; color: var(--plum); font-size: .72rem; }
.article-rail a { display: block; margin: 7px 0; color: #706970; font-size: .69rem; line-height: 1.35; }
.article-rail a:hover { color: var(--copper); }
.article-body { min-width: 0; font-size: 1rem; line-height: 1.78; }
.article-body > p:first-child::first-letter {
  float: left;
  margin: .12em .12em 0 0;
  color: var(--copper);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: .75;
}
.article-body h2 { margin: 2.4rem 0 1rem; color: var(--plum-dark); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; }
.article-body h3 { margin: 1.8rem 0 .75rem; color: var(--plum); font-size: 1.24rem; line-height: 1.3; }
.article-body h4 { margin: 1.5rem 0 .6rem; color: var(--ink); font-size: .95rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin: 0 0 1.5rem; padding-left: 1.25rem; }
.article-body li { margin-bottom: .45rem; padding-left: .3rem; }
.article-body blockquote, .takeaway {
  margin: 2rem 0;
  border-left: 4px solid var(--copper);
  border-radius: 0 14px 14px 0;
  padding: 20px 22px;
  color: var(--plum-dark);
  background: #f4edef;
  font-weight: 700;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 1.6rem 0 2rem; font-size: .82rem; }
.article-body th, .article-body td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.article-body th { color: var(--plum-dark); background: var(--mist); }
.article-aside { border-top: 2px solid var(--plum); padding-top: 14px; }
.article-aside h2 { color: var(--plum-dark); font-size: .82rem; text-transform: uppercase; }
.article-aside a { display: block; margin-bottom: 18px; color: #615a62; font-size: .76rem; font-weight: 700; line-height: 1.4; }
.article-aside a:hover { color: var(--copper); }
.article-end { margin-top: 38px; border-top: 1px solid var(--line); padding-top: 24px; }
.article-end a { color: var(--plum); font-size: .8rem; font-weight: 700; }

@media (max-width: 1020px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: .72rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .lead-story { min-height: 560px; }
  .side-briefs { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .article-layout { grid-template-columns: minmax(0, 760px) 1fr; }
  .article-rail { display: none; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .topline { min-height: 70px; }
  .brand-sub { display: none; }
  .main-nav {
    position: fixed;
    inset: 70px 0 0;
    z-index: 40;
    display: none;
    align-content: start;
    padding: 28px;
    background: var(--paper);
  }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .menu-button { display: inline-block; }
  .edition-links { display: none; }
  .hero { padding: 22px 0 38px; }
  .lead-story { min-height: 520px; border-radius: 16px 16px 48px 16px; }
  .lead-copy { padding: 85px 22px 22px; }
  .lead-copy h1 { font-size: clamp(1.85rem, 10vw, 3rem); }
  .side-briefs { grid-template-columns: 1fr; }
  .brief { grid-template-columns: 104px 1fr; }
  .brief img { width: 104px; min-height: 175px; }
  .issue-mark { display: none; }
  .section { padding: 44px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .article-grid, .topic-strip { grid-template-columns: 1fr; }
  .topic-item { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .topic-item:last-child { border-bottom: 0; }
  .newsletter-inner, .footer-grid { grid-template-columns: 1fr; }
  .newsletter-note { max-width: none; }
  .search-form { flex-direction: column; }
  .search-submit { min-height: 48px; }
  .page-hero-inner, .article-head-grid { grid-template-columns: 1fr; }
  .page-count { font-size: 2rem; }
  .category-story { grid-template-columns: 1fr; gap: 18px; }
  .article-header { padding: 32px 0 24px; }
  .article-header h1, .page-hero h1 { font-size: clamp(1.9rem, 11vw, 3rem); }
  .article-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
  .article-image-wrap { width: calc(100% - 28px); margin-bottom: 34px; }
  .article-image-wrap img { min-height: 280px; border-radius: 14px 14px 46px 14px; }
  .article-layout { grid-template-columns: 1fr; gap: 34px; }
  .article-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
  .article-aside h2 { grid-column: 1 / -1; }
  .article-body table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 420px) {
  .tool-button { padding-inline: .6rem; }
  .brief { grid-template-columns: 88px 1fr; gap: 13px; }
  .brief img { width: 88px; }
  .brief h2 { font-size: 1rem; }
  .article-facts, .article-aside { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
