:root {
  --page-bg: #efe7d7;
  --paper: #fbf8f1;
  --paper-strong: #f6f1e8;
  --ink: #171411;
  --muted: #665f55;
  --line: rgba(23, 20, 17, 0.12);
  --accent: #a53d2d;
  --accent-dark: #76291d;
  --gold: #b98f38;
  --shadow: 0 24px 60px rgba(35, 24, 14, 0.12);
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(185, 143, 56, 0.18), transparent 28%),
    linear-gradient(180deg, #f4ecdf 0%, #e9dfcf 100%);
  font-family: "Source Sans 3", Georgia, serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.page-shell {
  min-height: 100vh;
}

.home-main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.home-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.home-hero-copy,
.home-hero-visual,
.home-card,
.home-panel {
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(118, 41, 29, 0.08);
}

.home-hero-copy {
  padding: 34px;
}

.home-hero-copy h1 {
  margin-top: 12px;
}

.home-lede {
  margin: 18px 0 0;
  max-width: 40rem;
  font-size: 1.14rem;
  color: #342d25;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.primary-link,
.secondary-link,
.home-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.primary-link {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
}

.secondary-link,
.home-card-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.home-hero-visual {
  overflow: hidden;
  min-height: 100%;
}

.home-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-section {
  margin-top: 28px;
}

.home-section-header {
  margin-bottom: 16px;
}

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

.home-card,
.home-panel {
  padding: 24px;
}

.home-card p,
.home-panel p {
  color: var(--muted);
}

.home-card-link {
  margin-top: 14px;
}

.home-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.site-header,
.layout,
.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 10px;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.live-tag {
  color: var(--accent);
  font-weight: 700;
}

.masthead-wrap {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}

.masthead {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.masthead-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.masthead-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 8px;
  font-size: 0.98rem;
  color: var(--muted);
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--accent);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding: 28px 0 42px;
}

.article-card,
.sidebar-panel,
.ad-slot,
.site-footer {
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
}

.article-card {
  padding: 34px;
  border: 1px solid rgba(118, 41, 29, 0.08);
}

.eyebrow-row,
.byline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(165, 61, 45, 0.08);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-pill {
  background: rgba(185, 143, 56, 0.14);
  color: #7e5b13;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.02;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.03em;
}

.subheadline {
  margin: 20px 0 24px;
  font-size: clamp(1.18rem, 2.3vw, 1.45rem);
  color: #342d25;
  max-width: 52rem;
}

.byline-row {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-figure,
.inline-figure,
.media-grid figure {
  margin: 0;
}

.hero-figure {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  margin-bottom: 24px;
  background: var(--paper-strong);
}

.hero-figure img,
.inline-figure img,
.media-grid img,
.video-poster img {
  width: 100%;
  object-fit: cover;
}

.hero-figure figcaption,
.inline-figure figcaption,
.media-grid figcaption {
  padding: 12px 16px 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-body p {
  margin: 0 0 22px;
  font-size: 1.12rem;
}

.dateline {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.media-callout,
.video-module,
.disclosure-block {
  margin: 34px 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(246, 241, 232, 0.84));
}

.media-callout {
  border-radius: 24px;
}

.media-callout .video-module {
  margin: 20px 0 0;
  background: transparent;
}

.media-callout-copy {
  margin-bottom: 20px;
}

.section-label,
.sidebar-label,
.story-kicker,
.ad-label {
  margin: 0 0 8px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

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

.inline-figure {
  margin: 28px 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-strong);
}

.video-module {
  border-radius: 24px;
}

.video-header {
  margin-bottom: 16px;
}

.video-subtitle,
.video-note,
.newsletter-panel p,
.story-card h3,
.trending-list p,
.site-footer p,
.ad-dimensions {
  color: var(--muted);
}

.video-frame {
  position: relative;
}

.video-poster {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0b0b;
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.48) 100%);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid var(--accent);
}

.video-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23, 20, 17, 0.72);
  color: #fff;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-embed {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
  border-radius: 18px;
}

.disclosure-block {
  border-left: 4px solid var(--accent);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-panel,
.ad-slot {
  padding: 20px;
  border: 1px solid var(--line);
}

.trending-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trending-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}

.trending-list span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}

.story-list {
  display: grid;
  gap: 18px;
}

.story-card {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.story-card:first-child {
  padding-top: 0;
  border-top: 0;
}

.story-card h3 {
  font-size: 1.25rem;
}

.ad-slot {
  display: grid;
  gap: 12px;
  border-style: dashed;
  background: repeating-linear-gradient(
    -45deg,
    rgba(185, 143, 56, 0.08),
    rgba(185, 143, 56, 0.08) 14px,
    rgba(255, 255, 255, 0.54) 14px,
    rgba(255, 255, 255, 0.54) 28px
  );
}

.ad-box {
  display: grid;
  place-items: center;
  min-height: 150px;
  border: 1px dashed rgba(23, 20, 17, 0.25);
  text-align: center;
  padding: 18px;
}

.ad-box p {
  margin: 0;
}

.ad-leaderboard .ad-box {
  min-height: 180px;
}

.ad-rectangle .ad-box {
  min-height: 250px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  padding: 24px 28px;
  border: 1px solid var(--line);
}

.footer-brand {
  margin: 0 0 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  color: var(--ink);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  align-content: start;
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .home-hero,
  .home-grid,
  .home-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 820px) {
  .home-main,
  .site-header,
  .layout,
  .site-footer {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .masthead-wrap,
  .site-footer {
    flex-direction: column;
    align-items: start;
  }

  .article-card {
    padding: 22px;
  }

  .media-callout,
  .video-module,
  .disclosure-block {
    padding: 18px;
  }

  .home-hero-copy,
  .home-card,
  .home-panel {
    padding: 22px;
  }

  .media-grid,
  .sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-nav {
    gap: 12px 16px;
  }
}

@media (max-width: 560px) {
  .topbar {
    flex-direction: column;
    gap: 6px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .subheadline,
  .article-body p {
    font-size: 1.03rem;
  }

  .media-callout {
    margin-left: -6px;
    margin-right: -6px;
    padding: 12px;
    border-radius: 18px;
  }

  .media-callout .video-module {
    margin-top: 14px;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .media-callout-copy {
    margin-bottom: 14px;
  }

  .media-grid {
    gap: 10px;
  }

  .video-header {
    margin-bottom: 10px;
  }

  .video-subtitle,
  .video-note,
  .hero-figure figcaption,
  .inline-figure figcaption,
  .media-grid figcaption {
    font-size: 0.84rem;
  }

  .video-poster,
  .video-embed {
    border-radius: 14px;
  }

  .play-button {
    width: 72px;
    height: 72px;
  }
}
