:root {
  --ink: #191b1f;
  --muted: #5f6570;
  --paper: #ffffff;
  --wash: #f4f6f7;
  --line: #dfe3e6;
  --red: #34592b;
  --brand: #34592b;
  --brand-dark: #223c1c;
  --brand-soft: #edf3e7;
  --teal: #0c7280;
  --gold: #b8872e;
  --green: #627b50;
  --shadow: 0 18px 45px rgba(25, 27, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

::selection {
  color: white;
  background: var(--red);
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: white;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

@supports (animation-timeline: view()) {
  .reveal {
    animation: rise-in both;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: clamp(176px, 19vw, 282px);
  height: auto;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.text-link,
.mobile-menu a,
.footer-links a {
  text-decoration: none;
}

.nav a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
}

.button-solid {
  color: white;
  background: var(--red);
}

.button-solid:hover {
  background: var(--brand-dark);
}

.button-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
}

.button-outline {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 74px 0 auto 0;
  z-index: 19;
  display: none;
  grid-template-columns: 1fr;
  padding: 10px 18px 22px;
  background: white;
  box-shadow: var(--shadow);
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(22px, 4vw, 56px);
  padding: 128px clamp(18px, 6vw, 82px) 48px;
  overflow: hidden;
  color: white;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mix-blend-mode: overlay;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 28, 12, 0.94) 0%, rgba(20, 43, 18, 0.78) 47%, rgba(20, 43, 18, 0.34) 100%),
    linear-gradient(0deg, rgba(13, 28, 12, 0.76) 0%, rgba(13, 28, 12, 0.1) 46%);
}

.hero-content,
.signal-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 850px;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4c05f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 8vw, 126px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.signal-panel {
  display: grid;
  gap: 1px;
  align-self: end;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.signal-panel div {
  padding: 22px;
  background: rgba(25, 27, 31, 0.72);
}

.signal-panel .seal-block {
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
}

.seal-logo {
  width: min(148px, 100%);
  height: auto;
}

.metric {
  display: block;
  margin-bottom: 4px;
  color: #f4c05f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1;
}

.label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.principles p {
  min-height: 132px;
  margin: 0;
  padding: 28px clamp(18px, 4vw, 42px);
  border-right: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.16;
}

.principles p:last-child {
  border-right: 0;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 6vw, 82px);
}

.subpage {
  padding-top: 74px;
}

.page-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(78px, 10vw, 132px) clamp(18px, 6vw, 82px) clamp(48px, 8vw, 92px);
  color: white;
  background:
    linear-gradient(90deg, rgba(13, 28, 12, 0.94), rgba(13, 28, 12, 0.62)),
    var(--brand-dark);
  background-size: cover;
  background-position: center;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(42px, 6.6vw, 88px);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
}

.page-badge {
  width: clamp(124px, 18vw, 210px);
  height: auto;
  padding: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.about-hero {
  background-image:
    linear-gradient(90deg, rgba(13, 28, 12, 0.94), rgba(13, 28, 12, 0.58)),
    url("/assets/shutterstock_509407396.jpg");
}

.news-hero {
  background-image:
    linear-gradient(90deg, rgba(13, 28, 12, 0.94), rgba(13, 28, 12, 0.56)),
    url("/assets/circuit.jpg");
}

.reports-hero {
  background-image:
    linear-gradient(90deg, rgba(13, 28, 12, 0.94), rgba(13, 28, 12, 0.58)),
    url("/assets/Gas-Prices.jpg");
}

.maps-hero {
  background-image:
    linear-gradient(90deg, rgba(13, 28, 12, 0.94), rgba(13, 28, 12, 0.52)),
    url("/assets/traffic.jpg");
}

.solutions-hero {
  background-image:
    linear-gradient(90deg, rgba(13, 28, 12, 0.94), rgba(13, 28, 12, 0.56)),
    url("/assets/cranes.jpg");
}

.research-hero {
  background-image:
    linear-gradient(90deg, rgba(13, 28, 12, 0.94), rgba(13, 28, 12, 0.56)),
    url("/assets/cow.jpg");
}

.surveys-hero {
  background-image:
    linear-gradient(90deg, rgba(13, 28, 12, 0.94), rgba(13, 28, 12, 0.56)),
    url("/assets/election_rules.gif");
}

.video-hero {
  background-image:
    linear-gradient(90deg, rgba(13, 28, 12, 0.94), rgba(13, 28, 12, 0.56)),
    url("/assets/airplane.jpg");
}

.blog-hero {
  background-image:
    linear-gradient(90deg, rgba(13, 28, 12, 0.94), rgba(13, 28, 12, 0.56)),
    url("/assets/water-drop.jpg");
}

.contact-hero {
  background-image:
    linear-gradient(90deg, rgba(13, 28, 12, 0.94), rgba(13, 28, 12, 0.58)),
    url("/assets/ship.jpg");
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 82px);
}

.body-copy {
  color: var(--muted);
  font-size: 18px;
}

.values-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.values-band article {
  min-height: 250px;
  padding: 30px;
  background: white;
}

.reports-preview {
  background: var(--brand-soft);
}

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

.report-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  background: white;
}

.report-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.report-card p {
  color: var(--muted);
}

.intro-section {
  background: var(--wash);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

.inline-action {
  display: inline-flex;
  margin-top: 12px;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.inline-action::after {
  content: ">";
  margin-left: 8px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 930px;
  margin-bottom: 0;
}

.feature-section {
  background: var(--brand-dark);
  color: white;
}

.feature-section .section-kicker {
  color: #f4c05f;
}

.feature-section .button-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}

.forecast-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: 24px;
}

.forecast-lead {
  padding: clamp(26px, 5vw, 56px);
  background: white;
  color: var(--ink);
}

.forecast-lead p {
  max-width: 790px;
  color: var(--muted);
  font-size: 18px;
}

.forecast-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.forecast-bar span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.quote-stack {
  display: grid;
  gap: 24px;
}

blockquote {
  margin: 0;
  padding: 30px;
  border-left: 6px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.18;
}

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

.story-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}

.story-card p {
  color: var(--muted);
}

.story-card a {
  margin-top: auto;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 36px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 900;
}

.accent-red .card-icon {
  background: var(--red);
}

.accent-teal .card-icon {
  background: var(--teal);
}

.accent-gold .card-icon {
  background: var(--gold);
}

.map-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 82px);
  background: var(--wash);
}

.map-copy p {
  color: var(--muted);
  font-size: 18px;
}

.map-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.map-links a,
.solution-grid a,
.directory-grid a {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.map-links a:hover,
.solution-grid a:hover,
.directory-grid a:hover {
  border-color: var(--red);
  color: var(--red);
}

.directory-section {
  background: white;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.solutions-section {
  background: white;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.subscribe-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  background: var(--brand-soft);
}

.subscribe-section p {
  color: var(--muted);
  font-size: 18px;
}

.subscribe-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: white;
  box-shadow: var(--shadow);
}

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

.subscribe-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 13px;
  color: var(--ink);
  font: inherit;
}

.subscribe-form input:focus {
  outline: 3px solid rgba(8, 127, 140, 0.18);
  border-color: var(--teal);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 28px;
  padding: 42px clamp(18px, 6vw, 82px);
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 5px;
  background: white;
  text-decoration: none;
}

.footer-logo {
  width: 240px;
  height: auto;
}

.site-footer p {
  max-width: 820px;
  margin-bottom: 10px;
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 10px;
  align-content: start;
  color: white;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero,
  .forecast-layout,
  .intro-grid,
  .split-section,
  .page-hero,
  .map-section,
  .subscribe-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

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

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

  .values-band,
  .report-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .text-link,
  .header-actions .button {
    display: none;
  }

  .brand-logo {
    width: 178px;
    padding: 7px 8px;
  }

  .mobile-menu {
    inset-top: 66px;
  }

  .hero {
    min-height: 88vh;
    padding: 104px 18px 28px;
  }

  .subpage {
    padding-top: 66px;
  }

  .page-hero {
    min-height: 520px;
    grid-template-columns: 1fr;
    padding: 72px 18px 42px;
  }

  .page-badge {
    width: 128px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(13, 28, 12, 0.92) 0%, rgba(13, 28, 12, 0.58) 100%);
  }

  .signal-panel,
  .principles,
  .card-grid,
  .map-links,
  .directory-grid,
  .values-band,
  .report-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .signal-panel div {
    padding: 16px;
  }

  .principles p {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 54px 18px;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .story-card {
    min-height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Portal-style interactive layer inspired by the current client dashboard. */
body {
  background:
    linear-gradient(180deg, #fffdfa 0%, #f5efe5 42%, #ffffff 100%);
}

.site-header.is-scrolled,
.site-header {
  background: rgba(255, 253, 250, 0.92);
  color: #1b1a18;
  border-bottom: 1px solid #ddd8cf;
  backdrop-filter: blur(18px);
}

.brand-logo {
  background: transparent;
}

.hero {
  min-height: 88vh;
  align-items: center;
  background: #fbf7f0;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(34, 60, 28, 0.96) 0%, rgba(52, 89, 43, 0.78) 44%, rgba(251, 247, 240, 0.16) 100%),
    linear-gradient(0deg, rgba(27, 26, 24, 0.55) 0%, transparent 45%);
}

.signal-panel,
.forecast-lead,
.story-card,
.subscribe-form,
.report-card,
.map-links a,
.solution-grid a,
.directory-grid a,
.content-console {
  border: 1px solid #ddd8cf;
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.95);
  box-shadow: 0 10px 24px rgba(34, 28, 21, 0.06);
}

.signal-panel {
  overflow: hidden;
}

.signal-panel div {
  background: rgba(255, 253, 250, 0.94);
}

.signal-panel .label {
  color: #655b52;
}

.metric {
  color: var(--brand);
}

.seal-logo {
  width: min(154px, 100%);
}

.principles,
.intro-section,
.map-section,
.reports-preview,
.subscribe-section {
  background: #fbf7f0;
}

.feature-section,
.command-section {
  color: #1b1a18;
  background: linear-gradient(180deg, #fbf7f0 0%, #f2ebe0 100%);
}

.feature-section .section-kicker,
.command-section .section-kicker {
  color: #7a5a3b;
}

.feature-section .button-outline {
  color: #1b1a18;
  border-color: #bc9b72;
}

.quote-stack blockquote {
  border-color: #bc9b72;
  background: #fffdf8;
  color: #1e1b18;
}

.interactive-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
}

.search-box {
  display: grid;
  gap: 7px;
  width: min(460px, 100%);
  color: #75685e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-box input {
  min-height: 48px;
  border: 1px solid #e4d8c9;
  border-radius: 12px;
  padding: 0 14px;
  color: #1b1a18;
  background: #fffdf8;
  font: inherit;
  text-transform: none;
}

.search-box input:focus {
  outline: 3px solid rgba(52, 89, 43, 0.16);
  border-color: var(--brand);
}

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid #e2d6c8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.segmented button {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  color: #75685e;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.segmented button.is-active,
.segmented button:hover {
  color: #fff;
  background: var(--brand);
}

.report-card,
.directory-link,
.story-card {
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.report-card:hover,
.directory-link:hover,
.story-card:hover {
  transform: translateY(-4px);
  border-color: #bc9b72;
  box-shadow: 0 14px 30px rgba(44, 35, 25, 0.08);
}

.report-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.directory-link {
  justify-content: space-between;
  gap: 16px;
}

.directory-link small {
  padding: 5px 8px;
  border-radius: 999px;
  color: #7a5a3b;
  background: #efe1cf;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.command-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  border-top: 1px solid #ddd8cf;
  border-bottom: 1px solid #ddd8cf;
}

.command-copy p {
  max-width: 620px;
  color: #655b52;
  font-size: 18px;
}

.command-console {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  align-items: center;
}

.stat-ring {
  width: 210px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fffdf8 0 58%, transparent 59%),
    conic-gradient(from -90deg, var(--brand) 0 74%, #e2d6c8 74% 100%);
  box-shadow: inset 0 0 0 1px rgba(52, 89, 43, 0.18), 0 18px 40px rgba(32, 28, 24, 0.08);
}

.stat-ring span {
  display: block;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1;
}

.stat-ring small {
  max-width: 120px;
  color: #75685e;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-tile {
  min-height: 116px;
  padding: 20px;
  border: 1px solid #e2d6c8;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.stat-tile strong {
  display: block;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}

.stat-tile span {
  display: block;
  margin-top: 9px;
  color: #75685e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.intel-board {
  background:
    linear-gradient(180deg, #fffdfa 0%, #fbf7f0 100%);
}

.intel-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid #e2d6c8;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(34, 28, 21, 0.05);
}

.intel-switch button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  color: #75685e;
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.intel-switch button.is-active,
.intel-switch button:hover {
  color: white;
  background: var(--brand);
}

.intel-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 18px;
  align-items: stretch;
}

.intel-card {
  display: none;
  min-height: 360px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid #ddd8cf;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(251, 241, 230, 0.92)),
    #fffdf8;
  box-shadow: 0 18px 40px rgba(32, 28, 24, 0.08);
}

.intel-card.is-active {
  display: block;
  animation: board-in 220ms ease both;
}

.intel-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #7a5a3b;
  background: #efe1cf;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.intel-card h3 {
  max-width: 780px;
  font-size: clamp(34px, 5vw, 64px);
}

.intel-card p {
  max-width: 720px;
  color: #655b52;
  font-size: 18px;
}

.intel-card .button {
  margin-top: 20px;
}

.intel-readout {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #ddd8cf;
  border-radius: 24px;
  background: #ddd8cf;
  box-shadow: 0 18px 40px rgba(32, 28, 24, 0.08);
}

.intel-readout div {
  display: grid;
  align-content: center;
  min-height: 118px;
  padding: 24px;
  background: #fffdfa;
}

.intel-readout strong {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.intel-readout span {
  margin-top: 8px;
  color: #75685e;
  font-size: 13px;
  font-weight: 800;
}

.bio-section {
  background: #fffdfa;
}

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

.bio-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid #ddd8cf;
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.95);
  box-shadow: 0 10px 24px rgba(34, 28, 21, 0.06);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.bio-card:hover {
  transform: translateY(-3px);
  border-color: #bc9b72;
  box-shadow: 0 14px 30px rgba(44, 35, 25, 0.08);
}

.bio-initials {
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: white;
  background: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 900;
}

.bio-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #7a5a3b;
  background: #efe1cf;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.bio-card h3 {
  font-size: 24px;
}

.bio-card p {
  color: #655b52;
  font-size: 15px;
}

.migrated-section {
  background: #fffdfa;
}

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

.migrated-card {
  padding: 22px;
  border: 1px solid #ddd8cf;
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.95);
  box-shadow: 0 10px 24px rgba(34, 28, 21, 0.05);
}

.migrated-card p {
  margin: 0;
  color: #655b52;
  font-size: 16px;
}

.research-desk {
  background: #fffdfa;
}

.desk-alert {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px clamp(18px, 6vw, 82px);
  color: white;
  background: var(--brand);
  text-decoration: none;
}

.desk-alert span {
  color: #f4c05f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.desk-alert strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.1;
}

.desk-section {
  padding-bottom: clamp(28px, 5vw, 58px);
}

.topic-section {
  padding-top: 0;
}

.feature-desk {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
}

.feature-tile {
  display: grid;
  align-content: end;
  min-height: 260px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #ddd8cf;
  border-radius: 22px;
  color: #1b1a18;
  background:
    linear-gradient(145deg, rgba(255, 253, 250, 0.96), rgba(251, 241, 230, 0.9)),
    #fffdf8;
  box-shadow: 0 18px 40px rgba(32, 28, 24, 0.08);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.feature-tile-large {
  grid-row: span 2;
  min-height: 538px;
  background:
    linear-gradient(180deg, rgba(34, 60, 28, 0.12), rgba(255, 253, 250, 0.94)),
    url("/assets/circuit.jpg");
  background-size: cover;
  background-position: center;
}

.feature-tile:hover {
  transform: translateY(-4px);
  border-color: #bc9b72;
  box-shadow: 0 22px 52px rgba(32, 28, 24, 0.12);
}

.feature-tile span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #7a5a3b;
  background: #efe1cf;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-tile h3 {
  max-width: 720px;
  font-size: clamp(28px, 4vw, 54px);
}

.feature-tile:not(.feature-tile-large) h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.feature-tile p {
  max-width: 720px;
  color: #655b52;
  font-size: 17px;
}

.topic-river {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #ddd8cf;
  border-radius: 999px;
  color: #1b1a18;
  background: white;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.topic-pill:hover {
  transform: translateY(-2px);
  border-color: #bc9b72;
  color: var(--brand);
}

.topic-gold {
  background: #fff6e9;
}

.topic-teal {
  background: #eef8f7;
}

.topic-green {
  background: #edf3e7;
}

@keyframes board-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .command-section,
  .command-console,
  .intel-stage {
    grid-template-columns: 1fr;
  }

  .stat-ring {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .interactive-toolbar {
    display: grid;
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    flex: 1 1 auto;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .intel-switch {
    display: grid;
  }

  .bio-grid {
    grid-template-columns: 1fr;
  }

  .migrated-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-tile-large {
    min-height: 360px;
  }

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

@media (max-width: 560px) {
  .bio-card {
    grid-template-columns: 1fr;
  }
}

/* Publication redesign pass: cleaner think-tank rhythm, less dashboard-heavy. */
.publication-layout {
  border-top: 1px solid #ddd8cf;
  border-bottom: 1px solid #ddd8cf;
}

.publication-layout .desk-section {
  padding-top: clamp(48px, 6vw, 84px);
}

.publication-layout .feature-desk {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
}

.publication-layout .feature-tile {
  border-radius: 8px;
  box-shadow: none;
  border-color: #d8d0c4;
  background: #fffdfa;
}

.publication-layout .feature-tile-large {
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.94), rgba(255, 253, 250, 0.72)),
    url("/assets/circuit.jpg");
  background-size: cover;
  background-position: center;
}

.publication-layout .feature-tile:hover {
  box-shadow: 0 16px 32px rgba(34, 28, 21, 0.1);
}

.publication-layout .topic-river {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.publication-layout .topic-pill {
  min-height: 86px;
  justify-content: flex-start;
  border-radius: 8px;
  background: white;
}

.subscribe-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(70px, 9vw, 126px) clamp(18px, 6vw, 82px);
  background:
    linear-gradient(135deg, #fffdfa 0%, #eef4ed 52%, #fbf1e6 100%);
}

.subscribe-copy h1 {
  max-width: 900px;
  font-size: clamp(44px, 6.8vw, 92px);
}

.subscribe-copy p {
  max-width: 780px;
  color: #52606c;
  font-size: clamp(18px, 2vw, 22px);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #cfe0ed;
  border-radius: 999px;
  color: #0b3759;
  background: #f6fbff;
  font-size: 13px;
  font-weight: 900;
}

.subscribe-media {
  border: 1px solid #d4dde5;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 16px 34px rgba(8, 36, 61, 0.14);
}

.subscribe-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.subscribe-preview {
  background: #f3f6f9;
}

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

.preview-grid article {
  overflow: hidden;
  border: 1px solid #d4dde5;
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 26px rgba(8, 36, 61, 0.08);
}

.preview-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid #d4dde5;
}

.preview-grid h3,
.preview-grid p {
  margin-left: 18px;
  margin-right: 18px;
}

.preview-grid h3 {
  margin-top: 18px;
}

.preview-grid p {
  margin-bottom: 22px;
  color: #52606c;
}

.platform-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: center;
  background: #fffdfa;
}

.platform-preview img {
  width: 100%;
  border: 1px solid #d4dde5;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(8, 36, 61, 0.12);
}

.platform-preview div {
  padding: 28px;
  border-left: 6px solid var(--brand);
  background: #fcfdf9;
}

.platform-preview strong {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.platform-preview p {
  color: #52606c;
  font-size: 18px;
}

@media (max-width: 980px) {
  .subscribe-hero,
  .platform-preview {
    grid-template-columns: 1fr;
  }

  .preview-grid,
  .publication-layout .topic-river {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .preview-grid,
  .publication-layout .topic-river {
    grid-template-columns: 1fr;
  }
}
