:root{
  --accent-a:#2fd6a8;
  --accent-b:#8fd14f;
  --accent-grad:linear-gradient(120deg,var(--accent-a),var(--accent-b));
  --bg-primary:#ffffff;
  --bg-soft:#f6faf7;
  --bg-card:#ffffff;
  --line:#e5eee7;
  --text-primary:#0f1f19;
  --text-muted:#5d6f66;
  --font-display:'Manrope',sans-serif;
  --font-body:'Inter',sans-serif;
  --font-title:'Unbounded',sans-serif;
  --radius-lg:28px;
  --radius-md:16px;
  --gutter:24px;
  --shadow-soft:0 30px 70px -30px rgba(15,31,25,.18);
  --header-h:76px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg-primary);
  color:var(--text-primary);
  font-family:var(--font-body);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img,video{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{font-family:var(--font-display);margin:0;letter-spacing:-.01em;}
p{margin:0;}

.eyebrow{
  font-family:var(--font-body);
  font-weight:600;
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  background:var(--accent-grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  margin-bottom:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 30px;
  border-radius:999px;
  font-weight:700;
  font-size:15px;
  border:none;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary{
  background:var(--accent-grad);
  color:#05140f;
  box-shadow:0 14px 30px -12px rgba(47,214,168,.55);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 36px -12px rgba(47,214,168,.65);}
.btn-ghost{
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.5);
  backdrop-filter:blur(6px);
}
.btn-ghost:hover{background:rgba(255,255,255,.24);}
.btn-small{padding:11px 22px;font-size:14px;}

/* HEADER */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  height:var(--header-h);
  display:flex;align-items:center;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(15,31,25,.06);
}
.header-inner{
  width:100%;max-width:1240px;margin:0 auto;padding:0 28px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.brand{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-weight:800;font-size:19px;}
.brand-logo{width:32px;height:32px;object-fit:contain;}
.main-nav{display:flex;gap:32px;}
.main-nav a{font-weight:600;font-size:14.5px;color:var(--text-muted);transition:color .2s;}
.main-nav a:hover{color:var(--text-primary);}

.header-actions{display:flex;align-items:center;gap:14px;}
.nav-toggle{
  display:none;
  flex-direction:column;justify-content:center;align-items:center;gap:5px;
  width:38px;height:38px;
  border:none;background:none;padding:0;cursor:pointer;
  flex:0 0 auto;
}
.nav-toggle span{
  display:block;width:22px;height:2px;border-radius:2px;
  background:var(--text-primary);
  transition:transform .25s ease, opacity .2s ease;
}
.nav-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle.active span:nth-child(2){opacity:0;}
.nav-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-nav{
  display:none;
  flex-direction:column;
  position:absolute;top:100%;left:0;right:0;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(15,31,25,.06);
  box-shadow:0 24px 40px -22px rgba(15,31,25,.28);
  padding:4px 28px 12px;
}
.mobile-nav.open{display:flex;}
.mobile-nav a{
  padding:15px 2px;
  font-weight:600;font-size:16px;color:var(--text-primary);
  border-bottom:1px solid var(--line);
}
.mobile-nav-cta{
  border-bottom:none;
  justify-content:center;
  margin-top:10px;
  padding:16px 30px;
}

/* HERO */
.hero{
  position:relative;
  height:100svh;min-height:640px;
  display:flex;align-items:flex-end;
  overflow:hidden;
  color:#fff;
}
.hero-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.hero-scrim{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(6,20,15,.15) 0%, rgba(6,20,15,.1) 45%, rgba(6,20,15,.75) 100%);
}
.hero-content{
  position:relative;z-index:2;
  width:100%;max-width:1240px;margin:0 auto;
  padding:0 28px 96px;
}
.hero-content .eyebrow{
  background:none;-webkit-text-fill-color:currentColor;color:#c9f7e6;
}
.hero h1{
  font-size:clamp(38px,6vw,68px);
  font-weight:800;
  line-height:1.05;
  text-wrap:balance;
  margin-bottom:20px;
}
.hero-sub{
  max-width:52ch;
  font-size:17px;
  color:rgba(255,255,255,.85);
  margin-bottom:32px;
}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;}
.scroll-cue{
  position:absolute;left:50%;bottom:28px;transform:translateX(-50%);
  width:26px;height:42px;border:2px solid rgba(255,255,255,.6);border-radius:20px;
  z-index:2;
}
.scroll-cue span{
  position:absolute;top:8px;left:50%;transform:translateX(-50%);
  width:4px;height:8px;border-radius:4px;background:#fff;
  animation:scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{opacity:1;top:8px;} 70%{opacity:0;top:22px;} 100%{opacity:0;top:8px;}
}

/* STATS — same muted green world as Trust, so it no longer floats alone on white */
.stats{
  position:relative;
  background-image:linear-gradient(rgba(7,19,15,.86), rgba(7,19,15,.86)), url('images/scene-bg.webp');
  background-size:cover;background-position:center;background-attachment:fixed;
  padding:80px 28px;
}
.stats-inner{
  max-width:1000px;margin:0 auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
  text-align:center;
}
.stat-card{
  display:flex;flex-direction:column;gap:6px;
  padding:32px 20px;
  border-radius:var(--radius-md);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 0 26px rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}
.stat-number{
  font-family:var(--font-display);font-weight:800;
  font-size:clamp(30px,4vw,44px);
  background:var(--accent-grad);-webkit-background-clip:text;background-clip:text;color:transparent;
  font-variant-numeric:tabular-nums;
}
.stat-label{color:rgba(255,255,255,.72);font-size:14px;font-weight:600;}

.section-sub{color:var(--text-muted);font-size:16px;}

/* THE CRAFT — horizontal pinned scroll gallery (like UMAMI's "05. The Craft"):
   vertical scroll drives a horizontal translate while the section is pinned.
   No heading block — Stats flows straight into the pinned cards. */
.craft-h{position:relative;}

.craft-h-pin{
  position:relative;
  height:100vh;
  overflow:hidden;
  /* the green world continues here too — cards float freely on top of it,
     kept light so the green meadow actually reads as green, not black */
  background-image:linear-gradient(rgba(8,26,18,.22), rgba(8,26,18,.22)), url('images/scene-bg.webp');
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
}
.craft-h-pin::after{
  content:"";
  position:absolute;bottom:0;left:0;right:0;
  /* same heavenly white breath, mirrored at the bottom, so the seam into
     the Team photo right after isn't a hard cut */
  height:clamp(120px,16vh,220px);
  background:linear-gradient(to top, rgba(255,255,255,.95), transparent);
  z-index:1;
  pointer-events:none;
}
.craft-h-scroll{height:100%;}
.craft-h-track{
  display:flex;
  align-items:center;
  height:100%;
  width:max-content;
  gap:32px;
  padding:0 11vw;
  will-change:transform;
}
.craft-h-card{
  position:relative;
  flex:0 0 auto;
  width:78vw;
  height:78vh;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.4);
  box-shadow:
    0 40px 90px -28px rgba(10,30,20,.45),
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 0 28px rgba(255,255,255,.18);
}
.craft-h-card img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform 1s cubic-bezier(.16,1,.3,1);
}
.craft-h-card:hover img{transform:scale(1.05);}
.craft-h-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(6,20,15,.05) 0%, rgba(6,20,15,.1) 45%, rgba(6,20,15,.85) 100%);
}
/* alternating tint per card — replaces the flat, repetitive gap look */
.craft-h-card[data-tint="teal"] .craft-h-overlay{background:linear-gradient(180deg, rgba(8,40,34,.05) 0%, rgba(8,50,42,.2) 45%, rgba(6,46,38,.88) 100%);}
.craft-h-card[data-tint="lime"] .craft-h-overlay{background:linear-gradient(180deg, rgba(30,42,10,.05) 0%, rgba(34,46,10,.2) 45%, rgba(24,36,8,.88) 100%);}
.craft-h-card[data-tint="amber"] .craft-h-overlay{background:linear-gradient(180deg, rgba(46,30,8,.05) 0%, rgba(50,32,8,.2) 45%, rgba(40,26,8,.88) 100%);}

.craft-h-num{
  position:absolute;top:26px;right:30px;
  font-family:var(--font-display);font-weight:800;
  font-size:76px;line-height:1;
  color:rgba(255,255,255,.18);
}
.craft-h-info{
  position:absolute;bottom:36px;left:32px;right:32px;
  overflow:hidden; /* clip box for the text-reveal animation */
}
.craft-h-label{
  display:block;
  font-family:var(--font-body);font-weight:700;
  font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;
  color:rgba(255,255,255,.68);
  margin-bottom:8px;
}
.craft-h-info h3{
  font-family:var(--font-title);
  font-weight:800;
  font-size:clamp(22px,2.4vw,34px);
  letter-spacing:-.01em;
  text-transform:uppercase;
  color:#fff;
  text-shadow:0 0 20px rgba(255,255,255,.35);
}

.craft-h-hint{
  position:absolute;bottom:28px;right:44px;z-index:2;
  font-family:var(--font-body);font-weight:600;
  font-size:12px;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.8);
  display:flex;align-items:center;gap:8px;
}
.craft-h-hint span{transition:transform .3s ease;}
.craft-h-dots{
  position:absolute;bottom:30px;left:48px;z-index:2;
  display:flex;gap:8px;
}
.craft-h-dots span{
  width:7px;height:7px;border-radius:50%;
  background:rgba(255,255,255,.35);
  transition:background .3s ease, transform .3s ease;
}
.craft-h-dots span.active{background:#fff;transform:scale(1.3);}

/* TEAM — full, uncropped 16:9 photo (was a viewport-height full-bleed crop
   that zoomed in on just the two faces). Same treatment as Practice below:
   thin fade only at the very top/bottom edges, heading in a clean block
   underneath instead of overlaid — the photo stays fully visible. */
.team{
  background:var(--bg-primary);
  padding:0 0 90px;
}
.team-media{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  margin-bottom:56px;
}
.team-media img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.team-media::before{
  content:"";
  position:absolute;top:0;left:0;right:0;
  /* thin heavenly-white breath coming in from the dark Treatments world above */
  height:clamp(40px,6vh,90px);
  background:linear-gradient(to bottom, var(--bg-primary), transparent);
  pointer-events:none;
}
.team-media::after{
  content:"";
  position:absolute;bottom:0;left:0;right:0;
  height:clamp(36px,5vh,80px);
  background:linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events:none;
}
.team-content{
  max-width:760px;margin:0 auto;padding:0 28px;
  text-align:center;
}
.team-content h2{
  font-size:clamp(28px,3.4vw,42px);
  margin-bottom:16px;
  text-wrap:balance;
}
.team-content .section-sub{max-width:60ch;margin:0 auto;}

/* PRACTICE — full-bleed banner photo, with the copy living in a clean
   centered block below instead of overlaid on top. Thin fade only at the
   very top/bottom edges — the photo itself stays fully, clearly visible. */
.practice{
  background:var(--bg-primary);
  padding:0 0 110px;
}
.practice-media{
  position:relative;
  width:100%;
  aspect-ratio:2200/1228;
  overflow:hidden;
  margin-bottom:72px;
}
.practice-media img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.practice-media::before{
  content:"";
  position:absolute;top:0;left:0;right:0;
  /* thin white breath coming in from the Team photo right above —
     no more hard cut straight into the sharp clinic photo */
  height:clamp(40px,6vh,90px);
  background:linear-gradient(to bottom, var(--bg-primary), transparent);
  pointer-events:none;
}
.practice-media::after{
  content:"";
  position:absolute;bottom:0;left:0;right:0;
  height:clamp(36px,5vh,80px);
  background:linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events:none;
}
.practice-content{
  max-width:920px;margin:0 auto;padding:0 28px;
  text-align:center;
}
.practice-content h2{
  font-size:clamp(28px,3.4vw,42px);
  margin-bottom:18px;
  text-wrap:balance;
}
.practice-content .section-sub{
  max-width:64ch;margin:0 auto 48px;
}
.practice-features{
  display:grid;grid-template-columns:repeat(3,1fr);gap:32px;
  text-align:left;
}
.practice-feature{display:flex;gap:16px;align-items:flex-start;}
.practice-dot{
  flex:0 0 auto;
  width:10px;height:10px;border-radius:50%;
  margin-top:7px;
  background:var(--accent-grad);
  box-shadow:0 0 12px rgba(47,214,168,.55);
}
.practice-feature h4{font-size:16px;margin-bottom:4px;color:var(--text-primary);}
.practice-feature p{color:var(--text-muted);font-size:14.5px;}

/* TRUST — same muted green world as Stats, not a flat color block */
.trust{
  position:relative;
  background-image:linear-gradient(rgba(7,19,15,.86), rgba(7,19,15,.86)), url('images/scene-bg.webp');
  background-size:cover;background-position:center;background-attachment:fixed;
  padding:100px 28px;
}
.trust::before{
  content:"";
  position:absolute;top:0;left:0;right:0;
  height:clamp(140px,20vh,240px);
  background:linear-gradient(to bottom, var(--bg-primary), transparent);
  z-index:1;
  pointer-events:none;
}
.trust-grid{
  max-width:1000px;margin:0 auto;
  display:grid;grid-template-columns:repeat(4,1fr);gap:20px;
}
.trust-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.24);
  box-shadow:0 0 26px rgba(255,255,255,.08);
  border-radius:var(--radius-md);
  padding:26px 22px;
}
.trust-card h4{font-size:15.5px;margin-bottom:10px;color:#fff;}
.trust-card p{color:rgba(255,255,255,.68);font-size:13.5px;}

/* CTA FINAL */
.cta-final{
  background:linear-gradient(160deg,#0c231b,#123526);
  color:#fff;
  padding:110px 28px;
  text-align:center;
}
.cta-final .eyebrow{background:none;-webkit-text-fill-color:currentColor;color:#8ff0c9;}
.cta-inner{max-width:560px;margin:0 auto;}
.cta-final h2{font-size:clamp(28px,4vw,40px);margin-bottom:16px;color:#fff;text-wrap:balance;}
.cta-final .section-sub{color:rgba(255,255,255,.72);margin-bottom:40px;}
.contact-form{
  display:flex;flex-direction:column;gap:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  padding:28px;border-radius:var(--radius-md);
  text-align:left;
}
.contact-form input,.contact-form select{
  width:100%;padding:14px 16px;border-radius:10px;border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.08);color:#fff;font-family:var(--font-body);font-size:14.5px;
}
.contact-form input::placeholder{color:rgba(255,255,255,.5);}
.contact-form select{appearance:none;}
.contact-form option{color:#0f1f19;}
.contact-form .btn{margin-top:4px;}
.cta-note{margin-top:16px;font-size:12.5px;color:rgba(255,255,255,.45);}

/* FOOTER */
.site-footer{padding:28px;border-top:1px solid var(--line);}
.footer-inner{
  max-width:1240px;margin:0 auto;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;
  font-size:12.5px;color:var(--text-muted);
}

/* MOBILE */
@media (max-width:900px){
  .main-nav{display:none;}
  .nav-toggle{display:flex;}
  .header-cta{display:none;}
  .hero-content{padding-bottom:64px;}
  .hero h1{font-size:clamp(32px,9vw,44px);}
  .stats-inner{grid-template-columns:1fr;gap:32px;}
  .trust-grid{grid-template-columns:1fr 1fr;}
  .practice-features{grid-template-columns:1fr;gap:28px;}
  .practice-media{border-radius:var(--radius-md);}
  .practice-content h2{font-size:clamp(26px,7vw,34px);}
  .btn{min-height:56px;}

  /* background-attachment:fixed is unreliable/janky on real mobile
     browsers (esp. iOS Safari) — fall back to normal scroll */
  .stats, .craft-h-pin, .trust{background-attachment:scroll;}

  /* TREATMENTS — GSAP pin+scrub is desktop-only (see animations.js),
     so on mobile the card track becomes a native horizontal swipe-scroller
     instead of a scroll-jacked pin. Same full-bleed cards, just touch-driven.
     The scroll lives on .craft-h-scroll (not .craft-h-pin itself) so the
     absolutely-positioned dots/hint overlay stay put instead of scrolling
     away with the cards. */
  .craft-h-pin{height:100svh;}
  .craft-h-scroll{
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .craft-h-scroll::-webkit-scrollbar{display:none;}
  .craft-h-card{scroll-snap-align:center;}

  .team-media{border-radius:var(--radius-md);}
  .team-content h2{font-size:clamp(26px,7vw,34px);}
}
