:root {
  --ink: #17211f;
  --muted: #5f6b67;
  --paper: #f5f7f4;
  --surface: #ffffff;
  --line: #d9e0dc;
  --teal: #0f6d68;
  --teal-dark: #084b48;
  --gold: #c59a43;
  --rust: #a94d3d;
  --sage: #e6eee9;
  --shadow: 0 22px 60px rgba(23, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.inline-link {
  color: var(--teal-dark);
  font-weight: 760;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: 3.4rem;
  max-width: 850px;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.18rem;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(20px, calc((100% - 1120px) / 2));
  background: rgba(245, 247, 244, 0.88);
  border-bottom: 1px solid rgba(217, 224, 220, 0.72);
  backdrop-filter: blur(16px);
}

.site-header.compact {
  position: sticky;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  width: clamp(160px, 16vw, 206px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  border-radius: 3px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 760;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--teal);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 88px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/images/interim-ceo-boardroom.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(245, 247, 244, 0.96) 0%, rgba(245, 247, 244, 0.84) 39%, rgba(245, 247, 244, 0.2) 72%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 48px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: #24312e;
  font-size: 1.2rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: var(--surface);
  border: 1px solid var(--teal);
}

.button-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  border: 1px solid rgba(23, 33, 31, 0.18);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 54px 0 0;
}

.hero-proof div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-proof dt {
  color: var(--teal-dark);
  font-size: 1.8rem;
  font-weight: 820;
}

.hero-proof dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 92px 0;
}

.intro-band {
  padding: 56px 0;
  background: var(--ink);
  color: var(--surface);
}

.intro-band .section-kicker,
.intro-band p {
  color: #c9d7d2;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p:last-child {
  color: var(--muted);
}

.feature-grid,
.quote-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.contact-card,
blockquote {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-number {
  display: block;
  margin-bottom: 28px;
  color: var(--rust);
  font-weight: 820;
}

.feature-card p,
.use-case-grid p,
.service-item p,
blockquote p,
.contact-card p,
.contact-card li {
  color: var(--muted);
}

.section-muted {
  background: var(--sage);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.use-case-grid article {
  min-height: 210px;
  padding: 28px;
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 110px;
}

.sticky-copy p {
  color: var(--muted);
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--teal-dark);
  font-weight: 760;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.section-accent {
  background: #112c29;
  color: var(--surface);
}

.section-accent .section-kicker,
.section-accent p {
  color: #c5d7d1;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process li {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 820;
}

.callout,
.final-cta-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding: 42px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

blockquote {
  margin: 0;
}

blockquote p {
  font-size: 1.08rem;
}

blockquote cite {
  display: block;
  margin-top: 24px;
  color: var(--ink);
  font-style: normal;
  font-weight: 760;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 760;
}

details p {
  padding: 0 22px 22px;
  color: var(--muted);
}

.final-cta {
  background: var(--ink);
}

.final-cta-inner {
  background: transparent;
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.final-cta .section-kicker,
.final-cta p {
  color: #c5d7d1;
}

.site-footer {
  padding: 48px 0;
  background: #0c1513;
  color: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.site-footer a,
.site-footer p,
.brand-footer small {
  color: #cbd7d3;
}

.simple-footer {
  padding: 28px 0;
}

.simple-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.subhero {
  padding: 118px 0 68px;
  background: var(--sage);
}

.subhero h1 {
  max-width: 980px;
}

.subhero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.16rem;
}

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

.service-detail-grid article,
.profile-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-detail-grid ul,
.contact-card ul {
  padding-left: 19px;
  margin: 18px 0 0;
}

.service-detail-grid li {
  margin-bottom: 8px;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  align-items: start;
}

.profile-panel {
  display: grid;
  gap: 8px;
}

.profile-panel strong {
  color: var(--teal-dark);
  font-size: 1.5rem;
}

.profile-panel span {
  margin-bottom: 22px;
  color: var(--muted);
}

.lead {
  color: var(--ink);
  font-size: 1.34rem;
}

.contact-card {
  min-height: 280px;
}

.legal-content .container {
  max-width: 800px;
}

@media (max-width: 920px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 10px;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: rgba(245, 247, 244, 0.86);
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .hero-proof,
  .feature-grid,
  .use-case-grid,
  .quote-grid,
  .process,
  .footer-grid,
  .contact-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .split,
  .callout,
  .final-cta-inner,
  .faq-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sticky-copy {
    position: static;
  }

  .section {
    padding: 70px 0;
  }

  .callout,
  .final-cta-inner {
    padding: 30px;
  }
}

@media (max-width: 560px) {
  .container,
  .hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand-logo {
    width: 152px;
    max-height: 48px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.68rem;
  }

  .button {
    width: 100%;
  }

  .hero-proof div {
    min-height: auto;
  }

  .hero-proof {
    display: none;
  }
}
