/* ==== 00-base.css ==== */
/* Kest Advisory: design tokens, reset, typography. */
:root {
  --navy: #1c2d58;
  --gold: #c6a95d;
  --gold-dark: #b0924a;
  --bronze: #a4713a;
  --text: #3b4753;
  --footer-bg: #f8f8f8;
  --white: #fff;
  --head: "Spline Sans", "Open Sans", Arial, sans-serif;
  --body: "Open Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.49;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.49em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul { margin: 0; padding: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- headings: Spline Sans, uppercase, navy */
.h-display, .h-section, .h-card {
  font-family: var(--head);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.41;
}
.h-display { font-size: 42px; }
.h-display--sm { font-size: 35px; }
.h-section { font-size: 28px; margin-bottom: 8px; }
.h-card { font-size: 21px; }
.on-navy .h-section, .on-navy .h-card { color: #fff; }

@media (max-width: 767px) {
  .h-display { font-size: 24px; }
  .h-display--sm { font-size: 24px; }
  .h-section { font-size: 24px; }
}

/* ==== 10-header-footer.css ==== */
/* ---- header */
.site-header {
  background: #fff;
  padding: 15px 20px;
  position: relative;
  z-index: 20;
}
.site-header__inner {
  max-width: 1081px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo { flex: 0 0 auto; padding-left: 15px; }
.site-logo img { width: 210px; height: auto; }

.nav__list { list-style: none; display: flex; align-items: center; gap: 0; }
.nav__list a {
  display: block;
  padding: 5px 14px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  line-height: 34px;
  transition: color .2s;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--gold-dark); }
.nav .nav__cta a { border: 1px solid var(--bronze); margin-left: 0; }
.nav .nav__cta a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.nav .nav__cta a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.nav-toggle {
  display: none;
  width: 49px; height: 49px;
  border: 0; background: none; padding: 10px 8px; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 3px; border-radius: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .site-header { padding: 10px 10px 10px 20px; }
  .site-logo { padding-left: 0; }
  .nav-toggle { display: flex; margin-right: 5px; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,.12);
    border-top: 1px solid #eee;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .nav__list a { padding: 8px 24px; font-size: 17px; }
  .nav__cta { padding: 8px 24px 0; }
  .nav__cta a { display: inline-block; }
}

/* ---- footer */
.site-footer { background: var(--footer-bg); padding: 31px 20px 20px; text-align: center; color: var(--navy); }
.site-footer__logo { display: inline-block; }
.site-footer__logo img { width: 210px; height: auto; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 14px 0 6px; }
.footer-nav a {
  display: block;
  padding: 2px 25px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  line-height: 28px;
}
.footer-nav a:hover { color: var(--gold-dark); }
.site-footer__small {
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 1.75;
  margin: 0 0 19px;
}
.site-footer__small:last-child { margin-bottom: 0; }
.site-footer__small a { text-decoration: none; }
.site-footer__small a:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .footer-nav ul { flex-direction: column; }
  .footer-nav a { padding: 4px 10px; }
}

/* ==== 20-components.css ==== */
/* ---- layout */
.section { padding: 45px 20px; }
.section--navy { background: var(--navy); color: #fff; padding-top: 75px; padding-bottom: 70px; }
.section--navy a { color: #fff; }
.wrap { max-width: 1080px; margin: 0 auto; }
.wrap--wide { max-width: 1370px; }
.wrap--mid { max-width: 1094px; }
.wrap--narrow { max-width: 960px; }
.center { text-align: center; }
.stack > * + * { margin-top: 28px; }
.mt-0 { margin-top: 0 !important; }

/* ---- buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: #fff !important;
  font-family: var(--head);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 22px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 28px;
  border: 0;
  cursor: pointer;
  transition: background-color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--navy); }
.section--navy .btn:hover, .section--navy .btn:focus-visible { background: var(--gold-dark); }
.btn-row { margin-top: 12px; }

/* ---- page hero: photo with a translucent, gold-bordered text box */
.hero {
  position: relative;
  min-height: 601px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--navy);
  overflow: hidden;
}
.hero--home { min-height: 644px; justify-content: flex-end; padding-right: 42px; }
.hero__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 906px;
  padding: 14px;
  text-align: center;
  color: var(--navy);
  background: rgba(255, 255, 255, .7);
  border: 2px solid var(--gold);
}
.hero--home .hero__box { max-width: 979px; }
.hero__inner { padding: 8px 20px 6px; }
.hero__lead { font-size: 21px; font-weight: 500; line-height: 1.42; margin: 4px 0 16px; }
.hero--home .hero__lead { font-size: 24px; }
.hero__lead:last-child { margin-bottom: 4px; }
.hero__img, .band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* On phones the photo sits on top and the text box sits below it (as on the live site). */
@media (max-width: 767px) {
  .hero, .hero--home {
    min-height: 0; display: block; padding: 0; background: #fff;
  }
  .hero__img { position: static; height: 350px; }
  .hero__box {
    max-width: none;
    border: 0;
    padding: 21px 14px;
    background: rgba(164, 113, 58, .35);
  }
  .hero--home .hero__box { border: 2px solid var(--bronze); padding: 14px; }
  .hero__inner { padding: 0; }
  .hero__lead { font-size: 17px; line-height: 1.42; margin: 6px 0 16px; }
}

/* ---- split: text + photo */
.split { display: grid; grid-template-columns: minmax(0, 849fr) minmax(0, 493fr); gap: 14px; align-items: stretch; padding: 0 14px; }
.split__text { padding-right: 28px; }
.split__media { background: center / cover no-repeat; min-height: 360px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--media-left { grid-template-columns: minmax(0, 493fr) minmax(0, 849fr); }
.split--middle { align-items: center; }
@media (max-width: 767px) {
  .split, .split--media-left { grid-template-columns: 1fr; gap: 24px; padding: 0; }
  .split__text { padding-right: 0; }
  .split__text > h2, .split__text > p { text-align: center; }
}

/* ---- chevron list */
.chev-list { list-style: none; margin: 0 0 12px; }
.chev-list li { position: relative; padding-left: 38px; font-size: 18px; line-height: 1.4; margin-bottom: 11px; }
.chev-list li::before {
  content: ""; position: absolute; left: 16px; top: .5em;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

/* ---- check list */
.check-list { list-style: none; margin: 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.check-list li::before {
  content: ""; position: absolute; left: 3px; top: .35em;
  width: 6px; height: 11px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
}

/* ---- bordered cards (home: Client Results and Benefits) */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 21px; margin: 24px 0 36px; }
.card { border: 1px solid var(--navy); padding: 7px 7px 10px; text-align: center; }
.card .h-card { margin: 4px 0 8px; }
.card__img { width: 300px; max-width: 100%; aspect-ratio: 300 / 140; object-fit: cover; margin: 0 auto; }
.card__icon { width: 21px; height: 20px; margin: 14px auto 8px; }
.card p { font-size: 18px; line-height: 1.49; padding: 0 6px; }
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .cards { grid-template-columns: 1fr; } }

/* ---- photo band with a text box (home bottom, about, approach, services) */
.band {
  position: relative;
  overflow: hidden;
  background: #111;
  padding: 208px 20px;
  display: flex;
}
.band__box {
  position: relative;
  z-index: 1;
  max-width: 783px;
  padding: 14px;
  text-align: center;
  color: var(--navy);
  background: rgba(255, 255, 255, .7);
  border: 2px solid var(--gold);
}
.band--left { justify-content: flex-start; padding-left: 49px; }
.band--center { justify-content: center; }
.band__box--bronze { border-color: var(--bronze); }
.band__box p { font-weight: 500; }
@media (max-width: 767px) {
  .band, .band--left { display: block; padding: 0; background: #fff; }
  .band--static .h-display, .hero--home .h-display { font-size: 19px; }
  .band__box p { font-size: 17px; line-height: 1.42; }
  .band__img { position: static; height: 350px; }
  .band__box { max-width: none; border: 0; padding: 28px 16px; background: rgba(164, 113, 58, .35); }
}
.mb-sm { margin-bottom: 12px; }

/* Desktop: band photos stay fixed while the page scrolls (as on the live site). clip-path keeps
   the fixed image inside its own band. Phones get the plain stacked photo. */
@media (min-width: 768px) {
  .band { clip-path: inset(0); }
  .band:not(.band--static) .band__img { position: fixed; inset: 0; width: 100vw; height: 100vh; }
}

/* ==== 30-forms.css ==== */
/* ---- form panel: white card that sits inside a navy section (contact page) */
.form-panel {
  max-width: 770px;
  margin: 28px auto 0;
  padding: 28px;
  background: #fff;
  text-align: left;
}
.form-panel .form { color: var(--text); }

.form__req { font-size: 16px; color: var(--text); margin: 0 0 18px; }
.form__req-mark { color: #c0392b; }

.form__row { margin-bottom: 24px; }
.form__row:last-of-type { margin-bottom: 22px; }

.form__label {
  display: block;
  font-family: var(--body);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.form__input {
  display: block;
  width: 100%;
  font-family: var(--body);
  font-size: 17px;
  color: var(--text);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 11px 12px;
}
.form__input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form__input--textarea { resize: vertical; min-height: 150px; }

.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { margin: 0 0 4px; min-height: 1.2em; font-size: 16px; }
.form__status.is-ok { color: #2f7d3c; }
.form__status.is-error { color: #c0392b; }

/* Deviation: the live Ninja Forms button is plain gray; ours uses the site's gold .btn style
   for visual consistency with every other call-to-action on the site. */
.form-panel .btn { font-size: 18px; }

@media (max-width: 767px) {
  .form-panel { padding: 21px; margin-top: 24px; }
  .form__label, .form__req, .form__input { font-size: 16px; }
}

/* ==== 40-pages-a.css ==== */
/* ---- about / our-approach / services: shared page classes ---- */

/* hero/band photo crop focus (matches live site's background-position per photo) */
.hero__img--about { object-position: 50% 96%; }
.band__img--about { object-position: 50% 53%; }
.hero__img--approach { object-position: 50% 32%; }
.band__img--approach { object-position: 50% 50%; }
.hero__img--services { object-position: 50% 0%; }
.band__img--services { object-position: 50% 50%; }
@media (max-width: 767px) {
  .hero__img--about { object-position: 65% 50%; }
  .band__img--about { object-position: 72% 50%; }
}

/* stacked centered heading+paragraph blocks (about: Mission, Industry Expertise, etc.) */
.info-blocks__item + .info-blocks__item { margin-top: 60px; }
.info-blocks__item p + p { margin-top: 1.49em; }

/* wide band box variant (about/our-approach/services bottom bands: single-line h-display--sm heading) */
.band__box--wide { max-width: 1058px; }

/* narrower split ratio, used inside .wrap--mid rows (about: Managing Partner) */
.split--mid { grid-template-columns: minmax(0, 621fr) minmax(0, 445fr); gap: 28px; }
.split--mid .split__text { padding-right: 0; }
@media (max-width: 767px) {
  .split--mid { grid-template-columns: 1fr; gap: 24px; }
}

/* our-approach: Quaestio split with the 5I image seated between two text chunks on phones */
.quaestio {
  display: grid;
  grid-template-columns: minmax(0, 621fr) minmax(0, 445fr);
  column-gap: 28px;
  grid-template-areas: "title media" "before media" "after media";
  align-items: start;
  padding: 0 14px;
}
.quaestio__title { grid-area: title; margin-bottom: 8px; }
.quaestio__before { grid-area: before; }
.quaestio__media { grid-area: media; align-self: center; }
.quaestio__after { grid-area: after; }
.quaestio__media img { width: 100%; height: auto; }
@media (max-width: 767px) {
  .quaestio {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "before" "media" "after";
    row-gap: 24px;
    padding: 0;
    text-align: center;
  }
  .quaestio__media { max-width: 345px; margin: 0 auto; }
}

/* services: Solution Types (navy) — title, small divider icon, paragraph, repeated */
.solution-list { margin-top: 8px; }
.solution-item { margin-top: 40px; }
.solution-item:first-child { margin-top: 24px; }
.solution-item__title { font-family: var(--body); font-size: 21px; font-weight: 600; margin: 0 0 6px; }
.solution-item__divider { display: block; margin: 0 auto 10px; color: #fff; }
.solution-item p { margin: 0; }

/* services: Results We Deliver — alternating image/checklist rows, image beside a title+list column */
.results-row {
  display: grid;
  grid-template-columns: minmax(0, 621fr) minmax(0, 445fr);
  column-gap: 28px;
  row-gap: 10px;
  grid-template-areas: "title media" "list media";
  align-items: start;
  padding: 0 14px;
  text-align: left;
}
.results-row + .results-row { margin-top: 48px; }
.results-row__title { grid-area: title; }
.results-row__list { grid-area: list; }
.results-row__media { grid-area: media; height: 420px; }
.results-row__media img { width: 100%; height: 100%; object-fit: cover; }
.results-row--rev { grid-template-columns: minmax(0, 445fr) minmax(0, 621fr); grid-template-areas: "media title" "media list"; }
.check-list.results-row__list li:last-child { font-size: 18px; }
@media (max-width: 767px) {
  .results-row, .results-row--rev {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "media" "list";
    row-gap: 16px;
    padding: 0;
    text-align: center;
  }
  .results-row__title { text-align: center; }
  .results-row__list { text-align: left; max-width: 345px; margin: 0 auto; }
  .results-row__media { min-height: 0; aspect-ratio: 306 / 408; max-width: 345px; margin: 0 auto; }
  .results-row + .results-row { margin-top: 40px; }
  .info-blocks__item + .info-blocks__item { margin-top: 36px; }
}

/* lead QA fixes (9/24) */
.quaestio__after { margin-top: 1.49em; }
.quaestio strong { font-weight: 600; color: var(--navy); }
.split--mid { align-items: center; }
.results-row { align-items: initial; }
.results-row__title { align-self: end; }
.results-row__list { align-self: start; }
@media (max-width: 767px) {
  .results-row__title, .results-row__list { align-self: auto; }
}

/* ==== 41-pages-b.css ==== */
/* ---- insights: "coming soon" section gets extra breathing room (no photo band under it) */
.section--coming-soon { padding: 110px 20px; }
@media (max-width: 767px) { .section--coming-soon { padding: 45px 20px; } }

/* ---- simple title band (privacy policy) */
.section--title { padding: 60px 20px 30px; }
@media (max-width: 767px) { .section--title { padding: 40px 20px 20px; } }

/* ---- readable prose block (privacy policy) */
.prose { max-width: 800px; }
.prose h2 { margin-top: 34px; margin-bottom: 10px; text-transform: none; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 18px; }
.prose a { color: var(--navy); text-decoration: underline; }
.prose__updated { margin-top: 34px; font-size: 16px; color: #6b7178; font-style: italic; }

/* keep phone numbers on one line */
a[href^="tel:"] { white-space: nowrap; }
