:root {
  --ink: #16201f;
  --muted: #5c6a66;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: #dcd8ce;
  --forest: #0d3b34;
  --teal: #0f766e;
  --amber: #c7852a;
  --clay: #b15f3b;
  --shadow: 0 24px 70px rgba(18, 28, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(247, 245, 239, 0.88);
  border-bottom: 1px solid rgba(22, 32, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
  letter-spacing: 0;
}

.brand-copy {
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a,
.site-footer a,
.text-link {
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--teal);
}

.header-cta {
  padding: 11px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 146px);
  overflow: hidden;
  padding: clamp(34px, 5vw, 68px) clamp(20px, 4vw, 56px);
  color: var(--white);
  background: var(--forest);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.2vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.hero-lede,
.section-heading p:not(.eyebrow),
.split-section p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.24rem);
}

.hero .eyebrow {
  color: #94e3dc;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--forest);
}

.button.secondary {
  color: var(--forest);
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.22);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 4vw, 56px);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.readiness-box,
.timeline article,
.proof-grid div,
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  min-height: 260px;
  padding: 24px;
}

.service-card p,
.timeline p,
.proof-grid p,
.faq-list p {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: clamp(24px, 6vw, 78px);
  align-items: center;
  background: #e9eee8;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--forest);
  font-weight: 900;
}

.readiness-box {
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 18px 48px rgba(18, 28, 27, 0.08);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--white);
  background: var(--amber);
  border-radius: 50%;
  content: "✓";
  font-size: 0.875rem;
  font-weight: 900;
}

.process-section {
  background: var(--forest);
  color: var(--white);
}

.process-section .eyebrow {
  color: #83d6ce;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.timeline article {
  padding: 24px;
  color: var(--ink);
}

.timeline span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--clay);
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 60px);
}

.proof-grid {
  display: grid;
  gap: 14px;
}

.proof-grid div {
  padding: 22px;
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  color: var(--forest);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 14px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
  margin: clamp(20px, 4vw, 56px);
  padding: clamp(34px, 6vw, 70px);
  color: var(--white);
  background: linear-gradient(135deg, var(--forest), #132825 62%, #372218);
  border-radius: 8px;
}

.contact-section .eyebrow,
.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.email-fallback a {
  color: var(--white);
  font-weight: 900;
}

.contact-section .button.primary {
  color: var(--forest);
  background: var(--white);
}

.contact-section .button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  margin: 6px 0 12px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.full-width {
  width: 100%;
}

.intake-form {
  padding: clamp(22px, 3vw, 32px);
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(18, 28, 27, 0.2);
}

.intake-form fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.intake-form legend {
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intake-form label,
.radio-group p {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.radio-group {
  display: grid;
  gap: 8px;
  margin: 6px 0 16px;
}

.radio-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #f2f5f3;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.radio-group input {
  width: auto;
  margin: 4px 0 0;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note.is-error {
  color: #9a3412;
  font-weight: 850;
}

.page-hero {
  padding: clamp(58px, 9vw, 118px) clamp(20px, 4vw, 56px) clamp(42px, 7vw, 78px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 59, 52, 0.96), rgba(17, 45, 41, 0.9)),
    url("../assets/ai-strategy-hero.png") center/cover;
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 22px;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.55vw, 1.24rem);
}

.page-hero .eyebrow {
  color: #94e3dc;
}

.team-section {
  display: grid;
  gap: 18px;
}

.team-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bio-photo-placeholder {
  display: grid;
  width: 160px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--forest), var(--teal));
  border-radius: 8px;
  font-size: 2.4rem;
  font-weight: 900;
}

.bio-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.bio-copy p {
  color: var(--muted);
}

.bio-lede {
  color: var(--ink) !important;
  font-size: 1.12rem;
  font-weight: 850;
}

.team-cta,
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(20px, 4vw, 56px) clamp(38px, 6vw, 72px);
  padding: clamp(28px, 5vw, 52px);
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
}

.team-cta h2,
.cta-band h2 {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split-section,
  .proof-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - 164px);
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-cta {
    display: none;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .service-grid,
  .timeline,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .site-footer,
  .team-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .bio-photo-placeholder {
    width: 112px;
    font-size: 1.65rem;
  }

  .site-footer div {
    justify-content: space-between;
  }
}

/* ============================================================ *
 *  PASS 1 ADDITIONS — multi-page nav dropdown, Services page +
 *  engagement selector, Our Story prose, team photos.
 *  Appended after the base sheet; reuses the brand tokens and
 *  the .service-grid / .timeline / .proof-grid card patterns.
 * ============================================================ */

/* --- Nav: About dropdown toggle (the panel itself is PASS 5;
       the original narrow .nav-menu flyout was retired 2026-07) --- */
.nav-group { position: static; display: inline-flex; align-items: center; }
.nav-group-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  margin: 0; padding: 0; border: 0; background: none;
  color: inherit; font: inherit; font-weight: 700; cursor: pointer;
}
.main-nav .nav-group-toggle:hover { color: var(--teal); }
.nav-caret { font-size: 0.62em; line-height: 1; transition: transform 0.2s ease; }
.nav-group-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.main-nav [aria-current="page"] { color: var(--teal); }

/* --- Services: cards, category tag, no-price structure ------ */
.svc-group-heading { margin: clamp(20px, 4vw, 40px) 0 18px; }
.svc-group-heading:first-child { margin-top: 0; }
.service-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-card { display: flex; flex-direction: column; }
.svc-tag {
  display: inline-block; margin-bottom: 14px;
  color: var(--teal); font-size: 0.875rem; font-weight: 900;
  letter-spacing: 0.09em; text-transform: uppercase;
}
.svc-card h3 { font-size: 1.28rem; }
.svc-card > p { color: var(--muted); }
.svc-structure {
  margin: 18px 0 0; padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--forest); font-size: 0.875rem; font-weight: 850;
}
.svc-card.is-recommended {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.35), var(--shadow);
}

/* --- Engagement selector ----------------------------------- */
.selector {
  max-width: 760px; padding: clamp(22px, 3vw, 34px);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow);
}
.selector-q { margin: 0 0 14px; color: var(--forest); font-weight: 900; font-size: 1.1rem; }
.selector-options { display: flex; flex-wrap: wrap; gap: 10px; }
.selector-options[hidden] { display: none; }
.selector-opt {
  padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font: inherit; font-weight: 800; cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.selector-opt:hover { transform: translateY(-2px); border-color: var(--teal); background: rgba(15, 118, 110, 0.06); }
.selector-back {
  margin-top: 16px; padding: 0; border: 0; background: none;
  color: var(--muted); font: inherit; font-weight: 800; cursor: pointer;
}
.selector-back:hover { color: var(--teal); }
.selector-step[hidden], .selector-result[hidden] { display: none; }
.selector-result { margin-top: 6px; }
.selector-result-label {
  margin: 0 0 6px; color: var(--teal);
  font-size: 0.875rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase;
}
.selector-result h3 { margin-bottom: 8px; font-size: 1.5rem; }
.selector-result > p { color: var(--muted); }
.selector-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }

/* --- Shared closing CTA band reuses .team-cta (see above) --- */
.cta-band .eyebrow, .team-cta .eyebrow { color: #94e3dc; }

/* --- Team photos (replace the initials placeholder) -------- */
.bio-photo { width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

/* --- Our Story prose --------------------------------------- */
.story-lede { max-width: 760px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.story-quote {
  max-width: 820px; margin: 0; padding-left: 22px;
  border-left: 3px solid var(--amber);
  font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.2; font-weight: 850;
}
.story-source { margin: 14px 0 0; color: var(--muted); font-size: 0.9rem; }
.story-tagline { font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 900; line-height: 1.05; }

/* --- Home hero tagline (replaces the removed hero buttons) -- */
.hero-tagline { margin: 26px 0 0; color: var(--white); font-size: clamp(1.2rem, 2.6vw, 1.9rem); font-weight: 900; line-height: 1.1; }

@media (max-width: 980px) {
  .service-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .service-grid.cols-3 { grid-template-columns: 1fr; }
  .selector-result-actions { flex-direction: column; align-items: stretch; }
  .bio-photo { width: 112px; }
}

/* ============================================================ *
 *  PASS 5 — 2026-07 redesign (website review feedback).
 *  Hero condensed to the first scroll, proof-section legibility,
 *  a bigger primary CTA, and testimonial cards (the section ships
 *  commented out in index.html until client-approved quotes exist).
 * ============================================================ */

/* Hero: shorter and calmer so the services section peeks above
   the fold. Supersedes the 100svh rule in the base sheet. */
.hero { min-height: min(68svh, 620px); }
.hero h1 { font-size: clamp(2.8rem, 5.4vw, 4.8rem); }

/* The discovery-call button is the page's one big ask. */
.hero .button.primary {
  min-height: 54px;
  padding: 14px 26px;
  font-size: 1.05rem;
}

/* Translucent rounded panel behind the hero copy so the text always
   reads cleanly against whatever sits behind it (Jerry's note). */
.hero-copy {
  padding: clamp(22px, 3vw, 34px);
  background: rgba(6, 22, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Team: photo cards open a dialog with the full bio (review round 2:
   the long stacked bios made the page a scroll marathon). */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  max-width: 1180px;
}
.person-card {
  padding: 0 0 18px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: inherit;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.person-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 54px -26px rgba(15, 118, 110, 0.5);
  border-color: rgba(15, 118, 110, 0.4);
}
.person-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 16px;
}
.person-card strong {
  display: block;
  padding: 0 14px;
  font-size: 1.15rem;
}
.person-role {
  display: block;
  margin: 6px 0 10px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.person-more {
  display: inline-block;
  color: var(--teal);
  font-weight: 850;
  font-size: 0.9rem;
}
.bio-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(84svh, 900px);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.bio-dialog::backdrop {
  background: rgba(13, 24, 23, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.bio-dialog-body img {
  width: 120px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}
.bio-dialog-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.bio-dialog-body p { color: #3f4b48; }
.bio-dialog .bio-lede {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 850;
}
.bio-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.bio-close:hover { color: var(--teal); border-color: var(--teal); }

/* Blog: the reading column sits centered, not hugging the left edge. */
.post-body {
  margin-left: auto;
  margin-right: auto;
}
.post-body .post-lede { margin-bottom: 26px; }
.resource-grid { max-width: 1180px; }

/* Interlocked 7V wordmark, site-wide: the logo's V doubles as the
   V of VERSIONS, so the word continues as "ERSIONS" right off the
   glyph. Negative margin tucks the text against the V's last stroke. */
.brand { gap: 0; }
.brand-logo {
  display: block;
  width: 48px;
  height: auto;
  color: var(--forest);
}
.brand-word {
  margin-left: -3px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

/* Floating glass header (evolution.team pattern): an element on top
   of the page, not a full-bleed strip. The dropdown panel below
   inherits this width because it positions against the header box. */
.site-header {
  top: 14px;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 10px clamp(18px, 3vw, 34px);
  min-height: 68px;
  background: rgba(247, 245, 239, 0.72);
  border: 1px solid rgba(22, 32, 31, 0.08);
  border-radius: 16px;
  box-shadow: 0 14px 44px -22px rgba(18, 28, 27, 0.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
}

/* Panel floats just below the glass bar, same width, same glass. */
.nav-panel {
  top: 100%;
  border: 1px solid rgba(22, 32, 31, 0.08);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
}
/* While the panel is open the bar's bottom corners flatten, so the
   two glass shapes read as one element (no bubbles meeting). */
.site-header:has(.nav-group:hover),
.site-header:has(.nav-group:focus-within),
.site-header:has(.nav-group-toggle[aria-expanded="true"]) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
/* Panel links: three centered blocks, evenly distributed. */
.nav-panel-inner a { text-align: center; }

@media (max-width: 980px) {
  /* Flattened mobile nav: the glass panel chrome comes back off. */
  .nav-panel {
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Why 7 Versions: larger, darker type; the section was too subtle. */
.proof-lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.24rem);
}
.proof-grid strong { font-size: 1.25rem; }
.proof-grid p { color: #3f4b48; font-size: 1rem; }

/* Testimonials: quote cards, ready for approved client quotes. */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.testimonial-card {
  margin: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.testimonial-card blockquote { margin: 0; }
.testimonial-card blockquote p {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}
.testimonial-card figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

/* Full-width nav panel (evolution.team style). The .nav-group is
   position:static, so the panel positions against the sticky
   .site-header and spans the full header width with no JS. */
.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 24px clamp(20px, 4vw, 56px) 28px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 30;
}
.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel,
.nav-group-toggle[aria-expanded="true"] + .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-panel-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.nav-panel-inner a {
  display: block;
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--ink);
}
.nav-panel-inner a:hover { background: rgba(15, 118, 110, 0.08); }
.nav-panel-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--forest);
  font-family: var(--font-mono, ui-monospace);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-panel-desc {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Loud placeholder marker for copy awaiting real facts (Our Story
   founding narrative). Remove the spans when the facts land; nothing
   placeholder-shaped should ever ship looking finished. */
.placeholder {
  padding: 0 4px;
  color: #7c2d12;
  background: #fde68a;
  border-radius: 4px;
  font-weight: 700;
}

/* Services: normalize type section-by-section. One card-heading size
   across every card on the site (mono meta is unified at 0.74rem by
   the pass-2 kicker system in enhance.css). */
.service-card h3,
.svc-card h3 { font-size: 1.25rem; }

/* Values infographic: three icon cards replace the bullet list. */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.value-card {
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}
.value-icon {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  color: var(--teal);
}
.value-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.value-card p {
  margin: 0;
  color: #3f4b48;
  font-size: 1rem;
}
@media (max-width: 980px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* Slim mid-page CTA row (page anatomy: more than one ask per page). */
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 clamp(20px, 4vw, 56px) clamp(38px, 6vw, 72px);
  padding: 22px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.inline-cta p {
  margin: 0;
  color: var(--forest);
  font-weight: 850;
}
@media (max-width: 680px) {
  .inline-cta { flex-direction: column; align-items: stretch; text-align: center; }
}

/* Footer: every page ends with a contact affordance. */
.site-footer { align-items: center; flex-wrap: wrap; }
.site-footer .footer-links { flex-wrap: wrap; }
.site-footer .button.primary { color: var(--forest); background: var(--white); }

/* Resources listing + blog posts (resources/). */
.resource-date {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.post-meta {
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.66) !important;
}
.post-body { max-width: 760px; }
.post-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 38px; }
.post-body p { color: #3f4b48; font-size: 1.05rem; }
.post-lede {
  color: var(--ink) !important;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem) !important;
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero { min-height: 0; }
  .testimonial-grid { grid-template-columns: 1fr; }

  /* Flatten the About panel into inline links (same pattern the old
     narrow dropdown used): toggle hidden, links ride in the nav row. */
  .nav-group { gap: clamp(14px, 2vw, 28px); }
  .nav-group-toggle { display: none; }
  .nav-panel {
    position: static;
    padding: 0;
    display: inline-flex;
    gap: clamp(14px, 2vw, 28px);
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-panel-inner { display: contents; }
  .nav-panel-inner a { padding: 0; border-radius: 0; color: inherit; }
  .nav-panel-inner a:hover { background: none; }
  .nav-panel-desc { display: none; }
  .nav-panel-kicker {
    margin: 0;
    color: inherit;
    font: inherit;
    letter-spacing: normal;
    text-transform: none;
  }
}

/* ============================================================ *
 *  PASS 6 — 2026-07 review round 3.
 *  Slot discipline: ONE section-title size everywhere, in-card
 *  kickers one step up from page eyebrows, step cards readable.
 * ============================================================ */

/* Every section title is the same size, light or dark tile. */
.section-heading h2,
.proof-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
}

/* In-card kickers (Step 1/2/3, service tags, post dates) read at
   0.95rem; card body text sits near-ink for contrast. */
.timeline span,
.svc-tag,
.resource-date {
  font-size: 0.95rem;
}
.timeline span { margin-bottom: 18px; }
.timeline h3 { font-size: 1.25rem; }
.timeline p { color: #3f4b48; font-size: 1.02rem; }

/* Services: land on the cards. Compact page hero + tight first
   section so the engagement cards are visible on arrival. */
.page-hero--compact {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(24px, 3.5vw, 44px);
}
.section--tight { padding-top: clamp(28px, 4vw, 48px); }
.section--tight .section-heading { margin-bottom: 22px; }

/* Scroll progress: the header hairline fills left to right as you
   move down the page (track stays faint; fill carries the spectrum). */
.site-header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 16px; right: 16px;   /* stops where the corners curve */
  height: 3.5px;
  background: var(--v7-spectrum);
  background-size: 200% 100%;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
}

/* ============================================================ *
 *  PASS 7 — 2026-07 review round 4.
 * ============================================================ */

/* ONE title size for every h2 slot on the site: section headings,
   proof headings, and CTA banners all match now. */
h2 { font-size: clamp(1.9rem, 3.2vw, 3.1rem); }

/* Mission / Vision: both headings hold a single line so the two
   tiles mirror each other. */
.split-section h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.split-section { align-items: start; }

/* Proof sections share the same structure as every other tile:
   heading block on top, card grid below (was a side-by-side grid
   that made the heading wrap tall and narrow). */
.proof-section { display: block; }
.proof-copy { max-width: 880px; margin-bottom: 34px; }
.proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Story: content column sits centered on the page, not pinned left. */
.section--centered > .section-heading,
.section--centered > .story-source,
.section--centered > .story-tagline,
.section--centered > .promise-grid,
.section--centered > .values-grid,
.section--centered > .readiness-box {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* Story mid-page ask: big, gradient, unmissable. */
.inline-cta { justify-content: center; gap: 26px; padding: clamp(30px, 4vw, 46px); }
.inline-cta p {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.01em;
}

/* THE call-to-action lives in the footer now: one standardized
   banner site-wide instead of a per-page green band + footer both. */
.site-footer { display: block; }
.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 4vw, 40px);
}
.footer-cta-row h2 { margin: 0; }
.footer-cta-row .eyebrow { color: #94e3dc; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.footer-base p { margin: 0; }

/* Services opens directly on the engagement cards: the inline page
   title takes the h1 slot without the display-hero scale. */
.page-title-inline { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }

@media (max-width: 680px) {
  .footer-cta-row, .footer-base { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-base .footer-links { justify-content: center; }
  .proof-grid { grid-template-columns: 1fr; }
  .inline-cta { text-align: center; }
}
@media (max-width: 980px) {
  .proof-grid { grid-template-columns: 1fr; }
}

/* Story rhythm: tighter section spacing (round 4: too much air). */
.section--centered { padding-top: clamp(40px, 5.5vw, 70px); padding-bottom: clamp(40px, 5.5vw, 70px); }
.split-section { padding-top: clamp(44px, 6vw, 76px); padding-bottom: clamp(44px, 6vw, 76px); }

/* ============================================================ *
 *  PASS 8 — 2026-07-11 review round 5.
 * ============================================================ */

/* Global vertical rhythm: tighter everywhere, not scrunched. */
.section {
  padding-top: clamp(46px, 6vw, 80px);
  padding-bottom: clamp(46px, 6vw, 80px);
}
.section--centered {
  padding-top: clamp(30px, 4vw, 52px);
  padding-bottom: clamp(30px, 4vw, 52px);
}
.section-heading { margin-bottom: 26px; }

/* Team grid centered on the page; cards fill edge to edge. */
.team-grid { margin-left: auto; margin-right: auto; }

/* The base sheet flexes every footer div (for the link row); the CTA
   text wrapper must stack its eyebrow above the headline. */
.footer-cta-row > div {
  display: block;
  font-weight: normal;
}

/* ================================================================== *
 *  PASS 9 — 2026-07-11 review round 7: per-page hero photographs.
 *  Each About page gets its own approved photo (asset round). The
 *  shared overlay drops from ~0.95 to a left-weighted scrim so the
 *  photo actually reads while copy stays on the quiet left side.
 * ================================================================== */
.page-hero--story,
.page-hero--team,
.page-hero--faq,
.page-hero--resources {
  background-color: var(--forest);
  background-image:
    linear-gradient(100deg,
      rgba(9, 37, 32, 0.94) 0%,
      rgba(11, 47, 41, 0.78) 46%,
      rgba(13, 59, 52, 0.42) 100%);
  background-size: cover;
  background-position: center;
}
.page-hero--story {
  background-image:
    linear-gradient(100deg,
      rgba(9, 37, 32, 0.94) 0%,
      rgba(11, 47, 41, 0.78) 46%,
      rgba(13, 59, 52, 0.42) 100%),
    url("../assets/hero-story.jpg");
}
.page-hero--team {
  background-image:
    linear-gradient(100deg,
      rgba(9, 37, 32, 0.94) 0%,
      rgba(11, 47, 41, 0.78) 46%,
      rgba(13, 59, 52, 0.42) 100%),
    url("../assets/hero-team.jpg");
}
.page-hero--faq {
  background-image:
    linear-gradient(100deg,
      rgba(9, 37, 32, 0.94) 0%,
      rgba(11, 47, 41, 0.78) 46%,
      rgba(13, 59, 52, 0.42) 100%),
    url("../assets/hero-faq.jpg");
}
.page-hero--resources {
  background-image:
    linear-gradient(100deg,
      rgba(9, 37, 32, 0.94) 0%,
      rgba(11, 47, 41, 0.78) 46%,
      rgba(13, 59, 52, 0.42) 100%),
    url("../assets/hero-resources.jpg");
}

/* ================================================================== *
 *  PASS 10 — 2026-07-11 round 7: footer CTA button.
 *  The button centered on the whole row while the eyebrow pushed the
 *  headline lower, so it read as floating high. It now sits on the
 *  headline's baseline, as a pill with an arrow that leads the eye.
 * ================================================================== */
.footer-cta-row { align-items: flex-end; }
.footer-cta-row .button.primary {
  align-self: flex-end;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 1.02rem;
  box-shadow:
    0 22px 44px -20px rgba(0, 0, 0, 0.6),
    inset 0 -1px 0 rgba(13, 59, 52, 0.14);
}
.footer-cta-row .button.primary::after {
  content: "\2192";
  display: inline-block;
  margin-left: 10px;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-cta-row .button.primary:hover::after { transform: translateX(4px); }
@media (max-width: 680px) {
  .footer-cta-row { align-items: stretch; }
  .footer-cta-row .button.primary { align-self: stretch; }
}

/* ============================================================ *
 *  PASS 11 — 2026-07-11 end-of-day polish.
 *  Team-card framing, footer pill nudge, wider blog column.
 *  (Nav restructure, prism story, blog date, newsletter, and
 *   the mobile hamburger live in enhance.css PASS 6 so they win
 *   by source order over the earlier kicker/nav definitions.)
 * ============================================================ */

/* --- Team cards: .person-card is a <button>, which vertically-centers
       its content. The grid stretches every card to the tallest (the
       2-line-role cards), so shorter-role cards floated their photo down
       ~12px, leaving a gap above it. Top-align the button content with a
       flex column so every headshot sits flush at the top edge. This was
       the real cause of the persistent "heads start below" headshot bug
       (not the images or object-fit). --- */
.person-card { display: flex; flex-direction: column; }

/* --- Footer: the discovery pill sat flush to the right edge; ease it
       in a touch so it does not kiss the corner. --- */
.footer-cta-row .button.primary { margin-right: 10px; }
@media (max-width: 680px) {
  .footer-cta-row .button.primary { margin-right: 0; }
}

/* --- Blog: the reading column was capped at 760px, which read as
       narrow and made the figures small. Widen the prose and let
       figures break a little past the text for larger diagrams. --- */
.post-body { max-width: 860px; }
