/* =========================================================
   STATURE STRATEGY — Brand Stylesheet
   Slate Blue #2C598D · Muted Teal #5FA8A2 · Steel Grey #4B4E57
   Montserrat (headers) · Source Sans 3 (body)
   ========================================================= */

:root {
  --slate: #2C598D;
  --slate-deep: #1d3f63;
  --slate-ink: #15314d;
  --teal: #5FA8A2;
  --teal-deep: #4a8e88;
  --steel: #4B4E57;
  --grey: #6b6f78;
  --light: #E5E7EB;
  --mist: #f4f6f8;
  --white: #ffffff;

  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --shadow: 0 18px 50px -22px rgba(21, 49, 77, 0.45);
  --shadow-sm: 0 8px 24px -12px rgba(21, 49, 77, 0.35);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--steel);
  background: var(--white);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--slate-ink);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin: 0 0 1.1em; }
a { color: var(--slate); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-deep); }

img { max-width: 100%; display: block; }

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

section { padding: clamp(56px, 8vw, 110px) 0; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin: 0 0 1rem;
  display: inline-block;
}
.eyebrow--light { color: var(--teal); }

.lede { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--grey); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  padding: 0.85em 1.7em; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
}
.btn--primary { background: var(--slate); color: #fff; }
.btn--primary:hover { background: var(--slate-deep); color: #fff; transform: translateY(-2px); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-deep); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { border-color: var(--slate); color: var(--slate); }
.btn--outline:hover { background: var(--slate); color: #fff; }

.arrow-link {
  font-family: var(--font-head); font-weight: 700; color: var(--slate);
  display: inline-flex; align-items: center; gap: .4em;
}
.arrow-link::after { content: "→"; transition: transform .2s ease; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { height: 34px; width: auto; }
.brand img { height: 46px; width: auto; display: block; }
.site-footer .brand img { height: 52px; }
.brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  letter-spacing: 0.22em; color: var(--slate-ink); text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--steel); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--slate); }
.nav .btn { color: #fff; }
.nav .btn:hover { color:#fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--slate-ink); margin: 5px 0; transition: .25s; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--light);
    padding: 12px var(--gut) 24px; box-shadow: var(--shadow-sm);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--mist); }
  .nav .btn { margin-top: 14px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding: clamp(90px, 16vh, 180px) 0 clamp(70px, 12vh, 140px);
  background: linear-gradient(180deg, rgba(16,42,69,.38), rgba(16,42,69,.74)),
              var(--hero-img, none) center/cover no-repeat;
  background-color: var(--slate-ink);
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lede { color: rgba(255,255,255,.9); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero--sm { padding: clamp(70px,10vh,120px) 0 clamp(48px,7vh,84px); }
.hero--sm h1 { max-width: 22ch; }

/* ---------- Section helpers ---------- */
.bg-mist { background: var(--mist); }
.bg-slate { background: var(--slate-ink); color: rgba(255,255,255,.86); }
.bg-slate h2, .bg-slate h3 { color: #fff; }
.bg-teal { background: var(--teal); color: #fff; }
.bg-teal h2, .bg-teal h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Grid + Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--light); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(95,168,162,.14); margin-bottom: 18px; color: var(--teal-deep);
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Split / Media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--flip .split-media { order: -1; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--flip .split-media { order: 0; } }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 4px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
  padding: 28px 0; border-top: 1px solid var(--light);
}
.step:last-child { border-bottom: 1px solid var(--light); }
.step-num {
  counter-increment: step; font-family: var(--font-head); font-weight: 800;
  font-size: 1.4rem; color: #fff; background: var(--slate);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; text-align: center; }
@media (max-width: 760px){ .stats { grid-template-columns: 1fr; } }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem,5vw,3.4rem); color: var(--teal); line-height: 1; }
.stat .label { font-size: 1rem; color: rgba(255,255,255,.8); margin-top: .4rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--light); border-radius: 12px; margin-bottom: 14px;
  background: #fff; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--slate-ink);
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--teal); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 26px 24px; margin: 0; color: var(--grey); }

/* ---------- Founders ---------- */
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: start; }
@media (max-width:560px){ .founder { grid-template-columns: 1fr; } }
.founder img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.founder .role { font-family: var(--font-head); font-weight: 600; color: var(--teal-deep); font-size: .95rem; }

/* ---------- Insights / articles ---------- */
.post { background:#fff; border:1px solid var(--light); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display:flex; flex-direction:column; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post .body { padding: 24px; display:flex; flex-direction:column; flex:1; }
.post .tag { font-family: var(--font-head); font-weight:700; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: var(--teal-deep); margin-bottom: 10px; }
.post h3 { font-size: 1.2rem; }
.post .meta { margin-top:auto; color: var(--grey); font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color:#fff; text-align:center;
  background: linear-gradient(180deg, rgba(21,49,77,.78), rgba(29,63,99,.9)), var(--cta-img, none) center/cover; }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 60ch; margin-inline:auto; }

/* ---------- Contact ---------- */
.field { margin-bottom: 18px; }
.field label { display:block; font-family: var(--font-head); font-weight:600; font-size:.9rem; margin-bottom:6px; color: var(--slate-ink); }
.field input, .field select, .field textarea {
  width:100%; padding: 13px 15px; border:1px solid var(--light); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--steel); background:#fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-ink); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-name { color:#fff; }
.footer-col h5 { color:#fff; font-size:.85rem; text-transform:uppercase; letter-spacing:.12em; margin-bottom:1rem; }
.footer-col ul { list-style:none; margin:0; padding:0; }
.footer-col li { margin-bottom: .6em; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.14); margin-top:48px; padding-top:24px; font-size:.85rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }

/* ---------- Misc ---------- */
.tagline-rule { display:inline-flex; align-items:center; gap:14px; font-family:var(--font-head); font-weight:700; letter-spacing:.05em; }
.tagline-rule::before, .tagline-rule::after { content:""; height:2px; width:40px; background: var(--teal); }
.pill-list { display:flex; flex-wrap:wrap; gap:10px; list-style:none; padding:0; margin: 1.5rem 0 0; }
.pill-list li { background: rgba(95,168,162,.14); color: var(--slate-ink); font-family:var(--font-head); font-weight:600; font-size:.9rem; padding:8px 16px; border-radius:999px; }
.skip-link { position:absolute; left:-999px; }
.skip-link:focus { left: 16px; top: 12px; background:#fff; padding:8px 14px; border-radius:8px; z-index:100; }
