/* =========================================================
   Socialwise — 2026 redesign
   Standalone stylesheet (no Bootstrap / template CSS).
   Brand colors come from the Socialwise logo:
   sky blue #44A5F5 and leaf green #82C884.
   ========================================================= */

:root {
  /* brand */
  --blue: #44a5f5;
  --blue-600: #1f7fd0;
  --blue-800: #0f4c86;
  --green: #82c884;
  --green-600: #4fa855;
  --green-700: #3a8a40;

  /* ink + surfaces */
  --ink: #0b1f33;
  --ink-2: #33475b;
  --ink-3: #5b6e80;
  --navy: #0b2540;
  --navy-2: #12365c;
  --paper: #ffffff;
  --mist: #f3f7fb;
  --line: #d6e1ec;

  /* type */
  --f-display: "Sora", system-ui, sans-serif;
  --f-serif: "Source Serif 4", Georgia, serif;
  --f-body: "Inter", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --shadow: 0 18px 40px -24px rgba(11, 37, 64, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 99; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }

/* Green punctuation — the brand's "wise" color closing a headline */
.dot { color: var(--green-600); }
.on-dark .dot, .band .dot { color: var(--green); }

/* Circuit-node rule: a line that ends in a node, borrowed from the logo mark */
.node-rule {
  position: relative; height: 2px; background: var(--line);
  margin: 0 0 28px; max-width: 220px;
}
.node-rule::after {
  content: ""; position: absolute; right: -6px; top: 50%;
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--blue); background: var(--paper);
  transform: translateY(-50%);
}
.on-dark .node-rule { background: rgba(255,255,255,.25); }
.on-dark .node-rule::after { background: var(--navy); border-color: var(--green); }

.eyebrow {
  font-family: var(--f-body); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 14px; display: inline-block;
}
.on-dark .eyebrow { color: var(--green); }

.lead {
  font-family: var(--f-serif);
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-2);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-weight: 600; font-size: 16px;
  padding: 15px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-800); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--green); color: var(--navy); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
/* blur lives on a pseudo-element so the fixed mobile nav isn't trapped inside the header */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11,37,64,.4); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 84px; }
.brand img { height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav a, .nav button {
  font: 500 15px/1 var(--f-body); color: var(--ink);
  padding: 12px 14px; border-radius: 10px; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav a:hover, .nav button:hover { background: var(--mist); color: var(--blue-800); }
.nav a[aria-current="page"] { color: var(--blue-600); }
.nav .caret { width: 10px; height: 10px; transition: transform .2s; }
.has-menu { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 10px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu a { display: block; padding: 11px 14px; font-size: 15px; line-height: 1.3; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.open .submenu {
  opacity: 1; visibility: visible; transform: none;
}
.has-menu:hover .caret, .has-menu.open .caret { transform: rotate(180deg); }
.nav .btn { margin-left: 10px; padding: 12px 22px; }
.nav .btn--primary, .nav .btn--primary:hover { color: #fff; background: var(--blue-600); border-radius: 999px; }
.nav .btn--primary:hover { background: var(--blue-800); }
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .site-header .wrap { height: 72px; }
  .brand img { height: 34px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 0 0; background: #fff;
    padding: 16px var(--gutter) 40px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav button { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 18px; border-radius: 0; }
  .nav a:hover, .nav button:hover { background: none; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 12px 12px; display: none;
  }
  .has-menu.open .submenu { display: block; }
  .has-menu:hover .submenu { display: none; }
  .has-menu.open:hover .submenu { display: block; }
  .submenu a { font-size: 16px; padding: 10px 4px; }
  .nav > ul > li:last-child { border: 0; padding-top: 20px; }
  .nav .btn { margin: 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; }
.hero__media {
  height: clamp(200px, 30vw, 360px);
  background: var(--navy-2) url("../images/banner-home-img.jpg") center 40% / cover no-repeat;
  position: relative; overflow: hidden;
}
/* blue duotone wash so the stock photo reads as brand imagery */
.hero__media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,76,134,.35), rgba(11,37,64,.75));
  mix-blend-mode: multiply;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 0%, rgba(130,200,132,.35), transparent 55%);
}
.hero__band { background: var(--navy); color: #dbe7f3; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; }
.hero__band::before { /* node connector rising into the photo */
  content: ""; position: absolute; left: calc(50% - var(--wrap)/2 + var(--gutter) + 6px); top: -48px;
  width: 2px; height: 48px; background: var(--green);
}
.hero__band::after {
  content: ""; position: absolute; left: calc(50% - var(--wrap)/2 + var(--gutter)); top: -60px;
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--green); background: var(--navy);
}
@media (max-width: 1260px) {
  .hero__band::before { left: calc(var(--gutter) + 6px); }
  .hero__band::after { left: var(--gutter); }
}
.hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: end; }
.hero h1 {
  color: #fff; font-weight: 800;
  font-size: clamp(40px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -.035em; margin: 0;
}
.hero .lead { color: #cfe0f0; margin-bottom: 28px; }
.hero__foot {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  font: 500 14px/1.4 var(--f-body); color: #9fb6cc; letter-spacing: .02em;
}
.hero__foot span { display: inline-flex; align-items: center; gap: 10px; }
.hero__foot span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; align-items: start; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #cfe0f0; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(68,165,245,.28), transparent 55%),
    radial-gradient(ellipse at 0% 120%, rgba(130,200,132,.18), transparent 50%);
}
.page-hero .wrap { position: relative; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 62px); font-weight: 800; letter-spacing: -.03em; max-width: 16ch; margin-bottom: 18px; }
.page-hero .lead { color: #cfe0f0; max-width: 60ch; margin: 0; }
.crumbs { font: 500 14px/1 var(--f-body); color: #9fb6cc; margin-bottom: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { color: #cfe0f0; }
.crumbs a:hover { color: #fff; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--mist { background: var(--mist); }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2, .h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; }
.section-head p { color: var(--ink-3); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--top { align-items: start; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

/* image frame — one squared corner, three soft ones, plus a node accent */
.frame { position: relative; }
.frame img {
  width: 100%; border-radius: var(--radius) var(--radius) var(--radius) 0;
  background: var(--mist); aspect-ratio: 1 / 1; object-fit: cover;
}
.frame--contain img { object-fit: contain; background: #fff; border: 1px solid var(--line); }
.frame::before {
  content: ""; position: absolute; left: -14px; bottom: -14px; width: 46%; height: 46%;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  pointer-events: none;
}
.frame::after {
  content: ""; position: absolute; left: calc(46% - 20px); bottom: -20px;
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--green); background: var(--paper);
}
.section--mist .frame::after { background: var(--mist); }

.checks { list-style: none; margin: 8px 0 32px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: #e5f4e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a8a40' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.on-dark .checks li { color: #cfe0f0; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  position: relative; padding: 36px 32px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper); color: inherit; display: flex; flex-direction: column; transition: background .2s;
}
.service:hover { background: var(--mist); color: inherit; }
.service__num { font: 600 13px/1 var(--f-body); letter-spacing: .12em; color: var(--ink-3); margin-bottom: 40px; display: flex; align-items: center; gap: 12px; }
.service__num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.service__icon { width: 52px; height: 52px; border-radius: 14px; background: #e6f2fd; display: grid; place-items: center; margin-bottom: 22px; transition: background .2s; }
.service__icon svg { width: 28px; height: 28px; stroke: var(--blue-600); }
.service:hover .service__icon { background: var(--blue-600); }
.service:hover .service__icon svg { stroke: #fff; }
.service h3 { font-size: 22px; margin-bottom: 10px; }
.service p { font-size: 16px; color: var(--ink-3); margin-bottom: 24px; }
.service__more { margin-top: auto; font: 600 15px/1 var(--f-body); color: var(--blue-600); display: inline-flex; align-items: center; gap: 8px; }
.service__more svg { width: 16px; height: 16px; transition: transform .2s; }
.service:hover .service__more svg { transform: translateX(4px); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } .service__num { margin-bottom: 24px; } }

/* ---------- statement band ---------- */
.statement { background: var(--navy); color: #cfe0f0; text-align: center; position: relative; overflow: hidden; }
.statement .wrap { position: relative; }
.statement__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.statement h2 {
  font-family: var(--f-serif); font-weight: 400; letter-spacing: -.01em;
  color: #fff; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.15; max-width: 20ch; margin: 0 auto 24px;
}
.statement h2 em { font-style: italic; color: var(--green); }
.statement p { max-width: 62ch; margin: 0 auto 34px; color: #b8cde1; }

/* ---------- credential / training list ---------- */
.ledger { list-style: none; border-top: 2px dotted var(--line); }
.ledger li { border-bottom: 2px dotted var(--line); }
.ledger a, .ledger div {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center;
  padding: 18px 4px; color: var(--ink); font-weight: 500;
}
.ledger img { width: 56px; height: 56px; object-fit: contain; }
.ledger small { display: block; color: var(--ink-3); font-weight: 400; font-size: 14px; }
.ledger svg { width: 18px; height: 18px; stroke: var(--ink-3); transition: transform .2s, stroke .2s; }
.ledger a:hover { color: var(--blue-800); }
.ledger a:hover svg { transform: translateX(4px); stroke: var(--blue-600); }

/* ---------- clients ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logos li { flex: 0 0 calc((100% - 96px) / 7); list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; padding: 22px; aspect-ratio: 3 / 2; }
.logos img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }
.fineprint { font-size: 13px; color: var(--ink-3); margin-top: 18px; }
@media (max-width: 1060px) { .logos li { flex-basis: calc((100% - 48px) / 4); } }
@media (max-width: 620px) { .logos li { flex-basis: calc((100% - 16px) / 2); } }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--blue-800) 0%, var(--blue-600) 60%, #2f9a8a 100%);
  color: #e6f2fd; text-align: center; position: relative; overflow: hidden;
}
.cta .wrap { position: relative; }
.cta h2 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; margin-bottom: 16px; }
.cta p { font-family: var(--f-serif); font-size: clamp(19px, 1.7vw, 22px); max-width: 52ch; margin: 0 auto 34px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta__rings { position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; opacity: .18; }
.cta__rings--l { left: -160px; right: auto; top: auto; bottom: -200px; }

/* ---------- prose (inner pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul:not(.checks) { padding-left: 1.2em; margin: 0 0 1em; }
.prose .checks { margin-top: 16px; }

.aside-card {
  position: sticky; top: 112px; background: var(--mist); border-radius: var(--radius) var(--radius) var(--radius) 0;
  padding: 32px;
}
.aside-card h3 { font-size: 20px; }
.aside-card p { font-size: 16px; color: var(--ink-3); }
.aside-card ul { list-style: none; margin: 0 0 22px; }
.aside-card li { border-bottom: 1px solid var(--line); }
.aside-card li a { display: flex; justify-content: space-between; padding: 12px 0; color: var(--ink); font-weight: 500; font-size: 15px; }
.aside-card li a[aria-current="page"] { color: var(--blue-600); }
.aside-card li a:hover { color: var(--blue-600); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 6vw, 88px); align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .aside-card { position: static; } }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: #fff;
}
.card h3 { font-size: 20px; margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline; }
.card h3 span { font: 600 13px/1 var(--f-body); color: var(--green-700); letter-spacing: .1em; }
.card p { font-size: 16px; color: var(--ink-3); margin: 0; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .cards, .cards--3 { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 8px 0 32px; }
.facts div { padding: 20px 22px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font: 600 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.facts dd { margin: 0; font-family: var(--f-display); font-weight: 600; color: var(--ink); }

.badge-img { width: 140px; height: auto; margin-bottom: 24px; }

/* ---------- contact ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { font: 600 14px/1 var(--f-body); color: var(--ink); display: block; margin-bottom: 8px; }
.form input, .form textarea, .form select {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(68,165,245,.18); }
.form .btn { justify-self: start; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.contact-list { list-style: none; display: grid; gap: 24px; margin-top: 12px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact-list .ic { width: 48px; height: 48px; border-radius: 14px; background: #e6f2fd; display: grid; place-items: center; }
.contact-list .ic svg { width: 22px; height: 22px; stroke: var(--blue-600); }
.contact-list strong { display: block; color: var(--ink); font-family: var(--f-display); }

/* ---------- footer ---------- */
.site-footer { background: #071a2e; color: #9fb6cc; font-size: 15px; padding: clamp(56px, 7vw, 88px) 0 32px; }
.site-footer a { color: #cfe0f0; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 2fr; gap: 40px; }
.footer-brand img { filter: brightness(0) invert(1); height: 38px; width: auto; margin-bottom: 22px; }
.footer-brand address { font-style: normal; line-height: 1.7; margin-bottom: 14px; }
.site-footer h4 { font: 600 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 860px) { .split > .frame { margin: 0 0 24px 14px; } }
.cards--stack { grid-template-columns: 1fr; }
.card .checks { margin: 16px 0 0; gap: 10px; }
.card .checks li { font-size: 15px; color: var(--ink-3); }
.form-status { margin: 0; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: #b42318; }

/* ---------- capabilities ---------- */
.submenu--wide { left: auto; right: -120px; min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
.submenu__all { grid-column: 1 / -1; border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-bottom: 6px; }
.submenu__all a { font-weight: 600; color: var(--blue-600) !important; display: flex !important; justify-content: space-between; }
@media (max-width: 960px) { .submenu--wide { min-width: 0; grid-template-columns: 1fr; } .has-menu.open .submenu--wide { display: grid; } }
.services--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .services--2 { grid-template-columns: 1fr; } }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 760px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.help-box { background: var(--mist); border-radius: var(--radius) var(--radius) var(--radius) 0; padding: 28px 30px 10px; margin: 32px 0; }
.help-box h3 { margin-top: 0; font-size: 20px; }
.footer-caps ul { display: block; columns: 2; column-gap: 32px; }
.footer-caps li { margin-bottom: 10px; break-inside: avoid; }

/* key/value ledger rows (representative work, certifications, NAICS) */
.ledger--work li > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 24px; align-items: baseline; }
.ledger__k { font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.ledger--work li > div > span:last-child { color: var(--ink-3); font-weight: 400; font-size: 15px; }
@media (max-width: 620px) { .ledger--work li > div { grid-template-columns: 1fr; } }
.prose .ledger--work { margin-bottom: 1em; }
.services--4 { grid-template-columns: repeat(4, 1fr); }
.services--4 .service { padding: 30px 24px 34px; }
.services--4 .service h3 { font-size: 20px; }
@media (max-width: 1100px) { .services--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services--4 { grid-template-columns: 1fr; } }

/* placeholder text waiting on real data — easy to spot */
.tbd { background: #fff3cd; color: #7a5300; padding: 1px 8px; border-radius: 6px; font-weight: 600; font-size: .95em; }
.footer-grid { grid-template-columns: 1.2fr .8fr 1.9fr 1fr; }
@media (max-width: 1060px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* official SBA certification icons — shown as supplied, never recolored */
.sba-badges { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 4px 0 28px; }
.sba-badges img { height: 120px; width: auto; }
.sba-badges--sm { margin: 0 0 22px; gap: 10px; }
.sba-badges--sm img { height: 64px; }
.sba-badges--row img { height: 110px; }
.sba-badges--row img[src*="cbe"] { height: 110px; border-radius: 16px; }

/* ---------- certification credentials ---------- */
/* list rows with a logo tile */
.ledger--certs li > div { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.2fr); gap: 6px 20px; align-items: center; padding: 14px 4px; }
.cert-thumb {
  width: 56px; height: 56px; border-radius: 14px 14px 14px 0; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
}
.cert-thumb img { max-width: 46px; max-height: 46px; width: auto; height: auto; object-fit: contain; }
.cert-thumb svg { width: 24px; height: 24px; stroke: var(--blue-600); }
.ledger--certs li > div > span:last-child { color: var(--ink-3); font-weight: 400; font-size: 15px; }
@media (max-width: 620px) {
  .ledger--certs li > div { grid-template-columns: 56px minmax(0, 1fr); }
  .ledger--certs li > div > span:last-child { grid-column: 2; }
}

/* credential cards inside the dark page hero */
.page-hero--creds .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: end; }
.page-hero--creds .wrap > * { grid-column: 1; }
.page-hero--creds .hero-creds { grid-column: 2; grid-row: 1 / span 4; align-self: end; display: flex; gap: 16px; }
.cred {
  margin: 0; background: #fff; border-radius: 18px 18px 18px 0; padding: 14px 14px 10px;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); position: relative; text-align: center;
}
.cred img { height: 132px; width: auto; display: block; margin: 0 auto; }
.cred figcaption { font: 600 11px/1 var(--f-body); letter-spacing: .14em; color: var(--ink-3); margin-top: 10px; text-transform: uppercase; }
.cred::after { /* node accent tying the card to the brand motif */
  content: ""; position: absolute; left: -7px; bottom: -7px; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--green); background: var(--navy);
}
@media (max-width: 860px) {
  .page-hero--creds .wrap { display: block; }
  .page-hero--creds .hero-creds { margin-top: 28px; }
  .cred img { height: 96px; }
}

/* badge pair on the Engage overview card */
.service__icon--badges { width: auto; height: 64px; padding: 6px 8px; gap: 6px; display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 14px 0; }
.service__icon--badges img { height: 50px; width: auto; }
.service:hover .service__icon--badges { background: #fff; border-color: var(--blue); }

/* About — culture list and statement eyebrow */
.culture-list { display: grid; gap: 0; border-top: 2px dotted var(--line); }
.culture-item { padding: 24px 0; border-bottom: 2px dotted var(--line); }
.culture-item h3 { font-size: 21px; margin-bottom: 8px; }
.culture-item p { margin: 0; color: var(--ink-3); }
.statement .eyebrow { display: block; margin-bottom: 18px; }
.facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.facts--3 div { padding: 16px 16px; }
.facts--3 dd { font-size: 15px; line-height: 1.3; }

/* About — founders' story */
.founders { display: grid; gap: 14px; margin-top: 28px; }
.founder { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 18px 0; padding: 14px 18px; max-width: 320px; }
.founder strong { display: block; font-family: var(--f-display); font-size: 18px; color: var(--ink); }
.founder span:not(.founder__mark) { font-size: 14px; color: var(--ink-3); }
.founder__mark {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font: 800 18px/1 var(--f-display); letter-spacing: .02em; color: #fff; background: var(--blue-600); position: relative;
}
.founder__mark--green { background: var(--green-600); }
.founder__mark::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: var(--green); }
.founder__mark--green::after { background: var(--blue); }
.pullquote {
  margin: clamp(40px, 6vw, 72px) 0 0; padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 56px);
  background: var(--navy); color: #fff; border-radius: var(--radius) var(--radius) var(--radius) 0; position: relative;
}
.pullquote::before { content: "\201C"; position: absolute; left: clamp(18px, 3vw, 32px); top: -6px; font: 400 120px/1 var(--f-serif); color: var(--green); }
.pullquote p { font: 400 clamp(22px, 2.6vw, 32px)/1.35 var(--f-serif); margin: 0 0 14px; padding-left: clamp(28px, 4vw, 48px); max-width: 36ch; }
.pullquote footer { padding-left: clamp(28px, 4vw, 48px); font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #9fb6cc; }
.pullquote { background: #fff; color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--green-600); }
.pullquote p { color: var(--ink); }
.pullquote footer { color: var(--ink-3); }
.founder--lead { border-color: var(--green-600); }
.founder__li { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-3); border: 1px solid var(--line); transition: color .2s, border-color .2s, background .2s; }
.founder__li svg { width: 16px; height: 16px; fill: currentColor; }
.founder__li:hover { color: #fff; background: #0a66c2; border-color: #0a66c2; }
.founder { max-width: 380px; }
.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
