/* =========================================================================
   Zenergy Greens — Design System
   Brand: navy #0E416B · green #6EBE45
   ========================================================================= */

/* ---------------------------------------------------------------- tokens */
:root {
  /* brand */
  --navy: #0e416b;
  --green: #6ebe45;

  /* ink scale (dark canvas) */
  --ink-950: #04141f;
  --ink-900: #061e33;
  --ink-850: #0a2942;
  --ink-800: #0e3552;
  --ink-700: #16496d;

  /* green scale */
  --green-300: #a8e084;
  --green-400: #8ad45f;
  --green-500: #6ebe45;
  --green-600: #55a032;

  /* surfaces (light canvas) */
  --paper: #ffffff;
  --paper-alt: #f4f7fa;
  --paper-sunk: #eaf0f6;
  --line: #dbe5ee;
  --line-soft: #edf2f7;

  /* text */
  --text: #071a29;
  --text-soft: #4a5f72;
  --text-mute: #7488a0;
  --on-dark: #ffffff;
  --on-dark-soft: #b8cdde;
  --on-dark-mute: #7c99b3;

  /* effects */
  --glass: rgba(255, 255, 255, 0.06);
  --glass-line: rgba(255, 255, 255, 0.12);
  --glow-green: 0 0 40px rgba(110, 190, 69, 0.35);

  --shadow-sm: 0 1px 2px rgba(7, 26, 41, 0.06), 0 2px 8px rgba(7, 26, 41, 0.04);
  --shadow-md: 0 4px 12px rgba(7, 26, 41, 0.07), 0 12px 32px rgba(7, 26, 41, 0.07);
  --shadow-lg: 0 12px 28px rgba(7, 26, 41, 0.1), 0 32px 64px rgba(7, 26, 41, 0.12);

  /* radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 999px;

  /* spacing scale */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --s10: 128px;

  /* layout */
  --wrap: 1240px;
  --wrap-tight: 960px;
  --nav-h: 88px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* type */
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------------------------------- baseline */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

figure,
blockquote,
dl,
dd {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--green-500);
  color: var(--ink-950);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -200%);
  z-index: 200;
  background: var(--ink-900);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--r-full);
  font-weight: 600;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus {
  transform: translate(-50%, 0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.wrap-tight {
  max-width: var(--wrap-tight);
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
}

.section-sm {
  padding-block: clamp(48px, 6vw, 80px);
}

.dark {
  background: var(--ink-900);
  color: var(--on-dark);
}
.dark p {
  color: var(--on-dark-soft);
}

.alt {
  background: var(--paper-alt);
}

/* ------------------------------------------------------------ type util
   Floors are tuned for a 390px phone: the minimum of each clamp is the
   mobile size, so headings stay comfortable rather than shouting. */
.display {
  font-size: clamp(1.95rem, 6.2vw, 4.4rem);
  line-height: 1.12;
}

.h1 {
  font-size: clamp(1.65rem, 5vw, 3.4rem);
  line-height: 1.14;
}

.h2 {
  font-size: clamp(1.4rem, 3.4vw, 2.5rem);
  line-height: 1.18;
}

.h3 {
  font-size: clamp(1.06rem, 1.8vw, 1.38rem);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.lead {
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  color: var(--text-soft);
  line-height: 1.72;
}
.dark .lead {
  color: var(--on-dark-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 1vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: var(--s4);
}
.dark .eyebrow {
  color: var(--green-400);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.grad-text {
  background: linear-gradient(100deg, var(--green-300), var(--green-500) 60%, var(--green-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head p {
  margin-top: var(--s4);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center .eyebrow {
  justify-content: center;
}

/* -------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--green-500);
  --btn-fg: var(--ink-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(110, 190, 69, 0.32);
}
.btn:hover::after {
  opacity: 1;
}
.btn:active {
  transform: translateY(0);
}

.btn svg {
  transition: transform 0.35s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--paper-alt);
  box-shadow: var(--shadow-md);
}

.dark .btn-ghost,
.btn-ghost-light {
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}
.dark .btn-ghost:hover,
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.btn-navy {
  --btn-bg: var(--ink-800);
  --btn-fg: #fff;
}
.btn-navy:hover {
  box-shadow: 0 10px 30px rgba(14, 65, 107, 0.35);
}

.btn-lg {
  padding: 18px 34px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* text link with animated underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--green-600);
  position: relative;
}
.dark .tlink {
  color: var(--green-400);
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.tlink:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.tlink svg {
  transition: transform 0.35s var(--ease);
}
.tlink:hover svg {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------- chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
}
.dark .chip {
  background: var(--glass);
  border-color: var(--glass-line);
  color: var(--on-dark-soft);
  backdrop-filter: blur(10px);
}
.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  flex: none;
}

/* =============================================================== NAVBAR */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: var(--s5);
  width: 100%;
}

.nav-logo {
  flex: none;
  display: block;
  line-height: 0;
}
.nav-logo img {
  height: clamp(44px, 6.2vw, 60px);
  width: auto;
  transition: height 0.4s var(--ease);
}
.nav-logo .logo-light {
  display: block;
}
.nav-logo .logo-dark {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 9px 15px;
  border-radius: var(--r-full);
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  position: relative;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-links a[aria-current="page"] {
  color: #fff;
}
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-500);
}

.nav-cta {
  flex: none;
  padding: 11px 22px;
  font-size: 0.9rem;
}

/* scrolled / solid state */
.nav.is-solid {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 4px 24px rgba(7, 26, 41, 0.06);
}
.nav.is-solid .nav-logo .logo-light {
  display: none;
}
.nav.is-solid .nav-logo .logo-dark {
  display: block;
}
.nav.is-solid .nav-links a {
  color: var(--text-soft);
}
.nav.is-solid .nav-links a:hover,
.nav.is-solid .nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--paper-alt);
}
.nav.is-solid .nav-toggle span {
  background: var(--text);
}

/* pages that start on a light background render solid immediately */
.nav.nav-light {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom-color: var(--line-soft);
}
.nav.nav-light .nav-logo .logo-light {
  display: none;
}
.nav.nav-light .nav-logo .logo-dark {
  display: block;
}
.nav.nav-light .nav-links a {
  color: var(--text-soft);
}
.nav.nav-light .nav-links a:hover,
.nav.nav-light .nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--paper-alt);
}
.nav.nav-light .nav-toggle span {
  background: var(--text);
}

.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease), width 0.4s var(--ease);
}
.nav-toggle span:nth-child(1) {
  top: 16px;
}
.nav-toggle span:nth-child(2) {
  top: 22px;
  width: 15px;
}
.nav-toggle span:nth-child(3) {
  top: 28px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 22px;
}

/* mobile drawer */
.nav-drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: var(--ink-900);
  padding: var(--s6) clamp(20px, 5vw, 40px) var(--s7);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0.5s;
  overflow-y: auto;
}
.nav-drawer.is-open {
  transform: translateY(0);
  visibility: visible;
}
.nav-drawer a.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
}
.nav-drawer a.drawer-link span {
  color: var(--green-500);
  font-size: 1rem;
}
.nav-drawer .drawer-foot {
  margin-top: auto;
  padding-top: var(--s6);
  display: grid;
  gap: var(--s3);
}
.nav-drawer .drawer-foot a.meta {
  color: var(--on-dark-soft);
  font-size: 0.95rem;
}

body.nav-open {
  overflow: hidden;
}

/* ================================================================= HERO */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: clamp(40px, 6vw, 72px);
  background: var(--ink-950);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.06);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  to {
    transform: scale(1.14) translate3d(-1.5%, -1%, 0);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 20, 31, 0.86) 0%, rgba(4, 20, 31, 0.55) 32%, rgba(4, 20, 31, 0.8) 68%, rgba(4, 20, 31, 0.97) 100%),
    radial-gradient(70% 55% at 78% 22%, rgba(110, 190, 69, 0.22), transparent 70%);
}

.hero-inner {
  width: 100%;
  position: relative;
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: var(--s5);
}

.hero .lead {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s6);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

/* hero stat rail */
.hero-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 1px;
  margin-top: var(--s6);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-rail div {
  background: rgba(6, 30, 51, 0.55);
  padding: 20px 22px;
}
.hero-rail dt {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-bottom: 4px;
}
.hero-rail dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.1vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 5vw, 40px);
  bottom: clamp(40px, 6vw, 72px);
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 54px;
  background: linear-gradient(rgba(255, 255, 255, 0.5), transparent);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%,
  100% {
    transform: scaleY(0.35);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* --------------------------------------------------------- page banner */
.banner {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 96px));
  padding-bottom: clamp(56px, 8vw, 96px);
  background: var(--ink-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 80% at 85% 10%, rgba(110, 190, 69, 0.2), transparent 65%),
    radial-gradient(50% 70% at 5% 90%, rgba(14, 65, 107, 0.55), transparent 70%);
}
.banner-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.24;
}
.banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner h1 {
  max-width: 18ch;
}
.banner .lead {
  max-width: 62ch;
  margin-top: var(--s4);
  color: rgba(255, 255, 255, 0.8);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.85rem;
  color: var(--on-dark-mute);
  margin-bottom: var(--s5);
}
.crumbs a:hover {
  color: var(--green-400);
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.45;
}
.crumbs [aria-current="page"] {
  color: var(--green-400);
}

/* ======================================================== LOGO MARQUEE */
.marquee {
  position: relative;
  padding-block: clamp(32px, 4vw, 48px);
  background: var(--ink-950);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-bottom: var(--s5);
}
.marquee-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: clamp(16px, 2.2vw, 28px);
  animation: slide 52s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
/* Real client marks stay in full colour — they are the credibility.
   A light tile keeps them legible against the dark band. */
.marquee-track li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: clamp(140px, 15vw, 190px);
  padding: 14px 26px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.marquee-track li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.marquee-track img {
  height: clamp(34px, 4.2vw, 44px);
  width: auto;
  object-fit: contain;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink-950), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink-950), transparent);
}

/* ================================================================ CARDS */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #c6d7e6;
}

.dark .card,
.card-dark {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border-color: var(--glass-line);
  color: #fff;
  backdrop-filter: blur(10px);
}
.dark .card:hover,
.card-dark:hover {
  border-color: rgba(110, 190, 69, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(110, 190, 69, 0.16), rgba(110, 190, 69, 0.05));
  border: 1px solid rgba(110, 190, 69, 0.28);
  color: var(--green-600);
  margin-bottom: var(--s5);
  flex: none;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}
.dark .card-icon,
.card-dark .card-icon {
  color: var(--green-400);
}
.card:hover .card-icon {
  transform: scale(1.06) rotate(-4deg);
}
.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: var(--s3);
}
.card p {
  color: var(--text-soft);
  font-size: 0.97rem;
}
.dark .card p,
.card-dark p {
  color: var(--on-dark-soft);
}

/* ---------------------------------------------------------- bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s4);
}
.bento > * {
  grid-column: span 2;
}
.bento .span-3 {
  grid-column: span 3;
}
.bento .span-4 {
  grid-column: span 4;
}
.bento .span-6 {
  grid-column: span 6;
}

/* feature card with photo */
.feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature img.bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.feature:hover img.bg {
  transform: scale(1.07);
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 20, 31, 0.15) 0%, rgba(4, 20, 31, 0.62) 55%, rgba(4, 20, 31, 0.93) 100%);
}
.feature h3 {
  margin-bottom: var(--s2);
}
.feature p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}
.feature .chip {
  align-self: flex-start;
  margin-bottom: auto;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  backdrop-filter: blur(10px);
}

/* =============================================================== STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: var(--s4);
}
.stat {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
}
.dark .stat {
  background: var(--glass);
  border-color: var(--glass-line);
}
.stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 10px;
}
.dark .stat .num {
  color: #fff;
}
.stat .num em {
  font-style: normal;
  color: var(--green-500);
}
/* word-based stats need a much smaller size than numeric ones */
.stat .num.word {
  font-size: clamp(1.02rem, 1.8vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.stat .lbl {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.45;
}
.dark .stat .lbl {
  color: var(--on-dark-soft);
}

/* ============================================================== SPLITS */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split-media:hover img {
  transform: scale(1.05);
}

.split-media .badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: rgba(6, 30, 51, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}
.split-media .badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.split-media .badge span {
  font-size: 0.85rem;
  color: var(--on-dark-soft);
}

/* value list */
.vlist {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s6);
  list-style: none;
}
.vlist li {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}
.vlist .tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(110, 190, 69, 0.15);
  color: var(--green-600);
  margin-top: 2px;
}
.dark .vlist .tick {
  color: var(--green-400);
}
.vlist .tick svg {
  width: 14px;
  height: 14px;
}
.vlist strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 2px;
}
.vlist p {
  font-size: 0.95rem;
  color: var(--text-soft);
}
.dark .vlist p {
  color: var(--on-dark-soft);
}

/* ============================================================ PRODUCTS */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--s4);
}
.prod {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.prod:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #c6d7e6;
}
.prod-figure {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--paper-alt), var(--paper-sunk));
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.prod-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.prod-figure img.contain {
  object-fit: contain;
  padding: 22px;
  mix-blend-mode: multiply;
}
.prod:hover .prod-figure img {
  transform: scale(1.06);
}
.prod-body {
  padding: clamp(20px, 2.5vw, 26px);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  flex: 1;
}
.prod-body h3 {
  font-size: 1.12rem;
}
.prod-body p {
  font-size: 0.94rem;
  color: var(--text-soft);
  flex: 1;
}
.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.prod-tags span {
  font-size: 0.75rem;
  padding: 5px 11px;
  border-radius: var(--r-full);
  background: var(--paper-alt);
  color: var(--text-soft);
  border: 1px solid var(--line-soft);
}

/* ---------------------------------------------------- spec table + tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s5);
}
.tab {
  padding: 11px 22px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.tab:hover {
  border-color: var(--green-500);
  color: var(--text);
}
.tab[aria-selected="true"] {
  background: var(--ink-800);
  border-color: var(--ink-800);
  color: #fff;
}
.dark .tab {
  background: var(--glass);
  border-color: var(--glass-line);
  color: var(--on-dark-soft);
}
.dark .tab[aria-selected="true"] {
  background: var(--green-500);
  border-color: var(--green-500);
  color: var(--ink-950);
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
.dark .table-scroll {
  border-color: var(--glass-line);
  background: rgba(255, 255, 255, 0.03);
}

table.spec {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.93rem;
}
table.spec caption {
  text-align: left;
  padding: 18px 22px 0;
  font-size: 0.88rem;
  color: var(--text-mute);
}
.dark table.spec caption {
  color: var(--on-dark-mute);
}
table.spec th,
table.spec td {
  padding: 13px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.dark table.spec th,
.dark table.spec td {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
table.spec thead th {
  background: var(--ink-800);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  position: sticky;
  top: 0;
}
table.spec tbody tr {
  transition: background 0.2s var(--ease);
}
table.spec tbody tr:hover {
  background: rgba(110, 190, 69, 0.07);
}
table.spec tbody th {
  font-weight: 600;
  color: var(--navy);
}
.dark table.spec tbody th {
  color: var(--green-400);
}
table.spec td {
  color: var(--text-soft);
}
.dark table.spec td {
  color: var(--on-dark-soft);
}
table.spec tbody tr:last-child th,
table.spec tbody tr:last-child td {
  border-bottom: 0;
}

/* ========================================================== CALCULATOR */
.calc {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.calc-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-md);
}
.field {
  margin-bottom: var(--s6);
}
.field:last-child {
  margin-bottom: 0;
}
.field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s4);
  margin-bottom: var(--s3);
}
.field-head label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.field-head output {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-600);
  letter-spacing: -0.02em;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--r-full);
  background: linear-gradient(
    to right,
    var(--green-500) 0%,
    var(--green-500) var(--pct, 40%),
    var(--paper-sunk) var(--pct, 40%),
    var(--paper-sunk) 100%
  );
  cursor: pointer;
  margin: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green-500);
  box-shadow: var(--shadow-sm);
  cursor: grab;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.14);
  box-shadow: 0 0 0 8px rgba(110, 190, 69, 0.16);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green-500);
  cursor: grab;
}
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: var(--r-full);
  background: var(--paper-sunk);
}

.seg {
  display: grid;
  grid-auto-flow: column;
  gap: 4px;
  padding: 4px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
}
.seg button {
  padding: 10px 8px;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.seg button[aria-pressed="true"] {
  background: var(--ink-800);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.calc-out {
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.5vw, 40px);
  background: linear-gradient(165deg, var(--ink-800), var(--ink-950));
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.calc-out::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  right: -110px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 190, 69, 0.32), transparent 68%);
}
.calc-out .big {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 6px 0 4px;
}
.calc-out .cap {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}
.calc-rows {
  display: grid;
  gap: var(--s3);
  margin: var(--s6) 0;
  padding-top: var(--s5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}
.calc-rows li {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  font-size: 0.94rem;
  color: var(--on-dark-soft);
}
.calc-rows li b {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
}
.calc-note {
  font-size: 0.78rem;
  color: var(--on-dark-mute);
  line-height: 1.55;
}

/* ============================================================ PROJECTS */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s6);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--s4);
}
.shot {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-sunk);
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.4s var(--ease);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.shot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.shot:hover img {
  transform: scale(1.08);
}
.shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 22px 20px;
  color: #fff;
  background: linear-gradient(transparent, rgba(4, 20, 31, 0.9));
}
.shot figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}
.shot figcaption span {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.75);
}
.shot.is-hidden {
  display: none;
}
.shot.tall {
  aspect-ratio: 3 / 4;
}

/* ======================================================== TESTIMONIALS */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--s4);
}
/* long-form quotes read better two-up */
.quotes.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
}
.quote {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--glass-line);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.quote:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 190, 69, 0.45);
}
.quote .stars {
  display: flex;
  gap: 3px;
  color: var(--green-400);
}
.quote .stars svg {
  width: 15px;
  height: 15px;
}
.quote blockquote {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding-top: var(--s4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.quote .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--green-500), var(--green-600));
  color: var(--ink-950);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.quote .who strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #fff;
}
.quote .who span {
  font-size: 0.83rem;
  color: var(--on-dark-mute);
}

/* ======================================================= CERT / BADGES */
.badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr));
  gap: var(--s4);
}
.badge-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  padding: var(--s5) var(--s4);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.badge-tile:hover {
  transform: translateY(-4px);
  border-color: var(--green-500);
  box-shadow: var(--shadow-md);
}
.badge-tile img {
  height: 54px;
  width: auto;
  object-fit: contain;
}
.badge-tile span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.4;
}

/* client tiles (light) */
.clients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: var(--s4);
}
.client-tile {
  display: grid;
  place-items: center;
  gap: var(--s3);
  padding: var(--s5);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.client-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.client-tile img {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.client-tile span {
  font-size: 0.78rem;
  color: var(--text-mute);
  line-height: 1.4;
}

/* =============================================================== STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: var(--s4);
  counter-reset: step;
}
.step {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  counter-increment: step;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 190, 69, 0.5);
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(110, 190, 69, 0.55);
  margin-bottom: var(--s4);
}
.step h3 {
  font-size: 1.08rem;
  margin-bottom: var(--s2);
  color: #fff;
}
.step p {
  font-size: 0.94rem;
  color: var(--on-dark-soft);
}

/* ============================================================= CTA BAND */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 72px);
  background: linear-gradient(140deg, var(--ink-800) 0%, var(--ink-950) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(60% 90% at 50% 120%, rgba(110, 190, 69, 0.35), transparent 65%);
}
.cta-band h2 {
  max-width: 20ch;
  margin-inline: auto;
}
.cta-band p {
  max-width: 56ch;
  margin: var(--s4) auto 0;
  color: rgba(255, 255, 255, 0.8);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: center;
  margin-top: var(--s6);
}

/* ================================================================ FORMS */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row.full {
  grid-column: 1 / -1;
}
.form-row label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
}
.form-row .req {
  color: var(--green-600);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  font-size: 0.96rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-row textarea {
  resize: vertical;
  min-height: 130px;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(110, 190, 69, 0.15);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-mute);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--green-500);
}
.consent a {
  color: var(--green-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-mute);
  margin-top: var(--s4);
}

.form-status {
  margin-top: var(--s4);
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 0.92rem;
  display: none;
}
.form-status.show {
  display: block;
}
.form-status.ok {
  background: rgba(110, 190, 69, 0.12);
  border: 1px solid rgba(110, 190, 69, 0.4);
  color: #3d7a1f;
}
.form-status.err {
  background: rgba(192, 57, 43, 0.09);
  border: 1px solid rgba(192, 57, 43, 0.35);
  color: #a5281b;
}

/* honeypot — off-screen rather than display:none, which some bots skip */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------- contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
/* `1fr` floors at min-content, which long strings (emails, select options)
   can push past the container on very narrow phones. */
.contact-grid > *,
.split > *,
.calc > *,
.form-row > * {
  min-width: 0;
}
.contact-item a,
.contact-item address,
.footer address {
  overflow-wrap: anywhere;
}
.contact-list {
  display: grid;
  gap: var(--s4);
  list-style: none;
}
.contact-item {
  display: flex;
  gap: var(--s4);
  padding: var(--s5);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #c6d7e6;
}
.contact-item .card-icon {
  margin-bottom: 0;
  width: 46px;
  height: 46px;
}
.contact-item .card-icon svg {
  width: 20px;
  height: 20px;
}
.contact-item h3 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-item a,
.contact-item address {
  font-style: normal;
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.55;
}
/* Phone and email cards each carry two contacts — stack them. */
.contact-item > div a {
  display: block;
}
.contact-item a:hover {
  color: var(--green-600);
}

.map-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  background: var(--paper-sunk);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================================== LEGAL */
.legal {
  max-width: 820px;
}
.legal h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-top: var(--s8);
  margin-bottom: var(--s4);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.legal h2:first-of-type {
  margin-top: 0;
}
.legal h3 {
  font-size: 1.05rem;
  margin-top: var(--s6);
  margin-bottom: var(--s3);
}
.legal p,
.legal li {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
}
.legal p + p {
  margin-top: var(--s4);
}
.legal ul,
.legal ol {
  margin: var(--s4) 0 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}
.legal li::marker {
  color: var(--green-500);
}
.legal a {
  color: var(--green-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal strong {
  color: var(--text);
}

.legal-meta {
  padding: var(--s5);
  border-radius: var(--r-lg);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  margin-bottom: var(--s7);
  font-size: 0.92rem;
  color: var(--text-soft);
}
.legal-meta strong {
  color: var(--text);
}

.toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding: var(--s5);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
}
.toc h2 {
  font-size: 0.78rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 var(--s3) !important;
}
.toc ol {
  list-style: none;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.toc a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  color: var(--text-soft);
  text-decoration: none;
  transition: all 0.25s var(--ease);
}
.toc a:hover {
  background: var(--paper-alt);
  color: var(--text);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* =================================================================== FAQ */
.faq {
  display: grid;
  gap: var(--s3);
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq details[open] {
  border-color: var(--green-500);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}
.faq .faq-body {
  padding: 0 24px 22px;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ============================================================== FOOTER */
.footer {
  background: var(--ink-950);
  color: var(--on-dark-soft);
  padding-block: clamp(56px, 7vw, 88px) var(--s6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: var(--s7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: var(--s5);
}
.footer-brand p {
  font-size: 0.94rem;
  max-width: 38ch;
  color: var(--on-dark-mute);
}
/* Registered entity name, sits directly under the footer logo. */
.footer-brand .footer-legal {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-400);
  margin: calc(var(--s4) * -0.5) 0 var(--s4);
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--s4);
}
.footer ul {
  list-style: none;
  display: grid;
  gap: 11px;
}
.footer ul a {
  font-size: 0.94rem;
  color: var(--on-dark-mute);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.footer ul a:hover {
  color: var(--green-400);
  padding-left: 4px;
}
.footer address {
  font-style: normal;
  font-size: 0.94rem;
  color: var(--on-dark-mute);
  line-height: 1.7;
}
.footer address a {
  color: var(--on-dark-soft);
}
.footer address a:hover {
  color: var(--green-400);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s5);
  font-size: 0.85rem;
  color: var(--on-dark-mute);
}
.footer-bottom p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}
/* Ownership statement — reads as a distinct clause from the copyright. */
.footer-bottom .owned-by {
  color: rgba(255, 255, 255, 0.62);
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
@media (max-width: 520px) {
  .footer-bottom .owned-by {
    padding-left: 0;
    border-left: 0;
    flex-basis: 100%;
  }
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s5);
}
.footer-bottom a:hover {
  color: var(--green-400);
}

.social {
  display: flex;
  gap: 10px;
  margin-top: var(--s5);
}
.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--on-dark-soft);
  transition: all 0.3s var(--ease);
}
.social a:hover {
  background: var(--green-500);
  border-color: var(--green-500);
  color: var(--ink-950);
  transform: translateY(-2px);
}
.social svg {
  width: 17px;
  height: 17px;
}

/* ==================================================== LEAD BOT (web bot) */
.bot-launcher {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 22px 13px 14px;
  border: 0;
  border-radius: var(--r-full);
  background: linear-gradient(140deg, var(--green-400), var(--green-600));
  color: var(--ink-950);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(110, 190, 69, 0.42);
  transform: translateY(160%);
  transition: transform 0.55s var(--ease), box-shadow 0.3s var(--ease);
}
.bot-launcher.show {
  transform: translateY(0);
}
.bot-launcher:hover {
  box-shadow: 0 16px 44px rgba(110, 190, 69, 0.6);
}
.bot-launcher .ico {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 3px;
  flex: none;
  box-shadow: 0 1px 3px rgba(4, 20, 31, 0.18);
}
.bot-launcher .ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bot-launcher .ping {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5a5a;
  border: 2px solid #fff;
}
.bot-launcher .ping::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(255, 90, 90, 0.7);
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping {
  to {
    transform: scale(2.1);
    opacity: 0;
  }
}
body.bot-open .bot-launcher {
  transform: translateY(160%);
}

/* teaser */
.bot-teaser {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: calc(clamp(16px, 3vw, 28px) + 64px);
  z-index: 95;
  max-width: min(290px, calc(100vw - 40px));
  padding: 15px 40px 15px 18px;
  border-radius: var(--r-lg) var(--r-lg) 4px var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.bot-teaser.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.bot-teaser strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 2px;
}
.bot-teaser .x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-alt);
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.bot-teaser .x:hover {
  background: var(--paper-sunk);
  color: var(--text);
}

/* panel */
.bot-panel {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  /* must clear the fixed navbar (100) and its drawer (99) */
  z-index: 130;
  width: min(396px, calc(100vw - 32px));
  height: min(620px, calc(100svh - 64px));
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(4, 20, 31, 0.32);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  visibility: hidden;
  transform-origin: bottom right;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.bot-panel.open {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.bot-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(140deg, var(--ink-800), var(--ink-950));
  color: #fff;
  position: relative;
}
.bot-head .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  padding: 4px;
}
.bot-head .avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bot-head .who strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.2;
}
.bot-head .who span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--on-dark-mute);
}
.bot-head .who span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 3px rgba(110, 190, 69, 0.25);
}
.bot-head .close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  flex: none;
  transition: background 0.25s var(--ease);
}
.bot-head .close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.bot-progress {
  flex: none;
  height: 3px;
  background: var(--paper-sunk);
}
.bot-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-400), var(--green-600));
  transition: width 0.5s var(--ease);
}

.bot-log {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.bot-msg {
  max-width: 86%;
  padding: 11px 15px;
  font-size: 0.93rem;
  line-height: 1.55;
  border-radius: 16px;
  animation: msgIn 0.4s var(--ease-out) both;
}
@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.bot-msg.bot {
  align-self: flex-start;
  background: var(--paper-alt);
  border: 1px solid var(--line-soft);
  border-bottom-left-radius: 5px;
  color: var(--text);
}
.bot-msg.me {
  align-self: flex-end;
  background: linear-gradient(140deg, var(--green-500), var(--green-600));
  color: #06230a;
  border-bottom-right-radius: 5px;
  font-weight: 500;
}
.bot-msg a {
  color: var(--green-600);
  text-decoration: underline;
}
.bot-msg b {
  font-family: var(--font-display);
}

.bot-card {
  align-self: flex-start;
  max-width: 92%;
  padding: 16px 18px;
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  background: linear-gradient(155deg, var(--ink-800), var(--ink-950));
  color: #fff;
  font-size: 0.9rem;
  animation: msgIn 0.4s var(--ease-out) both;
}
.bot-card h4 {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green-400);
  margin: 0 0 10px;
}
.bot-card dl {
  display: grid;
  gap: 7px;
}
.bot-card .row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.bot-card dt {
  color: var(--on-dark-mute);
}
.bot-card dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: right;
}

.bot-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 14px 16px;
  background: var(--paper-alt);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
}
.bot-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-mute);
  animation: dot 1.3s ease-in-out infinite;
}
.bot-typing i:nth-child(2) {
  animation-delay: 0.18s;
}
.bot-typing i:nth-child(3) {
  animation-delay: 0.36s;
}
@keyframes dot {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.bot-foot {
  flex: none;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
}
.bot-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 168px;
  overflow-y: auto;
}
.bot-choices button {
  padding: 9px 15px;
  border-radius: var(--r-full);
  border: 1px solid var(--green-500);
  background: rgba(110, 190, 69, 0.08);
  color: var(--green-600);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.bot-choices button:hover {
  background: var(--green-500);
  color: var(--ink-950);
  transform: translateY(-1px);
}

.bot-input {
  display: flex;
  gap: 8px;
}
.bot-input input {
  flex: 1;
  min-width: 0;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--paper);
  font-size: 0.93rem;
}
.bot-input input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(110, 190, 69, 0.16);
}
.bot-input button {
  flex: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--ink-950);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.bot-input button:hover {
  transform: scale(1.06);
  background: var(--green-400);
}
.bot-input button svg {
  width: 18px;
  height: 18px;
}

.bot-error {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #c0392b;
}

.bot-note {
  margin-top: 10px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-mute);
  text-align: center;
}
.bot-note a {
  color: var(--text-soft);
  text-decoration: underline;
}

.bot-final {
  display: grid;
  gap: 8px;
}

@media (max-width: 560px) {
  /* Full-screen sheet on phones. dvh so the layout follows the on-screen
     keyboard instead of being pushed under it. */
  .bot-panel {
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    border: 0;
    transform: translateY(100%);
    transform-origin: center;
  }
  .bot-panel.open {
    transform: none;
  }
  .bot-head {
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
  }
  .bot-foot {
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .bot-choices {
    max-height: 34vh;
  }
  .bot-msg,
  .bot-card {
    max-width: 90%;
  }
  .bot-launcher span.lbl {
    display: none;
  }
  .bot-launcher {
    padding: 13px;
  }
  .bot-teaser {
    bottom: calc(clamp(16px, 3vw, 28px) + 62px);
  }
}

/* the sheet owns the screen while it is open */
body.bot-locked {
  overflow: hidden;
}

/* ====================================================== SCROLL REVEALS */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ======================================================== RESPONSIVE */
@media (max-width: 1080px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: var(--s7);
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
  }
}

@media (max-width: 940px) {
  .nav-links,
  .nav .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .split,
  .calc,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .split .split-media {
    order: -1;
  }
  .bento > * {
    grid-column: span 3;
  }
  .bento .span-4,
  .bento .span-6 {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  /* Give stacked content room to breathe — tight gaps read as clutter
     once everything is in one column. */
  .bento,
  .stats,
  .prod-grid,
  .gallery,
  .quotes,
  .badges,
  .clients,
  .steps,
  .contact-list,
  .form-grid {
    gap: 20px;
  }
  .split {
    gap: 36px;
  }
  .section {
    padding-block: 68px;
  }
  .section-head {
    margin-bottom: 34px;
  }
  .card,
  .feature,
  .step,
  .quote,
  .calc-panel,
  .calc-out {
    padding: 22px;
  }
  .feature {
    min-height: 300px;
  }
  .cta-band {
    padding: 34px 24px;
  }

  /* full-width CTAs read better than half-width pills on a phone */
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
  .hero-actions,
  .cta-actions {
    gap: 10px;
  }

  .hero {
    padding-bottom: 44px;
  }
  .hero-chips {
    margin-top: 32px;
  }
  .hero-rail div {
    padding: 16px 16px;
  }
  .hero-rail dt {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .marquee-track li {
    min-width: 128px;
    padding: 12px 18px;
  }

  .bento {
    grid-template-columns: 1fr;
  }
  .bento > *,
  .bento .span-3,
  .bento .span-4,
  .bento .span-6 {
    grid-column: 1 / -1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-rail {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .shot.tall {
    aspect-ratio: 4 / 3;
  }
  .seg {
    grid-auto-flow: row;
    border-radius: var(--r-lg);
  }
  .seg button {
    border-radius: var(--r-md);
  }
  .float-cta span {
    display: none;
  }
  .float-cta {
    padding: 15px;
  }
}

@media (min-width: 1100px) {
  .scroll-cue {
    display: flex;
  }
}

@media (min-width: 1600px) {
  :root {
    --wrap: 1360px;
  }
}

/* ------------------------------------------------------------ a11y/mo */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero-media img {
    transform: scale(1.02);
  }
}

@media print {
  .nav,
  .float-cta,
  .marquee,
  .cta-band {
    display: none !important;
  }
  body {
    color: #000;
  }
}
