/* ============================================================
   Unbound Cognito — stylesheet
   Organised by section; each selector is defined exactly once.
   ============================================================ */

:root{
  --bg:#030B16;
  --surface:#0B1626;
  --surface-2:#0F1D31;
  --border:rgba(234,242,248,0.09);
  --border-strong:rgba(234,242,248,0.16);
  --text:#EAF2F8;
  --text-muted:#8CA3B8;
  --blue:#29B4F5;
  --blue-dim:rgba(41,180,245,0.12);
  --green:#4ECB71;
  --green-dim:rgba(78,203,113,0.12);
  --font-display:'Space Grotesk', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'JetBrains Mono', monospace;
  --radius:0px;
  --maxw:1180px;
}

/* ---------- Reset / base ---------- */
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--font-body);font-size:17px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3{font-family:var(--font-display);margin:0;font-weight:600;letter-spacing:-0.015em;}
p{margin:0;}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px;}

/* ---------- Nav ---------- */
header.nav{
  position:fixed;top:0;left:0;right:0;z-index:50;
  background:transparent;
  border-bottom:none;
  padding:0;
  transition:padding .38s cubic-bezier(.22,.61,.36,1);
}
.nav-inner{
  position:relative;
  display:flex;align-items:center;
  width:100%;max-width:none;margin:0;
  padding:18px 28px;
  border:1px solid transparent;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);
  transition:background-color .38s cubic-bezier(.22,.61,.36,1),
             border-color .38s cubic-bezier(.22,.61,.36,1),
             border-radius .38s cubic-bezier(.22,.61,.36,1),
             box-shadow .38s cubic-bezier(.22,.61,.36,1),
             backdrop-filter .38s cubic-bezier(.22,.61,.36,1),
             padding .38s cubic-bezier(.22,.61,.36,1),
             max-width .38s cubic-bezier(.22,.61,.36,1);
}
header.nav.is-scrolled{padding:12px 18px 0;}
header.nav.is-scrolled .nav-inner{
  max-width:1180px;
  margin:0 auto;
  padding:12px 18px;
  border-color:rgba(148,180,214,.18);
  border-radius:18px;
  background:rgba(7,24,45,.78);
  box-shadow:0 12px 35px rgba(0,0,0,.24);
  backdrop-filter:blur(18px) saturate(150%);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
}
header.nav.is-scrolled nav.links a{
  color:#EAF2F8;
  text-shadow:0 1px 6px rgba(0,0,0,.28);
}
header.nav.is-scrolled nav.links a:hover,
header.nav.is-scrolled nav.links a.current{color:var(--blue);}
header.nav.is-scrolled .menu-toggle{color:#EAF2F8;}
.brand{display:flex;align-items:center;gap:10px;position:relative;z-index:2;}
.brand img{height:38px;width:auto;}
nav.links{
  position:absolute;left:50%;transform:translateX(-50%);
  display:flex;align-items:center;justify-content:center;gap:34px;
  white-space:nowrap;
}
nav.links a{
  color:#EAF2F8;
  font-family:'Inter',sans-serif;
  font-size:0.95rem;
  font-weight:600;
  letter-spacing:0.01em;
  text-shadow:0 1px 6px rgba(0,0,0,0.45);
  transition:color .15s ease;
}
nav.links a:hover,
nav.links a.current{color:#29B4F5;}
.nav-cta{
  display:inline-flex;align-items:center;
  padding:9px 18px;border-radius:var(--radius);
  background:rgba(15,29,49,0.72);color:var(--text);border:1px solid var(--border-strong);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  font-size:0.92rem;font-weight:600;transition:all .15s ease;
}
.nav-cta:hover{border-color:var(--blue);color:var(--blue);}
.nav-language{margin-left:auto;position:relative;z-index:2;}
.menu-toggle{display:none;background:none;border:0;color:var(--text);padding:6px;cursor:pointer;margin-left:12px;}
.menu-toggle svg{width:22px;height:22px;}

@media (max-width:820px){
  .nav-inner{padding:14px 20px;}
  header.nav.is-scrolled{padding:8px 10px 0;}
  header.nav.is-scrolled .nav-inner{padding:10px 14px;border-radius:16px;}
  .brand img{height:34px;}
  nav.links{
    position:fixed;left:0;transform:none;inset:66px 0 auto 0;background:var(--bg);
    flex-direction:column;align-items:flex-start;gap:0;
    border-bottom:1px solid var(--border);
    max-height:0;overflow:hidden;transition:max-height .25s ease;
  }
  nav.links.open{max-height:340px;}

  header.nav.is-scrolled nav.links{
    inset:70px 10px auto 10px;
    background:rgba(7,24,45,.94);
    border:1px solid rgba(148,180,214,.18);
    border-radius:14px;
    box-shadow:0 16px 35px rgba(0,0,0,.28);
    backdrop-filter:blur(18px) saturate(140%);
    -webkit-backdrop-filter:blur(18px) saturate(140%);
  }
  header.nav.is-scrolled nav.links a{border-bottom-color:rgba(234,242,248,.10);}
  nav.links a{padding:16px 28px;width:100%;border-bottom:1px solid var(--border);}
  .nav-cta{margin:16px 28px;width:auto;border-bottom:1px solid var(--border-strong);}
  .nav-language{margin-left:auto;}
  .menu-toggle{display:block;}
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  /* Keep the hero inside the available viewport instead of forcing an
     oversized minimum height. This keeps the CTA visible without
     stretching the source image. */
  height:100svh;
  min-height:640px;
  max-height:none;
  overflow:hidden;
  isolation:isolate;
}
.hero-cover{
  position:absolute;inset:0;z-index:-3;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center center;
}
.hero-shade{
  position:absolute;inset:0;z-index:-2;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(3,11,22,.91) 0%,rgba(3,11,22,.78) 48%,rgba(3,11,22,.25) 76%,rgba(3,11,22,.10) 100%),
    linear-gradient(180deg,rgba(3,11,22,.24) 0%,rgba(3,11,22,.05) 52%,rgba(3,11,22,.56) 100%);
}
.hero-content{
  position:relative;z-index:1;
  width:min(100% - 80px, 1180px);
  margin:0 auto;
  padding-top:clamp(58px,8vh,112px);
  padding-bottom:112px;
}
.hero-title{
  max-width:1020px;
  font-family:var(--font-display);
  font-size:clamp(2.8rem,5.45vw,5.6rem);
  font-weight:700;line-height:.96;letter-spacing:-.045em;
  text-shadow:0 3px 22px rgba(0,0,0,.28);
}
.hero-title>span{display:block;}
.hero-title strong{color:#42c353;font-weight:700;}
.hero-features{
  width:min(100%,1080px);
  margin:clamp(24px,4vh,38px) 0 clamp(18px,3vh,26px);padding:12px 22px;
  display:grid;grid-template-columns:repeat(4,1fr);align-items:center;
  list-style:none;
  border:1px solid rgba(51,206,255,.8);
  border-radius:18px;
  background:rgba(5,20,36,.38);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
.hero-features li{
  position:relative;text-align:center;
  font-size:clamp(.88rem,1.45vw,1.18rem);font-weight:500;line-height:1.2;
  white-space:nowrap;
}
.hero-features li+li::before{
  content:"";position:absolute;left:0;top:10%;width:2px;height:80%;
  background:#75c83f;transform:translateX(-50%);
}
.hero-copy{
  max-width:940px;
  font-size:clamp(1.05rem,2vw,1.65rem);line-height:1.48;
  color:#f3f6f8;text-shadow:0 2px 12px rgba(0,0,0,.35);
}
.hero-copy strong{color:#68c438;font-weight:700;}
.hero-demo{
  position:absolute;right:28px;bottom:28px;z-index:2;
  background:rgba(15,29,49,.78);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}

.hero-scroll{
  position:absolute;left:50%;bottom:22px;z-index:3;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:5px;
  color:#fff;font-size:.82rem;font-weight:600;letter-spacing:.01em;
  text-shadow:0 2px 10px rgba(0,0,0,.55);
  transition:transform .18s ease,color .18s ease;
}
.hero-scroll svg{
  width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}
.hero-scroll:hover{color:var(--blue);transform:translateX(-50%) translateY(3px);}

@media (max-width:820px){
  .hero{height:100svh;min-height:680px;max-height:none;}
  .hero-content{width:min(100% - 40px,1180px);padding-top:105px;padding-bottom:130px;}
  .hero-title{font-size:clamp(2.65rem,10.2vw,4.9rem);line-height:1;}
  .hero-features{grid-template-columns:1fr 1fr;margin-top:34px;padding:8px 14px;}
  .hero-features li{padding:10px 8px;white-space:normal;}
  .hero-features li+li::before{display:none;}
  .hero-features li:nth-child(even){border-left:1px solid rgba(117,200,63,.75);}
  .hero-features li:nth-child(n+3){border-top:1px solid rgba(255,255,255,.12);}
  .hero-demo{right:20px;bottom:74px;}
  .hero-scroll{bottom:16px;}
}


@media (max-width:480px){
  .hero{height:100svh;min-height:700px;}
  .hero-content{width:min(100% - 32px,1180px);padding-top:96px;}
  .hero-title{font-size:clamp(2.35rem,11.3vw,3.5rem);}
  .hero-features{margin-top:28px;}
  .hero-copy{font-size:1rem;}
}

.btn{
  display:inline-flex;align-items:center;padding:13px 24px;border-radius:var(--radius);
  font-size:0.96rem;font-weight:600;transition:all .15s ease;
}
.btn-primary{background:var(--text);color:var(--bg);}
.btn-primary:hover{opacity:0.85;}
.btn-ghost{background:var(--surface-2);border:1px solid var(--border-strong);color:var(--text);}
.btn-ghost:hover{border-color:var(--blue);color:var(--blue);}

/* ---------- Section heading ---------- */
.section{padding:96px 0;}
.section-head{max-width:580px;margin-bottom:56px;}
.section-head h2{font-size:clamp(1.9rem,3.8vw,3rem);}
.section-head p{color:var(--text-muted);margin-top:16px;font-size:1.05rem;}

/* ---------- Reusable icon button (contact success reset) ---------- */
.icon-btn{
  display:inline-flex;align-items:center;gap:7px;padding:9px 14px;
  background:var(--text);color:var(--bg);border:none;cursor:pointer;font-weight:600;font-size:0.8rem;
  font-family:var(--font-body);transition:opacity .15s ease;
}
.icon-btn:hover{opacity:0.85;}
.icon-btn.ghost{background:none;border:1px solid var(--border-strong);color:var(--text-muted);padding:9px 10px;}
.icon-btn.ghost:hover{color:var(--text);border-color:var(--text);}
.icon-btn svg{width:11px;height:11px;fill:currentColor;}

/* ---------- Card visual + applications teaser ---------- */
.card-visual{
  width:100%;aspect-ratio:16/10;margin-bottom:24px;
  background:var(--surface-2);border:1px solid var(--border);overflow:hidden;
}
.card-visual img{width:100%;height:100%;object-fit:cover;display:block;}

.apps-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
.app-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:28px;border-top:2px solid var(--blue);
}
.app-card.soil{border-top-color:var(--green);}
.app-card h3{font-size:1.25rem;margin-bottom:10px;}
.app-card p{color:var(--text-muted);font-size:0.96rem;margin-bottom:18px;}
.app-card a{font-size:0.92rem;font-weight:600;color:var(--blue);}
.app-card.soil a{color:var(--green);}

@media (max-width:720px){.apps-grid{grid-template-columns:1fr;}}

/* ---------- CTA band ---------- */
.cta-band{border-top:1px solid var(--border);padding:70px 0;text-align:left;}
.cta-band .wrap{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px;}
.cta-band h2{font-size:clamp(1.6rem,3vw,2.3rem);max-width:22ch;}

/* ---------- Footer ---------- */
footer{border-top:1px solid var(--border);padding:52px 0 36px;}
.footer-top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:32px;margin-bottom:36px;}
.footer-brand img{height:24px;margin-bottom:14px;}
.footer-brand p{color:var(--text-muted);font-size:0.9rem;max-width:34ch;}
.footer-sbic img{background-color:var(--text);padding:5px;border-radius:5px; height:52px;margin-bottom:6px;}
.footer-sbic p{color:var(--text-muted);font-size:0.8rem;font-style:italic;max-width:34ch;}
.footer-cols{display:flex;gap:56px;flex-wrap:wrap;}
.footer-col h4{font-family:var(--font-body);font-weight:600;font-size:0.88rem;color:var(--text);margin-bottom:14px;}
.footer-col a, .footer-col p{display:block;color:var(--text-muted);font-size:0.9rem;margin-bottom:10px;}
.footer-col a:hover{color:var(--text);}
.footer-bottom{
  border-top:1px solid var(--border);padding-top:22px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;
  color:var(--text-muted);font-size:0.84rem;
}

.about-intro{color:var(--text-muted);font-size:1.05rem;line-height:1.75;}

/* ---------- Inner page header ---------- */
.page-header{padding:64px 0 48px;border-bottom:1px solid var(--border);}
.page-header h1{font-size:clamp(2.4rem,4.6vw,3.6rem);max-width:16ch;}
.applications-header h1{max-width:none;white-space:nowrap;font-size:clamp(1.65rem,7vw,3.6rem);}
.page-header p.lead{margin-top:18px;color:var(--text-muted);font-size:1.08rem;max-width:52ch;}

/* ---------- Placeholder state ---------- */
.placeholder-box{
  border:1px dashed var(--border-strong);border-radius:var(--radius);
  padding:22px 24px;color:var(--text-muted);font-size:0.94rem;
  background:rgba(234,242,248,0.02);
}
.placeholder-box strong{color:var(--text-muted);}
a.placeholder-box{display:block;}
.placeholder-inline{color:var(--text-muted);font-style:italic;}

/* ---------- Application detail cards ---------- */
.app-detail{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:0 0 38px;border-top:2px solid var(--blue);overflow:hidden;
}
.app-detail.soil{border-top-color:var(--green);}
.app-detail .detail-heading{padding:30px 38px 24px;}
.app-detail .detail-heading h2{font-size:1.5rem;margin-bottom:7px;}
.app-detail .detail-subtitle{font-family:var(--font-mono);font-size:0.78rem;color:var(--text-muted);line-height:1.45;}
.app-detail .card-visual{margin-bottom:0;aspect-ratio:2400/905;border:none;border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.app-detail .detail-body{padding:30px 38px 0;}
.app-detail > .detail-body > p{color:var(--text-muted);margin-bottom:26px;max-width:56ch;}
.apps-detail-grid{display:grid;grid-template-columns:1fr;gap:28px;}

.feature-list{list-style:none;margin:0 0 26px;padding:0;display:flex;flex-direction:column;gap:14px;}
.feature-list li{display:flex;gap:12px;align-items:flex-start;}
.feature-check{
  width:18px;height:18px;flex:none;margin-top:4px;
  background:var(--blue-dim);color:var(--blue);
  display:flex;align-items:center;justify-content:center;font-size:0.65rem;
}
.app-detail.soil .feature-check{background:var(--green-dim);color:var(--green);}
.feature-list h4{font-size:0.9rem;margin:0 0 2px;line-height:1.4;}
.feature-list p{font-size:0.82rem;color:var(--text-muted);}
.app-target-row{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;
  padding-top:20px;border-top:1px solid var(--border);
  font-family:var(--font-mono);font-size:0.78rem;color:var(--text-muted);
}
.app-target-row a{color:var(--blue);font-family:var(--font-body);font-weight:600;font-size:0.85rem;}
.app-detail.soil .app-target-row a{color:var(--green);}

/* ---------- About page ---------- */
.about-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:48px;align-items:start;}
.badge-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;}
.badge-pill{
  border:1px solid var(--border-strong);border-radius:var(--radius);
  padding:8px 16px;font-size:0.86rem;color:var(--text-muted);font-family:var(--font-mono);
}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:8px;}
.team-card{border:1px dashed var(--border-strong);border-radius:var(--radius);padding:24px;text-align:left;}
.team-avatar{
  width:100%;aspect-ratio:4/5;border-radius:var(--radius);
  background:var(--surface-2);border:1px solid var(--border-strong);margin-bottom:16px;
}
.team-card .name{font-family:var(--font-display);font-size:0.98rem;color:var(--text-muted);}
.team-card .role{font-size:0.86rem;color:var(--text-muted);opacity:0.7;margin-top:4px;}

@media (max-width:820px){
  .about-grid{grid-template-columns:1fr;}
  .team-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:520px){.team-grid{grid-template-columns:1fr;}}

/* ---------- Contact page ---------- */
.contact-grid{display:grid;grid-template-columns:0.8fr 1.2fr;gap:56px;align-items:start;}
.contact-info .item{margin-bottom:22px;}
.contact-info .item h4{font-family:var(--font-mono);font-weight:500;font-size:0.84rem;color:var(--text-muted);margin-bottom:6px;}
.contact-form{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:36px;}
.field{margin-bottom:20px;}
.field label{display:block;font-size:0.88rem;color:var(--text-muted);margin-bottom:8px;}
.field input, .field textarea, .field select{
  width:100%;background:var(--surface-2);border:1px solid var(--border-strong);
  border-radius:var(--radius);padding:12px 14px;color:var(--text);font-family:var(--font-body);font-size:0.96rem;
}
.field input:focus, .field textarea:focus, .field select:focus{outline:2px solid var(--blue);outline-offset:1px;}
.field textarea{resize:vertical;min-height:100px;}
.field select{
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238CA3B8'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:14px;
}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.contact-form .btn-primary{border:none;cursor:pointer;font-family:var(--font-body);}
.form-note{font-size:0.82rem;color:var(--text-muted);margin-top:14px;}
.form-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}
.form-status{min-height:1.3em;margin-top:12px;font-size:0.84rem;color:var(--text-muted);}
.form-status.is-error{color:#ff8f79;}
.form-status.is-success{color:var(--green);}
.contact-form button[disabled]{opacity:.62;cursor:wait;}

@media (max-width:820px){.contact-grid{grid-template-columns:1fr;}}
@media (max-width:560px){.field-row{grid-template-columns:1fr;}}

/* ---------- Utility ---------- */
.hidden{display:none !important;}

/* ---------- Language switch ---------- */
.lang-switch{
  display:flex;align-items:center;border:1px solid var(--border-strong);
  font-family:var(--font-mono);font-size:0.78rem;overflow:hidden;
}
.lang-btn{padding:6px 10px;color:var(--text-muted);background:none;border:none;cursor:pointer;transition:all .15s ease;}
.lang-btn.active{background:var(--text);color:var(--bg);font-weight:600;}
.lang-btn:not(.active):hover{color:var(--text);}

/* Hero positioning refinement */
@media (min-width:821px){
  .hero-content{
    position:absolute;
    left:22px;
    right:40px;
    bottom:clamp(82px,10vh,108px);
    width:auto;
    margin:0;
    padding:0;
  }
  .hero-title{
    max-width:900px;
    font-size:clamp(2.35rem,4.35vw,4.55rem);
    line-height:.98;
  }
  .hero-features{
    width:min(100%,960px);
    margin:clamp(18px,2.8vh,28px) 0 clamp(14px,2vh,20px);
    padding:10px 18px;
  }
  .hero-features li{
    font-size:clamp(.82rem,1.15vw,1.02rem);
  }
  .hero-copy{
    max-width:820px;
    font-size:clamp(.98rem,1.55vw,1.35rem);
    line-height:1.42;
  }
}

@media (max-width:820px){
  .hero-content{
    width:calc(100% - 28px);
    margin-left:14px;
    margin-right:14px;
    padding-top:0;
    padding-bottom:138px;
    min-height:inherit;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
  }
  .hero-title{font-size:clamp(2.3rem,9.4vw,4.25rem);}
  .hero-copy{font-size:clamp(.96rem,3.1vw,1.12rem);}
}

/* Hero headline emphasis */
.hero-title em{
  color:#42c353;
  font-style:normal;
  font-weight:700;
}

/* ---------- Hero sensing cards ---------- */
.hero-metrics{
  position:absolute;
  z-index:2;
  right:22px;
  top:50%;
  transform:translateY(-50%);
  width:min(390px,31vw);
  display:flex;
  flex-direction:column;
  gap:16px;
}
.hero-metric{
  display:grid;
  grid-template-columns:74px 1fr;
  align-items:center;
  gap:14px;
  min-height:124px;
  padding:16px 20px;
  border-radius:20px;
  background:rgba(5,20,36,.82);
  box-shadow:0 14px 34px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.hero-metric{
  color:inherit;
  text-decoration:none;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hero-metric::before{
  content:"";position:absolute;inset:0;z-index:-1;opacity:0;
  transform:scale(.96);transition:opacity .22s ease, transform .22s ease;
}
.hero-metric-water{border:2px solid rgba(46,201,255,.92);}
.hero-metric-water::before{background:linear-gradient(135deg,rgba(37,205,255,.96),rgba(26,143,255,.90));}
.hero-metric-soil{border:2px solid rgba(115,207,67,.92);}
.hero-metric-soil::before{background:linear-gradient(135deg,rgba(116,221,68,.96),rgba(47,176,89,.90));}
.hero-metric:hover,.hero-metric:focus-visible{
  transform:translateX(-8px) scale(1.025);
  box-shadow:0 20px 46px rgba(0,0,0,.38),0 0 30px rgba(255,255,255,.08);
  outline:none;
}
.hero-metric:hover::before,.hero-metric:focus-visible::before{opacity:1;transform:scale(1);}
.hero-metric:hover .hero-metric-icon,.hero-metric:focus-visible .hero-metric-icon,
.hero-metric:hover .hero-metric-copy h2,.hero-metric:focus-visible .hero-metric-copy h2,
.hero-metric:hover .hero-metric-copy p,.hero-metric:focus-visible .hero-metric-copy p{color:#fff;}
.hero-metric:hover .hero-metric-icon,.hero-metric:focus-visible .hero-metric-icon{filter:drop-shadow(0 0 10px rgba(255,255,255,.22));}
.hero-metric:active{transform:translateX(-4px) scale(1.01);}
.hero-metric-icon{
  display:grid;
  place-items:center;
  width:74px;
  height:74px;
  justify-self:center;
  align-self:center;
}
.hero-metric-icon svg{
  display:block;
  width:64px;
  height:64px;
  stroke:currentColor;
  stroke-width:2.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hero-metric-water .hero-metric-icon{color:#35ccff;}
.hero-metric-water .water-waves{transform:translateX(-2px);}
.hero-metric-soil .hero-metric-icon{color:#7bd646;}
.hero-metric-copy h2{
  margin:0 0 4px;
  font-family:var(--font-display);
  font-size:clamp(1.05rem,1.55vw,1.45rem);
  line-height:1.05;
  letter-spacing:-.02em;
}
.hero-metric-copy p{
  margin:0;
  color:#eef4f7;
  font-size:clamp(.76rem,1vw,.95rem);
  line-height:1.35;
}
.hero-metric-copy p+p{margin-top:3px;color:#d7e0e5;}

@media (max-width:1180px){
  .hero-metrics{width:min(330px,30vw);right:16px;}
  .hero-metric{grid-template-columns:58px 1fr;padding:14px 15px;gap:11px;min-height:108px;}
  .hero-metric-icon{width:58px;height:58px;}
  .hero-metric-icon svg{width:52px;height:52px;}
}

@media (max-width:960px){
  .hero-metrics{display:none;}
}

.app-target-row-cta{justify-content:flex-end;}
@media (max-width:600px){
  .app-detail .detail-heading{padding:24px 24px 20px;}
  .app-detail .detail-body{padding:24px 24px 0;}
}

html{scroll-behavior:smooth;}
#water-application,#soil-application{scroll-margin-top:110px;}

/* ---------- Hero left-side composition ---------- */
@media (min-width:961px){
  .hero-content{
    top:clamp(102px,13vh,136px);
    bottom:auto;
    left:clamp(24px,3vw,52px);
    right:auto;
    width:min(720px,58vw);
    padding:0;
  }
  .hero-title{
    max-width:700px;
    font-size:clamp(2.575rem,4.28vw,4.575rem);
  }
  .hero-features{
    width:min(700px,58vw);
    margin:clamp(18px,2.3vh,24px) 0 clamp(12px,1.8vh,18px);
    padding:9px 14px;
  }
  .hero-features li{font-size:clamp(.74rem,.92vw,.94rem);}
  .hero-copy{
    max-width:680px;
    font-size:clamp(.92rem,1.22vw,1.12rem);
  }

  .hero-metrics{
    left:clamp(24px,3vw,52px);
    right:auto;
    top:auto;
    bottom:clamp(34px,5.5vh,62px);
    transform:none;
    width:min(340px,28vw);
    gap:12px;
  }
  .hero-metric{
    grid-template-columns:58px 1fr;
    min-height:98px;
    padding:12px 15px;
    gap:11px;
    border-radius:16px;
  }
  .hero-metric-icon{width:58px;height:58px;}
  .hero-metric-icon svg{width:52px;height:52px;}
  .hero-metric-copy h2{font-size:clamp(1rem,1.25vw,1.25rem);}
  .hero-metric-copy p{font-size:clamp(.72rem,.82vw,.86rem);}
  .hero-metric:hover,.hero-metric:focus-visible{
    transform:translateX(7px) scale(1.02);
  }
  .hero-metric:active{transform:translateX(4px) scale(1.01);}
}

@media (min-width:961px) and (max-height:790px){
  .hero-content{top:94px;width:min(650px,56vw);}
  .hero-title{font-size:clamp(2.375rem,3.82vw,3.925rem);}
  .hero-features{width:min(650px,56vw);margin:14px 0 10px;padding:7px 12px;}
  .hero-copy{max-width:640px;font-size:.92rem;}
  .hero-metrics{width:315px;bottom:30px;gap:9px;}
  .hero-metric{min-height:86px;padding:9px 12px;grid-template-columns:50px 1fr;}
  .hero-metric-icon{width:50px;height:50px;}
  .hero-metric-icon svg{width:46px;height:46px;}
}

/* ---------- Navigation wordmark ---------- */
.brand-name{
  font-family:var(--font-display);
  font-size:clamp(1.35rem,1.8vw,2rem);
  font-weight:700;
  line-height:1;
  letter-spacing:-.035em;
  color:var(--text);
  white-space:nowrap;
}

/* ---------- Hero sensing cards: horizontal lower-left row ---------- */
@media (min-width:961px){
  .hero-metrics{
    left:clamp(24px,3vw,52px);
    right:auto;
    top:auto;
    bottom:clamp(120px,16vh,176px);
    width:min(760px,62vw);
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }
  .hero-metric{
    grid-template-columns:58px minmax(0,1fr);
    min-height:98px;
  }
  .hero-metric:hover,.hero-metric:focus-visible{
    transform:translateY(-6px) scale(1.015);
  }
  .hero-metric:active{transform:translateY(-2px) scale(1.005);}
}

@media (min-width:961px) and (max-height:790px){
  .hero-metrics{
    width:min(690px,60vw);
    bottom:102px;
  }
}

@media (max-width:760px){
  .brand-name{font-size:1.2rem;}
}
@media (max-width:520px){
  .brand-name{display:none;}
}

/* ---------- About mission ---------- */
.about-mission-section{padding-top:80px;}
.about-mission-copy{max-width:72ch;line-height:1.75;}

/* ---------- Contact details ---------- */
.footer-col .contact-link, .footer-col .contact-detail{display:block;color:var(--text-muted);font-size:0.9rem;margin-bottom:10px;}
.footer-col .contact-link:hover{color:var(--text);}
.contact-link{color:var(--blue);text-decoration:none;}
.contact-link:hover{text-decoration:underline;}
.contact-detail{color:var(--text-muted);}

/* ---------- Numbered eyebrow with trailing line ---------- */
.eyebrow-num{
  display:flex;align-items:center;gap:14px;margin-bottom:18px;
  font-family:var(--font-mono);font-size:0.78rem;letter-spacing:0.04em;color:var(--text-muted);
}
.eyebrow-num .num{color:var(--blue);}
.eyebrow-num::after{content:"";flex:0 0 90px;height:1px;background:var(--border-strong);}

/* ---------- Photo-backed section shell (reused by Why Now / Decision / Value) ---------- */
.photo-section{position:relative;overflow:hidden;padding:90px 0;border-top:1px solid var(--border);}
.photo-section-bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;}
.photo-section-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;}

/* ===== Section 1: Why now ===== */
.why-now-shade{
  background:linear-gradient(90deg,
    var(--bg) 0%, rgba(3,11,22,0.95) 34%, rgba(3,11,22,0.66) 48%, rgba(3,11,22,0.42) 62%, rgba(3,11,22,0.4) 100%);
}
#why-now .wrap{max-width:1400px;}
.value-section .wrap{max-width:1400px;}
.why-now-copy{max-width:560px;color:var(--text-muted);font-size:1.02rem;line-height:1.6;margin-bottom:44px;}
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;max-width:760px;}
.stat-item .stat-icon{width:26px;height:26px;margin-bottom:14px;}
.stat-item .stat-icon svg{width:100%;height:100%;}
.stat-item .stat-icon.stat-temp{color:#e0512c;}
.stat-item .stat-icon.stat-gap{color:#eab308;}
.stat-item .stat-icon.stat-coverage{color:var(--green);}
.stat-item .stat-value{font-family:var(--font-display);font-size:1.5rem;font-weight:700;margin-bottom:8px;}
.stat-item .stat-desc{font-size:0.88rem;color:var(--text-muted);line-height:1.5;margin-bottom:10px;min-height:4.2em;}
.stat-item .stat-source{font-family:var(--font-mono);font-size:0.68rem;color:rgba(140,163,184,0.6);}

.why-now-photo-labels{position:absolute;inset:0;z-index:1;pointer-events:none;}
.wn-caption{
  position:absolute;top:38px;right:48px;text-align:right;
  font-family:var(--font-mono);font-size:0.72rem;letter-spacing:0.03em;color:var(--text);line-height:1.6;
  text-shadow:0 2px 10px rgba(0,0,0,0.5);
}
.wn-legend{position:absolute;top:98px;right:48px;text-align:right;}
.wn-legend-label{font-family:var(--font-mono);font-size:0.64rem;letter-spacing:0.04em;color:var(--text-muted);margin-bottom:8px;}
.wn-legend-bar{width:210px;height:6px;border-radius:3px;background:linear-gradient(90deg,#1a6b6b,#4ECB71,#eab308,#e0512c);margin-bottom:6px;}
.wn-legend-ticks{display:flex;justify-content:space-between;font-family:var(--font-mono);font-size:0.6rem;color:var(--text-muted);}
.wn-tag{
  position:absolute;bottom:34px;right:48px;display:flex;align-items:center;gap:10px;
  font-family:var(--font-mono);font-size:0.68rem;letter-spacing:0.03em;color:var(--text);text-align:right;line-height:1.5;
}
.wn-tag-icon{width:20px;height:20px;border:1px solid rgba(234,242,248,0.4);position:relative;flex:none;}
.wn-tag-icon::before,.wn-tag-icon::after{content:"";position:absolute;width:5px;height:5px;border-color:var(--text);}

@media (max-width:900px){
  .why-now-shade{background:linear-gradient(180deg, rgba(3,11,22,0.55) 0%, var(--bg) 62%);}
  .stat-row{grid-template-columns:1fr;gap:26px;}
  .stat-item .stat-desc{min-height:0;}
  .why-now-photo-labels{display:none;}
  .photo-section{padding:64px 0;}
}

/* ===== Section 2: Decision drivers (true full-bleed background) ===== */
.decision-grid-3{position:relative;z-index:1;display:grid;grid-template-columns:0.9fr 1.1fr 0.85fr;gap:36px;align-items:start;}
.decision-copy{color:var(--text-muted);font-size:0.98rem;line-height:1.6;margin:0 0 26px;max-width:38ch;}
.decision-text{margin-left:-110px;}
@media (max-width:1300px){.decision-text{margin-left:0;}}
.decision-spacer{pointer-events:none;}

/* Dark on the far left (text) and far right (list), a clear window over the
   middle column so the photo itself reads as the background there — the
   window is anchored to the viewport centre with fixed pixel offsets so it
   never drifts under the text/list columns regardless of screen width. */
.decision-shade-v3{
  background:linear-gradient(90deg,
    var(--bg) 0,
    rgba(3,11,22,0.95) calc(50vw - 410px),
    rgba(3,11,22,0.15) calc(50vw - 195px),
    rgba(3,11,22,0.15) calc(50vw + 195px),
    rgba(3,11,22,0.95) calc(50vw + 410px),
    var(--bg) 100%),
    linear-gradient(180deg, rgba(3,11,22,0.5) 0%, transparent 22%, transparent 78%, rgba(3,11,22,0.5) 100%);
}

.decision-overlay-v3{position:absolute;inset:0;z-index:1;pointer-events:none;}
.dc-caption{
  position:absolute;left:calc(50vw - 175px);top:64px;
  font-family:var(--font-mono);font-size:0.68rem;letter-spacing:0.03em;
  color:#fff;line-height:1.6;text-shadow:0 2px 8px rgba(0,0,0,0.65);
}
.dc-connector{position:absolute;left:calc(50vw - 175px);top:100px;width:1px;height:110px;border-left:1px dashed rgba(255,255,255,0.5);}
.dc-pin{position:absolute;left:calc(50vw - 175px);top:210px;width:9px;height:9px;border-radius:50%;background:var(--bg);border:2px solid #fff;transform:translate(-50%,-50%);}
.risk-card{
  position:absolute;left:calc(50vw - 145px);top:176px;width:190px;
  background:rgba(11,22,38,0.95);border:1px solid rgba(234,242,248,0.18);padding:13px 15px;
}
.risk-card .rc-label{font-family:var(--font-mono);font-size:0.6rem;letter-spacing:0.04em;color:var(--text-muted);margin-bottom:7px;}
.risk-card .rc-change{display:flex;align-items:center;gap:6px;font-size:0.68rem;color:#eab308;margin-bottom:6px;}
.risk-card .rc-value{font-family:var(--font-display);font-size:1.3rem;font-weight:700;color:var(--text);}
.risk-card .rc-spark{width:58px;height:16px;}

.insight-list{display:flex;flex-direction:column;}
.insight-eyebrow{font-family:var(--font-mono);font-size:0.7rem;letter-spacing:0.04em;color:var(--text-muted);margin-bottom:18px;}
.insight-item{display:flex;gap:16px;align-items:flex-start;padding:18px 0;border-top:1px solid var(--border);}
.insight-item:first-of-type{border-top:none;}
.insight-icon{width:24px;height:24px;flex:none;color:var(--blue);margin-top:2px;}
.insight-icon svg{width:100%;height:100%;}
.insight-item h4{font-size:0.98rem;margin-bottom:4px;}
.insight-item p{font-size:0.86rem;color:var(--text-muted);}

@media (max-width:900px){
  .decision-grid-3{grid-template-columns:1fr;gap:28px;}
  .decision-spacer{display:none;}
  .decision-shade-v3{background:linear-gradient(180deg, rgba(3,11,22,0.35) 0%, var(--bg) 65%);}
  .decision-overlay-v3{display:none;}
}

/* ===== Section 3: What value we bring ===== */
.value-bg{
  left:0;bottom:0;top:auto;right:auto;
  width:56%;height:88%;object-position:left bottom;
}
.value-shade{
  background:
    radial-gradient(ellipse 640px 460px at 4% 100%, transparent 0%, var(--bg) 72%),
    linear-gradient(90deg, transparent 0%, var(--bg) 46%);
}
.value-head{max-width:480px;}
.value-copy{margin-top:16px;color:var(--text-muted);font-size:0.98rem;line-height:1.6;max-width:400px;}
.value-row{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:26px;position:relative;}
.value-item{padding:0 22px;position:relative;}
.value-item:first-child{padding-left:0;}
.value-item::before{
  content:"";position:absolute;left:0;top:6px;bottom:6px;width:1px;
  background:var(--border-strong);transform:skewX(-18deg);
}
.value-item:first-child::before{display:none;}
.value-icon{width:26px;height:26px;margin-bottom:16px;}
.value-icon svg{width:100%;height:100%;}
.value-item.vi-blue .value-icon{color:var(--blue);}
.value-item.vi-green .value-icon{color:var(--green);}
.value-item.vi-gold .value-icon{color:#eab308;}
.value-item h4{font-size:1rem;margin-bottom:6px;}
.value-item p{font-size:0.84rem;color:var(--text-muted);line-height:1.45;}
.value-tag{
  margin-top:48px;text-align:right;display:flex;align-items:center;justify-content:flex-end;gap:12px;
  font-family:var(--font-mono);font-size:0.7rem;letter-spacing:0.05em;color:var(--text-muted);
}
.value-tag .line{flex:0 0 40px;height:1px;background:var(--border-strong);}

@media (max-width:900px){
  .value-bg{width:100%;height:50%;object-position:left top;}
  .value-shade{background:linear-gradient(180deg, transparent 0%, var(--bg) 60%);}
  .value-copy{text-align:left;max-width:none;}
  .value-row{grid-template-columns:1fr 1fr;gap:28px 0;margin-top:36px;}
  .value-item::before{display:none;}
  .value-item{padding:0;}
  .value-tag{justify-content:flex-start;margin-top:32px;}
}
@media (max-width:560px){
  .value-row{grid-template-columns:1fr;}
}


