/* ============================================================
   Verdaic — public site styles
   Premium sustainability SaaS. Nature-led hero, spacious layout.
   ============================================================ */

:root {
  /* Brand palette */
  --navy:       #0f2437;
  --green:      #16883a;
  --green-dark: #006b2c;
  --green-soft: #eaf7ed;
  --text-muted: #52616f;
  --border:     #dfe8e2;
  --background:  #ffffff;

  /* Legacy aliases (kept so command.css keeps working) */
  --green-900: #072513;
  --green-800: #0b3a1e;
  --green-700: var(--green-dark);
  --green-600: var(--green);
  --green-500: #23a24c;
  --green-400: #5fc07f;
  --green-100: var(--green-soft);
  --green-050: #f3faf5;
  --ink:      var(--navy);
  --ink-2:    #2b3f50;
  --muted:    var(--text-muted);
  --line:     var(--border);
  --bg:       #ffffff;
  --bg-tint:  #f5faf6;
  --white:    #ffffff;

  /* Site imagery (local only — no external requests) */
  --hero-photo: url('../img/hero-image.png');
  --cta-photo:  url('../img/leaf-footer.png');

  --radius:    22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(15,36,55,.05), 0 3px 10px rgba(15,36,55,.05);
  --shadow-md: 0 12px 34px rgba(15,36,55,.10);
  --shadow-lg: 0 24px 60px rgba(15,36,55,.16);
  --shadow-xl: 0 34px 80px rgba(15,36,55,.22);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--background);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: clip; /* guard against any accidental horizontal scroll */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.022em; margin: 0; color: var(--navy); }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green);
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  font-weight: 600; font-size: 16px; line-height: 1;
  padding: 17px 28px; border-radius: 14px; cursor: pointer;
  border: 1px solid transparent; transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(22,136,58,.45); outline-offset: 2px; }
a:focus-visible { outline: 2px solid rgba(22,136,58,.55); outline-offset: 3px; border-radius: 4px; }
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff; box-shadow: 0 10px 24px rgba(22,136,58,.30);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(22,136,58,.40); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--green-400); }
.btn-ghost .play, .btn-light .play {
  width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft);
  display: inline-flex; align-items: center; justify-content: center; color: var(--green);
}
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.30); backdrop-filter: blur(4px); }
.btn-light:hover { background: rgba(255,255,255,.20); }
.btn-light .play { background: rgba(255,255,255,.22); color: #fff; }
.btn-arrow svg { transition: transform .16s ease; }
.btn:hover .btn-arrow svg { transform: translateX(3px); }

/* ---------- Top nav (sits over the hero) ---------- */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 116px; }
.brand { display: flex; align-items: center; gap: 16px; }
.brand .mark { width: 58px; height: 58px; flex: none; display: block; }
.brand .word { display: flex; flex-direction: column; }
.brand .word b {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800; font-size: 32px; letter-spacing: 0.08em;
  color: #071f38; text-transform: uppercase;
}
.brand .word small {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600; font-size: 11px; letter-spacing: 0.14em;
  color: #071f38; text-transform: uppercase; margin-top: 4px;
}
.badge {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 15px; font-weight: 600; color: var(--navy);
  background: #fff; padding: 14px 24px; border-radius: 999px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,136,58,.18); }
.nav-links { display: none; } /* removed per design */

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 828px; display: flex; align-items: center; padding: 182px 0 120px; isolation: isolate; }
.hero > .container { width: 100%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(93deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 24%, rgba(255,255,255,.58) 46%, rgba(255,255,255,.18) 72%, rgba(255,255,255,0) 100%),
    var(--hero-photo);
  background-size: cover; background-position: center 22%;
  background-color: var(--green-soft);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--background));
}
.hero-grid { display: grid; grid-template-columns: 1.16fr 1.3fr; gap: 44px; align-items: center; }
.hero-copy { max-width: 660px; }
.hero h1 { font-size: clamp(47px, 4.5vw, 63px); font-weight: 800; margin: 24px 0 0; letter-spacing: -0.038em; line-height: 1.02; }
.hero h1 .accent { color: var(--green); }
.hero-sub { font-size: 20px; color: var(--text-muted); margin-top: 28px; max-width: 30em; line-height: 1.72; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 50px; }
.hero-cta .btn { padding: 19px 34px; font-size: 16.5px; }
.social-proof { display: flex; align-items: center; gap: 16px; margin-top: 46px; }
.avatars { display: flex; }
.avatars img {
  width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; object-fit: cover;
  margin-left: -14px; box-shadow: var(--shadow-sm);
}
.avatars img:first-child { margin-left: 0; }
.social-proof p { font-size: 15.5px; color: var(--text-muted); }
.social-proof b { color: var(--navy); font-weight: 700; }

/* ---------- Dashboard preview ---------- */
.preview {
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 34px 90px rgba(15,36,55,.20); overflow: hidden; width: 100%;
}
@media (min-width: 1100px) {
  /* larger + nudged toward the text + lower; sized to stay visible at ~1440 */
  .preview { width: 118%; margin-left: -7%; margin-top: 30px; }
}
@media (min-width: 1560px) {
  .preview { width: 134%; } /* dominate the right half on wide screens */
}
.preview-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.preview-head .p-title { display: flex; align-items: center; gap: 9px; font-family: "Montserrat", Arial, sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .08em; color: #071f38; }
.preview-head .p-title .mark { width: 22px; height: 22px; }
.preview-head .p-tools { display: flex; gap: 9px; align-items: center; }
.preview-head .p-pill { font-size: 11.5px; color: var(--muted); border: 1px solid var(--border); padding: 6px 11px; border-radius: 9px; }
.preview-head .p-export { font-size: 11.5px; color: #fff; background: linear-gradient(135deg,var(--green),var(--green-dark)); padding: 6px 12px; border-radius: 9px; font-weight: 600; }
.preview-body { display: grid; grid-template-columns: 190px 1fr; }
.p-side { border-right: 1px solid var(--border); padding: 20px 14px; display: flex; flex-direction: column; gap: 3px; background: #fcfefc; }
.p-side a { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--muted); padding: 11px 13px; border-radius: 9px; }
.p-side a.active { background: var(--green-soft); color: var(--green-dark); font-weight: 600; }
.p-side a .ic { width: 15px; height: 15px; opacity: .75; }
.p-main { padding: 27px; }
.p-main h4 { font-size: 18px; margin-bottom: 3px; }
.p-main .sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.p-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.p-stat { border: 1px solid var(--border); border-radius: 12px; padding: 15px; }
.p-stat .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.p-stat .val { font-size: 22px; font-weight: 800; margin-top: 6px; letter-spacing: -.02em; }
.p-stat .chg { font-size: 10px; color: var(--green); margin-top: 4px; font-weight: 600; }
.p-stat.ring { display: flex; align-items: center; justify-content: space-between; }
.p-charts { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 11px; margin-top: 12px; }
.p-card { border: 1px solid var(--border); border-radius: 12px; padding: 13px; }
.p-card .c-lbl { font-size: 10.5px; color: var(--muted); margin-bottom: 9px; font-weight: 500; display: flex; justify-content: space-between; }
.p-bars { display: flex; align-items: flex-end; gap: 4px; height: 104px; }
.p-bars span { flex: 1; background: linear-gradient(180deg, var(--green-400), var(--green)); border-radius: 3px 3px 0 0; opacity: .92; }
.p-donut { display: flex; align-items: center; justify-content: center; height: 104px; }
.p-impact { display: flex; flex-direction: column; gap: 9px; }
.p-impact .row { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; }
.p-impact .row .k { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.p-impact .row .k svg { width: 13px; height: 13px; color: var(--green); }
.p-impact .row .v { font-weight: 700; color: var(--navy); }

.floaty { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Section shell ---------- */
.section { padding: 120px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 72px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; margin-top: 16px; letter-spacing: -.025em; }
.section-head p { color: var(--text-muted); margin-top: 20px; font-size: 18px; line-height: 1.7; }

/* ---------- Journey ---------- */
.journey { position: relative; }
.section.journey { padding: 74px 0 100px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; max-width: 1330px; margin: 0 auto; }
.step { text-align: center; position: relative; }
.step .icon {
  width: 106px; height: 106px; margin: 0 auto 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.step .icon img { width: 100%; height: 100%; display: block; }
.step .n { font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: .05em; text-transform: uppercase; }
.step h3 { font-size: 22px; margin: 9px 0 13px; }
.step p { font-size: 15.5px; color: var(--text-muted); line-height: 1.66; }
.steps .connector { position: absolute; top: 53px; left: 60%; width: 80%; height: 0; border-top: 2px dashed #8fcaa4; z-index: 0; }
.step:last-child .connector { display: none; }

/* ---------- Waitlist band (horizontal) ---------- */
.waitlist-band {
  background: linear-gradient(135deg, #ffffff 0%, var(--green-soft) 100%);
  border-radius: 26px; border: 1.5px solid #cfe0d5; padding: 62px 64px;
  box-shadow: var(--shadow-md);
}
.waitlist-grid { display: grid; grid-template-columns: .82fr 1.55fr; gap: 52px; align-items: center; }
.waitlist-copy .w-ic { width: 96px; height: 96px; margin-bottom: 22px; display: block; }
.waitlist-copy h2 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.waitlist-copy p { color: var(--text-muted); margin-top: 15px; font-size: 16.5px; line-height: 1.65; }
.wl-form .row { display: grid; gap: 13px; align-items: stretch; }
.wl-form .row-names { grid-template-columns: 1fr 1fr; margin-bottom: 13px; }
.wl-form .row-email { grid-template-columns: 1fr auto; }
.wl-form .row .btn { height: 100%; min-width: 200px; }
.wl-form input[type=text], .wl-form input[type=email] {
  width: 100%; height: 55px; padding: 0 18px; border: 1px solid var(--border); border-radius: 13px;
  font: inherit; font-size: 15.5px; background: #fff; color: var(--navy);
}
.wl-form input::placeholder { color: #9aa8a0; }
.wl-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,136,58,.14); }
.wl-checks { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 18px; }
.wl-check { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.wl-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.wl-check .box {
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #c7d3cb; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff; transition: all .15s ease; background: #fff;
}
.wl-check input:checked + .box { background: var(--green); border-color: var(--green); }
.wl-check input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(22,136,58,.2); }
.wl-check .box svg { opacity: 0; transform: scale(.6); transition: all .15s ease; }
.wl-check input:checked + .box svg { opacity: 1; transform: scale(1); }
.wl-note { font-size: 13px; color: #46555d; margin-top: 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 14px 17px; border-radius: 12px; font-size: 14.5px; margin-bottom: 16px; display: none; }
.form-alert.ok  { display: block; background: var(--green-soft); color: var(--green-dark); }
.form-alert.err { display: block; background: #fdecec; color: #a12626; }

/* ---------- Value blocks (3 across, dividers) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.value { padding: 0 44px; position: relative; }
.value:not(:last-child)::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: #c5d6cb; }
.value:first-child { padding-left: 0; }
.value:last-child { padding-right: 0; }
.value .v-ic { width: 80px; height: 80px; margin-bottom: 26px; }
.value .v-ic img { width: 100%; height: 100%; display: block; }
.value h3 { font-size: 21px; margin-bottom: 13px; }
.value p { font-size: 15.5px; color: var(--text-muted); line-height: 1.7; }

/* ---------- Final CTA (image banner) ---------- */
.final-cta { position: relative; overflow: hidden; border-radius: 26px; color: #fff; padding: 56px 76px; box-shadow: var(--shadow-md); background-color: #0b3a1e; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-color: #0b3a1e;
  background-image:
    linear-gradient(100deg, rgba(7,37,19,.32) 0%, rgba(9,46,24,.58) 48%, rgba(7,37,19,.84) 100%),
    var(--cta-photo);
  background-size: cover; background-position: center;
}
.final-cta .inner { position: relative; z-index: 1; max-width: 620px; margin-left: auto; margin-right: 130px; text-align: right; }
.final-cta h2 { font-size: clamp(34px, 4.2vw, 48px); font-weight: 800; color: #fff; letter-spacing: -.025em; }
.final-cta p { color: rgba(255,255,255,.88); margin-top: 18px; font-size: 18px; line-height: 1.62; }
.final-cta .cta-row { display: flex; gap: 16px; justify-content: flex-end; margin-top: 32px; flex-wrap: wrap; }
.final-cta .cta-row .btn { padding: 18px 36px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 58px 0 34px; position: relative; overflow: hidden; }
.footer .globe { position: absolute; right: -50px; top: auto; bottom: -60px; width: 330px; opacity: .5; pointer-events: none; z-index: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 56px; position: relative; z-index: 1; }
.footer .f-brand .brand .mark { width: 54px; height: 54px; }
.footer .f-brand .brand .word b { font-size: 30px; }
.footer .f-brand p { color: var(--text-muted); font-size: 15.5px; margin-top: 22px; max-width: 25em; line-height: 1.68; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); margin-bottom: 20px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer ul a { font-size: 15.5px; color: var(--text-muted); }
.footer ul a:hover { color: var(--green); }
.footer .contact li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: var(--text-muted); margin-bottom: 13px; }
.footer .contact li svg { width: 17px; height: 17px; color: var(--green); flex: none; }
.socials { display: flex; gap: 11px; margin-top: 26px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); background: #fff; }
.socials a:hover { color: var(--green); border-color: var(--green-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--border); font-size: 14px; color: #46555d; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--green); }
.footer-bottom .legal { display: flex; gap: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .hero { padding: 130px 0 90px; min-height: 0; display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 640px; }
  .hero h1 { font-size: clamp(44px, 6.4vw, 58px); }
  .preview { max-width: 720px; margin: 0 auto; }
  .waitlist-grid { grid-template-columns: 1fr; gap: 32px; }
  .wl-form .row-email { grid-template-columns: 1fr; }
  .wl-form .row-email .btn { height: 55px; }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .steps .connector { display: none; }
  /* Value cards become compact icon-left rows */
  .values { grid-template-columns: 1fr; gap: 28px; }
  .value {
    display: grid; grid-template-columns: 64px 1fr; gap: 6px 20px; align-items: start;
    padding: 0 0 28px; border-bottom: 1px solid var(--border);
  }
  .value::after { display: none; }
  .value:last-child { padding-bottom: 0; border-bottom: none; }
  .value .v-ic { width: 64px; height: 64px; margin-bottom: 0; grid-row: 1 / 3; }
  .value h3 { margin: 4px 0 0; font-size: 19px; }
  .value p { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer .f-brand { grid-column: 1 / -1; }
  .footer .globe { display: none; }
  .final-cta .inner { text-align: left; margin-left: 0; margin-right: 0; }
  .final-cta .cta-row { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }

  /* Nav: compact lockup, pill never wraps, tagline hidden */
  .nav-inner { height: 78px; }
  .brand { gap: 12px; }
  .brand .mark { width: 44px; height: 44px; }
  .brand .word b { font-size: 21px; }
  .brand .word small { display: none; }
  .badge { padding: 10px 16px; font-size: 13px; white-space: nowrap; gap: 8px; }

  .hero { padding: 112px 0 64px; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 17.5px; }
  .hero-cta { margin-top: 36px; }
  .hero-cta .btn, .final-cta .cta-row .btn { flex: 1 1 auto; }

  /* Dashboard mockup: drop the sidebar, let the content breathe */
  .preview-body { grid-template-columns: 1fr; }
  .p-side { display: none; }
  .p-stats { grid-template-columns: repeat(2, 1fr); }
  .p-charts { grid-template-columns: 1fr; }

  /* Journey: single centred column reads better on phones */
  .steps { grid-template-columns: 1fr; gap: 42px; }
  .step { max-width: 360px; margin: 0 auto; }
  .step .icon { width: 92px; height: 92px; margin-bottom: 20px; }

  /* Waitlist */
  .waitlist-band { padding: 30px 22px; }
  .waitlist-copy .w-ic { width: 72px; height: 72px; }
  .waitlist-copy h2 { font-size: 28px; }
  .wl-form .row { grid-template-columns: 1fr; }
  .wl-checks { gap: 12px; }

  .final-cta { padding: 54px 26px; }

  /* Footer: paired link columns, contact full-width, stacked bottom bar */
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .footer .f-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 36px; }
  .footer-bottom .legal { gap: 20px; flex-wrap: wrap; }
}

/* ============================================================
   PHASE 4 — Marketing site (sticky nav, homepage, subpages)
   Additive on top of the base tokens above. Light · green · airy.
   ============================================================ */

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Sticky top nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.site-nav.scrolled { border-color: var(--border); box-shadow: 0 6px 24px rgba(15,36,55,.06); background: rgba(255,255,255,.94); }
.site-nav-inner { display: flex; align-items: center; gap: 16px; height: 84px; }
.site-nav .brand { gap: 13px; }
.site-nav .brand .mark { width: 46px; height: 46px; }
.site-nav .brand .word b { font-size: 24px; }
.site-nav .brand .word small { font-size: 9px; margin-top: 3px; }

.nav-menu { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 14px; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a,
.nav-drop-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; color: #33454f;
  padding: 9px 4px; border-radius: 0; background: none; border: 0; cursor: pointer; font-family: inherit;
  transition: color .15s ease;
}
/* Premium underline indicator (no pill background) */
.nav-list > li > a::after,
.nav-drop-btn::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 2px;
  background: var(--green); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .18s ease;
}
.nav-list > li > a:hover, .nav-drop-btn:hover,
.nav-list > li > a[aria-current="page"], .nav-drop-btn.on { color: var(--green); }
.nav-list > li > a:hover::after, .nav-drop-btn:hover::after,
.nav-list > li > a[aria-current="page"]::after, .nav-drop-btn.on::after { transform: scaleX(1); }
.nav-drop-btn svg { transition: transform .18s ease; }
.has-menu:hover .nav-drop-btn svg, .nav-drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Dropdown panels */
.nav-drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 320px; background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 10px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease; z-index: 120;
}
.has-menu:hover .nav-drop,
.nav-drop-btn[aria-expanded="true"] + .nav-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop a { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 11px; }
.nav-drop a:hover { background: var(--green-050); }
.nav-drop a b { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.nav-drop a span { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }
.nav-drop a.nav-drop-all { color: var(--green); font-weight: 600; font-size: 13.5px; margin-top: 2px; border-top: 1px solid var(--border); border-radius: 0 0 11px 11px; padding-top: 12px; }
.nav-drop a.nav-drop-all:hover { background: none; text-decoration: underline; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-signin { font-size: 15px; font-weight: 600; color: #33454f; white-space: nowrap; }
.nav-signin:hover { color: var(--green); }
.nav-cta { padding: 11px 18px; font-size: 15px; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; margin-left: auto; }
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.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); }

/* ---------- Home hero (sticky nav lives in normal flow now) ---------- */
.hero--home { min-height: 0; padding: 72px 0 90px; align-items: stretch; display: block; }
.hero--home .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero--home .hero-copy { max-width: 620px; }
.hero--home h1 { font-size: clamp(44px, 4.6vw, 62px); margin-top: 22px; }

/* Floating impact card */
.impact-card {
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  box-shadow: var(--shadow-lg); padding: 28px 30px; max-width: 420px; margin-left: auto; width: 100%;
}
.ic-head h2 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.ic-head p { font-size: 14.5px; color: var(--text-muted); margin-top: 6px; }
.ic-metric { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid var(--border); margin-top: 20px; }
.ic-metric:first-of-type { margin-top: 22px; }
.ic-lbl { font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
.ic-val { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; }
.ic-val small { font-size: 12.5px; font-weight: 500; color: var(--text-muted); display: block; letter-spacing: 0; margin-top: 2px; }
.ic-spark, .ic-bars { width: 96px; height: 42px; flex: none; }
.ic-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--green); }
.ic-link svg { transition: transform .16s ease; }
.ic-link:hover svg { transform: translateX(3px); }

/* Feature trio */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 66px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-ic { width: 50px; height: 50px; flex: none; border-radius: 14px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; color: var(--green); }
.feature-ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Trusted by ---------- */
.trusted { padding: 26px 0 8px; }
.trusted-head { text-align: center; position: relative; margin-bottom: 30px; }
.trusted-head span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7c8a81; background: var(--background); padding: 0 20px; position: relative; z-index: 1; }
.trusted-head::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.trusted-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 26px 44px; }
.trusted-logo { font-family: "Montserrat", Arial, sans-serif; font-weight: 700; font-size: 19px; letter-spacing: .04em; color: #aeb9b2; text-transform: uppercase; transition: color .15s ease; }
.trusted-logo:hover { color: #7c8a81; }

/* ---------- Stats band ---------- */
.stats-section { padding: 90px 0; }
.stats-band {
  display: grid; grid-template-columns: .82fr 1.7fr; gap: 48px; align-items: center;
  background: var(--bg-tint); border: 1px solid var(--border); border-radius: 28px; padding: 52px 56px;
}
.stats-intro h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.025em; }
.stats-intro h2 .accent { color: var(--green); }
.stats-intro p { color: var(--text-muted); font-size: 16px; line-height: 1.68; margin: 18px 0 26px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px 20px; text-align: center; }
.stat-ic { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: var(--green-soft); display: flex; align-items: center; justify-content: center; color: var(--green); }
.stat-ic svg { width: 23px; height: 23px; }
.stat-val { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.stat-lbl { font-size: 13px; color: var(--text-muted); margin-top: 6px; line-height: 1.45; }

/* ---------- Solutions / What we do ---------- */
.solutions-section { padding: 40px 0 100px; }
.solutions-layout { display: grid; grid-template-columns: 0.82fr 2fr; gap: 50px; align-items: start; }
.solutions-intro h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.025em; margin-top: 14px; }
.solutions-intro p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-top: 18px; }
.solutions-intro .link-arrow { margin-top: 24px; }
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
/* Homepage cards use a lighter, chip-less icon like the reference design */
.solutions-grid .sol-ic { background: none; width: 40px; height: 40px; margin-bottom: 16px; }
.solutions-grid .sol-ic svg { width: 30px; height: 30px; }
.solutions-grid .sol-card { padding: 28px 24px; }
.sol-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 30px 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-400); }
.sol-ic { width: 54px; height: 54px; border-radius: 15px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; color: var(--green); margin-bottom: 20px; }
.sol-ic svg { width: 27px; height: 27px; }
.sol-card h3 { font-size: 18px; margin-bottom: 12px; line-height: 1.25; }
.sol-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.62; flex: 1; }
.sol-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--green); }
.sol-more svg { transition: transform .16s ease; }
.sol-card:hover .sol-more svg { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 600; color: var(--green); }
.link-arrow svg { transition: transform .16s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Philosophy CTA ---------- */
.philosophy-section { padding: 20px 0 110px; }
.philosophy {
  display: grid; grid-template-columns: 0.9fr 1.35fr 1fr; align-items: stretch;
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.ph-media { background-color: var(--green-soft); background-image: var(--cta-photo); background-size: cover; background-position: center; min-height: 280px; }
.ph-cta { background: #fff; padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.ph-cta h2 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.ph-cta p { color: var(--text-muted); font-size: 16px; margin: 14px 0 26px; }
.ph-cta .btn { align-self: flex-start; }
.ph-quote { background: linear-gradient(150deg, #0b3a1e 0%, #072513 100%); color: #fff; padding: 46px 44px; margin: 0; display: flex; flex-direction: column; justify-content: center; position: relative; }
.ph-mark { font-family: Georgia, serif; font-size: 76px; line-height: .5; color: rgba(95,192,127,.55); }
.ph-quote p { font-size: 23px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin: 18px 0 0; color: #fff; }
.ph-quote cite { font-style: normal; font-size: 14px; color: rgba(255,255,255,.7); margin-top: 18px; }

/* Footer: vertical rule separating the brand column from the link columns */
.site-footer .f-brand { position: relative; }
.site-footer .f-brand::after { content: ""; position: absolute; top: 4px; bottom: 4px; right: -28px; width: 1px; background: var(--border); }
@media (max-width: 860px) { .site-footer .f-brand::after { display: none; } }

/* ---------- Generic subpage building blocks (solutions/impact/about/contact) ---------- */
.page-hero { position: relative; padding: 68px 0 60px; background: linear-gradient(180deg, var(--bg-tint), var(--background)); border-bottom: 1px solid var(--border); overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; max-width: 1040px; }
.page-hero.center { text-align: center; }
.page-hero.center .page-hero-inner { max-width: 720px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; margin-top: 18px; }
.page-hero .lead { font-size: 19px; color: var(--text-muted); line-height: 1.65; margin-top: 22px; max-width: 40em; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero .hero-cta { margin-top: 34px; }
.page-hero.center .hero-cta { justify-content: center; }

.section-tint { background: var(--bg-tint); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.prose h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.025em; }
.prose > p { color: var(--text-muted); font-size: 17px; line-height: 1.75; margin-top: 18px; }
.prose .eyebrow { margin-bottom: 14px; }

/* Alternating solution rows */
.sol-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.sol-row:last-child { border-bottom: 0; }
.sol-row.flip .sol-row-media { order: 2; }
.sol-row-media { border-radius: 22px; min-height: 300px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; color: var(--green); border: 1px solid var(--border); }
.sol-row-media svg { width: 90px; height: 90px; opacity: .8; }
.sol-row h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.sol-row .eyebrow { margin-bottom: 12px; }
.sol-row p { color: var(--text-muted); font-size: 16px; line-height: 1.72; margin-top: 16px; }
.tick-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: #33463c; }
.tick-list li::before { content: "✓"; color: var(--green); font-weight: 800; flex: none; margin-top: 1px; }

/* Value / feature cards grid (about, impact) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 30px 28px; }
.info-card .sol-ic { margin-bottom: 18px; }
.info-card h3 { font-size: 18px; margin-bottom: 10px; }
.info-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }

/* Big number stats (impact page) */
.bignum-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bignum { text-align: center; }
.bignum .n { font-size: clamp(38px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; color: var(--green); }
.bignum .l { font-size: 14.5px; color: var(--text-muted); margin-top: 6px; }

/* Simple CTA strip */
.cta-strip { text-align: center; background: linear-gradient(135deg, #ffffff 0%, var(--green-soft) 100%); border: 1.5px solid #cfe0d5; border-radius: 26px; padding: 60px 48px; }
.cta-strip h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.025em; }
.cta-strip p { color: var(--text-muted); font-size: 17px; margin: 16px auto 30px; max-width: 40em; }
.cta-strip .hero-cta { justify-content: center; }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 26px; }
.contact-info .ci-item .sol-ic { width: 46px; height: 46px; margin: 0; border-radius: 13px; flex: none; }
.contact-info .ci-item .sol-ic svg { width: 22px; height: 22px; }
.contact-info h3 { font-size: 15.5px; margin-bottom: 3px; }
.contact-info p, .contact-info a { font-size: 15px; color: var(--text-muted); }
.contact-info a:hover { color: var(--green); }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 36px 38px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 12px;
  font: inherit; font-size: 15px; background: #fff; color: var(--navy);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,136,58,.14); }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Responsive (marketing) ---------- */
@media (max-width: 1099px) {
  .hero--home .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .impact-card { margin: 0 auto; }
  .stats-band { grid-template-columns: 1fr; gap: 34px; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-layout { grid-template-columns: 1fr; gap: 32px; }
  .philosophy { grid-template-columns: 1fr 1fr; }
  .philosophy .ph-media { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .bignum-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 1120px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: 14px 22px 24px; margin: 0; max-height: calc(100vh - 84px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav-list > li > a, .nav-drop-btn { width: 100%; justify-content: space-between; font-size: 16px; padding: 14px 12px; }
  .nav-drop {
    position: static; transform: none; opacity: 1; box-shadow: none; border: 0;
    min-width: 0; padding: 0 0 6px 12px; max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .2s ease;
  }
  .nav-drop-btn[aria-expanded="true"] + .nav-drop { visibility: visible; max-height: 500px; }
  .has-menu:hover .nav-drop { visibility: hidden; } /* no hover-open on mobile */
  .nav-drop-btn[aria-expanded="true"] + .nav-drop { visibility: visible; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
  .nav-signin { padding: 12px; text-align: center; }
  .nav-cta { justify-content: center; }
  .grid-2, .sol-row, .sol-row.flip .sol-row-media { grid-template-columns: 1fr; }
  .sol-row { gap: 28px; }
  .sol-row.flip .sol-row-media { order: 0; }
}
@media (max-width: 720px) {
  .feature-row { grid-template-columns: 1fr; gap: 22px; margin-top: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; }
  .card-grid, .card-grid.two { grid-template-columns: 1fr; }
  .philosophy { grid-template-columns: 1fr; }
  .bignum-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .site-nav-inner { height: 72px; }
  .nav-menu { inset: 72px 0 auto 0; }
  .site-nav .brand .word small { display: none; }
  .hero--home { padding: 48px 0 64px; }
  .stats-band { padding: 34px 24px; }
  .field-2 { grid-template-columns: 1fr; }
  .cta-strip { padding: 44px 24px; }
}
