:root {
  --deep-canopy: #112a1b;
  --warm-neutral: #f8eee6;
  --vitality: #b5d45d;
  --signal: #ed2e7b;
  --ink: #112a1b;
  --white: #ffffff;
  --soft-card: #fbf7f2;
  --max-width: 1360px;
  --site-pad: 80px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--warm-neutral);
  color: var(--ink);
  font-family: "Neue Haas Grotesk", "Neue Haas Grotesk Text Pro", "Neue Haas Grotesk Display Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: normal;
}

p { line-height: 1.68; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--vitality);
  color: var(--deep-canopy);
  padding: 10px 14px;
  text-decoration: none;
  border-radius: 999px;
}

.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);
}

.section-pad { padding-top: 88px; padding-bottom: 88px; }
.section-pad--warm { background: var(--warm-neutral); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--deep-canopy);
  color: var(--warm-neutral);
}

.site-header__inner {
  min-height: 96px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--site-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.site-logo picture,
.site-logo img {
  display: block;
}

.site-logo img {
  width: 250px;
  height: auto;
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.site-nav a {
  color: var(--warm-neutral);
  text-decoration: none;
  opacity: 0.9;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--vitality);
  opacity: 1;
}

.site-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(248,238,230,0.35);
  border-radius: 999px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.site-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--warm-neutral);
  border-radius: 999px;
}

.home-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  color: var(--warm-neutral);
  background: var(--deep-canopy);
  overflow: hidden;
}

.home-hero__image,
.home-hero__overlay {
  position: absolute;
  inset: 0;
}

.home-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-hero__overlay {
  display: none;
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 118px var(--site-pad) 108px;
}

.home-hero__content {
  max-width: 660px;
  padding-left: 120px;
}

.home-hero h1 {
  margin-bottom: 28px;
  color: var(--warm-neutral);
  font-size: 71px;
  line-height: 1.05;
}

.home-hero p {
  max-width: 660px;
  margin-bottom: 38px;
  color: var(--warm-neutral);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.35;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.btn--light {
  background: transparent;
  color: var(--warm-neutral);
  border-color: rgba(248,238,230,0.65);
}

.btn--light:hover {
  background: var(--vitality);
  color: var(--deep-canopy);
  border-color: var(--vitality);
}

.btn--dark {
  background: var(--deep-canopy);
  color: var(--warm-neutral);
  border-color: var(--deep-canopy);
}

.btn--dark:hover {
  background: var(--vitality);
  color: var(--deep-canopy);
  border-color: var(--vitality);
}

.btn--vitality {
  background: var(--vitality);
  color: var(--deep-canopy);
  border-color: var(--vitality);
}

.btn--vitality:hover {
  background: #c3df73;
  border-color: #c3df73;
}

.section-intro--wide {
  max-width: 1120px;
  margin-bottom: 70px;
}

.section-intro h2 {
  margin-bottom: 18px;
  color: var(--deep-canopy);
  font-size: clamp(34px, 3.1vw, 44px);
}

#capabilities-title {
  white-space: nowrap;
}

.section-intro p {
  max-width: 1120px;
  color: var(--deep-canopy);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.45;
}

.capability-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto 88px;
}

.capability-card {
  min-height: 328px;
  perspective: 1000px;
  outline: none;
}

.capability-card__inner {
  position: relative;
  height: 100%;
  min-height: 328px;
  transition: transform 0.65s ease;
  transform-style: preserve-3d;
}

.capability-card:hover .capability-card__inner,
.capability-card:focus .capability-card__inner {
  transform: rotateY(180deg);
}

.capability-card__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--deep-canopy);
  backface-visibility: hidden;
}

.capability-card__front {
  display: flex;
  flex-direction: column;
}

.capability-card__front img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.capability-card__front h3 {
  min-height: 88px;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  color: var(--warm-neutral);
  font-size: 21px;
  line-height: 1.18;
}

.capability-card__back {
  transform: rotateY(180deg);
  color: var(--warm-neutral);
}

.capability-card__back img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  opacity: 0.65;
}

.capability-card__back div { padding: 22px; }

.capability-card__back h3 {
  margin-bottom: 12px;
  color: var(--warm-neutral);
  font-size: 22px;
}

.capability-card__back p {
  margin-bottom: 18px;
  color: var(--warm-neutral);
  font-size: 16px;
  line-height: 1.45;
}

.capability-card__back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--vitality);
  color: var(--deep-canopy);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.capability-card__back a:hover {
  background: var(--signal);
  color: var(--warm-neutral);
  transform: translateY(-1px);
}

.capability-card__back a::after {
  content: "→";
  margin-left: 8px;
}

.provider-callout {
  max-width: 960px;
  margin: 0 auto 70px;
  text-align: center;
}

.provider-callout h2 {
  margin-bottom: 14px;
  color: var(--deep-canopy);
  font-size: clamp(32px, 4vw, 46px);
}

.provider-callout p {
  margin-bottom: 32px;
  color: var(--deep-canopy);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.proof-grid article {
  min-height: 310px;
  padding: 32px 24px;
  background: rgba(255,255,255,0.54);
  border: 1px solid rgba(17,42,27,0.08);
  border-radius: 12px;
  text-align: center;
}

.proof-grid h3 {
  margin-bottom: 18px;
  color: var(--deep-canopy);
  font-size: 27px;
  line-height: 1.08;
}

.proof-grid p {
  margin: 0;
  color: var(--deep-canopy);
  font-size: 18px;
  line-height: 1.48;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-bottom: 26px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
}

.eyebrow--vitality {
  background: var(--vitality);
  color: var(--deep-canopy);
}

.eyebrow--dark {
  background: var(--deep-canopy);
  color: var(--warm-neutral);
}

.stats-section {
  background: var(--deep-canopy);
  color: var(--warm-neutral);
  overflow: hidden;
}

.stats-section__wrap {
  padding-top: 96px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  gap: 72px;
  align-items: center;
}

.stats-section h2 {
  margin-bottom: 30px;
  color: var(--vitality);
  font-size: clamp(46px, 6vw, 76px);
}

.stats-section__intro {
  max-width: 540px;
  margin-bottom: 42px;
  color: var(--warm-neutral);
}

.stat-list {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 42px;
}

.stat-number {
  color: var(--signal);
  font-size: clamp(54px, 7vw, 86px);
  line-height: 1.02;
  font-weight: 700;
}

.stat-line {
  width: 100%;
  height: 1px;
  margin: 10px 0;
  background: rgba(181, 212, 93, 0.8);
}

.stat-item p {
  margin: 0;
  color: var(--warm-neutral);
  font-size: 14px;
}

.stats-section__image {
  height: 570px;
  overflow: hidden;
}

.stats-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pressure-section__wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
}

.pressure-section h2 {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--deep-canopy);
  font-size: clamp(42px, 4.7vw, 60px);
  line-height: 1.06;
}

.pressure-section p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 30px;
  color: var(--deep-canopy);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(17,42,27,0.14);
  color: var(--deep-canopy);
  font-size: 13px;
}

.framed-image {
  position: relative;
  background: var(--deep-canopy);
  padding: 24px;
}

.framed-image::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(181,212,93,0.28);
  pointer-events: none;
  z-index: 2;
}

.framed-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.site-footer {
  background: var(--deep-canopy);
  color: var(--warm-neutral);
}

.site-footer__inner {
  max-width: var(--max-width);
  min-height: 270px;
  margin: 0 auto;
  padding: 56px var(--site-pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 56px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
}

.site-footer__small {
  margin: 0;
  color: rgba(248,238,230,0.78);
  font-size: 13px;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.site-footer__links div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer__links a {
  color: rgba(248,238,230,0.9);
  text-decoration: none;
  font-size: 14px;
}

.site-footer__links a:hover { color: var(--vitality); }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--vitality);
  background: var(--deep-canopy);
  color: var(--vitality);
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--warm-neutral);
}

@media (max-width: 1100px) {
  :root { --site-pad: 56px; }

  .home-hero__content { padding-left: 40px; }
  .capability-card-row { gap: 20px; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-section__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; }
  .stats-section__image { height: 510px; }
  .pressure-section__wrap { gap: 52px; }
}

@media (max-width: 900px) {
  :root { --site-pad: 40px; }

  .site-header__inner { min-height: 84px; }
  .site-logo img { width: 220px; }

  .site-nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 22px var(--site-pad) 26px;
    background: var(--deep-canopy);
    border-top: 1px solid rgba(248,238,230,0.12);
  }

  .nav-open .site-nav { display: flex; }

  .site-nav a {
    width: 100%;
    padding: 13px 0;
    font-size: 18px;
  }

  .home-hero { min-height: 680px; }
  .home-hero__content { padding-left: 0; max-width: 620px; }
  .home-hero h1 { font-size: clamp(52px, 8vw, 68px); }
  .home-hero p { font-size: clamp(21px, 3vw, 26px); }
  #capabilities-title { white-space: normal; }

  .capability-card-row,
  .stats-section__wrap,
  .pressure-section__wrap,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .capability-card-row { max-width: 420px; }
  .stats-section__image { height: 430px; }
  .framed-image img { height: 430px; }
  .site-footer__inner { gap: 44px; }
}

@media (max-width: 620px) {
  :root { --site-pad: 24px; }

  .section-pad { padding-top: 64px; padding-bottom: 64px; }
  .site-header__inner { min-height: 88px; }
  .site-logo img { width: 118px; }
  .footer-logo img { width: 220px; }
  .home-hero { min-height: 620px; }
  .home-hero__inner { padding-top: 86px; padding-bottom: 74px; }
  .home-hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .home-hero p { font-size: 19px; line-height: 1.48; }

  .section-intro--wide { margin-bottom: 42px; }
  .section-intro p { font-size: 17px; }
  .capability-card-row { margin-bottom: 62px; }
  .capability-card, .capability-card__inner { min-height: 320px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid article { min-height: 0; }
  .proof-grid h3 { font-size: 27px; }
  .proof-grid p { font-size: 18px; }

  .stats-section__wrap { padding-top: 64px; padding-bottom: 64px; }
  .stats-section__image { height: auto; aspect-ratio: 4 / 3; }
  .pressure-section h2 { font-size: clamp(40px, 12vw, 54px); }
  .framed-image { padding: 18px; }
  .framed-image::before { inset: 16px; }
  .framed-image img { height: auto; aspect-ratio: 4 / 3; }

  .site-footer__links { grid-template-columns: 1fr; gap: 26px; }
  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}


/* Final hero cleanup: no overlay, no text shadows */
.home-hero__overlay {
  display: none !important;
  background: transparent !important;
}

.home-hero h1,
.home-hero p,
.home-hero__content {
  text-shadow: none !important;
}

/* ================================
   ABOUT PAGE
   ================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow--dark { color: var(--deep-canopy); }

.btn {
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn--dark {
  background: var(--deep-canopy);
  border: 1px solid var(--deep-canopy);
  color: var(--warm-neutral);
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background: var(--vitality);
  border-color: var(--vitality);
  color: var(--deep-canopy);
  transform: translateY(-1px);
}

.btn--light {
  background: var(--vitality);
  border: 1px solid var(--vitality);
  color: var(--deep-canopy);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--warm-neutral);
  transform: translateY(-1px);
}

.about-page {
  background: var(--warm-neutral);
  color: var(--deep-canopy);
  overflow: hidden;
}

.about-page svg {
  display: block;
}

.about-hero {
  background: var(--warm-neutral);
  padding-top: 0;
  padding-bottom: 0;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  min-height: 590px;
  align-items: stretch;
}

.about-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 72px 132px 0;
}

.about-hero__copy h1 {
  max-width: 560px;
  margin: 0;
  color: var(--deep-canopy);
  font-size: clamp(52px, 5vw, 76px);
  line-height: 1.04;
  font-weight: 700;
}

.about-hero__copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 32px;
  color: rgba(17, 42, 27, 0.74);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
}

.about-hero__image {
  min-height: 590px;
  background: #faf3ee;
  overflow: hidden;
}

.about-hero__image img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center center;
  transition: transform 700ms ease;
}

.about-hero__image:hover img {
  transform: scale(1.025);
}

.about-process {
  position: relative;
  z-index: 2;
  margin-top: -92px;
  padding-top: 0;
  padding-bottom: 34px;
  background: transparent;
  overflow: visible;
}

.about-process__card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(250, 243, 238, 0.96);
  border: 1px solid rgba(17, 42, 27, 0.12);
  border-radius: 18px;
  box-shadow: 0 22px 58px rgba(17, 42, 27, 0.12);
  overflow: visible;
}

.about-process__item {
  position: relative;
  min-height: 270px;
  padding: 44px 34px 38px;
  text-align: center;
  background: transparent;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.about-process__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background: rgba(17, 42, 27, 0.18);
  transition: opacity 220ms ease;
}

.about-process__item:hover {
  z-index: 3;
  transform: translateY(-7px);
  background: #faf3ee;
  box-shadow: 0 18px 42px rgba(17, 42, 27, 0.13);
  border-radius: 16px;
}

.about-process__item:hover::after {
  opacity: 0;
}

.about-icon {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--deep-canopy);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-neutral);
  background: var(--deep-canopy);
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.about-icon--large {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
}

.about-icon svg {
  width: 52%;
  height: 52%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-process__item:hover .about-icon,
.about-grounded__row:hover .about-icon {
  background: var(--vitality);
  border-color: var(--vitality);
  color: var(--deep-canopy);
  transform: scale(1.06);
}

.about-process__item h2 {
  margin: 0 0 16px;
  color: var(--deep-canopy);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
}

.about-process__item p {
  max-width: 230px;
  margin: 0 auto;
  color: rgba(17, 42, 27, 0.74);
  font-size: 15px;
  line-height: 1.58;
  font-weight: 400;
}

.about-listening {
  padding-top: 36px;
  padding-bottom: 70px;
  background: var(--warm-neutral);
  text-align: center;
}

.about-listening p {
  max-width: 980px;
  margin: 0 auto;
  color: var(--deep-canopy);
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.22;
  font-weight: 700;
}

.about-grounded {
  background: var(--warm-neutral);
  padding-top: 70px;
  padding-bottom: 90px;
  border-top: 1px solid rgba(17, 42, 27, 0.08);
}

.about-grounded__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 96px;
  align-items: center;
}

.about-grounded__copy h2 {
  max-width: 520px;
  margin: 0;
  color: var(--deep-canopy);
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.06;
  font-weight: 700;
}

.about-grounded__copy p:not(.eyebrow) {
  max-width: 540px;
  margin: 28px 0 32px;
  color: rgba(17, 42, 27, 0.74);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
}

.about-grounded__card {
  background: #faf3ee;
  border: 1px solid rgba(17, 42, 27, 0.12);
  border-radius: 16px;
  padding: 8px 42px;
}

.about-grounded__row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(17, 42, 27, 0.18);
  align-items: start;
}

.about-grounded__row:last-child {
  border-bottom: 0;
}

.about-grounded__row h3 {
  margin: 0 0 8px;
  color: var(--deep-canopy);
  font-size: 23px;
  line-height: 1.15;
  font-weight: 700;
}

.about-grounded__row p {
  margin: 0;
  color: rgba(17, 42, 27, 0.74);
  font-size: 16px;
  line-height: 1.58;
  font-weight: 400;
}

.about-journey {
  position: relative;
  isolation: isolate;
  background: var(--deep-canopy);
  padding-top: 86px;
  padding-bottom: 86px;
  color: var(--warm-neutral);
  overflow: hidden;
}

.about-journey::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/img/about/leaf-texture.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.01);
}

.about-journey::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 42, 27, 0.68) 0%, rgba(17, 42, 27, 0.58) 50%, rgba(17, 42, 27, 0.48) 100%);
}

.about-journey__grid {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 80px;
  align-items: start;
}

.about-journey h2,
.about-journey h3,
.about-journey p {
  color: var(--warm-neutral);
}

.about-journey h2 {
  margin: 0;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.08;
  font-weight: 700;
}

.about-journey__copy {
  max-width: 820px;
}

.about-journey__copy h3 {
  margin: 0 0 20px;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.14;
  font-weight: 700;
}

.about-journey__copy p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
}

.about-journey__copy p:last-child {
  margin-bottom: 0;
}

.about-founders {
  background: var(--warm-neutral);
  padding-top: 88px;
  padding-bottom: 76px;
}

.about-founders__head {
  max-width: 1120px;
  margin: 0 auto 48px;
  text-align: center;
}

.about-founders__head h2 {
  margin: 0;
  color: var(--deep-canopy);
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.06;
  font-weight: 700;
}

.about-founders__head p:not(.eyebrow) {
  max-width: 1060px;
  margin: 22px auto 0;
  color: rgba(17, 42, 27, 0.74);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
}

.about-founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-founder-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  background: #faf3ee;
  border: 1px solid rgba(17, 42, 27, 0.12);
  border-radius: 16px;
  padding: 28px;
  min-height: 365px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.about-founder-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(17, 42, 27, 0.1);
  border-color: rgba(17, 42, 27, 0.2);
}

.about-founder-card__photo {
  width: 190px;
  align-self: start;
  background: rgba(17, 42, 27, 0.06);
  overflow: hidden;
}

.about-founder-card__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  object-position: center top;
  transition: transform 700ms ease;
}

.about-founder-card:hover .about-founder-card__photo img {
  transform: scale(1.035);
}


.about-founder-card__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.about-founder-card__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.about-founder-card h3 {
  margin: 0 0 6px;
  color: var(--deep-canopy);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
}

.about-founder-card__title {
  margin: 0;
  color: var(--vitality);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.about-founder-card p:not(.about-founder-card__title) {
  margin: 0;
  color: rgba(17, 42, 27, 0.74);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.about-linkedin {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--deep-canopy);
  color: var(--warm-neutral);
  border-radius: 3px;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.about-linkedin:hover,
.about-linkedin:focus-visible {
  background: var(--vitality);
  color: var(--deep-canopy);
  transform: translateY(-2px);
}

.about-linkedin svg {
  width: 19px;
  height: 19px;
}

.about-final-cta {
  background: var(--warm-neutral);
  padding-top: 0;
  padding-bottom: 80px;
}

.about-final-cta__card {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 42px 56px;
  border-radius: 16px;
  background: radial-gradient(circle at 88% 12%, rgba(181, 212, 93, 0.16), transparent 34%), linear-gradient(135deg, var(--deep-canopy), #0b2014);
  color: var(--warm-neutral);
}

.about-final-cta__card h2 {
  margin: 0;
  color: var(--warm-neutral);
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.08;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .about-hero__grid {
    grid-template-columns: 1fr;
  }

  .about-hero__copy {
    padding: 72px 0 112px;
  }

  .about-hero__image,
  .about-hero__image img {
    min-height: 480px;
  }

  .about-process {
    margin-top: -64px;
  }

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

  .about-process__item:nth-child(2)::after {
    display: none;
  }

  .about-process__item:nth-child(1),
  .about-process__item:nth-child(2) {
    border-bottom: 1px solid rgba(17, 42, 27, 0.18);
  }

  .about-grounded__grid,
  .about-journey__grid,
  .about-founder-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-founder-card {
    min-height: auto;
  }

  .about-final-cta__card {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .about-hero__copy {
    padding-top: 58px;
    padding-bottom: 76px;
  }


  .about-hero__copy h1 {
    font-size: 44px;
  }

  .about-hero__copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .about-hero__image,
  .about-hero__image img {
    min-height: 360px;
  }

  .about-process {
    margin-top: -34px;
    padding-bottom: 26px;
  }

  .about-process__card {
    grid-template-columns: 1fr;
    border-radius: 14px;
    overflow: hidden;
  }

  .about-process__item {
    min-height: auto;
    border-bottom: 1px solid rgba(17, 42, 27, 0.18);
  }

  .about-process__item::after {
    display: none;
  }

  .about-process__item:hover {
    transform: none;
    box-shadow: none;
    border-radius: 0;
  }

  .about-process__item:last-child {
    border-bottom: 0;
  }

  .about-listening {
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .about-listening p {
    font-size: 25px;
  }

  .about-grounded {
    padding-top: 30px;
    padding-bottom: 64px;
  }

  .about-grounded__grid {
    gap: 36px;
  }

  .about-grounded__copy h2,
  .about-journey h2,
  .about-founders__head h2 {
    font-size: 38px;
  }

  .about-grounded__card {
    padding: 0 24px;
  }

  .about-grounded__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-journey {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .about-journey::after {
    background: rgba(17, 42, 27, 0.72);
  }

  .about-founders {
    padding-top: 64px;
  }

  .about-founder-card {
    grid-template-columns: 1fr;
  }

.about-founder-card__photo {
  width: 220px;
  max-width: 100%;
}

  .about-final-cta {
    padding-bottom: 34px;
  }

  .about-final-cta__card {
    padding: 34px 28px;
  }

  .about-final-cta__card .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page *,
  .about-page *::before,
  .about-page *::after {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}


/* ABOUT PAGE SAFETY OVERRIDES - prevents unstyled oversized inline SVGs and forces cache-clean layout */
.about-page .about-process__card {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.about-page .about-icon {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  border: 1.5px solid var(--deep-canopy) !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--warm-neutral) !important;
  background: var(--deep-canopy) !important;
  overflow: hidden !important;
}

.about-page .about-icon--large {
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  min-height: 70px !important;
  max-width: 70px !important;
  max-height: 70px !important;
  margin: 0 auto 24px !important;
}

.about-page .about-icon svg,
.about-page .about-icon--large svg {
  display: block !important;
  width: 52% !important;
  height: 52% !important;
  max-width: 52% !important;
  max-height: 52% !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.about-page .about-linkedin {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.about-page .about-linkedin svg {
  display: block !important;
  width: 19px !important;
  height: 19px !important;
  max-width: 19px !important;
  max-height: 19px !important;
}

@media (max-width: 1100px) {
  .about-page .about-process__card {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .about-page .about-process__card {
    grid-template-columns: 1fr !important;
  }
}


/* ABOUT PAGE EDITS v4: remove pill eyebrows, restore hover states, stack journey heading */
.about-page .eyebrow,
.about-page .eyebrow--dark,
.about-page .about-hero__copy .eyebrow,
.about-page .about-grounded__copy .eyebrow,
.about-page .about-founders__head .eyebrow {
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--deep-canopy) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.about-page .about-process__item:hover {
  z-index: 3 !important;
  transform: translateY(-7px) !important;
  background: #faf3ee !important;
  box-shadow: 0 18px 42px rgba(17, 42, 27, 0.13) !important;
  border-radius: 16px !important;
}

.about-page .about-process__item:hover::after {
  opacity: 0 !important;
}

.about-page .about-process__item:hover .about-icon,
.about-page .about-grounded__row:hover .about-icon {
  background: var(--vitality) !important;
  border-color: var(--vitality) !important;
  color: var(--deep-canopy) !important;
  transform: scale(1.06) !important;
}

.about-page .about-grounded__row:hover {
  background: rgba(181, 212, 93, 0.055) !important;
}

.about-page .about-journey__grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
  align-items: start !important;
}

.about-page .about-journey__copy {
  max-width: 920px !important;
}

.about-page .about-founders__head .eyebrow {
  text-align: center !important;
}

@media (max-width: 720px) {
  .about-page .about-process__item:hover {
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}

/* HOMEPAGE FIX: eyebrow legibility + stats CTA signal hover */
.stats-section .eyebrow--vitality {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 28px !important;
  margin: 0 0 26px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: var(--vitality) !important;
  color: var(--deep-canopy) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.pressure-section .eyebrow--dark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 28px !important;
  margin: 0 0 26px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: var(--deep-canopy) !important;
  color: var(--warm-neutral) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.btn--vitality:hover,
.stats-section .btn--vitality:hover {
  background: var(--signal) !important;
  border-color: var(--signal) !important;
  color: var(--warm-neutral) !important;
  transform: translateY(-1px) !important;
}

/* ABOUT PAGE FIX: make hanging process card fully opaque so hero image does not show through */
.about-page .about-process__card {
  background: #faf3ee !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.about-page .about-process__item {
  background: #faf3ee !important;
}

.about-page .about-process__item:hover {
  background: #faf3ee !important;
}

/* ABOUT PAGE FIX: restore rounded outer corners on the process card while keeping opaque backgrounds */
.about-page .about-process__card {
  border-radius: 18px !important;
}

.about-page .about-process__item:first-child {
  border-top-left-radius: 18px !important;
  border-bottom-left-radius: 18px !important;
}

.about-page .about-process__item:last-child {
  border-top-right-radius: 18px !important;
  border-bottom-right-radius: 18px !important;
}

.about-page .about-process__item:hover {
  border-radius: 16px !important;
}

@media (max-width: 1100px) {
  .about-page .about-process__item:first-child {
    border-top-left-radius: 18px !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .about-page .about-process__item:nth-child(2) {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 18px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .about-page .about-process__item:nth-child(3) {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 18px !important;
    border-bottom-right-radius: 0 !important;
  }

  .about-page .about-process__item:last-child {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 18px !important;
  }

  .about-page .about-process__item:hover {
    border-radius: 16px !important;
  }
}

@media (max-width: 720px) {
  .about-page .about-process__card {
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .about-page .about-process__item:first-child {
    border-top-left-radius: 14px !important;
    border-top-right-radius: 14px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .about-page .about-process__item:nth-child(2),
  .about-page .about-process__item:nth-child(3) {
    border-radius: 0 !important;
  }

  .about-page .about-process__item:last-child {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 14px !important;
    border-bottom-right-radius: 14px !important;
  }

  .about-page .about-process__item:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* CASE STUDIES PAGE */
.case-page {
  background: var(--warm-neutral);
  color: var(--deep-canopy);
  overflow: hidden;
}

.case-hero {
  position: relative;
  min-height: 720px;
  background: var(--deep-canopy);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.case-hero__image {
  position: absolute;
  inset: 0;
}

.case-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.case-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px var(--site-pad);
}

.case-hero h1 {
  max-width: 600px;
  margin: 0;
  color: var(--deep-canopy);
  font-size: clamp(54px, 5.8vw, 82px);
  line-height: 1.06;
  font-weight: 700;
}

.case-detail {
  width: 100%;
  padding: 86px var(--site-pad) 72px;
  background: var(--warm-neutral);
}

.case-detail__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.case-detail__header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  column-gap: 96px;
  align-items: end;
  margin: 0 0 54px;
}

.case-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--vitality);
  color: var(--deep-canopy);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  margin: 0 0 24px;
}

.case-eyebrow--dark {
  background: var(--vitality);
  color: var(--deep-canopy);
}

.case-detail__title {
  margin: 0;
  color: var(--deep-canopy);
  font-size: clamp(44px, 4.55vw, 70px);
  line-height: 1.02;
  font-weight: 700;
  max-width: 12ch;
}

.case-detail__intro {
  margin: 0 0 8px;
  color: rgba(17, 42, 27, 0.74);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
  max-width: 42ch;
}

.case-quote {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  width: 100%;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(17, 42, 27, 0.12);
  border-radius: 24px;
  padding: 42px 48px;
  margin: 0 0 54px;
}

.case-quote__mark {
  color: var(--vitality);
  font-size: 76px;
  line-height: 0.78;
  font-weight: 800;
  margin-top: 4px;
}

.case-quote__text {
  margin: 0;
  color: var(--deep-canopy);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  font-weight: 500;
}

.case-quote__text strong {
  font-weight: 800;
}

.case-detail__body {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 70px;
  align-items: start;
}

.case-detail__visuals {
  display: grid;
  gap: 18px;
}

.case-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.case-stat {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(17, 42, 27, 0.1);
  border-radius: 18px;
  padding: 16px;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.case-stat strong {
  display: block;
  color: var(--signal);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 0.95;
  font-weight: 800;
  margin: 0 0 8px;
}

.case-stat span {
  display: block;
  color: var(--deep-canopy);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}

.case-stat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(17, 42, 27, 0.18);
  box-shadow: 0 16px 34px rgba(17, 42, 27, 0.12);
}

.case-stat:hover strong {
  color: var(--signal);
}

.case-image-stack {
  display: grid;
  gap: 14px;
}

.case-image-frame {
  width: 100%;
  overflow: hidden;
  background: rgba(17, 42, 27, 0.08);
}

.case-image-frame--main {
  height: clamp(250px, 25vw, 350px);
}

.case-image-frame--small {
  height: clamp(145px, 13vw, 190px);
}

.case-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
  transition: transform 700ms ease;
}

.case-image-frame:hover .case-image {
  transform: scale(1.035);
}

.case-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.case-story {
  display: grid;
  gap: 0;
}

.case-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 0 0 clamp(34px, 4.5vw, 54px);
  position: relative;
}

.case-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 58px;
  bottom: 0;
  width: 1px;
  background: rgba(17, 42, 27, 0.18);
}

.case-step__number {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--vitality);
  color: var(--deep-canopy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.case-step__content {
  padding: 0 0 clamp(28px, 3vw, 38px);
  border-bottom: 1px solid rgba(17, 42, 27, 0.2);
}

.case-step:last-child {
  padding-bottom: 0;
}

.case-step:last-child::before {
  display: none;
}

.case-step:last-child .case-step__content {
  border-bottom: 0;
  padding-bottom: 0;
}

.case-step h3 {
  margin: 0 0 8px;
  color: var(--deep-canopy);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  font-weight: 800;
}

.case-step__line {
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--vitality);
  margin: 0 0 22px;
  transition: width 220ms ease, background-color 220ms ease;
}

.case-step:hover .case-step__number {
  transform: scale(1.08);
  background: var(--deep-canopy);
  color: var(--warm-neutral);
}

.case-step:hover .case-step__line {
  width: 54px;
  background: var(--signal);
}

.case-step p {
  margin: 0 0 18px;
  color: rgba(17, 42, 27, 0.82);
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.6;
}

.case-step p:last-child {
  margin-bottom: 0;
}

.case-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.case-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(17, 42, 27, 0.82);
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.48;
}

.case-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--signal);
}

.case-results {
  background: var(--deep-canopy);
  color: var(--warm-neutral);
  padding: 96px var(--site-pad) 84px;
}

.case-results__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.case-results__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 80px;
  align-items: center;
  margin-bottom: 62px;
}

.case-results h2 {
  margin: 0;
  color: var(--vitality);
  font-size: clamp(48px, 5.4vw, 82px);
  line-height: 1.02;
  font-weight: 700;
}

.case-results__copy p {
  max-width: 540px;
  margin: 0 0 26px;
  color: var(--warm-neutral);
  font-size: 18px;
  line-height: 1.62;
}

.case-results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(248, 238, 230, 0.18);
  border-radius: 24px;
  overflow: hidden;
}

.case-result-card {
  position: relative;
  min-height: 260px;
  padding: 36px 44px;
  border-right: 1px solid rgba(248, 238, 230, 0.16);
  border-bottom: 1px solid rgba(248, 238, 230, 0.16);
  background:
    radial-gradient(circle at 100% 100%, transparent 0 23%, rgba(248, 238, 230, 0.045) 23.35% 23.85%, transparent 24.15%),
    rgba(255, 255, 255, 0.015);
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.case-result-card:nth-child(3n) {
  border-right: 0;
}

.case-result-card:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.case-result-card > span {
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--vitality);
  margin-bottom: 28px;
}

.case-result-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--signal);
  font-size: 104px;
  line-height: 0.95;
  font-weight: 800;
}

.case-result-card p {
  max-width: 250px;
  margin: 0;
  color: var(--warm-neutral);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 700;
}

.case-result-card:hover {
  background:
    radial-gradient(circle at 100% 100%, transparent 0 23%, rgba(248, 238, 230, 0.075) 23.35% 23.85%, transparent 24.15%),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px rgba(181, 212, 93, 0.12);
}

.case-result-card:hover > span {
  background: var(--signal);
}

.case-result-card:hover strong {
  transform: translateY(-2px);
}

.case-result-card strong,
.case-result-card > span {
  transition: transform 220ms ease, background-color 220ms ease;
}

.case-counter {
  display: inline-block;
}

/* Case studies refinement: keep decorative line separate from animated numbers */
.case-result-card .case-counter {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0;
  background: transparent;
  border-radius: 0;
}

.case-ready {
  position: relative;
  overflow: hidden;
  background: var(--warm-neutral);
}

.case-ready__image,
.case-ready__image::after {
  position: absolute;
  inset: 0;
}

.case-ready__image {
  background-image: url("/assets/img/case-studies/layered.webp?v=20260711ready");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.case-ready__image::after {
  content: "";
  background: rgba(248, 238, 230, 0.2);
}

.case-ready__inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px var(--site-pad);
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.case-ready h2 {
  margin: 0;
  color: var(--deep-canopy);
  font-size: clamp(38px, 3.8vw, 58px);
  line-height: 1.08;
}

.case-ready p {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--deep-canopy);
  font-size: 17px;
  line-height: 1.62;
}

.case-ready .btn--dark:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--warm-neutral);
}

@media (max-width: 1100px) {
  .case-detail__header,
  .case-detail__body,
  .case-results__intro,
  .case-ready__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .case-detail__intro {
    max-width: 48ch;
  }

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

  .case-result-card:nth-child(3n) {
    border-right: 1px solid rgba(248, 238, 230, 0.16);
  }

  .case-result-card:nth-child(2n) {
    border-right: 0;
  }

  .case-result-card:nth-last-child(-n + 3) {
    border-bottom: 1px solid rgba(248, 238, 230, 0.16);
  }

  .case-result-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  .case-hero {
    min-height: 600px;
  }

  .case-hero__inner,
  .case-detail,
  .case-results {
    padding-left: 40px;
    padding-right: 40px;
  }

  .case-ready__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 700px) {
  .case-hero {
    min-height: 0;
    background: var(--warm-neutral);
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .case-hero__image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 390px;
    overflow: hidden;
  }

  .case-hero__image img {
    object-position: center center;
  }

  .case-hero__inner {
    padding: 56px 24px 42px;
  }

  .case-hero h1 {
    max-width: 10.5ch;
    font-size: clamp(42px, 13vw, 58px);
    line-height: 1.02;
  }

  .case-detail {
    padding: 56px 24px 42px;
  }

  .case-detail__header {
    gap: 28px;
    margin-bottom: 28px;
  }

  .case-detail__title {
    font-size: clamp(38px, 11vw, 54px);
  }

  .case-detail__intro {
    font-size: 16px;
    line-height: 1.55;
  }

  .case-quote {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px;
    margin-bottom: 38px;
    border-radius: 18px;
  }

  .case-quote__mark {
    font-size: 58px;
    line-height: 0.75;
  }

  .case-quote__text {
    font-size: 25px;
    line-height: 1.12;
  }

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

  .case-image-frame--main {
    height: 270px;
  }

  .case-image-row {
    display: none;
  }

  .case-step {
    grid-template-columns: 42px 1fr;
    gap: 16px;
  }

  .case-step__number {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }

  .case-step:not(:last-child)::before {
    left: 20px;
    top: 48px;
  }

  .case-results {
    padding: 64px 24px 56px;
  }

  .case-results__intro {
    gap: 32px;
    margin-bottom: 42px;
  }

  .case-results__grid {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .case-result-card,
  .case-result-card:nth-child(2n),
  .case-result-card:nth-child(3n),
  .case-result-card:nth-last-child(-n + 2),
  .case-result-card:nth-last-child(-n + 3) {
    min-height: 220px;
    padding: 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(248, 238, 230, 0.16);
  }

  .case-result-card:last-child {
    border-bottom: 0;
  }

  .case-result-card strong {
    font-size: clamp(64px, 18vw, 86px);
  }

  .case-result-card p {
    font-size: 19px;
  }

  .case-ready__inner {
    padding: 56px 24px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* Contact page */
.contact-page-main {
  background: var(--warm-neutral);
  color: var(--deep-canopy);
}

.contact-hero {
  position: relative;
  min-height: clamp(300px, 30vw, 400px);
  overflow: hidden;
  background: var(--warm-neutral);
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(248, 238, 230, 0.86) 0%, rgba(248, 238, 230, 0.64) 30%, rgba(248, 238, 230, 0.08) 58%, rgba(248, 238, 230, 0) 100%);
  pointer-events: none;
}

.contact-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.contact-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  min-height: clamp(300px, 30vw, 400px);
  margin: 0 auto;
  padding: 0 var(--site-pad);
  display: flex;
  align-items: center;
}

.contact-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--deep-canopy);
  font-size: clamp(52px, 5.2vw, 72px);
  line-height: 0.98;
  font-weight: 700;
}

.contact-start {
  background: var(--warm-neutral);
}

.contact-start__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 68px var(--site-pad) 78px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.84fr);
  gap: 64px;
  align-items: start;
}

.contact-intro {
  padding-top: 30px;
}

.contact-intro h2,
.contact-form-card h2 {
  margin: 0 0 28px;
  color: var(--deep-canopy);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.04;
  font-weight: 700;
}

.contact-intro p {
  max-width: 560px;
  margin: 0 0 24px;
  color: rgba(17, 42, 27, 0.86);
  font-size: 18px;
  line-height: 1.68;
  font-weight: 400;
}

.contact-intro__rule {
  width: 100%;
  max-width: 540px;
  height: 1px;
  margin: 34px 0 30px;
  background: rgba(17, 42, 27, 0.58);
}

.contact-email-card {
  display: inline-grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  color: var(--deep-canopy);
  text-decoration: none;
}

.contact-email-card__icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--deep-canopy);
  color: var(--vitality);
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.contact-email-card__icon svg {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  overflow: visible;
}

.contact-email-card:hover .contact-email-card__icon,
.contact-email-card:focus-visible .contact-email-card__icon {
  transform: translateY(-4px);
  background: var(--vitality);
  color: var(--deep-canopy);
}

.contact-email-card strong {
  display: block;
  margin: 0 0 4px;
  color: var(--deep-canopy);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
}

.contact-email-card span span {
  display: block;
  color: rgba(17, 42, 27, 0.86);
  font-size: 17px;
  line-height: 1.45;
}

.contact-form-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(17, 42, 27, 0.09);
  border-radius: 18px;
  padding: 36px 36px 32px;
  box-shadow: 0 18px 44px rgba(17, 42, 27, 0.12);
}

.contact-form-card h2 {
  margin-bottom: 28px;
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.1;
  font-weight: 500;
}

.contact-form-message {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.contact-form-message--success {
  background: rgba(181, 212, 93, 0.18);
  color: var(--deep-canopy);
}

.contact-form-message--error {
  background: rgba(237, 46, 123, 0.1);
  color: var(--deep-canopy);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
}

.contact-field {
  display: grid;
  gap: 12px;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  color: var(--deep-canopy);
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(17, 42, 27, 0.75);
  border-radius: 0;
  background: transparent;
  color: var(--deep-canopy);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  padding: 8px 0 13px;
  outline: none;
}

.contact-field textarea {
  min-height: 92px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-bottom-color: var(--signal);
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


.contact-turnstile {
  margin-top: 22px;
}

.contact-turnstile .cf-turnstile {
  display: block;
}

.contact-submit,
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  border: 1px solid var(--deep-canopy);
  border-radius: 999px;
  background: var(--deep-canopy);
  color: var(--warm-neutral);
  padding: 0 34px;
  font-family: inherit;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.contact-submit {
  min-width: 210px;
  margin-top: 20px;
}

.contact-submit:hover,
.contact-submit:focus-visible,
.contact-button:hover,
.contact-button:focus-visible {
  transform: translateY(-1px);
  background: var(--signal);
  border-color: var(--signal);
  color: var(--warm-neutral);
}

.contact-expect {
  background: #fbf7f2;
  color: var(--deep-canopy);
}

.contact-expect__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 74px var(--site-pad);
}

.contact-expect__header {
  text-align: center;
  margin: 0 auto 56px;
}

.contact-expect__header h2 {
  margin: 0;
  color: var(--deep-canopy);
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.08;
  font-weight: 700;
}

.contact-expect__line {
  width: 96px;
  height: 3px;
  margin: 30px auto 0;
  background: var(--vitality);
}

.contact-expect__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px;
}

.contact-expect-card {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-expect-card:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  left: -27px;
  width: 1px;
  height: 100%;
  background: rgba(17, 42, 27, 0.18);
}

.contact-expect-card__number {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: var(--deep-canopy);
  color: var(--warm-neutral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.contact-expect-card:hover .contact-expect-card__number {
  transform: translateY(-4px);
  background: var(--vitality);
  color: var(--deep-canopy);
}

.contact-expect-card p {
  margin: 3px 0 0;
  color: rgba(17, 42, 27, 0.9);
  font-size: 17px;
  line-height: 1.65;
}

.contact-bottom {
  background: var(--warm-neutral);
}

.contact-bottom__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 86px var(--site-pad);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 86px;
  align-items: center;
}

.contact-bottom__image-frame {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.contact-bottom__image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 700ms ease;
}

.contact-bottom__image-frame:hover img {
  transform: scale(1.025);
}

.contact-bottom__content {
  max-width: 660px;
}

.contact-bottom__line {
  width: 96px;
  height: 3px;
  margin: 0 0 34px;
  background: var(--vitality);
}

.contact-bottom h2 {
  margin: 0 0 28px;
  color: var(--deep-canopy);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
  font-weight: 700;
}

.contact-bottom p {
  margin: 0 0 24px;
  color: rgba(17, 42, 27, 0.9);
  font-size: 18px;
  line-height: 1.68;
}

.contact-bottom__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  margin-top: 8px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--deep-canopy);
  border: 1px solid var(--deep-canopy);
  color: var(--warm-neutral);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.contact-bottom__cta:hover,
.contact-bottom__cta:focus-visible {
  transform: translateY(-1px);
  background: var(--signal);
  border-color: var(--signal);
  color: var(--warm-neutral);
}

@media (max-width: 1100px) {
  .contact-hero__content,
  .contact-start__inner,
  .contact-expect__inner,
  .contact-bottom__inner {
    padding-left: 56px;
    padding-right: 56px;
  }

  .contact-start__inner {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 76px;
  }

  .contact-intro {
    padding-top: 0;
  }

  .contact-expect__grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
    gap: 34px;
  }

  .contact-expect-card {
    padding-bottom: 34px;
  }

  .contact-expect-card:not(:first-child)::before {
    display: none;
  }

  .contact-expect-card:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(17, 42, 27, 0.18);
  }

  .contact-bottom__inner {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

@media (max-width: 700px) {
  .contact-hero {
    display: grid;
    min-height: 0;
    background: var(--warm-neutral);
  }

  .contact-hero::after {
    display: none;
  }

  .contact-hero__content {
    min-height: 0;
    order: 1;
    padding: 58px 24px 46px;
  }

  .contact-hero h1 {
    max-width: 10ch;
    font-size: clamp(42px, 13vw, 58px);
    line-height: 1.02;
  }

  .contact-hero__image {
    position: relative;
    order: 2;
    height: 280px;
  }

  .contact-hero__image img {
    object-position: center center;
  }

  .contact-start__inner,
  .contact-expect__inner,
  .contact-bottom__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .contact-start__inner {
    padding-top: 58px;
    padding-bottom: 68px;
  }

  .contact-intro h2 {
    font-size: 38px;
  }

  .contact-intro p,
  .contact-bottom p {
    font-size: 16px;
    line-height: 1.65;
  }

  .contact-email-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .contact-email-card__icon {
    width: 58px;
    height: 58px;
  }

  .contact-email-card__icon svg {
    width: 26px;
    height: 26px;
  }

  .contact-email-card strong {
    font-size: 20px;
  }

  .contact-email-card span span {
    font-size: 15px;
  }

  .contact-form-card {
    padding: 32px 24px 30px;
    border-radius: 16px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-turnstile {
    margin-top: 24px;
    overflow-x: auto;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-expect__inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .contact-expect__header h2 {
    font-size: 30px;
  }

  .contact-expect-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-expect-card__number {
    width: 68px;
    height: 68px;
    font-size: 29px;
  }

  .contact-bottom__inner {
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .contact-bottom h2 {
    font-size: 36px;
  }

  .contact-bottom__cta {
    width: 100%;
    max-width: 360px;
  }
}


/* Contact page vertical rhythm tightening */
@media (min-width: 1101px) {
  .contact-hero {
    min-height: clamp(300px, 30vw, 400px);
  }

  .contact-hero__content {
    min-height: clamp(300px, 30vw, 400px);
  }

  .contact-start__inner {
    padding-top: 68px;
    padding-bottom: 78px;
  }

  .contact-intro {
    padding-top: 30px;
  }

  .contact-form-card {
    padding-top: 36px;
    padding-bottom: 32px;
  }

  .contact-field textarea {
    min-height: 92px;
  }

  .contact-expect__inner {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .contact-bottom__inner {
    padding-top: 86px;
    padding-bottom: 86px;
  }
}

/* ======================================
   404 PAGE
====================================== */

.error404-page {
    margin: 0;
    background: #112a1b;
}

.error404 {
    background: #112a1b;
}

.error404-hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #112a1b;
}

.error404-bg {
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: url("/assets/img/404/404-bg.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Slightly darkens the artwork behind the copy */
.error404-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(17, 42, 27, 0.96) 0%,
        rgba(17, 42, 27, 0.84) 42%,
        rgba(17, 42, 27, 0.28) 72%,
        rgba(17, 42, 27, 0.08) 100%
    );

    pointer-events: none;
}

.error404-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-left: 80px;
    padding-right: 80px;
}

.error404-content {
    width: 100%;
    max-width: 680px;
    padding: 110px 0 120px;
}

.error404 .eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0 0 30px;
    padding: 6px 14px;

    border-radius: 999px;
    background: #b5d45d;
    color: #112a1b;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.error404 h1 {
    margin: 0;
    max-width: 650px;

    color: #f8eee6;

    font-size: clamp(58px, 6vw, 88px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: normal;
}

.underline-wrap {
    position: relative;
    display: inline-block;
}

.underline {
    position: absolute;
    left: -1%;
    bottom: -8px;

    width: 103%;
    height: auto;

    pointer-events: none;
}

.error404-copy {
    max-width: 590px;
    margin: 42px 0 38px;

    color: rgba(248, 238, 230, 0.84);

    font-size: 20px;
    line-height: 1.55;
}

.error404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.error404-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 55px;
    padding: 14px 28px;

    text-decoration: none;
    line-height: 1.2;
}

.error404 .btn--light {
    border: 1px solid #b5d45d;
    background: #b5d45d;
    color: #112a1b;
}

.error404 .btn--light:hover,
.error404 .btn--light:focus-visible {
    border-color: #ed2e7b;
    background: #ed2e7b;
    color: #f8eee6;
}

.error404 .btn--dark {
    border: 1px solid rgba(248, 238, 230, 0.42);
    background: transparent;
    color: #f8eee6;
}

.error404 .btn--dark:hover,
.error404 .btn--dark:focus-visible {
    border-color: #f8eee6;
    background: #f8eee6;
    color: #112a1b;
}


/* ======================================
   TABLET
====================================== */

@media (max-width: 1000px) {

    .error404-hero {
        min-height: 640px;
    }

    .error404-hero .container {
        padding-left: 48px;
        padding-right: 48px;
    }

    .error404-content {
        max-width: 620px;
        padding: 90px 0 100px;
    }

    .error404 h1 {
        font-size: clamp(54px, 8vw, 76px);
    }

    .error404-copy {
        font-size: 19px;
    }
}


/* ======================================
   MOBILE
====================================== */

@media (max-width: 700px) {

    .error404-hero {
        min-height: auto;
        align-items: flex-start;
    }

    .error404-bg {
        background-position: 62% center;
    }

    .error404-hero::after {
        background: rgba(17, 42, 27, 0.83);
    }

    .error404-hero .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .error404-content {
        width: 100%;
        max-width: 900px;
        padding: 78px 0 88px;
    }

    .error404 .eyebrow {
        margin-bottom: 24px;
    }

.error404 h1 {
    max-width: 900px;
    font-size: clamp(64px, 6vw, 92px);
    line-height: 0.98;
}

    .underline {
        bottom: -6px;
    }

    .error404-copy {
        max-width: 500px;
        margin: 34px 0;
        font-size: 17px;
        line-height: 1.55;
    }

    .error404-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error404-actions .btn {
        width: 100%;
    }
}

/* ======================================
   FINAL 404 OVERRIDES
====================================== */

body.error404-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #112a1b;
}

body.error404-page main.error404 {
    flex: 1;
    width: 100%;
    background: #112a1b;
}

body.error404-page .error404-hero {
    min-height: 650px;
    background-color: #112a1b;
}

body.error404-page .error404-bg {
    background-color: #112a1b;
}

body.error404-page .error404-content {
    max-width: 720px;
}

body.error404-page .error404 h1 {
    max-width: 720px;
    font-size: clamp(64px, 5.5vw, 88px);
    line-height: 0.98;
}

/* Prevent any global underline rule from affecting this SVG */
body.error404-page .underline-wrap > img.underline {
    position: absolute;
    display: block;
    left: -1%;
    bottom: -9px;
    width: 103%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

/* Keep footer attached to the bottom of shorter screens */
body.error404-page footer {
    margin-top: 0;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    body.error404-page .error404-hero {
        min-height: auto;
    }

    body.error404-page .error404 h1 {
        font-size: clamp(50px, 13vw, 64px);
    }
}

html,
body {
    min-height: 100%;
    background: #112a1b;
}

body.error404-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.error404-page main {
    flex: 1;
}

/* Force the desktop 404 headline into two lines */
body.error404-page .error404-content {
    width: 100%;
    max-width: 900px;
}

body.error404-page .error404-title {
    width: 900px;
    max-width: none;
}

body.error404-page .error404-title__line {
    display: block;
    white-space: nowrap;
}

body.error404-page .error404-title .underline-wrap {
    display: inline-block;
}


@media (max-width: 700px) {
    body.error404-page .error404-title {
        width: auto;
        max-width: 100%;
    }

    body.error404-page .error404-title__line {
        white-space: normal;
    }
}


/* Accessible text utility for screen-reader-only content. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
