:root{--bg:#F8FAF8;--ink:#172B25;--muted:#5a6961;--line:#d5e2d8;--forest:#123D2B;--emerald:#32B67A;--mint:#E8F5EC;--red:#E5484D;--gutter:clamp(16px,5vw,72px);--section-y:clamp(56px,8vw,96px)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--emerald);outline-offset:4px;border-radius:6px}
h1,h2,h3,p{margin-top:0}
h2{font-size:clamp(36px,5vw,64px);font-weight:400;letter-spacing:-.05em;line-height:1.04;margin-bottom:0}
h3{font-size:22px;font-weight:400;letter-spacing:-.03em;margin-bottom:10px}
.eyebrow{display:block;font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:var(--muted);margin-bottom:18px}
.small{font-size:13px;color:var(--muted)}
.skip{position:fixed;top:-60px;left:16px;background:#fff;color:var(--ink);padding:12px 16px;border-radius:10px;z-index:100}
.skip:focus{top:12px}

/* ---------- header + menu (unchanged behaviour) ---------- */
header{position:absolute;top:0;left:0;right:0;padding:24px var(--gutter);display:flex;align-items:flex-start;justify-content:space-between;z-index:10;color:var(--bg);pointer-events:none}
header a,header button,header nav{pointer-events:auto}
.wordmark{font-size:clamp(48px,6vw,96px);letter-spacing:-.075em;line-height:1;color:var(--bg)}
.menu-wrap{position:fixed;right:var(--gutter);top:28px;z-index:20}
.menu-button{border:0;border-radius:18px;background:#262626;color:#fff;width:160px;padding:13px 17px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}
.dots{writing-mode:vertical-rl;letter-spacing:2px;font-size:12px}
nav{margin-top:8px;padding:18px;background:#262626;color:#fff;border-radius:19px;width:280px;box-shadow:0 10px 30px #0003;position:absolute;right:0}
nav a{display:flex;justify-content:space-between;padding:14px 4px;border-bottom:1px solid #ffffff25}
nav a:last-child{border:0}
nav a span{color:#999;font-size:12px}
nav a:hover{color:#becaba}

/* ---------- buttons ---------- */
.pill{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;border-radius:100px;background:var(--emerald);color:var(--forest);padding:16px 24px;font-size:15px;line-height:1.2;transition:background .2s,transform .2s,border-color .2s}
.pill:hover{background:#52c58f;transform:translateY(-2px)}
.pill-ghost{background:transparent;color:var(--bg);border:1px solid #ffffff55}
.pill-ghost:hover{background:#ffffff14;border-color:#ffffffaa}

/* ---------- hero (scroll-driven) ---------- */
.hero-scroll{position:relative;background:var(--forest);color:var(--bg)}
.hero-sticky{position:relative;background:var(--forest);overflow:hidden}
.hero-visual{position:relative}
#explode-canvas{display:none}
.hero-stage{position:relative}
.hero-fallback img{display:block;width:100%;height:auto}
.hero-copy{position:relative;max-width:560px}
.hero-copy .eyebrow{color:#9fc2ad}
h1{font-size:clamp(44px,6vw,88px);font-weight:400;letter-spacing:-.055em;line-height:.98;margin:0 0 22px}
.hero-sub{font-size:18px;line-height:1.55;color:#cfe0d5;max-width:470px;margin-bottom:28px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.scroll-hint{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);font-size:13px;color:#9fc2ad;white-space:nowrap}

/* labels: real text, positioned over the frame in % of the image box */
.part-labels{list-style:none;margin:0;padding:0;position:absolute;inset:0;pointer-events:none;display:none}
.part-labels li{position:absolute;left:0;top:0;font-size:13px;line-height:1.2;color:#fff;background:#254C3C;border:1px solid rgba(255,255,255,.28);border-radius:100px;padding:6px 12px;white-space:nowrap}
.part-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;display:none}
.part-lines line{stroke:rgba(255,255,255,.55);stroke-width:1}
.part-lines circle{fill:#fff}

/* static hero: no JS, no canvas, or reduced motion */
.hero-sticky{padding:clamp(110px,14vw,170px) var(--gutter) 40px;display:flex;flex-direction:column-reverse;gap:24px}
.scroll-hint{display:none}

/* scroll-driven mode (JS adds .scrolly to <html>) */
.scrolly .hero-scroll{height:300vh}
.scrolly .hero-sticky{position:sticky;top:0;height:100vh;height:100svh;padding:0;display:block}
.scrolly .hero-visual{position:absolute;inset:0}
.scrolly #explode-canvas{display:block;position:absolute;inset:0;width:100%;height:100%}
.scrolly .hero-stage{position:absolute;left:0;top:0}
.scrolly .hero-fallback{display:none}
.scrolly .part-labels,.scrolly .part-lines{display:block}
.scrolly .part-labels li,.scrolly .part-lines g{opacity:0;will-change:opacity}
.scrolly .hero-copy{position:absolute;left:var(--gutter);bottom:clamp(48px,12vh,140px);will-change:transform,opacity}
.scrolly .scroll-hint{display:block}

/* reduced motion: show the exploded still with its labels at normal height */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
  .part-labels,.part-lines{display:block}
  .hero-stage{margin:0 auto;width:min(100%,1200px)}
  .part-labels li{left:calc(var(--x)*100%);top:calc(var(--y)*100%);transform:translate(-50%,-50%)}
}
@media (prefers-reduced-motion:reduce) and (max-width:767px){
  .hero-stage{width:130vw;margin:56px 0 96px calc(-15vw - var(--gutter))}
}

/* ---------- problem ---------- */
.section{padding:var(--section-y) var(--gutter)}
.problem{background:var(--mint);border-radius:28px;margin:16px;display:grid;grid-template-columns:1.4fr 1fr;gap:clamp(32px,5vw,72px);align-items:end}
.problem p{font-size:19px;line-height:1.55;max-width:560px;margin:24px 0 0}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:32px}
.stat{display:block;font-size:clamp(48px,6vw,80px);letter-spacing:-.05em;line-height:1;color:var(--forest);margin-bottom:16px}
.stat-source{font-size:13px;color:var(--muted);border-bottom:1px solid var(--line)}

/* ---------- how it works ---------- */
.steps{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(20px,3vw,40px)}
.steps li{border-top:1px solid var(--line);padding-top:24px}
.step-number{display:block;font-size:13px;color:var(--muted);margin-bottom:20px}
.steps p{color:var(--muted);margin:0;max-width:360px}
.how-note{margin:28px 0 0;padding-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--muted);max-width:760px}

/* ---------- green / red band ---------- */
.signal{background:var(--forest);color:var(--bg);margin:0 16px;border-radius:28px;padding:clamp(40px,6vw,72px) var(--gutter);display:grid;grid-template-columns:1.3fr auto;gap:24px 48px;align-items:center}
.signal h2{font-size:clamp(32px,4vw,52px)}
.signal p{grid-column:1/-1;margin:0;color:#cfe0d5;font-size:17px}
.signal-pills{display:flex;gap:12px;flex-wrap:wrap}
.signal-pill{display:inline-flex;align-items:center;gap:12px;border:1px solid #ffffff30;background:#ffffff0d;border-radius:100px;padding:12px 20px 12px 16px;font-size:15px;white-space:nowrap}
.dot{width:12px;height:12px;border-radius:50%;display:inline-block}
.dot-green{background:var(--emerald);box-shadow:0 0 0 3px #32b67a33,0 0 18px 4px #32b67acc}
.dot-red{background:var(--red);box-shadow:0 0 0 3px #e5484d33,0 0 18px 4px #e5484dcc}

/* ---------- dashboard ---------- */
.dashboard{display:grid;grid-template-columns:minmax(260px,1fr) 2fr;gap:clamp(28px,4vw,56px);align-items:center}
.dashboard-head{display:flex;flex-direction:column;align-items:flex-start;gap:28px}
.dashboard figure{margin:0}
.dashboard img{display:block;width:100%;height:auto;border-radius:18px;border:1px solid var(--line);box-shadow:0 24px 60px -24px #123d2b55,0 4px 14px #123d2b14;background:var(--mint)}
.dashboard figcaption{font-size:13px;color:var(--muted);margin-top:14px}

/* ---------- team ---------- */
.team{border-top:1px solid var(--line)}
.team-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:32px}
.people{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2.5vw,32px)}
.people article{display:grid;grid-template-columns:112px 1fr;grid-template-rows:auto auto 1fr;column-gap:20px;align-items:start;border-top:1px solid var(--line);padding-top:20px}
.team-photo{grid-row:1/4;display:block;width:112px;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:center 30%;border-radius:14px;filter:grayscale(15%);background:var(--mint)}
.profile-link{justify-self:start}
.initials{display:grid;place-items:center;font-size:40px;letter-spacing:-.07em;color:#5f7d6d;background:var(--mint);border:1px solid var(--line)}
.people h3{margin-bottom:4px}
.people p{font-size:14px;color:var(--muted);margin-bottom:6px}
.profile-link{display:inline-flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #b8c7bc;font-size:14px;color:var(--forest)}
.profile-link span{color:#26895a}
.profile-link:hover{color:#26895a}

/* ---------- FAQ + contact ---------- */
.faq-contact{display:grid;grid-template-columns:1.4fr 1fr;gap:clamp(32px,5vw,72px);align-items:start;border-top:1px solid var(--line)}
.faq-col h2{margin-bottom:28px}
.questions{border-top:1px solid var(--line)}
details{border-bottom:1px solid var(--line)}
summary{list-style:none;padding:20px 0;display:flex;justify-content:space-between;gap:20px;cursor:pointer;font-size:17px}
summary::-webkit-details-marker{display:none}
summary span{font-size:22px;line-height:1;transition:transform .3s cubic-bezier(.22,1,.36,1)}
details[open] summary span{transform:rotate(45deg)}
details p{color:var(--muted);font-size:15px;line-height:1.65;margin:0 30px 0 0}
.questions details p{max-height:0;overflow:hidden;opacity:0;transform:translateY(-6px);transition:max-height .38s cubic-bezier(.22,1,.36,1),opacity .24s ease,transform .32s ease,margin-bottom .32s ease}
.questions details[open] p{max-height:320px;opacity:1;transform:none;margin-bottom:22px}
.questions details.is-closing p{max-height:0;opacity:0;transform:translateY(-6px);margin-bottom:0}
.contact-card{background:var(--mint);border-radius:28px;padding:clamp(28px,4vw,48px);position:sticky;top:24px;scroll-margin-top:24px}
.contact-card h2{font-size:clamp(30px,3.4vw,44px);margin-bottom:28px}
.contact-address{margin:18px 0 0;font-size:15px;color:var(--muted);user-select:all;-webkit-user-select:all}

/* ---------- footer ---------- */
footer{background:var(--forest);color:var(--bg);padding:36px var(--gutter) 24px;overflow:hidden}
.footer-top,.footer-bottom{display:flex;justify-content:space-between;gap:20px;font-size:13px}
.footer-top span{color:#a8c1b2}
.footer-logo{font-size:clamp(60px,17.4vw,288px);letter-spacing:-.075em;line-height:1.08;margin:12px 0 0 -.018em}
.footer-bottom{color:#a8aaa2;border-top:1px solid #ffffff25;padding-top:20px;font-size:12px}

@media(min-width:1600px){.section{padding-left:max(var(--gutter),calc((100vw - 1380px)/2));padding-right:max(var(--gutter),calc((100vw - 1380px)/2))}}

/* ---------- tablet / phone ---------- */
@media(max-width:900px){
  .problem,.faq-contact{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr;gap:0}
  .steps li{padding:22px 0}
  .step-number{margin-bottom:10px}
  .signal{grid-template-columns:1fr}
  .dashboard{grid-template-columns:1fr}
  .people{grid-template-columns:1fr;gap:0}
  .contact-card{position:static}
}
@media(max-width:767px){
  :root{--gutter:16px}
  header{padding:20px 16px}
  .wordmark{font-size:48px}
  .menu-wrap{top:22px;right:16px}
  .menu-button{width:112px}
  nav{width:min(280px,calc(100vw - 32px))}
  .scrolly .hero-scroll{height:240vh}
  .scrolly .hero-copy{left:16px;right:16px;bottom:24px;max-width:none}
  h1{font-size:clamp(38px,11vw,52px);margin-bottom:14px}
  .hero-sub{font-size:16px;margin-bottom:20px}
  .hero-actions{flex-direction:column}
  .pill{width:100%;padding:15px 20px}
  .scroll-hint{display:none!important}
  .problem,.signal{margin:8px;border-radius:20px}
  .problem p{font-size:17px}
  .stat-card{padding:24px}
  .dashboard-head,.team-head{flex-direction:column;align-items:flex-start}
  .dashboard img{border-radius:12px}
  .people article{grid-template-columns:88px 1fr;column-gap:18px;padding:16px 0}
  .team-photo{width:88px;border-radius:12px}
  .initials{font-size:32px}
  .people h3{font-size:20px}
  .profile-link{justify-self:start;padding:4px 0}
  summary{font-size:16px}
  details p{margin-right:0}
  .footer-top,.footer-bottom{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.questions details p,.questions summary span{transition:none!important}}
