/* Greater Changes Center — design system */
:root {
  --ink: #14241f;
  --ink-soft: #3d524a;
  --brand: #1a6b5c;
  --brand-deep: #0e3f36;
  --brand-mid: #2a8f7a;
  --brand-soft: #d8efe8;
  --accent: #b8893d;
  --accent-soft: #f3e6c8;
  --surface: #f5f8f6;
  --surface-elevated: #ffffff;
  --line: rgba(20, 36, 31, 0.12);
  --danger: #b42318;
  --success: #1a6b5c;
  --radius: 6px;
  --radius-lg: 18px;
  --shadow: 0 18px 50px rgba(14, 63, 54, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --nav-h: 3.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--brand-deep);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

/* ——— Buttons / CTAs ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #1a1408;
  box-shadow: 0 10px 28px rgba(184, 137, 61, 0.28);
}

.btn-primary:hover {
  background: #c99745;
  color: #1a1408;
}

.btn-secondary {
  background: transparent;
  color: var(--surface-elevated);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--brand-deep);
  border-color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

.btn-ghost {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.btn-ghost:hover {
  background: #c5e8dd;
  color: var(--brand-deep);
}

.btn-danger {
  background: #b3261e;
  color: #fff;
  box-shadow: 0 10px 28px rgba(179, 38, 30, 0.28);
}

.btn-danger:hover {
  background: #931e18;
  color: #fff;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* ——— Site header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(245, 248, 246, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(14, 63, 54, 0.06);
}

.nav-bar {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--brand-deep);
  min-width: 0;
}

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

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--brand-mid), var(--brand-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 2.6rem;
  width: auto;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.brand:hover .brand-logo {
  transform: scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 0.45rem 0.7rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.92rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.nav-cta {
  margin-left: 0.4rem;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--brand-deep);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: clamp(28rem, 54vh, 36rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.page-home .site-header {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.page-home .site-header.is-scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(14, 63, 54, 0.06);
}

.page-home .site-header:not(.is-scrolled) .brand,
.page-home .site-header:not(.is-scrolled) .brand:hover {
  color: #fff;
}

.page-home .site-header:not(.is-scrolled) .brand-tag {
  color: rgba(255, 255, 255, 0.75);
}

.page-home .site-header:not(.is-scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.92);
}

.page-home .site-header:not(.is-scrolled) .nav-links a:hover,
.page-home .site-header:not(.is-scrolled) .nav-links a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.page-home .site-header:not(.is-scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.page-home .site-header:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}

.page-home .site-header:not(.is-scrolled) .brand-logo {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.3));
}

.page-home main {
  margin-top: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.02);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate(0, 0);
  }
  to {
    transform: scale(1.06) translate(-1%, -0.6%);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      rgba(14, 63, 54, 0.82) 0%,
      rgba(14, 63, 54, 0.45) 42%,
      rgba(14, 63, 54, 0.28) 100%
    ),
    linear-gradient(to top, rgba(14, 63, 54, 0.72) 0%, transparent 52%);
}

.hero-content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 1.75rem) 0 2.25rem;
  max-width: 36rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: #fff;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.15s forwards;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.3s forwards;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
  margin-bottom: 0;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.45s forwards;
}

.hero .cta-group {
  margin-top: 1.15rem;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.6s forwards;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Page sections ——— */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(135deg, rgba(14, 63, 54, 0.94), rgba(26, 107, 92, 0.82)),
    radial-gradient(circle at 85% 20%, rgba(184, 137, 61, 0.3), transparent 40%);
  color: #fff;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L40 20 20 40 0 20z' fill='%23fff' fill-opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.9;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  color: #fff;
  max-width: 16ch;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 38rem;
  font-size: 1.1rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: #fff;
}

.section-brand {
  background: var(--brand-deep);
  color: #fff;
}

.section-brand h2,
.section-brand h3 {
  color: #fff;
}

.section-brand p {
  color: rgba(255, 255, 255, 0.82);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
}

/* ——— Reveal on scroll ——— */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}

/* ——— Grids & content blocks ——— */
.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}

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

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

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

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

.value-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.value-list li {
  padding: 0.85rem 1rem;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 650;
  font-size: 0.95rem;
  border-left: 3px solid var(--brand);
}

.audience-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--brand-deep);
  font-size: 0.95rem;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.audience-chip:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

.audience-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Service tabs ——— */
.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.service-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  padding: 0.7rem 1.1rem;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.92rem;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.2s var(--ease);
}

.service-tab:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.service-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.service-panel {
  display: none;
  background: #fff;
  padding: 2rem;
  border: 1px solid var(--line);
  animation: fadePanel 0.35s var(--ease);
}

.service-panel.is-active {
  display: block;
}

@keyframes fadePanel {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.55rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.check-grid li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
}

.check-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 3px var(--brand);
}

/* Process steps ——— */
.process-track {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.25s;
}

.process-step:last-child {
  border-bottom: 0;
}

.process-step:hover,
.process-step.is-open {
  background: rgba(216, 239, 232, 0.35);
}

.process-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--brand-deep);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.process-body h3 {
  margin-bottom: 0.25rem;
}

.process-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.3s, margin 0.3s;
  margin: 0;
}

.process-step.is-open .process-detail {
  max-height: 120px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* FAQ ——— */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.15rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--brand-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.25s;
}

.faq-item.is-open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
  padding: 0 1.25rem;
}

.faq-item.is-open .faq-a {
  max-height: 240px;
  padding: 0 1.25rem 1.15rem;
}

/* Forms ——— */
.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.form-grid .full {
  grid-column: 1 / -1;
}

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

.form-group label {
  display: block;
  font-weight: 650;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--brand-deep);
}

.form-control {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 107, 92, 0.18);
}

.form-control.is-invalid {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.form-panel {
  background: #fff;
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-status {
  display: none;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 600;
}

.form-status.is-error {
  border-color: var(--danger);
  background: #fdecea;
  color: var(--danger);
}

.form-status.is-visible {
  display: block;
  animation: riseIn 0.35s var(--ease);
}

/* Coming soon tags ——— */
.soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.soon-item {
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px dashed rgba(26, 107, 92, 0.35);
  color: var(--ink-soft);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.soon-item::after {
  content: "Coming soon";
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

/* Resource links ——— */
.resource-link {
  display: block;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.25s var(--ease);
}

.resource-link:hover {
  padding-left: 0.5rem;
  color: inherit;
}

.resource-link strong {
  display: block;
  color: var(--brand-deep);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

/* Sticky mobile CTA ——— */
.sticky-cta {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 90;
  display: none;
  animation: riseIn 0.4s var(--ease);
}

.sticky-cta.is-visible {
  display: block;
}

@media (min-width: 961px) {
  .sticky-cta {
    display: none !important;
  }
}

/* Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin-bottom: 2.5rem;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-logo {
  height: 2.2rem;
  width: auto;
  flex-shrink: 0;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.7);
}

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

/* Messages ——— */
.flash-stack {
  position: fixed;
  top: calc(var(--nav-h) + 0.75rem);
  right: 1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(360px, calc(100vw - 2rem));
}

.flash {
  padding: 0.85rem 1rem;
  background: #fff;
  border-left: 3px solid var(--brand);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.92rem;
  animation: riseIn 0.35s var(--ease);
}

.flash-error {
  border-color: var(--danger);
}
.flash-success {
  border-color: var(--success);
}

/* Utility ——— */
.text-center {
  text-align: center;
}
.mt-2 {
  margin-top: 2rem;
}
.mb-0 {
  margin-bottom: 0;
}

.visual-panel {
  min-height: 320px;
  background: #e8f3ef;
  position: relative;
  overflow: hidden;
}

.visual-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

/* Decorative inset frame — bottom edge is pulled up with a fixed rem value
   (not a percentage) so it clears the caption regardless of panel height,
   including when the caption wraps to two lines on narrower widths. */
.visual-panel::before {
  content: "";
  position: absolute;
  inset: 10% 10% 6.5rem 10%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 2;
  pointer-events: none;
}

/* Scrim so the caption stays legible over any photo */
.visual-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  background: linear-gradient(to top, rgba(14, 63, 54, 0.8) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.visual-panel-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  line-height: 1.25;
  z-index: 3;
}

.stat-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.stat-inline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brand-deep);
  line-height: 1.1;
}

.stat-inline span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ——— Blog ——— */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-card-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--brand-soft);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-body h2,
.blog-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.blog-card-body h2 a,
.blog-card-body h3 a {
  color: var(--brand-deep);
  text-decoration: none;
}

.blog-card-body h2 a:hover,
.blog-card-body h3 a:hover {
  color: var(--brand);
}

.blog-meta {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.blog-feature-image {
  width: min(100% - 2rem, 960px);
  margin: -2.5rem auto 0;
  position: relative;
  z-index: 1;
}

.blog-feature-image img {
  width: 100%;
  max-height: min(52vh, 480px);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-credit {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.blog-prose {
  max-width: 680px;
  font-size: 1.08rem;
}

.blog-prose p {
  margin-bottom: 1.15rem;
}

.blog-byline {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.95rem;
}

.blog-hero h1 {
  max-width: 18ch;
}

/* ——— Mobile refinements ——— */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: clamp(26rem, 58vh, 34rem);
  }

  .hero-content {
    padding: calc(var(--nav-h) + 1.35rem) 0 1.85rem;
  }

  .page-hero {
    padding: 3.25rem 0 2.75rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .service-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
  }

  .service-tab {
    flex: 0 0 auto;
  }

  .service-panel {
    padding: 1.35rem;
  }

  .form-panel {
    padding: 1.35rem;
  }

  .blog-feature-image {
    margin-top: -1.5rem;
  }

  .page-home .site-header:not(.is-scrolled) .nav-links {
    background: var(--brand-deep);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-tag {
    font-size: 0.65rem;
  }

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

  .hero-content {
    max-width: none;
    padding: calc(var(--nav-h) + 1.1rem) 0 1.6rem;
  }

  .cta-group .btn {
    width: 100%;
  }

  .sticky-cta {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .sticky-cta.is-visible {
    display: flex;
    width: auto;
    justify-content: center;
  }

  .flash-stack {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

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

  .value-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-step {
    gap: 0.85rem;
  }

  .process-num {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .visual-panel {
    min-height: 240px;
  }

  .visual-panel::before {
    inset: 8% 8% 5.5rem 8%;
  }

  .visual-panel-caption {
    font-size: 1.15rem;
  }
}

@media (max-width: 400px) {
  .value-list {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 1.25rem, var(--max));
  }
}
