/* Mark Protus — site styles */

:root{
  --ink:#15181C;
  --body:#3A3F46;
  --muted:#656C74;
  --accent:#0D6E5C;
  --accent-dark:#09493D;
  --accent-soft:#E8F2EF;
  --tint:#F6F8F7;
  --rule:#E3E7E9;
  --bg:#FFFFFF;
  --dark:#12201C;
  --max:1060px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:'Archivo',system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-dark)}
h1,h2,h3,h4{margin:0;letter-spacing:-0.02em;text-wrap:balance}
p{margin:0}

.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.narrow{max-width:760px}

/* ---------- nav ---------- */
.nav{
  position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--rule);
}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px}
.brand{font-size:17px;font-weight:700;color:var(--ink);letter-spacing:-0.01em}
.brand:hover{color:var(--ink)}
.nav-links{display:flex;flex-wrap:wrap;gap:22px;align-items:center;font-size:15px;font-weight:500}
.nav-links a{color:var(--muted)}
.nav-links a:hover,.nav-links a.on{color:var(--accent)}
.nav-cta{
  background:var(--accent);color:#fff;padding:9px 16px;border-radius:6px;
  font-size:14.5px;font-weight:600;
}
.nav-cta:hover{background:var(--accent-dark);color:#fff}
.nav-links a.nav-cta,.nav-links a.nav-cta.on,.nav-links a.nav-cta:hover{color:#fff}

/* ---------- buttons ---------- */
.btn,.btn-ghost{
  display:inline-block;font-size:16px;font-weight:600;
  padding:13px 26px;border-radius:7px;border:2px solid transparent;cursor:pointer;
}
.btn{background:var(--accent);color:#fff;border-color:var(--accent)}
.btn:hover{background:var(--accent-dark);border-color:var(--accent-dark);color:#fff}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--rule)}
.btn-ghost:hover{border-color:var(--ink);color:var(--ink)}
.btns{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* ---------- type helpers ---------- */
.eyebrow{
  font-size:12px;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;
  color:var(--muted);
}
.lead{font-size:19px;line-height:1.6;color:var(--body)}
.body{font-size:17px;color:var(--body)}
.small{font-size:15px;color:var(--body)}
.fine{font-size:14px;color:var(--muted);line-height:1.7}

/* ---------- sections ---------- */
section{padding:72px 0}
.sec-tint{background:var(--tint)}
.sec-dark{background:var(--dark);color:#EAF0ED}
.sec-dark h2,.sec-dark h3{color:#fff}
.sec-dark .eyebrow{color:#8FB3A8}
.sec-dark p{color:#C3D2CC}
.sec-head{max-width:720px;margin-bottom:40px}
.sec-head h2{font-size:33px;line-height:1.2;font-weight:700;margin-bottom:14px}
.sec-head p{font-size:18px;color:var(--body)}

/* ---------- hero ---------- */
.hero{padding:76px 0 64px}
.wrap.hero{padding-left:24px;padding-right:24px}
.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:52px;align-items:center}
.hero h1{font-size:46px;line-height:1.14;font-weight:700}
.hero h1 em{font-style:normal;color:var(--accent)}
.hero .lead{margin-top:22px;max-width:520px}
.hero .btns{margin-top:32px}
.hero-photo{position:relative}
.hero-photo img{
  width:100%;border-radius:12px;object-fit:cover;object-position:50% 0;aspect-ratio:4/5;
  background:var(--tint);
}
.hero-badge{
  position:absolute;left:-18px;bottom:22px;background:#fff;border:1px solid var(--rule);
  border-radius:10px;padding:12px 16px;box-shadow:0 6px 24px rgba(16,24,20,.09);
}
.hero-badge .n{font-size:21px;font-weight:700;color:var(--accent);line-height:1.1}
.hero-badge .t{font-size:12px;color:var(--muted);margin-top:2px;line-height:1.35}

/* ---------- cards ---------- */
.cards{display:grid;gap:18px}
.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.c2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{
  background:#fff;border:1px solid var(--rule);border-radius:10px;padding:26px 24px;
  transition:border-color .15s,transform .15s,box-shadow .15s;
}
a.card{color:var(--ink);display:block}
a.card:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 8px 28px rgba(16,24,20,.07);color:var(--ink)}
.card h3{font-size:19px;font-weight:700;margin-bottom:8px}
.card h4{font-size:17px;font-weight:700;margin-bottom:7px}
.card p{font-size:15.5px;line-height:1.55;color:var(--body)}
.card .kind{font-size:11.5px;font-weight:700;letter-spacing:0.14em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:9px}
.card .go{display:inline-block;margin-top:13px;font-size:14.5px;font-weight:600;color:var(--accent)}

.ico{
  width:42px;height:42px;border-radius:9px;background:var(--accent-soft);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;
}
.ico svg{width:21px;height:21px;stroke:var(--accent);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* ---------- stat band ---------- */
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}
.stat .n{font-size:38px;font-weight:700;letter-spacing:-0.03em;color:#fff;line-height:1.05}
.stat .t{font-size:15px;margin-top:8px;line-height:1.5}

/* ---------- proof ---------- */
.proof{
  background:var(--accent-soft);border-left:4px solid var(--accent);
  border-radius:0 10px 10px 0;padding:30px 32px;
}
.proof .url{display:inline-block;font-size:28px;font-weight:700;margin:8px 0 14px;letter-spacing:-0.02em}
.proof p{font-size:16.5px;color:var(--body);max-width:620px}

/* ---------- service rows ---------- */
.srow{display:grid;grid-template-columns:52px 1fr;gap:20px;padding:30px 0;border-top:1px solid var(--rule)}
.srow:last-child{border-bottom:1px solid var(--rule)}
.srow h3{font-size:22px;font-weight:700}
.srow .dur{font-size:13px;font-weight:600;letter-spacing:0.08em;color:var(--accent);margin-top:5px}
.srow p{margin-top:11px;font-size:16.5px;color:var(--body)}
.srow ul{margin:13px 0 0;padding-left:18px;color:var(--body);font-size:15.5px;line-height:1.7}

/* ---------- about ---------- */
.about-grid{display:grid;grid-template-columns:300px 1fr;gap:44px;align-items:start}
.about-grid img{border-radius:12px;aspect-ratio:4/5;object-fit:cover;object-position:50% 0}
.about-grid.wide{grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.about-grid.wide img{aspect-ratio:16/10;object-position:50% 40%}
.prose p{margin-bottom:17px;font-size:17px;color:var(--body)}
.prose p:last-child{margin-bottom:0}
.prose strong{color:var(--ink)}

/* ---------- lifecycle diagram ---------- */
.cycle{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 10px;margin-top:8px}
.step{text-align:center}
.step .dot{
  width:46px;height:46px;border-radius:50%;margin:0 auto 12px;
  display:flex;align-items:center;justify-content:center;
  border:2px solid var(--rule);background:#fff;
  font-size:14px;font-weight:700;color:var(--muted);
}
.step.hot .dot{border-color:var(--accent);background:var(--accent);color:#fff}
.step h4{font-size:15px;font-weight:700;margin-bottom:5px}
.step p{font-size:13.5px;line-height:1.5;color:var(--muted)}

/* ---------- case studies ---------- */
.case{padding:44px 0;border-top:1px solid var(--rule)}
.case:first-child{border-top:none;padding-top:0}
.case-h{font-size:30px;line-height:1.22;font-weight:700;margin:12px 0 24px;max-width:640px}
.case img{width:100%;border-radius:10px;border:1px solid var(--rule);background:var(--tint)}

/* ---------- quotes ---------- */
.quotes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.quote{background:#fff;border:1px solid var(--rule);border-radius:10px;padding:26px 24px;display:flex;flex-direction:column}
.quote .mark{font-size:34px;line-height:1;color:var(--accent);font-weight:700;margin-bottom:8px}
.quote p{font-size:15.5px;line-height:1.6;color:var(--body);flex:1}
.quote .who{margin-top:18px;padding-top:15px;border-top:1px solid var(--rule)}
.quote .who b{display:block;font-size:15px;color:var(--ink)}
.quote .who span{font-size:13px;color:var(--muted);line-height:1.45;display:block;margin-top:2px}
.pullquote{max-width:760px;margin:0 auto;text-align:center}
.pullquote p{font-size:28px;line-height:1.35;font-weight:600;letter-spacing:-0.015em;color:#fff}
.pullquote .who{margin-top:22px;font-size:15px;color:#9FC0B6}

/* ---------- form ---------- */
.field{margin-bottom:17px}
label{display:block;font-size:14.5px;font-weight:600;margin-bottom:7px}
.error-message{display:block;margin-top:6px;color:#A12622;font-size:14px;line-height:1.4}
input,textarea{
  width:100%;font-family:inherit;font-size:16px;color:var(--ink);
  padding:12px 14px;border:1.5px solid var(--rule);border-radius:7px;background:#fff;
}
input:focus,textarea:focus{outline:none;border-color:var(--accent)}
textarea{min-height:130px;resize:vertical}

/* ---------- cta band ---------- */
.cta-band{background:var(--dark);color:#fff;padding:64px 0}
.cta-band h2{font-size:32px;font-weight:700;color:#fff;margin-bottom:12px}
.cta-band p{font-size:18px;color:#C3D2CC;margin-bottom:28px;max-width:560px}
.cta-band .btn-ghost{color:#fff;border-color:rgba(255,255,255,.3)}
.cta-band .btn-ghost:hover{border-color:#fff;color:#fff}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--rule);padding:34px 0 52px;font-size:14.5px;color:var(--muted)}
.foot{display:flex;flex-wrap:wrap;gap:12px 26px;justify-content:space-between}
footer a{color:var(--muted)}
footer a:hover{color:var(--accent)}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:34px}
  .hero-photo{max-width:320px}
  .hero-badge{left:auto;right:-10px}
  .about-grid{grid-template-columns:1fr;gap:26px}
  .about-grid img{max-width:280px}
  .about-grid.wide{grid-template-columns:1fr;gap:28px}
  .about-grid.wide img{max-width:100%}
  .c3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quotes{grid-template-columns:1fr}
  .cycle{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 10px}
}
@media (max-width:640px){
  body{font-size:16px}
  .nav{position:static}
  .nav-in{flex-wrap:wrap;gap:12px}
  .nav-links{gap:16px;font-size:14.5px;width:100%}
  section{padding:48px 0}
  .hero{padding:46px 0 42px}
  .hero h1{font-size:32px}
  .hero .lead{font-size:17px}
  .sec-head h2{font-size:26px}
  .sec-head p{font-size:16.5px}
  .c3,.c2{grid-template-columns:1fr}
  .quotes{grid-template-columns:1fr}
  .case-h{font-size:24px}
  .pullquote p{font-size:21px}
  .stats{grid-template-columns:1fr;gap:26px}
  .stat .n{font-size:32px}
  .cycle{grid-template-columns:repeat(2,minmax(0,1fr))}
  .srow{grid-template-columns:1fr;gap:12px}
  .proof{padding:22px}
  .proof .url{font-size:22px}
  .btn,.btn-ghost{width:100%;text-align:center}
  .cta-band h2{font-size:25px}
}
