@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&family=Fraunces:opsz,wght,SOFT@9..144,500,40&display=swap");

:root {
  --bg: #f6efe5;
  --bg-soft: #fbf7f1;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: #fffaf4;
  --ink: #11253a;
  --ink-soft: #3f5569;
  --line: rgba(17, 37, 58, 0.12);
  --accent: #ec6f4b;
  --accent-soft: #ffd4c9;
  --teal: #2e8a87;
  --sun: #f2c96b;
  --shadow: 0 24px 60px rgba(17, 37, 58, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Archivo", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(236, 111, 75, 0.12), transparent 22rem),
    radial-gradient(circle at 85% 10%, rgba(46, 138, 135, 0.16), transparent 24rem),
    linear-gradient(180deg, #fcf8f3 0%, #f6efe5 42%, #f3eadf 100%);
}

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

.page {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  margin: 0.5rem 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px);
}

.topline-meta,
.topline-links,
.brand-row,
.section-head,
.kicker-line,
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}

.topline small,
.topline a,
.meta {
  font-size: 0.87rem;
  color: var(--ink-soft);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--ink);
}

.status::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #6fc6c2);
  box-shadow: 0 0 0 6px rgba(46, 138, 135, 0.12);
}

.masthead,
.hero-grid,
.atlas-grid,
.feature-ribbon,
.page-grid,
.article-layout,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.masthead {
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
}

.brand-block,
.note-block,
.page-heading,
.article-header,
.page-copy,
.page-card,
.article-body,
.article-aside,
.site-footer,
.story-card,
.mini-card,
.data-card,
.signal-card,
.note-panel,
.article-link-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.brand-block,
.note-block,
.page-heading,
.article-header,
.page-copy,
.page-card,
.article-body,
.article-aside,
.site-footer {
  padding: 1.4rem;
}

.brand-mark,
.eyebrow,
.kicker,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(17, 37, 58, 0.06);
}

.stamp {
  min-width: 116px;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--accent), #f28c65);
  color: white;
  text-align: center;
  font-weight: 700;
}

.stamp span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.88;
}

.stamp strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 2rem;
  line-height: 1;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  margin-top: 1.2rem;
}

.hero-primary,
.hero-secondary {
  border-radius: 28px;
  overflow: hidden;
  min-height: 100%;
}

.hero-primary {
  padding: 2rem;
  background:
    linear-gradient(120deg, rgba(17, 37, 58, 0.04) 0%, rgba(17, 37, 58, 0.01) 100%),
    linear-gradient(160deg, rgba(46, 138, 135, 0.18), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(17, 37, 58, 0.08);
}

.hero-secondary,
.note-panel {
  background: linear-gradient(180deg, #15344d 0%, #102538 100%);
  color: white;
}

.hero-secondary {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
  padding: 1.45rem;
}

.hero-primary h1,
.page-heading h1,
.article-header h1,
.story-card.large h3,
.article-link-card h3,
.page-card h3,
.mini-card h3,
.data-card h3 {
  font-family: "Fraunces", Georgia, serif;
}

.hero-primary h1,
.page-heading h1,
.article-header h1 {
  margin: 1rem 0 0.9rem;
  font-size: clamp(2.45rem, 5vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lead,
.article-intro,
.hero-primary p,
.page-copy p,
.article-body p,
.note-block p,
.mini-card p,
.data-card p,
.signal-card p,
.article-link-card p,
.footnote,
.footer-grid p {
  color: var(--ink-soft);
  line-height: 1.72;
}

.hero-points,
.route-grid,
.signal-belt,
.article-links,
.source-list,
.route-list,
.inline-links {
  display: grid;
  gap: 1rem;
}

.hero-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.hero-point,
.route-link,
.source-item {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(17, 37, 58, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.hero-point strong,
.mini-card strong,
.signal-card strong,
.article-panel strong,
.data-card strong {
  display: block;
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.07em;
}

.hero-point span,
.route-link em {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-style: normal;
}

.route-link {
  background: rgba(255, 255, 255, 0.08);
}

.route-link span {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.route-link strong,
.note-block h2,
.hero-secondary h2,
.section-head h2,
.article-aside h3,
.page-grid h2 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.ticker {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.2rem;
  margin: 1.3rem 0 0.2rem;
}

.ticker span {
  white-space: nowrap;
  padding: 0.65rem 0.9rem;
  border: 1px dashed rgba(17, 37, 58, 0.14);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
}

.section {
  margin-top: 1.55rem;
}

.atlas-grid,
.feature-ribbon {
  grid-template-columns: 1.1fr 0.9fr;
}

.story-card.large,
.mini-card,
.data-card,
.signal-card,
.note-panel,
.article-link-card {
  padding: 1.2rem;
}

.story-card.large .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 800;
}

.story-card.large h3,
.article-link-card h3 {
  margin: 1rem 0 0.55rem;
  font-size: 1.85rem;
  line-height: 1.05;
}

.story-card.compact {
  display: grid;
  gap: 1rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.mini-card.teal {
  background: linear-gradient(160deg, rgba(46, 138, 135, 0.18), rgba(255, 255, 255, 0.9));
}

.mini-card.sun {
  background: linear-gradient(160deg, rgba(242, 201, 107, 0.26), rgba(255, 255, 255, 0.96));
}

.mini-card h3,
.data-card h3 {
  margin: 0.65rem 0 0.45rem;
  font-size: 1.22rem;
  line-height: 1.2;
}

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

.signal-belt {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-card.orange {
  border-color: rgba(236, 111, 75, 0.28);
}

.signal-card.teal {
  border-color: rgba(46, 138, 135, 0.28);
}

.signal-card.yellow {
  border-color: rgba(242, 201, 107, 0.38);
}

.signal-card.blue {
  border-color: rgba(17, 37, 58, 0.18);
}

.page-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  margin-top: 1rem;
}

.article-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  margin-top: 1rem;
}

.article-aside {
  position: sticky;
  top: 1rem;
  align-self: start;
  background: rgba(255, 255, 255, 0.82);
}

.page-copy h2,
.article-body h2,
.article-body h3 {
  margin: 1.4rem 0 0.65rem;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.1;
}

.page-copy ul,
.page-card ul,
.article-body ul,
.article-body ol,
.article-aside ul,
.note-panel ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.article-panel {
  margin-top: 1.2rem;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  background: rgba(17, 37, 58, 0.05);
}

.inline-links a,
.footer-nav a {
  display: block;
}

.inline-links a {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(17, 37, 58, 0.03);
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.7fr));
}

.footer-grid h3 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-nav {
  display: grid;
  gap: 0.45rem;
}

.footer-note {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.article-link-card,
.story-card,
.mini-card,
.data-card,
.page-card,
.inline-links a,
.route-link {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.article-link-card:hover,
.story-card:hover,
.mini-card:hover,
.data-card:hover,
.page-card:hover,
.inline-links a:hover,
.route-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(17, 37, 58, 0.12);
  border-color: rgba(17, 37, 58, 0.18);
}

@media (max-width: 1080px) {
  .masthead,
  .hero-grid,
  .atlas-grid,
  .feature-ribbon,
  .page-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .route-grid,
  .signal-belt,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .page {
    width: min(calc(100% - 1rem), var(--max));
  }

  .topline,
  .brand-row,
  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .hero-points,
  .route-grid,
  .signal-belt,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-block,
  .note-block,
  .page-heading,
  .article-header,
  .page-copy,
  .page-card,
  .article-body,
  .article-aside,
  .site-footer {
    padding: 1.1rem;
  }

  .hero-primary {
    padding: 1.2rem;
  }

  .hero-primary h1,
  .page-heading h1,
  .article-header h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
