:root {
  --bg: #f7f0e3;
  --paper: #fffaf0;
  --ink: #15120d;
  --muted: #645947;
  --gold: #c28a18;
  --gold-deep: #8e5e09;
  --gold-soft: #e9c16d;
  --rust: #9c3b15;
  --signal: #d63a1d;
  --line: rgba(21, 18, 13, 0.12);
  --shadow: 0 22px 60px rgba(38, 23, 6, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(233, 193, 109, 0.35), transparent 24rem),
    linear-gradient(180deg, #f0e5d0 0%, var(--bg) 24%, #f6f0e8 100%);
}

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

.site-shell {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  color: #fff8e7;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.eyebrow,
.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow,
.kicker {
  color: var(--gold-deep);
}

.brand-lockup h1,
.hero-main h2,
.section-title h2,
.story-copy h3,
.headline-list h3,
.opinion-card h3,
.newsletter h2,
.mini-card h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.brand-lockup h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.main-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.ticker {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0 1.6rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: #1e1811;
  color: #fef6e5;
  overflow: hidden;
}

.ticker > span {
  background: linear-gradient(135deg, var(--signal), #f05f29);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  min-width: max-content;
  animation: slideTicker 24s linear infinite;
}

.ticker-track p {
  margin: 0;
  white-space: nowrap;
}

@keyframes slideTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-20%);
  }
}

.hero-grid,
.section-grid,
.opinion-grid {
  display: grid;
  gap: 1.2rem;
}

.hero-grid {
  grid-template-columns: 1.6fr 0.9fr;
  margin-bottom: 1.8rem;
}

.section-grid {
  grid-template-columns: 1.45fr 0.8fr;
  align-items: start;
}

.hero-side {
  display: grid;
  gap: 1.2rem;
}

.card,
.newsletter {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 250, 240, 0.84);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero-main {
  padding: clamp(1.5rem, 3vw, 2.3rem);
  min-height: 28rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(180deg, rgba(14, 12, 10, 0.12), rgba(14, 12, 10, 0.68)),
    radial-gradient(circle at top left, rgba(244, 212, 144, 0.95), transparent 38%),
    linear-gradient(135deg, #52300d 5%, #c69021 45%, #1a1209 100%);
  color: #fff9eb;
}

.live {
  color: #ffd2c7;
}

.hero-main h2 {
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 0.98;
  margin: 0.55rem 0 1rem;
  max-width: 11ch;
}

.summary {
  max-width: 42rem;
  line-height: 1.65;
  color: rgba(255, 249, 235, 0.9);
}

.meta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.92rem;
  color: rgba(255, 249, 235, 0.82);
}

.mini-card {
  padding: 1.3rem;
}

.mini-card h3 {
  margin: 0.55rem 0;
  font-size: 1.55rem;
  line-height: 1.15;
}

.mini-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.section-block {
  margin-bottom: 1.5rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.section-title span {
  width: 0.32rem;
  height: 1.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold-deep));
}

.section-title h2 {
  margin: 0;
  font-size: 1.7rem;
}

.section-title.tight {
  margin-bottom: 0.75rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.story-card {
  overflow: hidden;
}

.story-card.feature {
  grid-column: span 2;
}

.image-panel {
  min-height: 12rem;
  background-size: cover;
  background-position: center;
}

.image-panel.amber {
  background:
    radial-gradient(circle at top right, rgba(255, 240, 189, 0.48), transparent 25%),
    linear-gradient(135deg, #1b130d, #8a5610 45%, #dba438);
}

.image-panel.rust {
  background:
    radial-gradient(circle at top left, rgba(255, 240, 189, 0.28), transparent 28%),
    linear-gradient(135deg, #2a160f, #7f2713 48%, #cc7b2c);
}

.image-panel.charcoal {
  background:
    radial-gradient(circle at center, rgba(233, 193, 109, 0.2), transparent 30%),
    linear-gradient(135deg, #17120d, #35291b 48%, #544029);
}

.story-copy {
  padding: 1.15rem;
}

.story-copy h3 {
  margin: 0.55rem 0;
  font-size: 1.45rem;
  line-height: 1.15;
}

.story-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.headline-list {
  padding: 0 1.25rem;
}

.headline-list article {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.headline-list article:last-child {
  border-bottom: 0;
}

.headline-list h3 {
  margin: 0.45rem 0 0;
  font-size: 1.4rem;
  line-height: 1.2;
}

.rail-box {
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.hero-link,
.admin-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.hero-link {
  background: rgba(255, 248, 230, 0.14);
  border: 1px solid rgba(255, 248, 230, 0.26);
}

.admin-link {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: #fff9eb;
}

.most-read {
  margin: 0.5rem 0 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.9rem;
  line-height: 1.45;
}

.newsletter {
  padding: 1.35rem;
  background:
    linear-gradient(160deg, rgba(255, 248, 230, 0.92), rgba(236, 215, 166, 0.92));
}

.newsletter h2 {
  margin: 0.55rem 0;
  font-size: 1.7rem;
}

.signup-form {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.signup-form input,
.signup-form button {
  border-radius: 999px;
  border: 1px solid rgba(21, 18, 13, 0.14);
  padding: 0.9rem 1rem;
  font: inherit;
}

.signup-form input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.85);
}

.signup-form button {
  border: 0;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.opinion-band {
  margin-top: 1.5rem;
  border-radius: 2rem;
  padding: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(255, 224, 161, 0.12), transparent 20rem),
    linear-gradient(135deg, #120f0b, #23180e 45%, #3c2611 100%);
  color: #fef6e5;
}

.section-title.invert span {
  background: linear-gradient(180deg, #f0d07d, #d49726);
}

.section-title.invert h2,
.opinion-card .kicker {
  color: #f0d07d;
}

.opinion-grid {
  grid-template-columns: repeat(3, 1fr);
}

.opinion-card {
  padding: 1.2rem 0.4rem 0.3rem 0;
  border-top: 1px solid rgba(255, 246, 229, 0.15);
}

.opinion-card h3 {
  margin: 0.45rem 0 0;
  font-size: 1.5rem;
  line-height: 1.15;
}

.site-footer {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0.2rem 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.article-body {
  min-height: 100vh;
}

.article-page {
  margin-top: 1.4rem;
  padding: clamp(1.2rem, 3vw, 2.5rem);
}

.article-page h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  margin: 0.4rem 0 1rem;
}

.article-content {
  margin-top: 1.2rem;
  font-size: 1.06rem;
  line-height: 1.8;
  color: #2f291f;
}

.article-content p {
  margin: 0 0 1.1rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-grid,
  .story-grid,
  .opinion-grid {
    grid-template-columns: 1fr;
  }

  .story-card.feature {
    grid-column: span 1;
  }

  .hero-main {
    min-height: 22rem;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 1rem, 1240px);
  }

  .topbar,
  .signup-form,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .ticker {
    grid-template-columns: 1fr;
    border-radius: 1.25rem;
  }

  .hero-main h2 {
    max-width: 100%;
  }
}
