/* ============================================================
   Ascende Group — shared stylesheet
   Brand: navy + teal, GROUP accent #2E75B6, A-monogram mark
   Tone: professional, measured, commissioner-facing
   ============================================================ */

:root {
  --navy-900: #15395A;
  --navy-800: #1A4468;
  --navy:     #1F4E79;
  --navy-600: #2C5E8C;
  --navy-100: #E3EAF1;
  --teal-700: #134F4A;
  --teal-600: #185F59;
  --teal:     #1C6E68;
  --teal-300: #8FBAB6;
  --teal-100: #E2EEEC;
  --blue:     #2E75B6;
  --blue-600: #2566A1;
  --blue-100: #E8F0F8;
  --bg:       #F6F8FA;
  --bg-2:     #EDF1F5;
  --ink:      #20303D;
  --ink-soft: #51616E;
  --line:     #E4EAF0;
  --white:    #FFFFFF;
  --shadow:    0 10px 28px rgba(28, 59, 89, 0.10);
  --shadow-sm: 0 3px 12px rgba(28, 59, 89, 0.07);
  --radius:    10px;
  --radius-lg: 16px;
  --maxw:      1160px;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.6vw, 3.05rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3.3vw, 2.25rem); letter-spacing: -0.3px; }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1rem; color: var(--ink-soft); }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--blue); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 660px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  padding: 13px 26px; border-radius: 7px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(26,163,155,.26); }
.btn-primary:hover { background: var(--teal-600); color:#fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy-100); }
.btn-ghost:hover { background: var(--navy-100); color: var(--navy); border-color: var(--teal-300); }
.btn-white { background:#fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-white:hover { color: var(--navy); box-shadow: var(--shadow); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,248,250,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo-mark { width: 40px; height: 48px; flex: 0 0 auto; }
.logo-divider { width: 1px; height: 38px; background: var(--navy-100); flex: 0 0 auto; }
.site-footer .logo-divider { background: rgba(255,255,255,.22); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .wm-top { font-family: var(--font-head); font-weight: 600; font-size: 1.26rem; letter-spacing: 3.5px; color: var(--navy); }
.logo-text .wm-bot { font-family: var(--font-head); font-weight: 500; font-size: .62rem; letter-spacing: 7.5px; color: var(--blue); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a { font-family: var(--font-head); font-weight: 400; font-size: .93rem; color: var(--navy); }
.nav-links a:hover, .nav-links a.active { color: var(--teal-700); }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.7rem; color: var(--navy); }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch;
    background: var(--bg); padding: 8px 24px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 12px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: clamp(46px, 7vw, 84px) 0;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; color: var(--teal-700);
  font-size: .78rem; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 16px;
}
.hero h1 { margin-bottom: 16px; }
.hero p { font-size: 1.12rem; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-art {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-700) 100%);
  border-radius: var(--radius-lg); min-height: 350px; box-shadow: var(--shadow);
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.hero-art svg.scene { width: 80%; height: auto; position: relative; z-index: 2; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { min-height: 250px; order: -1; } }

/* ---------- Sections ---------- */
.section { padding: clamp(50px, 7vw, 82px) 0; }
.section.alt { background: var(--white); }
.section.dark { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-800) 100%); color: #fff; }
.section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark p { color: rgba(255,255,255,.84); }
.section.dark .eyebrow { color: var(--teal-300); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }

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

.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--teal-300); }
.card .icon { width: 50px; height: 50px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--teal-100); margin-bottom: 16px; }
.card .icon svg { width: 27px; height: 27px; stroke: var(--teal-700); }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .96rem; }
.card .kicker { font-family: var(--font-head); font-weight: 600; font-size: .7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); display:block; margin-bottom: 5px; }

.section.dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); }
.section.dark .card h3 { color:#fff; }
.section.dark .card p { color: rgba(255,255,255,.82); }
.section.dark .card .icon { background: rgba(255,255,255,.13); }
.section.dark .card .icon svg { stroke:#fff; }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split .visual { border-radius: var(--radius-lg); min-height: 320px; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--teal-300), var(--teal-700)); display:flex; align-items:center; justify-content:center; }
.split .visual.v-blue { background: linear-gradient(135deg, #88B7DF, var(--blue)); }
.split .visual.v-navy { background: linear-gradient(135deg, var(--navy-600), var(--navy-900)); }
.split .visual svg { width: 60%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split .visual { min-height: 220px; } }

/* ---------- Feature list ---------- */
.ticks { list-style: none; margin: 18px 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 11px; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 4px;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%230F7670' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}
.section.dark .ticks li { color: rgba(255,255,255,.9); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align:center; }
.stat .num { font-family: var(--font-head); font-weight:700; font-size: 2.5rem; color: var(--teal); line-height:1; }
.section.dark .stat .num { color: var(--teal-300); }
.stat .label { font-size: .92rem; color: var(--ink-soft); margin-top: 6px; }
.section.dark .stat .label { color: rgba(255,255,255,.82); }
@media (max-width: 620px){ .stats { grid-template-columns: 1fr 1fr; gap:26px;} }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display:flex; gap:18px; align-items:flex-start; background:#fff; border:1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.step .n { counter-increment: step; flex: 0 0 40px; height:40px; border-radius:8px;
  background: var(--teal); color:#fff; font-family:var(--font-head); font-weight:700; display:flex; align-items:center; justify-content:center; }
.step .n::before { content: counter(step); }
.step h3 { margin-bottom: 3px; }
.step p { margin-bottom: 0; font-size: .96rem; }

/* ---------- People ---------- */
.people { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
@media (max-width:760px){ .people { grid-template-columns:1fr; } }
.person { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:26px; text-align:center; box-shadow:var(--shadow-sm); }
.person .avatar { width:80px; height:80px; border-radius:50%; margin:0 auto 14px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--teal-300), var(--teal-700)); color:#fff; font-family:var(--font-head); font-weight:600; font-size:1.5rem; }
.person h3 { margin-bottom:2px; }
.person .role { font-family:var(--font-head); font-weight:600; font-size:.78rem; color: var(--blue); text-transform:uppercase; letter-spacing:.6px; }
.person p { font-size:.93rem; margin-top:10px; margin-bottom:0; }

/* ---------- Organogram ---------- */
.org { margin-top: 8px; }
.org-tier { display:flex; justify-content:center; gap:18px; flex-wrap:wrap; position:relative; }
.org-tier + .org-tier { margin-top: 40px; }
.org-tier + .org-tier::before { content:""; position:absolute; top:-30px; left:50%; transform:translateX(-50%); width:2px; height:30px; background: var(--navy-100); }
.org-node { background:#fff; border:1px solid var(--line); border-top:3px solid var(--teal); border-radius:8px;
  padding:14px 20px; min-width:200px; text-align:center; box-shadow:var(--shadow-sm); }
.org-node h4 { margin:0 0 2px; font-size:.96rem; color:var(--navy); }
.org-node span { font-size:.78rem; color:var(--ink-soft); display:block; }
.org-node.group { border-top-color: var(--navy); background: var(--navy); }
.org-node.group h4 { color:#fff; } .org-node.group span { color: rgba(255,255,255,.82); }
.org-node.lead { border-top-color: var(--blue); }
.org-col { background:#fff; border:1px solid var(--line); border-top:3px solid var(--teal); border-radius:8px; padding:18px 20px; min-width:240px; flex:1; max-width:320px; box-shadow:var(--shadow-sm); }
.org-col h4 { font-size:.92rem; color:var(--blue); text-transform:uppercase; letter-spacing:.5px; margin-bottom:10px; }
.org-col ul { list-style:none; }
.org-col li { font-size:.9rem; color:var(--ink-soft); padding:5px 0; border-bottom:1px dashed var(--line); }
.org-col li:last-child { border-bottom:none; }
@media (max-width:760px){ .org-tier{ gap:12px } .org-col, .org-node{ min-width:100%; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--teal-700), var(--navy)); color:#fff; border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 56px); text-align:center; box-shadow: var(--shadow); }
.cta-band h2 { color:#fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 580px; margin: 0 auto 22px; }

/* ---------- Page banner ---------- */
.page-banner { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-800) 100%); color:#fff; padding: clamp(44px,6vw,72px) 0; }
.page-banner h1 { color:#fff; }
.page-banner p { max-width: 660px; margin: 12px 0 0; font-size:1.08rem; color: rgba(255,255,255,.85); }
.page-banner .eyebrow { color: var(--teal-300); }
.breadcrumb { font-size:.82rem; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.breadcrumb a { color: var(--teal-300); }

/* ---------- Job listings ---------- */
.job { display:flex; justify-content:space-between; align-items:center; gap:18px; background:#fff;
  border:1px solid var(--line); border-radius: var(--radius); padding:20px 24px; box-shadow:var(--shadow-sm); margin-bottom:12px; }
.job h3 { margin-bottom: 3px; }
.job .meta { font-size:.88rem; color: var(--ink-soft); }
@media (max-width:620px){ .job { flex-direction:column; align-items:flex-start; } }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 820px){ .contact-grid { grid-template-columns:1fr; } }
.form-field { margin-bottom: 16px; }
.form-field label { display:block; font-family:var(--font-head); font-weight:500; font-size:.88rem; margin-bottom:6px; color:var(--navy); }
.form-field input, .form-field textarea, .form-field select {
  width:100%; padding:12px 14px; border:1.5px solid var(--navy-100); border-radius:7px;
  font-family: var(--font-body); font-size:.98rem; background:#fff; color:var(--ink); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline:none; border-color: var(--teal); }
.contact-info-card { background: var(--navy); color:#fff; border-radius: var(--radius); padding:30px; }
.contact-info-card h3 { color:#fff; }
.contact-info-card .row { display:flex; gap:14px; margin-bottom:18px; }
.contact-info-card .row svg { width:20px; height:20px; stroke: var(--teal-300); flex:0 0 20px; margin-top:3px; }
.contact-info-card .row strong { color:#fff; } .contact-info-card .row, .contact-info-card a { color: rgba(255,255,255,.82); }
.contact-info-card a:hover { color: var(--teal-300); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.74); padding: 52px 0 24px; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color:#fff; font-size:.96rem; margin-bottom: 13px; }
.site-footer a { color: rgba(255,255,255,.74); display:block; margin-bottom:8px; font-size:.92rem; }
.site-footer a:hover { color: var(--teal-300); }
.site-footer .logo-text .wm-top { color:#fff; }
.site-footer .logo-text .wm-bot { color: var(--teal-300); }
.footer-about p { color: rgba(255,255,255,.6); font-size:.92rem; margin-top:14px; }
.footer-brands { color: rgba(255,255,255,.58); font-size:.88rem; margin-top:12px; }
.footer-brands strong { color: var(--teal-300); font-weight:600; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px;
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:.82rem; color: rgba(255,255,255,.5); }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.note { background: var(--blue-100); border-left: 3px solid var(--blue); border-radius: 6px; padding: 14px 18px; font-size:.9rem; color: var(--ink-soft); }
.pill-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.pill { background:#fff; border:1px solid var(--navy-100); border-radius:6px; padding:7px 15px; font-family:var(--font-head); font-weight:500; font-size:.86rem; color:var(--navy); }
.section.dark .pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color:#fff; }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
