/* NMT Developments — tokens captured from mastercare.framer.website (see DESIGN.md) */

:root{
  --c-green-900:#061D13; --c-green-800:#1A3127; --c-lime:#DFFFA3;
  --c-mint-50:#EDFDF6; --c-yellow:#FFDE26; --c-white:#fff;
  --c-grey-100:#F3F3F3; --c-ink:#0B0B0B; --c-body:#3E3E3E;
  --c-muted:#6F6F6F; --c-on-dark:#C2C2C2;

  --f-display:"Inter Display",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --f-body:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

  --container:1280px; --pad-x:30px; --sec-y:50px; --sec-y-lg:100px;
  --gap:24px; --card-pad:24px;

  --r-card:16px; --r-md:20px; --r-sm:10px; --r-pill:42px; --r-round:999px;
  --ease:cubic-bezier(.44,0,.56,1);
  --shadow-soft:0 .602187px 1.56569px -1.5px rgba(0,0,0,.17),
                0 2.28853px 5.95019px -3px rgba(0,0,0,.14),
                0 10px 26px -4.5px rgba(0,0,0,.02);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--c-white); color:var(--c-green-900);
  font-family:var(--f-body); font-size:16px; line-height:20.8px;
  letter-spacing:-.48px; font-weight:500;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
ul{margin:0; padding:0; list-style:none}
button{font:inherit; color:inherit; border:0; background:none; cursor:pointer}

h1,h2,h3,h4{font-family:var(--f-display); font-weight:600; margin:0; letter-spacing:normal}
h1{font-size:54px; line-height:59.4px; letter-spacing:-1.62px}
h2{font-size:44px; line-height:48.4px}
h3{font-size:32px; line-height:38.4px}
h4{font-size:24px; line-height:28.8px}
p{margin:0}

.container{max-width:var(--container); margin:0 auto; width:100%}
section{padding:var(--sec-y) var(--pad-x)}
.sec-dark{background:var(--c-green-900); color:var(--c-white)}
.sec-dark p{color:var(--c-on-dark)}
.lead{font-size:20px; line-height:26px; font-weight:400; letter-spacing:normal; color:var(--c-body)}
.sec-dark .lead{color:var(--c-on-dark)}
.body{font-size:16px; line-height:20.8px; letter-spacing:-.48px; color:var(--c-body)}

/* Eyebrow chip */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 16px; border-radius:var(--r-round);
  background:var(--c-grey-100); font-size:16px; line-height:20.8px;
  letter-spacing:-.48px; font-weight:500; color:var(--c-green-900);
}
.eyebrow::before{content:""; width:7px; height:7px; border-radius:50%; background:var(--c-green-900)}
/* keep the chip hugging its text inside column flex containers */
.eyebrow{align-self:flex-start}
.sec-head.center .eyebrow,.contact-inner .eyebrow{align-self:center}
.sec-dark .eyebrow{background:var(--c-green-800); color:var(--c-on-dark)}
.sec-dark .eyebrow::before{background:var(--c-lime)}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap:6px;
  height:48px; padding:12px 12px 12px 20px; border-radius:var(--r-pill);
  background:var(--c-lime); color:var(--c-green-900);
  font-size:18px; line-height:23.4px; font-weight:500; letter-spacing:normal;
  transition:filter .4s var(--ease), transform .4s var(--ease);
}
.btn:hover{filter:brightness(.95); transform:translateY(-2px)}
.btn .chip{
  width:26px; height:26px; border-radius:50%; background:var(--c-green-900);
  color:var(--c-lime); display:grid; place-items:center; flex:0 0 26px;
}
.btn .chip svg{width:12px; height:12px; transition:transform .4s var(--ease)}
.btn:hover .chip svg{transform:translate(2px,-2px)}
.btn-dark{background:var(--c-green-900); color:var(--c-white)}
.btn-dark .chip{background:var(--c-lime); color:var(--c-green-900)}
.btn-ghost{background:transparent; box-shadow:inset 0 0 0 1px rgba(255,255,255,.25); color:var(--c-white)}
.btn-ghost .chip{background:var(--c-white); color:var(--c-green-900)}

/* ---------- Header (fixed, does NOT restyle on scroll) ---------- */
.header{position:fixed; inset:0 0 auto; z-index:10; padding:20px var(--pad-x) 0}
.nav{
  max-width:var(--container); margin:0 auto; height:60px;
  background:var(--c-green-900); border-radius:var(--r-pill);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 10px 0 20px; color:var(--c-white);
}
.brand{display:flex; align-items:center; gap:10px; font-family:var(--f-display); font-weight:600; font-size:18px; letter-spacing:normal}
/* Logo mark is dark charcoal on transparent — give it a light chip so it
   reads against the dark green nav and footer. */
.brand img{height:30px; width:auto; background:var(--c-white); border-radius:8px; padding:3px 5px}
.brand span small{display:block; font-family:var(--f-body); font-size:9px; font-weight:500; letter-spacing:1.4px; color:var(--c-on-dark)}
.nav-links{display:flex; align-items:center; gap:36px}
.nav-links a{font-size:16px; letter-spacing:-.48px; color:var(--c-white); transition:color .4s var(--ease)}
.nav-links a:hover{color:var(--c-lime)}
.nav .btn{height:44px}
.burger{display:none; width:44px; height:44px; border-radius:50%; background:var(--c-green-800); place-items:center}
.burger span{display:block; width:16px; height:1.5px; background:#fff; margin:3px 0; transition:transform .3s var(--ease), opacity .3s var(--ease)}
.burger.active span:nth-child(1){transform:translateY(4.5px) rotate(45deg)}
.burger.active span:nth-child(2){opacity:0}
.burger.active span:nth-child(3){transform:translateY(-4.5px) rotate(-45deg)}

/* Mobile sheet */
.sheet{
  position:fixed; inset:0; z-index:9; background:var(--c-green-900);
  padding:100px 30px 40px; display:flex; flex-direction:column; gap:8px;
  transform:translateY(-100%); transition:transform .5s var(--ease); visibility:hidden;
}
.sheet.open{transform:none; visibility:visible}
.sheet a{font-family:var(--f-display); font-size:32px; line-height:1.5; color:#fff}
.sheet .btn{align-self:flex-start; margin-top:24px}

/* ---------- Hero ---------- */
.hero{background:var(--c-green-900); color:#fff; padding:150px var(--pad-x) 0; overflow:hidden}
.hero-inner{max-width:var(--container); margin:0 auto}
.hero-copy{max-width:696px; display:flex; flex-direction:column; gap:24px}
.hero h1{color:#fff}
.hero .lead{color:var(--c-on-dark); max-width:560px}
.hero-cta{display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.hero-points{display:flex; gap:28px; flex-wrap:wrap; margin-top:8px}
.hero-points li{display:flex; align-items:center; gap:8px; font-size:16px; letter-spacing:-.48px; color:var(--c-on-dark)}
.hero-points svg{width:18px; height:18px; color:var(--c-lime); flex:0 0 18px}
.hero-media{margin-top:56px; border-radius:var(--r-card) var(--r-card) 0 0; overflow:hidden; height:420px}

/* Placeholder imagery */
.ph{
  background:
    repeating-linear-gradient(45deg,rgba(0,0,0,.035) 0 12px,transparent 12px 24px),
    var(--c-grey-100);
  display:grid; place-items:center; color:var(--c-muted);
  font-size:14px; line-height:16.8px; letter-spacing:normal; text-align:center; padding:12px;
}
.ph-dark{background:
    repeating-linear-gradient(45deg,rgba(255,255,255,.04) 0 12px,transparent 12px 24px),
    var(--c-green-800); color:var(--c-on-dark)}

/* ---------- Brand marquee ---------- */
.marquee{overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marquee-track{display:flex; gap:72px; width:max-content; animation:marquee 32s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-track li{font-family:var(--f-display); font-size:20px; font-weight:600; color:var(--c-muted); white-space:nowrap; letter-spacing:normal}
@keyframes marquee{to{transform:translateX(-50%)}}

/* ---------- Generic section head ---------- */
.sec-head{display:flex; flex-direction:column; gap:16px; max-width:730px; align-items:flex-start}
.sec-head.center{margin:0 auto; text-align:center; align-items:center}
.sec-split{display:flex; justify-content:space-between; align-items:flex-end; gap:40px; flex-wrap:wrap}

/* ---------- About ---------- */
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); margin-top:56px}
.about-col{display:flex; flex-direction:column; gap:var(--gap)}
.about-col .ph{border-radius:var(--r-card)}
.about-col .ph:nth-child(odd){height:250px}
.about-col .ph:nth-child(even){height:316px}
.about-col:nth-child(2){padding-top:66px}

/* ---------- Why choose us: sticky text column + sticky stacked card deck ----------
   Source: text wrapper sticky top:20px, 4 cards sticky top:20px,
   568px wide, 593px tall, 30px apart, parent gap 70px.                            */
.why-grid{display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:start; margin-top:40px}
.why-sticky{position:sticky; top:100px; display:flex; flex-direction:column; gap:16px; align-items:flex-start}
.why-cards{display:flex; flex-direction:column; gap:30px}
/* Card internals mirror the source exactly: icon 40x40 r6px, text block,
   then a 395px image with radius 16px. Text sits on TOP so the next card
   covering from below hides it last. */
.why-card{
  position:sticky; top:100px; background:var(--c-white);
  display:flex; flex-direction:column; gap:40px;
  padding-bottom:20px; min-height:593px;
}
.why-card-head{display:flex; flex-direction:column; gap:16px}
.why-card .num{
  width:40px; height:40px; border-radius:6px; background:var(--c-lime);
  display:grid; place-items:center; font-family:var(--f-display);
  font-weight:600; font-size:15px; color:var(--c-green-900);
}
.why-card h4{margin-bottom:8px}
.why-card .ph{border-radius:var(--r-card); flex:1; min-height:395px}

/* ---------- Who we are ---------- */
.who{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center}
.who .ph{border-radius:var(--r-card); height:380px}
.who-copy{display:flex; flex-direction:column; gap:18px; align-items:flex-start}

/* ---------- Services: full-width stacked cards ----------
   Source: 5 cards, 1205x1171, radius 16px, 24px gap,
   image 1205x964 with radius 16px 16px 0 0, text row beneath. */
.svc-list{display:flex; flex-direction:column; gap:var(--gap); margin-top:48px}
.svc{background:var(--c-white); border-radius:var(--r-card)}
.svc .ph{border-radius:var(--r-card) var(--r-card) 0 0; aspect-ratio:1205/964}
.svc-foot{
  display:grid; grid-template-columns:1fr 1.15fr auto; gap:40px;
  align-items:center; padding:24px 0 0;
}
.svc-foot .idx{font-family:var(--f-display); font-size:14px; font-weight:600; color:var(--c-muted); letter-spacing:.08em; display:block; margin-bottom:8px}
.svc-list li{list-style:none}
.svc-tags{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.svc-tags li{background:var(--c-grey-100); border-radius:var(--r-round); padding:7px 14px; font-size:14px; line-height:16.8px; letter-spacing:normal; color:var(--c-body)}

/* ---------- Benefits (dark) ---------- */
.benefit-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gap); margin-top:48px}
.benefit{background:var(--c-green-800); border-radius:var(--r-card); padding:var(--card-pad); display:flex; flex-direction:column; gap:12px}
.benefit .ico{width:48px; height:48px; border-radius:50%; background:var(--c-lime); color:var(--c-green-900); display:grid; place-items:center; margin-bottom:8px}
.benefit .ico svg{width:22px; height:22px}
.benefit h4{color:#fff}
.stats{display:grid; grid-template-columns:repeat(4,1fr); gap:var(--gap); margin-top:var(--gap)}
.stat{background:var(--c-green-800); border-radius:var(--r-card); padding:var(--card-pad)}
.stat b{display:block; font-family:var(--f-display); font-size:44px; line-height:48.4px; font-weight:600; color:var(--c-lime)}
.stat p{margin-top:6px}

/* ---------- Testimonials ---------- */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gap); margin-top:48px}
.testi{background:var(--c-grey-100); border-radius:var(--r-card); padding:var(--card-pad); display:flex; flex-direction:column; gap:20px}
.testi h3{font-size:24px; line-height:31px}
.testi .who-row{display:flex; align-items:center; gap:12px; margin-top:auto}
.avatar{width:44px; height:44px; border-radius:50%; flex:0 0 44px; background:#E2E2E2; padding:0}
.testi .name{font-size:16px; letter-spacing:-.48px; color:var(--c-ink)}
.testi .role{font-size:14px; line-height:16.8px; letter-spacing:normal; color:var(--c-muted)}

/* ---------- Team ---------- */
.team-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:var(--gap); margin-top:48px}
.member .ph{border-radius:var(--r-card); height:340px; margin-bottom:16px}
.member .role{font-size:14px; line-height:16.8px; letter-spacing:normal; color:var(--c-muted); margin-top:4px}

/* ---------- Partner ---------- */
.partner{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center}
.partner-copy{display:flex; flex-direction:column; gap:18px; align-items:flex-start}
.partner .ph{border-radius:var(--r-card); height:440px}
.partner-points{display:flex; gap:10px; flex-wrap:wrap}
.partner-points li{background:var(--c-grey-100); border-radius:var(--r-round); padding:10px 18px; font-size:16px; letter-spacing:-.48px}
.partner-contact{display:flex; gap:var(--gap); flex-wrap:wrap; margin-top:8px}
.partner-contact a{font-family:var(--f-display); font-size:20px; font-weight:600; letter-spacing:normal}

/* ---------- FAQ ---------- */
.faq-grid{display:grid; grid-template-columns:1fr 1.3fr; gap:60px; align-items:start}
.faq-list{border-top:1px solid #E6E6E6}
.faq-item{border-bottom:1px solid #E6E6E6}
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:24px 0; text-align:left; font-family:var(--f-display);
  font-size:20px; line-height:26px; font-weight:600; letter-spacing:normal;
}
.faq-icon{
  width:34px; height:34px; border-radius:50%; background:var(--c-grey-100);
  display:grid; place-items:center; flex:0 0 34px; transition:background .4s var(--ease), transform .4s var(--ease);
}
.faq-icon svg{width:14px; height:14px}
.faq-item.open .faq-icon{background:var(--c-lime); transform:rotate(180deg)}
.faq-a{overflow:hidden; height:0; transition:height .45s var(--ease)}
.faq-a-inner{padding:0 60px 24px 0}

/* ---------- Blog (dark) ---------- */
.blog-grid{display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); margin-top:48px}
.post{background:var(--c-green-800); border-radius:var(--r-card); padding:var(--card-pad); display:flex; flex-direction:column; gap:16px}
.post .meta{display:flex; gap:16px; font-size:14px; line-height:16.8px; letter-spacing:normal; color:var(--c-on-dark)}
.post h3{color:#fff; font-size:24px; line-height:31px}
.post .ph{border-radius:var(--r-sm); height:200px}

/* ---------- Contact strip ---------- */
.contact-strip{background:var(--c-mint-50); padding:80px 20px}
.contact-inner{max-width:var(--container); margin:0 auto; text-align:center; display:flex; flex-direction:column; align-items:center; gap:24px}
.contact-inner h2{max-width:760px}
.contact-cta{display:flex; gap:12px; flex-wrap:wrap; justify-content:center}

/* ---------- Footer ---------- */
.footer{background:var(--c-green-900); color:#fff; padding:80px var(--pad-x) 32px}
.footer-inner{max-width:var(--container); margin:0 auto}
.footer-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:48px}
.footer-grid>*{min-width:0}
.footer h5{font-family:var(--f-display); font-size:18px; font-weight:600; margin:0 0 18px; letter-spacing:normal; color:#fff}
.footer li+li{margin-top:12px}
.footer a,.footer p{color:var(--c-on-dark); font-size:16px; letter-spacing:-.48px; transition:color .4s var(--ease)}
.footer a:hover{color:var(--c-lime)}
.footer .brand{margin-bottom:18px}
.sub-form{display:flex; gap:8px; background:var(--c-green-800); border-radius:var(--r-pill); padding:6px 6px 6px 18px; margin-top:16px}
.sub-form input{flex:1; min-width:0; background:none; border:0; color:#fff; font:inherit; outline:none}
.sub-form input::placeholder{color:#7C8B84}
.sub-form button{background:var(--c-lime); color:var(--c-green-900); border-radius:var(--r-round); padding:10px 18px; font-weight:500}
.footer-bottom{
  display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.12); margin-top:56px; padding-top:24px;
}
.footer-bottom p,.footer-bottom a{font-size:14px; line-height:16.8px; letter-spacing:normal}
.footer-bottom .links{display:flex; gap:24px}

/* ---------- Reveals (distances captured from source) ---------- */
.r{opacity:0; will-change:transform,opacity; transition:opacity .7s var(--ease), transform .7s var(--ease)}
.r-up{transform:translateY(23px)}
.r-tilt{transform:translateY(52px) rotateX(34deg)}
.r-dn{transform:translateY(-67px)}
.r-up-lg{transform:translateY(67px)}
.r.in{opacity:1; transform:none}
.perspective{perspective:1200px}
[data-stagger]>*{opacity:0; transform:translateY(23px); will-change:transform,opacity;
  transition:opacity .7s var(--ease), transform .7s var(--ease)}
[data-stagger].in>*{opacity:1; transform:none}

@media (prefers-reduced-motion:reduce){
  .r,[data-stagger]>*{opacity:1 !important; transform:none !important; transition:none}
  .marquee-track{animation:none}
}

/* ---------- Tablet: 810–1439 (source keeps the full type scale here) ---------- */
@media (max-width:1439px){
  .nav-links{gap:24px}
}
@media (max-width:1080px){
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .benefit-grid,.testi-grid{grid-template-columns:1fr}
  .why-grid{gap:40px}
  .svc-foot{grid-template-columns:1fr; gap:16px; justify-items:start}
}

/* ---------- Phone: <810 ---------- */
@media (max-width:809px){
  :root{--pad-x:20px; --sec-y:44px; --sec-y-lg:64px}
  h1{font-size:36px; line-height:40px; letter-spacing:-1px}
  h2{font-size:30px; line-height:34px}
  h3{font-size:24px; line-height:29px}
  h4{font-size:20px; line-height:25px}
  .lead{font-size:17px; line-height:24px}

  .nav-links,.nav>.btn{display:none}
  .burger{display:grid}
  .header{padding:12px var(--pad-x) 0}
  .nav{height:56px; padding:0 8px 0 14px}

  .hero{padding:110px var(--pad-x) 0}
  .hero-media{height:240px; margin-top:36px}
  .hero-points{gap:14px; flex-direction:column}

  .about-grid,.why-grid,.who,.partner,.faq-grid,.blog-grid,
  .benefit-grid,.testi-grid,.team-grid{grid-template-columns:1fr; gap:20px}
  .about-col:nth-child(2){padding-top:0}
  .why-sticky{position:static}
  .stats{grid-template-columns:repeat(2,1fr)}
  .who,.partner,.faq-grid{gap:32px}
  .who .ph,.partner .ph{height:260px}
  .member .ph{height:300px}

  .why-card{position:static; min-height:0}
  .why-card .ph{min-height:220px}
  .why-cards{gap:24px}
  .svc .ph{aspect-ratio:4/3}
  .svc-foot{grid-template-columns:1fr; gap:14px; padding-top:18px}

  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px}
  .footer-grid>*:first-child{grid-column:1 / -1}
  .footer{padding:56px var(--pad-x) 24px}
  .faq-q{font-size:17px; line-height:23px; gap:14px}
  .faq-a-inner{padding-right:20px}
  .contact-strip{padding:56px 20px}
  .sec-split{align-items:flex-start}
  body.nav-open{overflow:hidden}
}
