:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #686868;
  --line: #d9d9d3;
  --accent: #d53526;
  --accent-2: #166a86;
  --accent-3: #d49b18;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

body.dark {
  --bg: #111211;
  --surface: #1b1c1b;
  --ink: #f3f0e8;
  --muted: #b5b1a8;
  --line: #383a38;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.top-strip,
.brand-row,
.content-shell,
.headline-strip,
.lead-grid,
.spotlight-section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 38px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.utility-nav,
.social-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.utility-nav a,
.social-nav a,
.site-footer nav a {
  color: var(--muted);
}

.utility-nav a:hover,
.social-nav a:hover,
.site-footer nav a:hover,
.site-footer nav a[aria-current="page"] {
  color: var(--accent);
}

.brand-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  min-height: 56px;
  gap: 18px;
}

.brand {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 0;
  row-gap: 3px;
  align-items: end;
  justify-self: center;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
}

.brand span {
  font-weight: 400;
}

.brand strong {
  font-weight: 900;
}

.brand small {
  grid-column: 1 / -1;
  justify-self: center;
  color: var(--accent-2);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.search-toggle,
.mode-toggle,
.search-form button,
.member-box a,
.newsletter-box button {
  min-height: 38px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.mode-toggle {
  background: transparent;
  color: var(--ink);
}

.icon-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.icon-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.mobile-nav.open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-nav a {
  border: 1px solid var(--line);
  padding: 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.search-panel.open {
  display: block;
}

.search-form {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.search-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-form div {
  display: flex;
  gap: 8px;
}

.search-form input,
.newsletter-box input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 0 12px;
}

.headline-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  scrollbar-width: thin;
}

.headline-strip a {
  flex: 0 0 auto;
  max-width: 310px;
}

.headline-strip a::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--accent);
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 18px;
  padding: 24px 0 28px;
}

.lead-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #222;
}

.lead-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.76));
}

.lead-card-large {
  grid-row: 1 / span 2;
}

.lead-card-text {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.kicker {
  display: inline-flex;
  margin: 0 0 8px;
  background: var(--accent);
  color: #fff;
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-card h1,
.lead-card h2,
.feature-card h3,
.spotlight-card h3,
.story-copy h3 {
  margin: 0;
  line-height: 1.08;
}

.lead-card h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 58px);
}

.lead-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.lead-card p:last-child {
  max-width: 620px;
  margin: 12px 0 0;
  font-size: 16px;
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 34px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-top: 4px solid var(--ink);
  padding-top: 10px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.story-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.story-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.story-image {
  aspect-ratio: 16 / 10;
  background: var(--line);
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.story-copy h3 {
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.story-copy h3 a:hover,
.feature-card:hover h3,
.spotlight-card:hover h3,
.guide-list a:hover {
  color: var(--accent);
}

.story-copy p {
  margin: 10px 0;
  color: var(--muted);
}

.time-ago {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
}

.feature-band {
  margin: 26px 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

.feature-card img {
  aspect-ratio: 4 / 3;
}

.feature-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}

.editorial-band {
  border-top-color: var(--accent-2);
}

.sidebar {
  position: sticky;
  top: 152px;
  display: grid;
  gap: 20px;
}

.member-box,
.newsletter-box,
.guide-list {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 20px;
}

.member-box {
  border-top: 6px solid var(--accent);
}

.member-box h2,
.newsletter-box h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
}

.member-box p,
.newsletter-box p {
  color: var(--muted);
}

.member-box a {
  display: inline-flex;
  align-items: center;
}

.guide-list {
  display: grid;
  gap: 0;
}

.section-heading.compact {
  margin-bottom: 4px;
}

.section-heading.compact h2 {
  font-size: 18px;
}

.guide-list > a {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.newsletter-box form {
  display: grid;
  gap: 8px;
}

.spotlight-section {
  padding: 34px 0 44px;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.spotlight-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: #fff;
  background: #1a1a1a;
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82));
}

.spotlight-card h3 {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.site-footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-brand {
  display: inline-block;
  font-size: 28px;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 16px 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.page-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 56px;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 26px;
}

.page-hero .kicker {
  margin-bottom: 12px;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 0.98;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-card,
.page-form,
.rate-card,
.legal-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px;
}

.page-card h2,
.legal-copy h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.1;
}

.page-card p,
.legal-copy p {
  margin: 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
}

.page-form {
  display: grid;
  gap: 14px;
}

.page-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.page-form input,
.page-form select,
.page-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  padding: 11px 12px;
  text-transform: none;
}

.page-form button {
  min-height: 44px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.rate-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  border-top: 6px solid var(--accent-2);
}

.rate-card div {
  display: grid;
  gap: 6px;
}

.rate-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rate-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.1;
}

.legal-page {
  max-width: 860px;
}

.legal-copy {
  display: grid;
  gap: 22px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 54px;
}

.article-page {
  min-width: 0;
}

.article-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 22px;
}

.article-category {
  display: inline-flex;
  margin-bottom: 12px;
  background: var(--accent);
  color: #fff;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-header h1 {
  max-width: 880px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 0.98;
}

.article-header p {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-hero-image {
  margin: 0 0 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.article-hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
}

.article-content {
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.75;
}

.article-content p {
  margin: 0 0 24px;
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  margin: 34px 0 38px;
}

.article-gallery figure {
  display: block;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.article-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-gallery + p {
  clear: both;
  margin-top: 10px;
}

.article-sidebar {
  position: sticky;
  top: 152px;
  display: grid;
  gap: 20px;
  align-self: start;
}

@media (max-width: 960px) {
  .top-strip {
    display: none;
  }

  .brand-row {
    min-height: 56px;
  }

  .icon-button {
    display: block;
  }

  .lead-grid,
  .content-shell,
  .article-shell,
  .spotlight-grid,
  .page-grid,
  .contact-layout,
  .rate-card {
    grid-template-columns: 1fr;
  }

  .lead-grid {
    grid-template-rows: 420px repeat(2, 260px);
  }

  .sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .top-strip,
  .brand-row,
  .content-shell,
  .headline-strip,
  .lead-grid,
  .spotlight-section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .brand-row {
    grid-template-columns: 42px 1fr;
  }

  .brand {
    justify-self: start;
    font-size: 28px;
  }

  .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: stretch;
  }

  .header-actions button {
    flex: 1;
  }

  .lead-grid {
    grid-template-rows: 360px repeat(2, 240px);
    gap: 12px;
  }

  .lead-card h1 {
    font-size: 35px;
  }

  .lead-card h2 {
    font-size: 23px;
  }

  .story-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .story-copy h3 {
    font-size: 24px;
  }

  .feature-band {
    padding: 16px;
  }

  .feature-grid,
  .sidebar,
  .article-gallery {
    grid-template-columns: 1fr;
  }

  .spotlight-card {
    min-height: 300px;
  }

  .search-form div {
    display: grid;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 24px;
  }

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

  .lead-grid {
    grid-template-rows: 330px repeat(2, 220px);
  }

  .lead-card h1 {
    font-size: 30px;
  }
}
