:root {
  --blue: #0b3c91;
  --blue-deep: #082d6d;
  --blue-soft: #eef3fa;
  --green: #2ca01c;
  --green-deep: #248017;
  --green-soft: #edf7eb;
  --mint: #d7f3e6;
  --coral: #f07b54;
  --gold: #c4922a;
  --ink: #1e293b;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #f8fafc;
  --white: #ffffff;
  --danger: #9f1239;
  --danger-bg: #fff5f7;
  --ok: #0f766e;
  --ok-bg: #f0fdfa;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-lift: 0 2px 8px rgba(15, 23, 42, 0.07);
  --header: 84px;
  --topbar: #465463;
  --panel-green: rgba(56, 180, 130, 0.92);
  --font: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Lexend, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 1.0625rem;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.25rem, 3.5vw, 2.9rem);
  line-height: 1.12;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.3rem);
  line-height: 1.18;
  margin: 0;
}

h3 {
  font-size: 1.42rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--blue);
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.65rem 1rem;
  z-index: 80;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1280px, calc(100% - 3.25rem));
  margin-inline: auto;
}

.eyebrow,
.tagline {
  margin: 0 0 0.95rem;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #3c3c43;
  font-size: 0.72rem;
}

.eyebrow::before {
  display: none;
}

.lede,
.section-head p,
.muted {
  color: var(--muted);
}

.lede {
  font-size: 1.2rem;
  line-height: 1.75;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--paper);
}

.section-head {
  max-width: none;
  margin-bottom: 2.5rem;
}

.eyebrow-lg {
  font-size: 1.08rem;
  letter-spacing: 0.12em;
}

.section-head h2 {
  margin: 0.45rem 0 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 8px;
  border: 2px solid transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  --hover-lift: translateY(-2px);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(22, 88, 50, 0.22);
}

.btn-primary:focus-visible {
  outline-color: var(--mint);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: rgba(12, 74, 138, 0.35);
}

.btn-light {
  background: var(--white);
  color: var(--blue-deep);
}

.btn-dark {
  background: #2c3948;
  color: var(--white);
  border-radius: 8px;
}

.btn-line {
  background: transparent;
  color: #243140;
  border-color: rgba(36, 49, 64, 0.55);
  border-radius: 8px;
}

.btn-consult {
  background: var(--coral);
  color: var(--white);
  box-shadow: none;
}

.site-header .btn-consult {
  box-shadow: none;
  border-radius: 8px;
}

.topbar {
  background: var(--topbar);
  color: #f8fafc;
  font-size: 0.86rem;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.25rem;
  min-height: 42px;
  align-items: center;
  padding: 0.45rem 0;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.top-icon {
  width: 15px;
  height: 15px;
  flex: none;
}

.topbar-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0;
}

.topbar-note {
  margin: 0;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header);
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.logo img {
  height: 62px;
  width: auto;
}

.site-footer .logo img {
  height: 84px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 8px;
}

.header-call {
  margin-left: auto;
  font-weight: 800;
  text-decoration: none;
  color: var(--green-deep);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  padding: 0.4rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: #3c3c43;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: none;
}

.site-nav a[aria-current="page"] {
  color: var(--green-deep);
  box-shadow: inset 3px 0 0 var(--green);
  padding-left: 0.7rem;
}

.site-nav .btn {
  margin-top: 1rem;
}

body.nav-open {
  overflow: hidden;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 28, 36, 0.28), rgba(20, 28, 36, 0.12)),
    url("../assets/hero-books.jpg") center 35% / cover no-repeat;
  padding: 4.5rem 0 5rem;
}

.hero-stage {
  position: relative;
  z-index: 1;
}

.hero-panel {
  width: min(920px, 100%);
  background: var(--panel-green);
  color: #fff;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2.2rem 1.5rem 2rem;
  box-shadow: none;
}

.hero--compact {
  min-height: 420px;
  padding: 3.5rem 0 4rem;
}

.hero--compact .hero-panel h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
}

.hero--compact .hero-panel .lede {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.125rem;
  max-width: 36rem;
}

.hero-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero-grid,
.split,
.contact-grid,
.qual-grid,
.mission-grid,
.familiar-grid {
  display: grid;
  gap: 2rem;
}

.hero h1,
.hero .lede,
.hero .tagline,
.hero-points li {
  color: var(--white);
}

.hero .tagline {
  color: var(--mint);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: 0.06em;
  margin-bottom: 1.15rem;
}

.hero h1 {
  border: 0;
  padding: 0;
  max-width: none;
  color: #fff;
  font-size: clamp(1.05rem, 2.9vw, 2.7rem);
  line-height: 1.12;
  margin: 0 0 1.35rem;
}

.hero h1 span {
  display: block;
}

.hero-panel .btn-line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.feature-row {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 1rem;
}

.feature-grid {
  display: grid;
  gap: 1.15rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(28, 39, 51, 0.12);
  padding: 2.1rem 1.25rem 1.8rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.feature-card h2 {
  font-size: 1.15rem;
  letter-spacing: 0;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.feature-card-navy {
  background: #33475b;
  color: #fff;
}

.feature-card-navy h2,
.feature-card-navy p {
  color: #fff;
}

.feature-card-navy p {
  color: rgba(255, 255, 255, 0.88);
}

.feature-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-icon-green {
  background: var(--green);
  color: #fff;
}

.feature-icon-coral {
  background: var(--coral);
  color: #fff;
}

.feature-icon-gold {
  background: #fff;
  color: #e0a12e;
}

.feature-icon-white {
  background: #fff;
  color: #33475b;
}

.flip-grid {
  display: grid;
  gap: 1.15rem;
}

.flip-card {
  min-height: 360px;
  perspective: 1400px;
}

.flip-toggle {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  perspective: 1400px;
}

.flip-inner {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.65s var(--ease);
}

.flip-card.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 16px;
  padding: 1.45rem 1.35rem 1.3rem;
  box-shadow: none;
}

.flip-back {
  transform: rotateY(180deg);
  background: #fbfcfd;
}

.flip-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.55rem;
}

.flip-front p,
.flip-back p {
  color: var(--muted);
  font-size: 1.02rem;
}

.flip-hint {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flip-back ul {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.flip-back li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.5;
}

.flip-back li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.68rem;
  height: 0.36rem;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .flip-inner {
    transform: none !important;
  }

  .flip-back {
    display: none;
  }

  .flip-card.is-flipped .flip-front {
    display: none;
  }

  .flip-card.is-flipped .flip-back {
    display: flex;
    position: relative;
    transform: none;
  }
}

.spotlight {
  padding: 4.5rem 0 2rem;
}

.spotlight-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.spotlight h2 {
  margin: 0.35rem 0 0.9rem;
}

.spotlight .lede {
  max-width: none;
}

.spotlight-photo {
  min-height: 0;
}

.spotlight-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spotlight-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.spotlight-profile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.1rem 1.15rem;
}

.spotlight-profile-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.spotlight-profile-badge {
  flex: none;
  width: 72px;
  max-width: 88px;
  height: auto;
  max-height: 76px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.spotlight-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.2rem;
}

.spotlight-role {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.spot-list {
  list-style: none;
  margin: 1.2rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.spot-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 600;
}

.spot-list li::before {
  content: "";
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  flex: none;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

.hero .lede {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-points,
.check-list,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin-top: 1.5rem;
}

.hero-points li,
.check-list li {
  position: relative;
  padding-left: 1.45rem;
}

.hero-points li {
  font-weight: 600;
  font-size: 0.96rem;
}

.hero-points li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.hero-points li::before {
  border-color: var(--mint);
}

.check-list li {
  margin: 0.45rem 0;
}

.check-list li::before {
  border-color: var(--green);
}

.portrait {
  position: relative;
  margin: 0;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 18px;
  background: #e8eef8;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.portrait-desk img {
  object-position: center 8%;
}

.portrait-work img {
  aspect-ratio: 4 / 5;
  object-position: center 38%;
}

.portrait-close img {
  object-position: 36% 28%;
}

.portrait figcaption {
  position: absolute;
  left: 1rem;
  right: auto;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  box-shadow: 0 10px 24px rgba(8, 49, 92, 0.1);
}

.portrait figcaption strong,
.float-chip strong {
  display: block;
  color: var(--ink);
}

.portrait figcaption span span,
.float-chip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.portrait-badge {
  flex: none;
  width: 56px;
  max-width: 72px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: auto;
}

.float-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  box-shadow: var(--shadow);
  margin: 0;
}

.float-chip strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--green);
}

.call-strip {
  background: var(--green);
  color: var(--white);
}

.call-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.8rem 0;
}

.call-strip h2,
.call-strip p {
  color: var(--white);
}

.call-strip p {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.call-strip h2 {
  max-width: 16ch;
}

.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 1.35rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2.25rem;
}

.trust-list img {
  height: 84px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.badge {
  flex: 1 1 150px;
  max-width: 210px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.4rem;
}

.badge-mark {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: -0.03em;
  flex: none;
}

.badge strong,
.badge small {
  display: block;
  line-height: 1.2;
}

.badge strong {
  font-size: 0.92rem;
  color: var(--ink);
}

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

.card-grid,
.service-grid,
.industry-grid {
  display: grid;
  gap: 1.15rem;
}

.card,
.service-card,
.industry-card,
.step,
.contact-card,
.mission-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  --hover-lift: translateY(-4px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
}

.card,
.service-card {
  border-top: 3px solid var(--green);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
  margin-bottom: 1rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.icon svg {
  width: 24px;
  height: 24px;
}

.icon-green,
.icon-navy,
.icon-coral,
.icon-gold,
.icon-teal {
  background: var(--green-soft);
  color: var(--green-deep);
}

.card h3,
.service-card h3,
.industry-card h3,
.step h3 {
  margin-bottom: 0.45rem;
}

.step h3 {
  font-size: 1.35rem;
}

.card p,
.service-card p,
.industry-card p,
.step p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.service-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card span.link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card span.link::after {
  content: "→";
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.familiar {
  background:
    linear-gradient(180deg, var(--green-soft), #f8fbf9);
}

.section.familiar {
  padding-bottom: 8.5rem;
}

.familiar-grid {
  align-items: start;
}

.cta-band {
  background: var(--panel-green);
  color: var(--white);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2.4rem 1.5rem;
  box-shadow: none;
}

.cta-band h2 {
  color: var(--white);
  max-width: none;
}

.cta-band p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: none;
}

.cta-band .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.cta-wrap {
  margin-top: 3.25rem;
  padding-bottom: 5.25rem;
}

.site-footer {
  background: #1c1c1c;
  color: #e8e8e8;
  border-top: 0;
  padding: 3rem 0 1.25rem;
}

.footer-heading {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-size: 1.05rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: #e4eef6;
  text-decoration: none;
}

.footer-brand p,
.site-footer li,
.site-footer address {
  color: #c5d6e4;
}

.footer-brand p {
  margin-top: 0.9rem;
  max-width: 28rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  color: #f8fafc;
}

.subfoot {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9fb4c6;
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem 1.5rem;
}

.subfoot a {
  color: #e4eef6;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.page-hero,
.story-hero {
  padding: 3.6rem 0 1.25rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero--how-it-works {
  background:
    linear-gradient(90deg, rgba(20, 28, 36, 0.28), rgba(20, 28, 36, 0.12)),
    url("../assets/hero-books.jpg") center 35% / cover no-repeat;
}

.page-hero h1,
.story-hero h1 {
  max-width: none;
  border-left: 0;
  padding-left: 0;
}

.story-hero h1 {
  font-size: clamp(2.45rem, 4.4vw, 3.35rem);
  line-height: 1.08;
}

.page-hero .lede,
.story-hero .lede,
.story p {
  max-width: none;
}

.story p + p,
.story h2 {
  margin-top: 1rem;
}

.story h2 + p {
  margin-top: 0.7rem;
}

.story-partner h2 {
  margin-top: 0;
}

.story-intro p + p {
  margin-top: 1rem;
}

.mission-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  color: var(--blue);
}

.cred-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.cred-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
}

.cred-list img {
  height: 56px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  flex: none;
}

.cred-list strong {
  display: block;
  color: var(--ink);
}

.cred-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.soft-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  align-items: center;
  justify-content: center;
}

.soft-badges img {
  height: 76px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.soft-badges .badge {
  max-width: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
}

.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0 0 0.8rem;
}

.service summary {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 1.05rem 1.15rem;
  cursor: pointer;
  list-style: none;
}

.service summary::-webkit-details-marker {
  display: none;
}

.service summary h3 {
  font-size: 1.25rem;
}

.service summary p {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-index {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--green-deep);
  min-width: 2.2rem;
}

.service-heading {
  min-width: 0;
}

.chevron {
  margin-left: auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green-soft);
  flex: none;
  position: relative;
}

.chevron::before {
  content: "";
  position: absolute;
  left: 0.72rem;
  top: 0.58rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--green-deep);
  border-bottom: 2px solid var(--green-deep);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.service[open] .chevron::before {
  top: 0.7rem;
  transform: rotate(225deg);
}

.service[open] {
  border-color: #b7d8c4;
  box-shadow: var(--shadow);
}

.service-body {
  padding: 0 1.15rem 1.2rem 4.3rem;
}

.service-body h4 {
  margin: 0.8rem 0 0.35rem;
  font-size: 1.15rem;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 1.6rem;
}

.jump-nav a {
  text-decoration: none;
  color: var(--blue-deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
  font-size: 0.92rem;
  will-change: transform;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.step {
  text-align: left;
  border-top: 3px solid var(--green);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.95rem;
}

.step:nth-child(odd) {
  background: var(--white);
  border-top-color: var(--green);
}

.step:nth-child(even) {
  background: var(--paper);
  border-top-color: var(--blue);
}

.step:nth-child(1) .step-num {
  background: var(--green);
  color: #fff;
}

.step:nth-child(2) .step-num {
  background: var(--blue);
  color: #fff;
}

.step:nth-child(3) .step-num {
  background: var(--green-deep);
  color: #fff;
}

.step:nth-child(4) .step-num {
  background: var(--blue-deep);
  color: #fff;
}

.contact-card h2,
.form > h2 {
  font-size: 1.7rem;
  margin-bottom: 0.35rem;
}

.call-row {
  display: grid;
  gap: 0.65rem;
  margin: 1.1rem 0;
}

.call-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem 1rem;
  text-decoration: none;
  background: var(--green-soft);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  min-height: 58px;
  font-weight: 700;
}

.call-btn-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 700;
  flex: none;
}

.call-btn-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.call-btn span:not(.call-btn-label) {
  color: var(--green-deep);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex: none;
}

.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact-visual {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center 40%;
}

.contact-stack {
  display: grid;
  gap: 1.25rem;
}

.form-alert {
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-alert--error {
  background: var(--danger-bg);
  border: 1px solid #f9a8bc;
  color: var(--danger);
}

.form-alert--error[hidden],
.form-success[hidden] {
  display: none;
}

.call-btn strong {
  font-size: 1.02rem;
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.form {
  display: grid;
  gap: 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 700;
  color: var(--ink);
}

.req {
  color: var(--danger);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c5d4df;
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}

[aria-invalid="true"] {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.field-error {
  color: var(--danger);
  font-size: 0.9rem;
  margin: 0;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-success {
  background: var(--ok-bg);
  border: 1px solid #99f6e4;
  border-radius: 10px;
  padding: 1rem;
}

.form-success h2 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.prepare {
  margin-top: 1.5rem;
}

[id] {
  scroll-margin-top: 110px;
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--green-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(22, 88, 50, 0.28);
  }

  .btn-secondary:hover,
  .hero .btn-secondary:hover,
  .cta-band .btn-secondary:hover {
    border-color: currentColor;
    transform: translateY(-2px);
  }

  .btn-dark:hover,
  .btn-light:hover,
  .btn-line:hover,
  .btn-consult:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(20, 30, 40, 0.28);
  }

  .btn-consult:hover {
    background: #e15b32;
    box-shadow: none;
  }

  .btn-dark:hover {
    background: #1b2836;
  }

  .hero-panel .btn-line:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
  }

  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 48px rgba(28, 39, 51, 0.2);
  }

  .feature-card:hover .feature-icon {
    transform: scale(1.08);
  }

  .card:hover,
  .service-card:hover,
  .industry-card:hover,
  .step:hover,
  .mission-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #cbd5e1;
  }

  .card:hover .icon,
  .service-card:hover .icon,
  .industry-card:hover .icon,
  .mission-card:hover .icon {
    transform: translateY(-3px) scale(1.08);
  }

  .service-card:hover span.link::after {
    transform: translateX(4px);
  }

  .motion .reveal.is-in:hover {
    transform: var(--hover-lift, none);
  }

  .site-nav ul a:hover,
  .jump-nav a:hover,
  .call-btn:hover {
    color: var(--green-deep);
  }

  .site-footer a:hover,
  .topbar a:hover {
    color: var(--mint);
  }

  .jump-nav a:hover {
    border-color: var(--green);
    background: var(--green-soft);
    color: var(--green-deep);
    animation-play-state: paused;
    transform: translateY(-8px);
    box-shadow: 0 12px 22px rgba(32, 42, 54, 0.12);
  }

  .service summary:hover {
    background: #f7fbf8;
  }
}

@media (min-width: 720px) {
  .card-grid,
  .industry-grid,
  .mission-grid,
  .familiar-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid,
  .feature-grid,
  .flip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    padding: 2.8rem;
  }

  .cta-band h2 span {
    white-space: nowrap;
  }

  .cta-band p span {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 6.25rem 0;
  }

  .section-head {
    margin-bottom: 2.85rem;
  }

  .section-head h2 {
    white-space: nowrap;
  }

  .cta-one-line {
    white-space: nowrap;
  }

  .page-hero,
  .story-hero {
    padding: 4.4rem 0 1.6rem;
  }

  .hero {
    min-height: 620px;
    padding: 5rem 0 5.5rem;
  }

  .flip-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hero-panel {
    padding: 2.5rem 2.6rem 2.3rem;
  }

  .hero h1 span {
    white-space: nowrap;
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .spotlight-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }

  .spotlight-photo {
    position: relative;
    height: 100%;
  }

  .spotlight-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
  }

  .section.familiar {
    padding-bottom: 11rem;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
  }

  .split--story {
    align-items: stretch;
  }

  .story--split {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 2.5rem;
  }

  .story-partner {
    padding-top: 2.75rem;
  }

  .split .portrait {
    position: relative;
    min-height: 0;
    height: auto;
  }

  .split .portrait img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .portrait-work img {
    aspect-ratio: 4 / 5;
    object-position: center 42%;
  }

  .portrait-close img {
    aspect-ratio: 5 / 6;
    object-position: center 32%;
  }

  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: stretch;
  }

  .contact-visual img {
    min-height: 100%;
    max-height: 720px;
  }

  .contact-stack {
    grid-template-columns: 1fr;
  }

  .qual-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .float-chip {
    left: -0.6rem;
  }

  .steps {
    position: relative;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 2.55rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--line);
    z-index: 0;
  }

  .step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.7rem 1.15rem 1.5rem;
  }

  .step-num {
    margin-left: auto;
    margin-right: auto;
  }

  .industry-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .why-grid .card:nth-child(-n + 3) {
    grid-column: span 2;
  }

  .why-grid .card:nth-child(n + 4) {
    grid-column: span 3;
  }

  .header-call,
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    margin-left: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    gap: 1.2rem;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 2.15rem;
  }

  .site-nav ul a {
    position: relative;
    padding: 0.3rem 0;
    border: 0;
  }

  .site-nav ul a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 100%;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s var(--ease);
  }

  .site-nav ul a:hover::after,
  .site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .site-nav a[aria-current="page"] {
    box-shadow: none;
    padding-left: 0;
  }

  .site-nav .btn {
    margin-top: 0;
  }

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

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  }

  .industry-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .logo img {
    height: 48px;
  }

  .service-body {
    padding-left: 1.15rem;
  }

  .portrait figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions,
  .cta-actions,
  .call-strip .btn {
    width: 100%;
  }

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

  .cta-actions .btn,
  .hero-actions .btn {
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }

  .call-btn {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.22rem;
  }

  .call-btn strong {
    text-align: left;
  }

  .topbar-note {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.9s var(--ease) both;
  }

  .hero-copy > *:nth-child(1) { animation-delay: 0.08s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.18s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.3s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.42s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.54s; }

  .hero .portrait img {
    animation: portraitIn 1.15s var(--ease) both;
  }

  .hero .float-chip,
  .hero .portrait figcaption {
    animation: rise 0.8s var(--ease) 0.62s both;
  }

  .jump-nav a {
    animation: pillBob 2.8s ease-in-out infinite;
  }

  .jump-nav a:nth-child(1) { animation-delay: 0s; }
  .jump-nav a:nth-child(2) { animation-delay: 0.22s; }
  .jump-nav a:nth-child(3) { animation-delay: 0.44s; }
  .jump-nav a:nth-child(4) { animation-delay: 0.66s; }
  .jump-nav a:nth-child(5) { animation-delay: 0.88s; }
  .jump-nav a:nth-child(6) { animation-delay: 1.1s; }

  .motion .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.8s var(--ease),
      transform 0.8s var(--ease),
      box-shadow 0.4s var(--ease),
      border-color 0.4s ease,
      background 0.35s var(--ease),
      color 0.35s var(--ease);
    transition-delay: var(--delay, 0ms);
  }

  .motion .reveal.is-in {
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes portraitIn {
  from {
    opacity: 0;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes glowDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3.5rem, 2.5rem, 0) scale(1.08); }
}

@keyframes pillBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .topbar,
  .site-header,
  .nav-toggle,
  .hero-actions,
  .cta-wrap,
  .jump-nav,
  .form {
    display: none;
  }
}
