:root {
  --color-brand: #244c74;
  --color-brand-strong: #11283d;
  --color-accent: #d2a252;
  --color-brand-soft: #dce7f3;
  --container: min(1220px, 92vw);
}

body.consulting-theme {
  background:
    radial-gradient(1200px 480px at 8% -14%, rgba(36, 76, 116, 0.18), transparent 70%),
    radial-gradient(980px 420px at 90% 4%, rgba(210, 162, 82, 0.13), transparent 65%),
    #f3f7fa;
}

.consulting-theme .topbar {
  background: #0d2237;
}

.consulting-theme .site-header {
  background: rgba(226, 237, 249, 0.95);
}

.consulting-theme .nav-links a {
  font-size: 0.95rem;
  padding: 0.58rem 0.78rem;
  border-radius: 0.4rem;
}

.consulting-theme .hero-shell::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: -7rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(210, 162, 82, 0.28), transparent 68%);
  z-index: 1;
}

.consulting-theme .hero-content {
  max-width: 840px;
}

.consulting-theme .hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  max-width: 17ch;
}

.impact-band {
  padding: 1.5rem 0 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.impact-stat {
  border: 1px solid #c5d6e8;
  border-radius: 0.85rem;
  background: linear-gradient(160deg, #ffffff, #f5f9fd);
  padding: 1rem;
}

.impact-stat span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1;
  color: var(--color-brand-strong);
  margin-bottom: 0.45rem;
}

.impact-stat p {
  margin: 0;
  font-size: 0.9rem;
  color: #435971;
}

.section-story {
  padding-top: 3.6rem;
}

.story-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1rem;
  background: linear-gradient(148deg, #ffffff, #f2f6fc);
  border: 1px solid #c9d8e8;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 18px 34px rgba(16, 42, 71, 0.1);
  overflow: clip;
}

.story-shell::before {
  content: "";
  position: absolute;
  left: -8rem;
  top: -8rem;
  width: 19rem;
  height: 19rem;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(36, 76, 116, 0.18), transparent 68%);
  pointer-events: none;
}

.story-shell::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -7rem;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(210, 162, 82, 0.18), transparent 66%);
  pointer-events: none;
}

.story-lead,
.story-panel {
  position: relative;
  z-index: 1;
}

.story-lead {
  padding: 0.4rem 0.45rem 0.6rem;
}

.story-lead h2 {
  max-width: 19ch;
  margin-bottom: 0.85rem;
}

.story-lead p {
  max-width: 60ch;
}

.story-pillars {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.story-pillars article {
  border-left: 4px solid rgba(36, 76, 116, 0.34);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0.7rem;
  padding: 0.72rem 0.78rem;
}

.story-pillars h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.story-pillars p {
  margin: 0;
  font-size: 0.92rem;
}

.story-panel {
  display: grid;
  gap: 0.7rem;
}

.story-media-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.6rem;
}

.story-media-grid img {
  width: 100%;
  height: 9.1rem;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 12px 22px rgba(16, 42, 71, 0.15);
}

.story-media-grid img:first-child {
  grid-row: span 2;
  height: 18.8rem;
}

.story-vision-card {
  border: 1px solid #cbdae8;
  border-radius: 0.82rem;
  background: #fff;
  padding: 0.85rem 0.9rem;
}

.story-vision-card h3 {
  margin-bottom: 0.35rem;
}

.story-vision-card p,
.story-vision-card li {
  font-size: 0.92rem;
}

.story-meta {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.story-meta .card {
  border: 1px solid #cad9e9;
  box-shadow: 0 12px 24px rgba(16, 42, 71, 0.08);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.badge-row span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #183b57;
  background: rgba(36, 76, 116, 0.12);
  border-radius: 100vmax;
  padding: 0.32rem 0.6rem;
}

.section-services {
  background:
    linear-gradient(155deg, rgba(17, 58, 95, 0.1), rgba(255, 255, 255, 0.84)),
    #eef3f9;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1rem;
  align-items: stretch;
}

.services-visual {
  position: relative;
  overflow: hidden;
  border-radius: 0.95rem;
  min-height: 33rem;
  box-shadow: 0 18px 34px rgba(16, 42, 71, 0.18);
  background:
    linear-gradient(180deg, rgba(8, 23, 40, 0.08), rgba(22, 56, 91, 0.82)),
    url("/gallery/marsh2.jpeg") center / cover no-repeat;
}

.services-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 23, 40, 0.1), rgba(22, 56, 91, 0.72));
}

.services-visual-copy {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
}

.services-visual-copy span {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff3d7;
  background: rgba(210, 162, 82, 0.27);
  border: 1px solid rgba(210, 162, 82, 0.4);
  border-radius: 100vmax;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.45rem;
}

.services-visual-copy h3 {
  color: #fff;
  margin-bottom: 0.4rem;
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
}

.services-visual-copy p {
  margin: 0;
  color: #d8e4f2;
}

.services-content .section-head {
  margin-bottom: 1rem;
}

.services-content .section-head p {
  max-width: 58ch;
}

.section-services .accordion-item {
  border-color: #c6d7e9;
  box-shadow: 0 8px 17px rgba(16, 42, 71, 0.07);
}

.section-services .accordion-head {
  font-size: 1.05rem;
}

.section-programs .program-card {
  border: 1px solid #c9d8e8;
  border-left: 4px solid var(--color-accent);
  background: linear-gradient(160deg, #ffffff, #f5f9fb);
}

.section-programs .program-card:hover {
  transform: translateY(-3px);
}

.section-gallery .gallery-item {
  border: 1px solid #c9d8e8;
}

.section-gallery .gallery-item span {
  background: rgba(17, 40, 61, 0.82);
}

.section-testimonials .quote {
  border-left-color: #d2a252;
  background: linear-gradient(155deg, rgba(36, 76, 116, 0.08), #fff);
}

.section-why .card {
  border: 1px solid #cad9e9;
  background: #fff;
}

.section-contact .card {
  border-color: #c8d8e8;
}

.consulting-theme .btn-primary {
  color: #1f1811;
}

.consulting-theme .site-footer {
  background: #11283d;
}

@media (max-width: 980px) {
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-visual {
    min-height: 18rem;
  }

  .story-shell {
    grid-template-columns: 1fr;
  }

  .story-media-grid img:first-child {
    grid-row: auto;
    height: 10.4rem;
  }

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

@media (max-width: 640px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

