@font-face {
  font-family: "Gloock";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/gloock-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geologica-var-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/montserrat-800-latin.woff2") format("woff2");
}

:root {
  --ivory: #f5f1e8;
  --paper: #ece6da;
  --forest: #1b4d3e;
  --forest-deep: #12362d;
  --forest-bright: #2d705c;
  --charcoal: #2f2f2f;
  --ink: #1c211f;
  --sage: #b8c8ae;
  --signal: #a8e05f;
  --mint: #ddf0d2;
  --line: rgba(47, 47, 47, 0.2);
  --shell: min(1380px, calc(100vw - 72px));
  --display: "Gloock", Georgia, serif;
  --sans: "Geologica", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 330;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--ivory);
  background: var(--forest);
}

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

button,
input,
textarea {
  font: inherit;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ivory);
  background: var(--forest);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: var(--ivory);
  transition:
    color 300ms ease,
    background 300ms ease,
    transform 400ms var(--ease);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(245, 241, 232, 0.2);
  content: "";
}

.site-header.is-scrolled {
  color: var(--charcoal);
  background: rgba(245, 241, 232, 0.93);
  box-shadow: 0 10px 30px rgba(19, 41, 34, 0.06);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled::after {
  background: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  width: fit-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  overflow: visible;
}

.brand-mark path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark__n {
  stroke: currentcolor;
  stroke-width: 3.4;
}

.brand-mark__c {
  stroke: var(--signal);
  stroke-width: 3.8;
}

.site-header.is-scrolled .brand-mark__c,
.brand--footer .brand-mark__c {
  stroke: var(--forest);
}

.brand-copy {
  display: grid;
  line-height: 0.9;
}

.brand-copy strong {
  font-family: "Montserrat", var(--sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-copy span {
  margin-top: 7px;
  font-family: "Montserrat", var(--sans);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.46em;
}

.site-nav {
  display: flex;
  gap: clamp(22px, 2.5vw, 44px);
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav > a:not(.nav-action) {
  position: relative;
}

.site-nav > a:not(.nav-action)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentcolor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease);
}

.site-nav > a:not(.nav-action):hover::after,
.site-nav > a:not(.nav-action):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-action {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 13px 20px;
  color: var(--forest-deep);
  background: var(--signal);
  border-radius: 999px;
  font-weight: 600;
  transition: transform 250ms var(--ease);
}

.nav-action:hover,
.nav-action:focus-visible {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

/* ---------- headings ---------- */

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.section h2,
.contact h2 {
  font-size: clamp(44px, 4.8vw, 80px);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ivory);
  background: var(--forest-deep);
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("img/hero-forest.jpg") center / cover no-repeat;
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    100deg,
    rgba(10, 33, 27, 0.88) 0%,
    rgba(10, 33, 27, 0.6) 52%,
    rgba(10, 33, 27, 0.35) 100%
  );
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 40px;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(64px, 8.6vw, 150px);
  line-height: 0.98;
}

.hero-lede {
  max-width: 52ch;
  margin: 34px 0 0;
  color: rgba(245, 241, 232, 0.85);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 300;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 34px;
  align-items: center;
  margin-top: 44px;
}

.button {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    background 250ms ease,
    color 250ms ease,
    transform 250ms var(--ease);
}

.button--ivory {
  color: var(--forest-deep);
  background: var(--ivory);
}

.button--ivory:hover,
.button--ivory:focus-visible {
  background: var(--signal);
  transform: translateY(-3px);
}

.hero-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  padding-block: 14px;
  margin-block: -5px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.36);
  font-size: 13px;
  font-weight: 500;
}

.hero-link span {
  transition: transform 200ms var(--ease);
}

.hero-link:hover span {
  transform: translateY(3px);
}

/* ---------- shared bits ---------- */

.section {
  padding-block: clamp(104px, 11vw, 180px);
}

.pill {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 15px 26px;
  color: var(--forest-deep);
  background: var(--signal);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 250ms ease,
    transform 250ms var(--ease);
}

.pill:hover,
.pill:focus-visible {
  background: #bcef78;
  transform: translateY(-2px);
}

.pill span {
  transition: transform 200ms var(--ease);
}

.pill:hover span {
  transform: translateX(4px);
}

/* ---------- services ---------- */

.services-heading {
  max-width: 900px;
  padding-bottom: 64px;
}

.services-heading h2 {
  color: var(--forest-deep);
}

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

.service-card {
  grid-column: span 2;
}

/* Five cards: center the two-card second row. */
.service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
  overflow: hidden;
  border-radius: 20px;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.service-card:hover img {
  transform: scale(1.045);
}

.service-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(18, 54, 45, 0.08) 40%, rgba(18, 54, 45, 0.32) 100%);
}

.service-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  margin: 16px;
  padding: 28px 26px 24px;
  color: var(--ink);
  background: rgba(250, 248, 243, 0.95);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

.service-panel--mint {
  background: rgba(221, 240, 210, 0.95);
}

.service-panel--dark {
  color: var(--ivory);
  background: rgba(18, 54, 45, 0.93);
}

.service-panel h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 1.9vw, 30px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.service-panel > span {
  font-size: 13px;
  color: rgba(28, 33, 31, 0.68);
}

.service-panel--dark > span {
  color: rgba(245, 241, 232, 0.68);
}

.service-panel a {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 14px;
  padding-bottom: 15px;
  margin-bottom: -15px;
  border-top: 1px solid rgba(28, 33, 31, 0.18);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.service-panel--dark a {
  border-top-color: rgba(245, 241, 232, 0.25);
}

.service-panel a span {
  font-style: normal;
  transition: transform 200ms var(--ease);
}

.service-panel a:hover span {
  transform: translate(3px, -3px);
}

.services > .shell > .pill,
.services > .shell > .pill-row {
  justify-content: center;
  margin-top: 44px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- system: the loop ---------- */

.system {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  background: var(--forest-deep);
}

.system::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(55% 65% at 82% 18%, rgba(168, 224, 95, 0.13) 0%, transparent 65%),
    radial-gradient(45% 55% at 8% 90%, rgba(45, 112, 92, 0.35) 0%, transparent 65%);
}

.system-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(56px, 7vw, 130px);
  align-items: center;
}

.system h2 {
  color: var(--ivory);
}

.system-lede {
  max-width: 54ch;
  margin: 26px 0 0;
  color: rgba(245, 241, 232, 0.75);
  font-size: 16px;
  font-weight: 300;
}

.system-legend {
  display: grid;
  gap: 2px;
  margin: 38px 0 40px;
  padding: 0;
  list-style: none;
}

.system-legend li {
  padding: 22px 16px;
  border-top: 1px solid rgba(245, 241, 232, 0.14);
  cursor: default;
  transition: background 250ms ease;
}

.system-legend li:first-child {
  border-top: 0;
}

.system-legend li:hover,
.system-legend li:focus-within {
  background: rgba(245, 241, 232, 0.06);
}

.system-legend h3 {
  display: flex;
  align-items: baseline;
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}

.legend-tag {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #9fc5b5;
}

.legend-tag::before {
  margin: 0 0.6ch;
  color: rgba(159, 197, 181, 0.55);
  content: "·";
}

.system-legend p {
  max-width: 50ch;
  margin: 0;
  color: rgba(245, 241, 232, 0.64);
  font-size: 14px;
}

/* the diagram */

.loop-map {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

.loop-diagram {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.loop-core-ring {
  fill: var(--ivory);
  filter: drop-shadow(0 18px 60px rgba(0, 0, 0, 0.28));
}

.loop-core-word {
  fill: var(--forest-deep);
  font-family: var(--display);
  font-size: 40px;
}

.loop-core-sub {
  fill: var(--forest);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.24em;
}

.loop-arc {
  fill: none;
  stroke: var(--ivory);
  stroke-width: 4;
  stroke-linecap: round;
  transition:
    stroke 250ms ease,
    stroke-width 250ms ease;
}

.loop-arrowhead {
  fill: var(--signal);
}

.loop-station {
  fill: var(--ivory);
  transition: fill 250ms ease;
}

.loop-label {
  fill: var(--ivory);
  font-family: var(--display);
  font-size: 29px;
  transition: fill 250ms ease;
}

.loop-stage.is-hot .loop-arc {
  stroke: var(--signal);
  stroke-width: 5;
}

.loop-stage.is-hot .loop-station,
.loop-stage.is-hot .loop-label {
  fill: var(--signal);
}

/* One-time draw of the loop as it enters view. Kept out of the no-JS and
   reduced-motion paths so the diagram always shows fully drawn there. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-js) .loop-map .loop-arc {
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
  }

  html:not(.no-js) .loop-map.is-visible .loop-arc {
    animation: loop-draw 900ms var(--ease) forwards;
  }

  html:not(.no-js) .loop-map.is-visible [data-map-node="2"] .loop-arc {
    animation-delay: 260ms;
  }

  html:not(.no-js) .loop-map.is-visible [data-map-node="3"] .loop-arc {
    animation-delay: 520ms;
  }
}

@keyframes loop-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- approach: checkerboard ---------- */

.approach-heading {
  max-width: 900px;
  padding-bottom: 64px;
}

.approach-heading h2 {
  color: var(--forest-deep);
}

.split-rows {
  display: grid;
  gap: 0;
}

.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

.split-row--reverse .split-text {
  order: 2;
}

.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 4.5vw, 76px);
}

.split-text--forest {
  color: var(--ivory);
  background: var(--forest-deep);
}

.split-text--ivory {
  color: var(--ink);
  background: #fdfcf9;
  border: 1px solid var(--paper);
}

.split-text h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.split-text p {
  max-width: 52ch;
  margin: 0;
  font-size: 14.5px;
  opacity: 0.78;
}

/* New scene images sit on top; the current hero image stays underneath as a
   fallback so the panels never break before the new files land. */
.split-image {
  background-repeat: no-repeat;
}

.split-image--a {
  background-image: url("img/approach-find.jpg"), url("img/hero-forest.jpg");
  background-size: cover, 175%;
  background-position: center, 15% 35%;
}

.split-image--b {
  background-image: url("img/approach-plan.jpg"), url("img/hero-forest.jpg");
  background-size: cover, 210%;
  background-position: center, 62% 58%;
}

.split-image--c {
  background-image: url("img/approach-build.jpg"), url("img/hero-forest.jpg");
  background-size: cover, 145%;
  background-position: center, 48% 18%;
}

.approach-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
}

.approach-foot p {
  max-width: 58ch;
  margin: 0;
  color: rgba(28, 33, 31, 0.75);
  font-size: 14px;
}

.approach-foot b {
  color: var(--forest-deep);
  font-weight: 600;
}

/* ---------- contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(104px, 11vw, 170px);
  color: var(--ivory);
  background: var(--forest);
}

.contact::after {
  position: absolute;
  right: -9vw;
  bottom: -19vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(245, 241, 232, 0.018);
  content: "";
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(70px, 10vw, 170px);
  align-items: end;
}

.contact h2 {
  max-width: 850px;
  color: var(--ivory);
}

.contact-action > p:first-child {
  max-width: 520px;
  margin: 0 0 40px;
  color: rgba(245, 241, 232, 0.75);
  font-size: 17px;
  font-weight: 300;
}

.email-link {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.48);
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 500;
}

.email-link span {
  font-size: 26px;
  transition: transform 250ms var(--ease);
}

.email-link:hover span {
  transform: translate(4px, -4px);
}

.contact-small {
  margin: 19px 0 0;
  color: rgba(245, 241, 232, 0.66);
  font-size: 14px;
}

/* ---------- footer ---------- */

.site-footer {
  color: var(--charcoal);
  background: var(--ivory);
}

.footer-top {
  display: grid;
  grid-template-columns: 0.9fr 1fr auto;
  gap: 40px;
  align-items: center;
  min-height: 180px;
}

.footer-top > p {
  max-width: 410px;
  margin: 0;
  color: rgba(28, 33, 31, 0.66);
  font-size: 15px;
}

.back-to-top {
  padding-block: 15px;
  margin-block: -15px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  color: rgba(28, 33, 31, 0.7);
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}

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

html.no-js .reveal {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

.reveal-delay-3 {
  transition-delay: 300ms;
}

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 48px, 1000px);
  }

  .service-card {
    min-height: 480px;
  }

  .system-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .loop-map {
    max-width: 480px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100vw - 36px);
  }

  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 13px 8px;
    color: inherit;
    background: transparent;
    border: 0;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 1px;
    background: currentcolor;
    transition: transform 250ms var(--ease);
  }

  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    justify-content: center;
    padding: 100px 24px 40px;
    color: var(--ivory);
    background: var(--forest-deep);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 250ms ease,
      visibility 250ms ease,
      transform 250ms var(--ease);
  }

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

  .site-nav > a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(245, 241, 232, 0.16);
    font-family: var(--display);
    font-size: 32px;
  }

  .site-nav > .nav-action {
    justify-content: space-between;
    margin-top: 20px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 14px;
  }

  .site-header.menu-active {
    color: var(--ivory);
  }

  .hero h1 {
    font-size: clamp(56px, 14vw, 100px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

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

  .service-card,
  .service-card:nth-child(4) {
    grid-column: auto;
  }

  .service-card {
    min-height: 440px;
  }

  .split-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .split-row--reverse .split-text {
    order: 0;
  }

  .split-image {
    min-height: 240px;
    background-size: cover;
    background-position: center;
  }

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

  .footer-top {
    grid-template-columns: 1fr auto;
  }

  .footer-top > p {
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy span {
    font-size: 7px;
  }

  .section h2,
  .contact h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .hero h1 {
    font-size: clamp(48px, 16.5vw, 72px);
  }

  .hero-lede {
    margin-top: 26px;
  }

  .section {
    padding-block: 92px;
  }

  .system-legend li {
    padding: 18px 8px;
  }

  .loop-map {
    max-width: 380px;
  }

  .approach-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .email-link {
    overflow-wrap: anywhere;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding-block: 52px;
  }

  .footer-top > p {
    grid-row: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Service pages */
.svc-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(150px, 16vw, 216px);
  padding-bottom: clamp(72px, 9vw, 120px);
  color: var(--ivory);
  background: var(--forest-deep);
  isolation: isolate;
}

.svc-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(55% 65% at 82% 14%, rgba(168, 224, 95, 0.12) 0%, transparent 65%),
    radial-gradient(45% 55% at 6% 92%, rgba(45, 112, 92, 0.32) 0%, transparent 65%);
}

/* Per-page hero renders (ComfyUI, 2026-07-12). The dark left-weighted gradient
   sits on top of the image so the headline and lede stay readable; the flat
   forest-deep base on .svc-hero remains the fallback if an image fails to load. */
.svc-hero--web::before,
.svc-hero--seo::before,
.svc-hero--management::before,
.svc-hero--bookkeeping::before,
.svc-hero--ai::before,
.svc-hero--capabilities::before {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.svc-hero--web::before {
  background-image:
    linear-gradient(100deg, rgba(10, 33, 27, 0.92) 0%, rgba(10, 33, 27, 0.66) 50%, rgba(10, 33, 27, 0.42) 100%),
    url("/img/svc-web-design.jpg");
}

.svc-hero--seo::before {
  background-image:
    linear-gradient(100deg, rgba(10, 33, 27, 0.92) 0%, rgba(10, 33, 27, 0.66) 50%, rgba(10, 33, 27, 0.42) 100%),
    url("/img/svc-seo.jpg");
}

.svc-hero--management::before {
  background-image:
    linear-gradient(100deg, rgba(10, 33, 27, 0.9) 0%, rgba(10, 33, 27, 0.62) 50%, rgba(10, 33, 27, 0.4) 100%),
    url("/img/svc-management.jpg");
}

.svc-hero--bookkeeping::before {
  background-image:
    linear-gradient(100deg, rgba(10, 33, 27, 0.94) 0%, rgba(10, 33, 27, 0.72) 50%, rgba(10, 33, 27, 0.5) 100%),
    url("/img/svc-bookkeeping.jpg");
}

.svc-hero--ai::before {
  background-image:
    linear-gradient(100deg, rgba(10, 33, 27, 0.92) 0%, rgba(10, 33, 27, 0.66) 50%, rgba(10, 33, 27, 0.42) 100%),
    url("/img/svc-ai.jpg");
}

.svc-hero--capabilities::before {
  background-image:
    linear-gradient(100deg, rgba(10, 33, 27, 0.92) 0%, rgba(10, 33, 27, 0.68) 50%, rgba(10, 33, 27, 0.44) 100%),
    url("/img/svc-capabilities.jpg");
}

.svc-more {
  max-width: 62ch;
  margin: 30px 0 0;
}

.svc-hero h1 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.svc-lede {
  max-width: 60ch;
  margin: 30px 0 0;
  color: rgba(245, 241, 232, 0.82);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 300;
  line-height: 1.5;
}

.svc-section {
  padding-block: clamp(84px, 9vw, 132px);
}

.svc-section > .shell > h2 {
  margin: 0 0 44px;
  color: var(--forest-deep);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.svc-covers,
.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.svc-covers li,
.faq-item {
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}

.svc-covers h3,
.faq-item h3 {
  margin: 0 0 8px;
  color: var(--forest-deep);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.svc-covers p,
.faq-item p {
  max-width: 66ch;
  margin: 0;
  color: rgba(28, 33, 31, 0.76);
  font-size: 14.5px;
}

.svc-runs {
  padding-block: clamp(60px, 7vw, 96px);
  background: var(--mint);
}

.svc-runs p {
  max-width: 64ch;
  margin: 0 0 26px;
  color: var(--forest-deep);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 300;
  line-height: 1.5;
}

.svc-cta {
  padding-block: clamp(80px, 9vw, 128px);
  color: var(--ivory);
  background: var(--forest);
}

.svc-cta h2 {
  max-width: 20ch;
  margin: 0 0 36px;
  color: var(--ivory);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.svc-cta .email-link {
  max-width: 520px;
}

.footer-services {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}

.footer-services a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  color: rgba(28, 33, 31, 0.82);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}

.footer-services a:hover,
.footer-services a:focus-visible {
  color: var(--forest-deep);
}

.footer-services span {
  color: rgba(28, 33, 31, 0.4);
}

/* Capabilities index page: stacked groups, quiet two-column menus */
.cap-intro {
  max-width: 68ch;
  margin: 0 0 30px;
  color: rgba(28, 33, 31, 0.76);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 300;
  line-height: 1.5;
}

.cap-intro a {
  color: var(--forest-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.cap-group {
  margin-bottom: clamp(56px, 6vw, 88px);
}

.cap-group:last-child {
  margin-bottom: 0;
}

.cap-group > h2 {
  margin: 0 0 16px;
  color: var(--forest-deep);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* Tighter two-column variant of svc-covers for a scannable menu */
@media (min-width: 720px) {
  .svc-covers--cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
  }
}
