/* ==========================================================================
   Ascend Solutions — Design System
   Brand: BRAND.md + DRAFT V1 Ascend Brand Guidelines
   Palette: teal #265D76 (primary) · sky #6EACE5 (accent) · azure #E9EFF1 (light)
            slate #1D2228 (dark) · black #000000 · white #FFFFFF
   Type: Montserrat (Bold headings / Regular body)
   ========================================================================== */

:root {
  --teal:   #265D76;
  --teal-d: #1c485c;          /* hover/darker teal */
  --sky:    #6EACE5;
  --sky-l:  #9cc8ee;
  --azure:  #E9EFF1;
  --slate:  #1D2228;
  --black:  #000000;
  --white:  #FFFFFF;

  --ink:    #1D2228;          /* primary text on light */
  --muted:  #5a6b76;          /* secondary text on light */
  --line:   #d7e2e8;          /* hairline borders */
  --ink-on-dark:  #eef4f7;
  --muted-on-dark:#9fb3bf;

  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 50px -22px rgba(29,34,40,.35);
  --shadow-sm: 0 8px 24px -14px rgba(29,34,40,.30);

  --f: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-d); }

h1,h2,h3,h4 { font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.28rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--azure { background: var(--azure); }
.section--dark  { background: var(--slate); color: var(--ink-on-dark); }
.section--dark h1,.section--dark h2,.section--dark h3 { color: #fff; }
.section--dark .lead,.section--dark p { color: var(--muted-on-dark); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--sky); }
.center { text-align: center; }
.measure { max-width: 760px; }
.measure.center { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .98rem; font-family: var(--f);
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.section--dark .btn--ghost:hover { background: #fff; color: var(--slate); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav__links a:hover { color: var(--teal); }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--azure); padding: 96px 0 88px; }
.hero__mark {
  position: absolute; right: -4%; bottom: -22%; width: min(640px, 56%);
  opacity: .07; pointer-events: none; user-select: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 17ch; }
.hero .lead { max-width: 56ch; margin-bottom: 30px; font-size: 1.28rem; }
.hero__kicker { font-weight: 700; color: var(--teal); letter-spacing: .04em; margin-bottom: 18px; }

/* ---------- attribution (78/14/4/4) ---------- */
.attrib { display: grid; gap: 14px; margin: 28px 0 6px; }
.attrib__row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 18px; }
.attrib__pct { font-size: 1.7rem; font-weight: 800; color: #fff; text-align: right; }
.attrib__bar { height: 46px; border-radius: 8px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.attrib__fill { position: absolute; inset: 0 auto 0 0; display: flex; align-items: center; padding: 0 16px;
  font-weight: 600; font-size: .95rem; color: #fff; border-radius: 8px; white-space: nowrap; }
.attrib__fill--lg { background: linear-gradient(90deg, var(--teal), var(--sky)); }
.attrib__fill--sm { background: rgba(110,172,229,.5); }
.attrib__note { font-size: .9rem; color: var(--muted-on-dark); }

/* ---------- capture list ---------- */
.capture { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; margin-top: 12px; }
.capture__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px; box-shadow: var(--shadow-sm); position: relative; padding-left: 22px;
}
.capture__item::before { content: ""; display: block; width: 30px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--teal), var(--sky)); margin-bottom: 14px; }
.capture__item strong { display: block; font-weight: 700; color: var(--ink); }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 22px; margin-top: 16px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); }
.pillar__n { font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--sky); }
.pillar h3 { margin: 10px 0 12px; }
.pillar p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 14px; margin-top: 20px; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 20px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; }
.step__n { counter-increment: step; width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.15rem; }
.step__n::before { content: counter(step); }
.step h3 { margin: 4px 0 4px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- results / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 20px; margin-top: 12px; }
.stat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 26px 22px; }
.stat__num { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; line-height: 1;
  background: linear-gradient(90deg, var(--sky), #bfe0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 10px; font-size: .92rem; color: var(--muted-on-dark); }
.stat--accent { background: linear-gradient(135deg, var(--teal), #2f7493); border-color: transparent; }
.stat--accent .stat__num { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.stat--accent .stat__label { color: rgba(255,255,255,.85); }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(135deg, var(--teal), #2c6e8c); color: #fff; border-radius: 22px;
  padding: 56px; text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; max-width: 22ch; margin: 0 auto .4em; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 60ch; margin: 0 auto 26px; }
.cta-band .btn--primary { background: #fff; color: var(--teal); }
.cta-band .btn--primary:hover { background: var(--azure); color: var(--teal-d); }

/* ---------- two-column split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split--reverse > :first-child { order: 2; }

/* ---------- chain line ---------- */
.chain { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font-weight: 800;
  font-size: clamp(1.1rem,2.4vw,1.5rem); letter-spacing: -.01em; }
.chain span { color: var(--teal); }
.chain em { color: var(--sky); font-style: normal; }
.section--dark .chain span { color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--slate); color: var(--muted-on-dark); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img.footer__logo { height: 40px; margin-bottom: 18px; }
.site-footer p { color: var(--muted-on-dark); font-size: .95rem; max-width: 38ch; }
.footer__col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin: 9px 0; }
.footer__col a { color: var(--muted-on-dark); font-size: .95rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 44px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; color: var(--muted-on-dark); }
.footer__bottom a { color: var(--muted-on-dark); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.tagline { font-style: italic; color: var(--teal); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse > :first-child { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column;
    gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transform: translateY(-130%); transition: transform .25s ease; }
  .nav__links.open { transform: translateY(0); }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 14px 24px; }
  .nav__toggle { display: block; }
  .cta-band { padding: 40px 24px; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Interior pages (added for Solutions / About / Podcast / Contact / Legal)
   ========================================================================== */

/* skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip:focus { left: 0; }

/* compact interior page header */
.subhero { background: var(--azure); padding: 66px 0 58px; position: relative; overflow: hidden;
  display: flex; align-items: center; min-height: 252px; }
.subhero .container { position: relative; z-index: 2; width: 100%; }
.subhero h1 { max-width: 20ch; }
.subhero .lead { max-width: 62ch; margin-bottom: 0; }
.subhero__mark { position: absolute; right: -2%; bottom: -28%; height: 152%; width: auto;
  opacity: .055; pointer-events: none; user-select: none; }

/* long-form prose (legal + policy pages) */
.prose { max-width: 770px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.16rem; margin-top: 1.6em; margin-bottom: .5em; }
.prose p, .prose li { color: #38444c; }
.prose ul { padding-left: 1.2em; margin: .6em 0 1.2em; }
.prose li { margin: .45em 0; }
.legal-meta { color: var(--muted); font-size: .95rem; border-left: 3px solid var(--sky);
  padding: 4px 0 4px 16px; margin: 0 0 30px; }
.legal-meta strong { color: var(--ink); }
.note-box { background: var(--azure); border-radius: var(--radius-sm); padding: 18px 22px;
  margin: 22px 0; font-size: .97rem; }

/* who-we-serve cards */
.serve { display: grid; gap: 22px; }
.serve__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px; box-shadow: var(--shadow-sm); }
.serve__card h3 { margin-top: 0; }
.serve__card ul { margin: 14px 0 20px; padding-left: 1.1em; color: var(--muted); }
.serve__card li { margin: .4em 0; }

/* podcast subscribe row */
.subscribe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.subscribe a { display: inline-flex; align-items: center; gap: .5em; padding: 13px 24px;
  border: 1px solid var(--line); border-radius: 999px; font-weight: 700; background: #fff; color: var(--ink); }
.subscribe a:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

/* contact form */
.form { display: grid; gap: 18px; max-width: 620px; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 9px; font-family: var(--f); font-size: 1rem; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sky); border-color: var(--sky); }
.field textarea { min-height: 130px; resize: vertical; }
.field .req { color: #c0392b; }
.form__note { font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* embedded scheduler */
.embed-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow-sm); max-width: 940px; margin: 0 auto; }
.embed-card iframe { width: 100%; min-height: 760px; border: 0; border-radius: 8px; }

/* media images (podcast hero etc.) */
.media { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; height: auto; }

/* podcast episode cards */
.epcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; margin-top: 12px; }
.epcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.epcard__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--azure); }
.epcard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.epcard__tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.epcard__body h3 { font-size: 1.04rem; line-height: 1.25; margin: 0; }
.epcard__body p { color: var(--muted); font-size: .94rem; margin: 0; }
.epcard .ep-listen { margin-top: auto; padding-top: 6px; font-weight: 700; }

/* subscribe pills with platform icons */
.subscribe a img { width: 22px; height: 22px; display: block; }
