@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/nunito-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/nunito-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/nunito-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/nunito-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/nunito-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/nunito-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/nunito-latin-ext-800.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/nunito-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-green: #97c355;
  --color-green-dark: #84b939;
  --color-green-ink: #3d6b14;
  --color-blue: #5ba8ef;
  --color-blue-light: #67c7f4;
  --color-blue-ink: #1e6bb8;
  --color-text: #1a1a1a;
  --color-muted: #4e5560;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f7ef;
  --header-h: 4.35rem;
  --measure: 70rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --shadow: 0 10px 30px rgba(26, 26, 26, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.8rem);
}

body {
  margin: 0;
  font-family: Nunito, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: var(--color-blue-ink);
}

a:hover {
  color: var(--color-green-ink);
}

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 1000;
  background: var(--color-text);
  color: #fff;
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - var(--gutter) * 2, var(--measure));
  margin-inline: auto;
}

.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;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(151, 195, 85, 0.28);
  box-shadow: 0 1px 0 var(--color-blue), var(--shadow);
}

.header-inner {
  width: min(100% - var(--gutter) * 2, var(--measure));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

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

.brand img {
  width: 2.55rem;
  height: 2.55rem;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  line-height: 1.1;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(26, 26, 26, 0.18);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.lang {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.lang a {
  text-decoration: none;
  color: var(--color-muted);
}

.lang a[aria-current="true"] {
  color: var(--color-text);
}

.lang span {
  color: var(--color-blue);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: hero-drift 28s var(--ease) infinite alternate;
}

.hero-diagram {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.diagram-path {
  stroke-dasharray: 8 10;
  animation: dash-flow 18s linear infinite;
}

.diagram-node {
  transform-origin: center;
  animation: node-pulse 4.5s var(--ease) infinite;
}

.diagram-node:nth-child(odd) {
  animation-delay: 0.6s;
}

.diagram-node:nth-child(3n) {
  animation-delay: 1.2s;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.22) 34%, rgba(255, 255, 255, 0.92) 100%),
    linear-gradient(125deg, rgba(91, 168, 239, 0.22), rgba(151, 195, 85, 0.24));
}

.hero-inner {
  width: min(100% - var(--gutter) * 2, 56rem);
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 5.5rem;
  text-align: center;
}

.hero-logo {
  width: min(16rem, 64vw);
  margin: 0 auto 1.15rem;
  filter: drop-shadow(0 10px 28px rgba(255, 255, 255, 0.55));
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.05rem, 5.4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--color-text);
}

.hero .lede {
  margin: 0 auto 1.75rem;
  max-width: 44rem;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  color: var(--color-muted);
  font-weight: 600;
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.55rem;
  border-radius: 0.55rem;
  background: var(--color-green);
  color: var(--color-text);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(151, 195, 85, 0.35);
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: var(--color-green-dark);
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(151, 195, 85, 0.42);
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(3.5rem, 8vw, 6rem);
  color: var(--color-bg);
}

.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Sections */

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-kicker {
  margin: 0 0 0.4rem;
  color: var(--color-blue-ink);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 2.2rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section--soft {
  background: var(--color-bg-soft);
}

.services-grid {
  display: grid;
  gap: 1.25rem;
}

.pillar {
  position: relative;
  padding: 1.5rem 1.35rem 1.4rem;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--color-blue), var(--color-green)) 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 239, 0.55));
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.pillar:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 14px 36px rgba(26, 26, 26, 0.08);
}

.pillar-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.95rem;
  color: var(--color-blue-ink);
}

.pillar-mark svg {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
  transition: transform 0.28s var(--ease), color 0.28s var(--ease);
}

.pillar:hover .pillar-mark {
  color: var(--color-green-ink);
}

.pillar:hover .pillar-mark svg {
  transform: translateY(-1px);
}

.pillar h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pillar > p {
  margin: 0 0 1.1rem;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar-tags li {
  position: relative;
  color: var(--color-green-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pillar-tags li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.5rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-blue);
  transform: translateY(-50%);
  opacity: 0.7;
}

.about-grid {
  display: grid;
  gap: 2.25rem;
}

.about-intro {
  max-width: 48rem;
}

.about-intro h2 {
  margin-bottom: 1.1rem;
}

.about-intro p {
  margin: 0 0 0.85rem;
  color: var(--color-muted);
}

.about-intro p:last-of-type {
  margin-bottom: 0;
}

.about-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.75rem;
  padding: 1.85rem 0;
  border-top: 1px solid rgba(151, 195, 85, 0.4);
  border-bottom: 1px solid rgba(91, 168, 239, 0.28);
}

.metric {
  display: grid;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem 0.35rem 0;
  align-content: start;
}

.metric:nth-child(odd) {
  padding-right: 1rem;
  border-right: 1px solid rgba(91, 168, 239, 0.22);
}

.metric:nth-child(even) {
  padding-left: 0.35rem;
}

.metric-value {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(120deg, var(--color-blue-ink), var(--color-green-ink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-label {
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

.metric-note {
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.45;
}

.about-media {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  min-height: 11rem;
  box-shadow: var(--shadow);
}

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

.about-media:hover img {
  transform: scale(1.03);
}

.contact-cta {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.75rem 0 2rem;
  border-bottom: 1px solid rgba(151, 195, 85, 0.35);
}

.contact-cta h2 {
  margin: 0 0 0.65rem;
  max-width: 28rem;
}

.contact-cta p {
  margin: 0;
  color: var(--color-muted);
  max-width: 32rem;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  gap: 1.75rem;
}

.contact-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-blue-ink);
}

.contact-card p,
.contact-card address {
  margin: 0;
  font-style: normal;
  font-weight: 600;
  line-height: 1.55;
}

.contact-card a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
}

.contact-card a:hover {
  color: var(--color-green-ink);
}

/* Legal */

.page-legal {
  padding-top: var(--header-h);
}

.legal {
  padding: clamp(3rem, 7vw, 5rem) 0 4rem;
}

.legal h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.legal p,
.legal li {
  color: var(--color-muted);
  max-width: 42rem;
}

.legal ul {
  padding-left: 1.15rem;
}

.legal dl {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: 0.45rem 1.25rem;
  margin: 0 0 1.4rem;
  max-width: 42rem;
}

.legal dt {
  font-weight: 800;
  color: var(--color-text);
}

.legal dd {
  margin: 0;
  color: var(--color-muted);
}

/* Footer */

.site-end {
  margin-top: 2rem;
}

.footer-waves {
  height: clamp(5.5rem, 12vw, 9rem);
  overflow: hidden;
  line-height: 0;
  color: var(--color-green);
}

.footer-waves svg {
  width: 120%;
  margin-left: -10%;
  height: 100%;
  display: block;
}

.wave-blue {
  animation: wave-drift 16s ease-in-out infinite;
  transform-origin: center;
}

.wave-green {
  animation: wave-drift 20s ease-in-out infinite reverse;
  transform-origin: center;
}

@keyframes wave-drift {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-4%);
  }
}

.site-footer {
  background: var(--color-green);
  color: var(--color-text);
  padding: 0.4rem 0 2.2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: baseline;
}

.site-footer a {
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
}

.footer-copy {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Motion */

.reveal {
  opacity: 1;
}

@media (scripting: enabled) {
  .reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(18px);
  }

  .reveal.is-visible {
    animation: rise 0.75s var(--ease) forwards;
    animation-delay: var(--delay, 0ms);
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes dash-flow {
  to {
    stroke-dashoffset: -180;
  }
}

@keyframes node-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.75rem;
  }

  .about-grid {
    gap: 2.75rem;
  }

  .about-metrics {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 2rem;
    padding: 2.1rem 0;
  }

  .metric {
    padding: 0.25rem 1.75rem 0.25rem 0;
    border-right: 1px solid rgba(91, 168, 239, 0.22);
  }

  .metric:nth-child(odd),
  .metric:nth-child(even) {
    padding-left: 0;
    padding-right: 1.75rem;
    border-right: 1px solid rgba(91, 168, 239, 0.22);
  }

  .metric:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .about-media {
    aspect-ratio: 24 / 9;
  }

  .contact-cta {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
  }

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

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-inner {
    padding: calc(var(--header-h) + 1.1rem) 0 4.25rem;
  }

  .hero-logo {
    width: min(11.5rem, 52vw);
    margin-bottom: 0.85rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8.4vw, 2.45rem);
  }

  .hero .lede {
    font-size: 1.02rem;
    margin-bottom: 1.25rem;
    max-width: 100%;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.6rem var(--gutter) 1.2rem;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    width: 100%;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(151, 195, 85, 0.25);
  }

  .legal dl {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .legal dt {
    margin-top: 0.7rem;
  }
}

@media (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .wave-blue,
  .wave-green,
  .reveal,
  .reveal.is-visible,
  .hero-media img,
  .diagram-path,
  .diagram-node {
    animation: none;
  }

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

  .btn,
  .pillar,
  .pillar-mark svg,
  .about-media img {
    transition: none;
  }

  .pillar:hover {
    transform: none;
  }

  .pillar:hover .pillar-mark svg {
    transform: none;
  }
}
