:root {
  --bg: #f5f1e8;
  --surface: #fffdf8;
  --surface-2: #f4ede2;
  --surface-3: #edf3eb;
  --ink: #18211b;
  --muted: #616a63;
  --line: #ddd5c8;
  --brand: #1d7b60;
  --brand-2: #6da36e;
  --brand-deep: #17352c;
  --accent: #c86f3f;
  --accent-soft: #f5e6da;
  --violet: #7e69d6;
  --teal: #1d7b60;
  --success: #3f9868;
  --shadow-sm: 0 12px 28px rgba(46, 42, 31, 0.075);
  --shadow-md: 0 18px 38px rgba(28, 31, 24, 0.09);
  --shadow-lg: 0 30px 78px rgba(36, 33, 24, 0.12);
  --radius: 18px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  background: #f5f1e8;
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(29, 123, 96, 0.09), transparent 24%),
    radial-gradient(circle at top right, rgba(200, 111, 63, 0.08), transparent 20%),
    radial-gradient(circle at 50% 18%, rgba(126, 105, 214, 0.05), transparent 24%),
    linear-gradient(180deg, #fffaf1 0%, var(--bg) 100%);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

a:hover {
  transition: 180ms ease;
}

img {
  display: block;
  width: 100%;
}

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

.site-shell {
  padding-bottom: 48px;
}

.site-header {
  padding: 24px 0 12px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 249, 239, 0.96);
  border-bottom: 1px solid rgba(29, 123, 96, 0.08);
  box-shadow: 0 10px 28px rgba(49, 39, 24, 0.05);
}

.masthead {
  display: grid;
  grid-template-columns: minmax(220px, 248px) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.92), transparent 14%),
    linear-gradient(145deg, var(--brand-deep) 0%, var(--brand) 52%, #b97c4b 100%);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 12px;
  right: 4px;
  bottom: 8px;
  border-radius: 4px;
  background: rgba(255, 247, 234, 0.34);
  transform: skew(-24deg);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 9px;
  border: 1px solid rgba(255, 247, 234, 0.22);
  pointer-events: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-family: "Trebuchet MS", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-copy span {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.4;
}

.search-box,
.status-pill {
  min-height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 201, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.desk-brief {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(29, 123, 96, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245,238,227,0.9));
  box-shadow: 0 10px 24px rgba(16, 34, 28, 0.05);
  min-width: 0;
}

.desk-brief-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(29,123,96,0.14), rgba(126,105,214,0.12));
  color: var(--brand);
  font-weight: 700;
  flex: 0 0 auto;
}

.desk-brief-copy {
  min-width: 0;
}

.desk-brief-label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 700;
}

.desk-brief-copy strong {
  display: block;
  font-size: 0.98rem;
  color: var(--brand-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desk-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(29, 123, 96, 0.1);
  background: rgba(255,252,247,0.84);
  box-shadow: 0 10px 22px rgba(16, 34, 28, 0.04);
  min-width: fit-content;
}

.meta-chip {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245,239,230,0.94));
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.meta-chip strong {
  color: var(--brand-deep);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  font-size: 0.92rem;
  color: var(--muted);
}

.status-pill strong {
  color: var(--brand-deep);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #90d48d, var(--success));
  box-shadow: 0 0 0 6px rgba(63, 152, 104, 0.14);
}

.nav-shell {
  margin-top: 18px;
  padding: 9px;
  border-radius: 26px;
  background: linear-gradient(135deg, #18332d 0%, #2b8367 58%, #8f6646 100%);
  box-shadow: 0 18px 34px rgba(16, 34, 28, 0.12);
}

.nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav a {
  flex: 0 0 auto;
  padding: 11px 15px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.96rem;
}

.nav a.active,
.nav a:hover {
  background: #fff;
  color: var(--brand);
}

.nav::-webkit-scrollbar {
  display: none;
}

.ticker {
  margin: 18px 0 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 123, 96, 0.08);
  box-shadow: 0 10px 22px rgba(16, 34, 28, 0.04);
}

.ticker > span:nth-child(2) {
  min-width: 0;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Trebuchet MS", "Arial Narrow", "Segoe UI", sans-serif;
  font-weight: 700;
  color: var(--brand);
}

.ticker span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 26px;
  margin-top: 24px;
  align-items: stretch;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(11, 35, 88, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(29, 123, 96, 0.14);
}

.hero-lead {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(9, 18, 31, 0.06) 12%, rgba(9, 18, 31, 0.85) 100%),
    url("https://images.unsplash.com/photo-1516321165247-4aa89a48be28?auto=format&fit=crop&w=1600&q=80") center/cover;
  box-shadow: 0 28px 58px rgba(16, 34, 28, 0.16);
}

.hero-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 52px 38px 38px;
  color: #fff;
}

.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.16);
}

.tag {
  color: var(--brand);
  background: #e6f1ea;
}

.tag.hot {
  color: #c34d17;
  background: var(--accent-soft);
}

.tag.deep {
  color: #453dce;
  background: rgba(99, 91, 255, 0.12);
}

.hero-panel h1,
.page-hero h1,
.article-hero h1,
.info-page h1 {
  margin: 16px 0 12px;
  font-family: "Trebuchet MS", "Arial Narrow", "Segoe UI", sans-serif;
  line-height: 1.02;
}

.hero-panel h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  max-width: 88%;
  text-wrap: balance;
}

.hero-panel p {
  max-width: 76%;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
}

.meta,
.kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.meta {
  color: var(--muted);
}

.meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  line-height: 1;
}

.meta .reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(29, 123, 96, 0.08);
  color: var(--brand-deep);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.meta .reading-time::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 4px rgba(29, 123, 96, 0.08);
}

.hero-panel .meta {
  color: rgba(255, 255, 255, 0.76);
}

.hero-panel .meta .reading-time {
  background: rgba(255, 250, 241, 0.18);
  color: #fff7ea;
}

.hero-panel .meta .reading-time::before {
  background: linear-gradient(135deg, #fff6df, #d9f2db);
  box-shadow: 0 0 0 4px rgba(255, 247, 234, 0.14);
}

.hero-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.brief-card,
.compact-story {
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.97), rgba(247,242,234,0.96));
}

.brief-card h3,
.compact-story h3,
.story-card h3,
.split-feature h3,
.list-card h3,
.article-list-card h3,
.mini-grid-card h3 {
  margin: 12px 0 10px;
  line-height: 1.35;
}

.brief-card h3,
.compact-story h3,
.story-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.brief-card h3,
.compact-story h3 {
  -webkit-line-clamp: 4;
}

.story-card h3 {
  -webkit-line-clamp: 5;
}

.brief-card p,
.compact-story p,
.story-card p,
.split-feature p,
.list-card p,
.article-list-card p,
.mini-grid-card p,
.page-hero p,
.article-body p,
.article-body li,
.article-side p,
.article-side li,
.info-page p,
.info-page li {
  color: var(--muted);
  line-height: 1.75;
}

.brief-card p,
.compact-story p,
.story-card p,
.article-list-card p {
  margin: 0 0 14px;
}

.brief-image,
.story-image,
.split-feature img,
.article-cover {
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
}

.brief-image + .tag,
.story-image + .tag {
  margin-top: 8px;
}

.split-feature img + div .tag,
.article-list-card img + div .tag {
  margin-bottom: 12px;
}

.section {
  margin-top: 36px;
}

.section-intro {
  margin: 2px 0 22px;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.8;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-family: "Trebuchet MS", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 1.68rem;
}

.section-head a {
  color: var(--brand);
  font-weight: 700;
}

.market-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 24px;
}

.frontpage-board {
  display: grid;
  grid-template-columns: 1.02fr 1.08fr 0.82fr;
  gap: 24px;
  align-items: stretch;
}

.board-column {
  padding: 24px;
}

.board-radar {
  background:
    radial-gradient(circle at top left, rgba(29, 123, 96, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,240,231,0.96));
}

.radar-stack {
  display: grid;
  gap: 16px;
}

.radar-item {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(29, 123, 96, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(238,244,239,0.92));
}

.radar-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(29, 123, 96, 0.11);
  color: var(--brand);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.radar-item h3,
.board-deck h2,
.note-item strong {
  font-family: "Trebuchet MS", "Arial Narrow", "Segoe UI", sans-serif;
}

.radar-item h3 {
  margin: 0 0 8px;
  line-height: 1.34;
  font-size: 1.08rem;
}

.radar-item p,
.board-deck p,
.note-item span {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.board-deck {
  display: grid;
  align-content: start;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(200, 111, 63, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,237,226,0.96));
}

.board-deck h2 {
  margin: 0;
  line-height: 1.15;
  font-size: 2rem;
  max-width: 12ch;
}

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

.deck-chip {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(29, 123, 96, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(239,244,235,0.9));
}

.deck-chip strong {
  font-family: "Trebuchet MS", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 1.02rem;
}

.deck-chip span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
}

.board-notes {
  display: grid;
  align-content: start;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(22, 47, 39, 0.96), rgba(18, 41, 35, 0.98));
  color: #f7f4ea;
}

.board-notes .eyebrow {
  background: rgba(255,255,255,0.12);
}

.note-list {
  display: grid;
  gap: 14px;
}

.note-item {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.note-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.note-item strong {
  color: #fff8ec;
  font-size: 1rem;
}

.note-item span {
  color: rgba(255,255,255,0.76);
}

.market-card,
.signal-card,
.newsletter,
.story-card,
.list-card,
.split-feature,
.article-list-card,
.page-hero,
.article-hero,
.article-body,
.article-side,
.info-page,
.category-shelf {
  padding: 24px;
}

.market-card,
.signal-card,
.list-card,
.newsletter {
  box-shadow: var(--shadow-md);
}

.market-numbers {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.market-stat {
  padding: 16px 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.85), rgba(247,249,253,0.92)),
    var(--surface-2);
  border: 1px solid var(--line);
}

.market-stat strong {
  display: block;
  font-family: "Trebuchet MS", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.signal-list,
.insight-list {
  display: grid;
  gap: 14px;
}

.signal-item,
.insight-item {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

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

.story-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.story-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(239,244,235,0.95));
}

.story-card-accent {
  background:
    radial-gradient(circle at top right, rgba(29, 123, 96, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244, 237, 226, 0.95));
}

.story-card-accent .tag {
  background: rgba(29, 123, 96, 0.12);
}

.content-grid {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 24px;
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

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

.article-list-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
}

.article-list-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-list-card img {
  height: 154px;
  object-fit: cover;
  border-radius: 16px;
}

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

.mini-grid-card {
  padding: 18px;
}

.newsletter {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(135deg, #1b3128, var(--brand));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.newsletter p,
.newsletter .meta {
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-cta {
  display: inline-flex;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
}

.topic-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.topic-pill {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,249,253,0.9));
  box-shadow: var(--shadow-sm);
}

.topic-pill strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Trebuchet MS", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 1.05rem;
}

.topic-pill p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 24px;
}

.opinion-card {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(29, 123, 96, 0.09), transparent 25%),
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,242,234,0.95));
}

.opinion-card h3,
.brief-list h3 {
  margin: 10px 0 8px;
}

.brief-list {
  display: grid;
  gap: 14px;
}

.brief-list a {
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.editor-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface-3);
  border: 1px solid rgba(29, 123, 96, 0.12);
}

.page-hero {
  margin-top: 26px;
  background:
    radial-gradient(circle at top right, rgba(29,123,96,0.08), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,240,231,0.96));
}

.page-hero h1 {
  font-size: clamp(1.55rem, 2.45vw, 2.45rem);
  line-height: 1.08;
  max-width: none;
  white-space: nowrap;
}

.page-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.92fr;
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.category-shelf {
  display: grid;
  gap: 18px;
  align-content: start;
}

.article-hero {
  margin-top: 28px;
  display: grid;
  gap: 20px;
  background:
    radial-gradient(circle at top right, rgba(255,122,61,0.07), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,253,0.96));
}

.article-cover {
  height: 360px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1.44fr 0.82fr;
  gap: 24px;
  margin-top: 24px;
}

.article-body h2,
.article-side h3,
.info-page h2 {
  font-family: "Trebuchet MS", "Arial Narrow", "Segoe UI", sans-serif;
}

.article-body h2 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.article-body ul,
.article-side ul,
.info-page ul {
  padding-left: 20px;
}

.article-byline {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(242,246,255,0.96));
}

.article-byline strong {
  font-family: "Trebuchet MS", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.article-byline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.source-list {
  display: grid;
  gap: 12px;
}

.source-list a {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-weight: 600;
  color: var(--brand-deep);
}

.quote-box {
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 0 18px 18px 0;
  background: #eef4ff;
  color: var(--brand-deep);
  font-weight: 600;
}

.story-links {
  display: grid;
  gap: 12px;
}

.story-links a {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,249,253,0.95));
  border: 1px solid var(--line);
}

.inline-section {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,246,255,0.94));
  border: 1px solid rgba(15, 76, 201, 0.09);
}

.inline-section h3 {
  margin: 0 0 10px;
  font-family: "Trebuchet MS", "Arial Narrow", "Segoe UI", sans-serif;
}

.inline-section p,
.inline-section li {
  color: var(--muted);
  line-height: 1.75;
}

.inline-section ul {
  padding-left: 20px;
  margin: 10px 0 0;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 700;
}

.site-footer {
  margin-top: 44px;
  padding: 34px 0 42px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(135deg, #08152f, #0a275d 55%, #1346a7 100%);
}

.site-footer .card:hover,
.hero-lead:hover {
  transform: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 24px;
  align-items: end;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-links a:hover {
  color: #fff;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: min(420px, calc(100% - 32px));
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 76, 201, 0.12);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-lg);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Trebuchet MS", "Arial Narrow", "Segoe UI", sans-serif;
}

.cookie-banner p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions button,
.cookie-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 201, 0.12);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-actions button {
  background: var(--brand);
  color: #fff;
}

.cookie-actions a {
  background: #fff;
  color: var(--brand);
}

.muted {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .hero-grid,
  .frontpage-board,
  .market-grid,
  .content-grid,
  .editorial-grid,
  .page-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .topic-ribbon,
  .mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-feature {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .masthead {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .desk-brief,
  .desk-meta {
    width: 100%;
  }

  .desk-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 10px;
  }

  .footer-grid,
  .story-grid,
  .topic-ribbon,
  .mini-grid,
  .article-list-card {
    grid-template-columns: 1fr;
  }

  .article-list-card img {
    height: 210px;
  }

  .hero-lead {
    min-height: 460px;
  }

  .page-hero h1 {
    white-space: normal;
  }

  .hero-panel,
  .market-card,
  .signal-card,
  .newsletter,
  .story-card,
  .list-card,
  .split-feature,
  .article-list-card,
  .page-hero,
  .article-hero,
  .article-body,
  .article-side,
  .info-page,
  .category-shelf {
    padding: 20px;
  }

  .hero-panel p {
    max-width: 100%;
  }

  .cookie-banner {
    position: static;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    margin: 18px auto 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 20px), var(--max));
  }

  .site-shell {
    padding-bottom: 36px;
  }

  .site-header {
    padding: 16px 0 10px;
  }

  .brand {
    gap: 12px;
    align-items: center;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .brand-mark::before {
    border-radius: 11px;
  }

  .brand-copy strong {
    font-size: 1.02rem;
    white-space: normal;
    line-height: 1.08;
  }

  .brand-copy span {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .desk-brief {
    min-height: 52px;
    gap: 12px;
    padding: 12px 14px;
    align-items: flex-start;
  }

  .desk-brief-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .desk-brief-label {
    font-size: 0.66rem;
  }

  .desk-brief-copy strong {
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .desk-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-radius: 18px;
  }

  .meta-chip {
    min-height: 38px;
    justify-content: center;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .meta-chip:first-child {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .nav-shell {
    margin-top: 14px;
    padding: 8px;
    border-radius: 20px;
  }

  .nav {
    gap: 6px;
    padding-bottom: 2px;
  }

  .nav a {
    padding: 10px 14px;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .ticker {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 14px 15px;
  }

  .ticker-label {
    width: fit-content;
  }

  .ticker span:last-child {
    font-size: 0.88rem;
  }

  .hero-grid {
    gap: 20px;
    margin-top: 20px;
  }

  .frontpage-board {
    gap: 20px;
  }

  .board-column {
    padding: 18px;
    border-radius: 18px;
  }

  .board-deck h2 {
    max-width: 100%;
    font-size: 1.56rem;
  }

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

  .deck-chip {
    min-height: auto;
  }

  .hero-lead {
    min-height: 440px;
  }

  .hero-panel {
    padding: 34px 20px 24px;
  }

  .hero-panel h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .hero-panel p {
    max-width: 92%;
  }

  .section {
    margin-top: 28px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
  }

  .section-head h2 {
    font-size: 1.36rem;
  }

  .section-intro,
  .brief-card p,
  .compact-story p,
  .story-card p,
  .split-feature p,
  .list-card p,
  .article-list-card p,
  .mini-grid-card p,
  .topic-pill p,
  .newsletter p,
  .opinion-card p {
    line-height: 1.65;
    font-size: 0.95rem;
  }

  .market-card,
  .signal-card,
  .board-column,
  .newsletter,
  .story-card,
  .list-card,
  .split-feature,
  .article-list-card,
  .page-hero,
  .article-hero,
  .article-body,
  .article-side,
  .info-page,
  .category-shelf,
  .topic-pill,
  .mini-grid-card,
  .opinion-card {
    padding: 18px;
    border-radius: 18px;
  }

  .market-numbers,
  .signal-list,
  .insight-list,
  .article-list,
  .brief-list {
    gap: 14px;
  }

  .market-stat {
    padding: 14px 15px;
    border-radius: 16px;
  }

  .market-stat strong {
    font-size: 1.35rem;
  }

  .story-grid,
  .topic-ribbon,
  .mini-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .content-grid,
  .editorial-grid,
  .page-layout,
  .article-layout {
    gap: 20px;
  }

  .brief-card,
  .compact-story {
    padding: 16px;
  }

  .brief-image,
  .story-image,
  .split-feature img,
  .article-cover,
  .article-list-card img {
    height: 180px;
  }

  .brief-image + .tag,
  .story-image + .tag {
    margin-top: 8px;
  }

  .brief-card h3,
  .compact-story h3,
  .story-card h3,
  .article-list-card h3 {
    margin: 12px 0 10px;
  }

  .split-feature {
    gap: 18px;
  }

  .article-list-card {
    gap: 14px;
  }

  .topic-pill strong,
  .section-head a,
  .newsletter-cta {
    font-size: 0.95rem;
  }

  .meta,
  .kicker-row {
    gap: 8px;
    font-size: 0.84rem;
  }

  .footer-grid {
    gap: 18px;
    align-items: start;
  }

  .footer-links {
    gap: 12px 14px;
  }

  .footer-links a {
    font-size: 0.92rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 16px), var(--max));
  }

  .brand-copy strong {
    font-size: 0.98rem;
  }

  .brand-copy span {
    font-size: 0.8rem;
  }

  .desk-brief {
    padding: 10px 12px;
  }

  .desk-brief-copy strong {
    font-size: 0.88rem;
  }

  .desk-meta {
    grid-template-columns: 1fr;
  }

  .meta-chip,
  .meta-chip:first-child {
    grid-column: auto;
    justify-content: flex-start;
  }

  .nav a {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .ticker {
    padding: 14px;
  }

  .hero-panel {
    padding: 28px 16px 20px;
  }


  .hero-panel h1 {
    font-size: clamp(1.72rem, 8.2vw, 2.2rem);
  }

  .eyebrow,
  .tag {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .section-head h2 {
    font-size: 1.24rem;
  }

  .section-intro,
  .brief-card p,
  .compact-story p,
  .story-card p,
  .split-feature p,
  .list-card p,
  .article-list-card p,
  .mini-grid-card p,
  .topic-pill p,
  .newsletter p,
  .opinion-card p,
  .footer-grid p {
    font-size: 0.92rem;
  }

  .market-card,
  .signal-card,
  .newsletter,
  .story-card,
  .list-card,
  .split-feature,
  .article-list-card,
  .page-hero,
  .article-hero,
  .article-body,
  .article-side,
  .info-page,
  .category-shelf,
  .topic-pill,
  .mini-grid-card,
  .opinion-card {
    padding: 16px;
    border-radius: 16px;
  }

  .brief-card,
  .compact-story,
  .market-stat,
  .radar-item,
  .deck-chip,
  .inline-section,
  .editor-note {
    padding: 14px;
    border-radius: 16px;
  }

  .brief-image,
  .story-image,
  .split-feature img,
  .article-cover,
  .article-list-card img {
    height: 164px;
    border-radius: 14px;
  }

  .brief-image + .tag,
  .story-image + .tag {
    margin-top: 10px;
  }

  .split-feature img + div .tag,
  .article-list-card img + div .tag {
    margin-bottom: 12px;
  }

  .newsletter-cta,
  .cookie-actions button,
  .cookie-actions a {
    width: 100%;
  }

  .footer-links {
    gap: 10px 12px;
  }

  .cookie-banner {
    padding: 16px;
    border-radius: 18px;
  }
}
