:root {
  color-scheme: light;
  --ink: #111417;
  --ink-soft: #3b454e;
  --paper: #f7f5ef;
  --paper-2: #ebe7dc;
  --steel: #23303a;
  --steel-2: #0f1a21;
  --copper: #bd6b2f;
  --blue: #2e7189;
  --amber: #d69c3a;
  --line: rgba(17, 20, 23, 0.16);
  --white: #fffdf8;
  --shadow: 0 22px 70px rgba(10, 18, 24, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.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;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(15, 26, 33, 0.95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(500px, 58vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: rgba(255, 253, 248, 0.84);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 9px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--steel-2);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 18, 0.93) 0%, rgba(13, 19, 23, 0.76) 35%, rgba(13, 19, 23, 0.22) 70%),
    linear-gradient(180deg, rgba(15, 26, 33, 0.35) 0%, rgba(15, 26, 33, 0.52) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 112px);
  padding-top: 76px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-weight: 850;
  font-size: 1.17rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: 0;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.22;
  margin-bottom: 10px;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(1.03rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #171008;
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--steel);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-band div {
  min-height: 118px;
  padding: 28px clamp(18px, 4vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-band span {
  display: block;
  margin-bottom: 8px;
  color: #9fd4df;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.signal-band strong {
  display: block;
  max-width: 250px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.audience-paths {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: stretch;
  padding: clamp(36px, 7vw, 76px) clamp(18px, 7vw, 96px);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(17, 20, 23, 0.1) calc(50% - 1px), rgba(17, 20, 23, 0.1) calc(50% + 1px), transparent calc(50% + 1px)),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.flow-start,
.flow-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
}

.flow-start {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 48px);
  box-shadow: 14px 14px 0 rgba(46, 113, 137, 0.12);
}

.flow-start::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(clamp(24px, 5vw, 56px) * -1);
  width: clamp(24px, 5vw, 56px);
  height: 2px;
  background: var(--blue);
}

.flow-start h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.audience-paths span,
.flow-branches span {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.flow-card {
  display: block;
  min-height: 220px;
  padding: 26px;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.flow-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -19px;
  width: 18px;
  height: 2px;
  background: var(--line);
}

.flow-card:hover,
.flow-card:focus-visible {
  border-color: rgba(46, 113, 137, 0.7);
  box-shadow: 8px 8px 0 rgba(46, 113, 137, 0.12);
  outline: 0;
  transform: translate(-2px, -2px);
}

.flow-branches h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.flow-branches p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section {
  padding: clamp(70px, 10vw, 124px) clamp(18px, 7vw, 96px);
}

.section.muted {
  background: var(--paper-2);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(300px, 1.12fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.body-copy {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.body-copy p {
  margin-bottom: 18px;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading-row h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 260px;
  padding: 30px;
  background: var(--paper);
}

.card-index {
  display: block;
  margin-bottom: 44px;
  color: var(--blue);
  font-weight: 900;
}

.service-card p,
.project-card p,
.team-card p,
.process-item p,
.contact-section p,
.contact-panel p {
  color: var(--ink-soft);
}

.project-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card,
.team-card {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.project-card p {
  margin-bottom: 14px;
}

.project-card p:last-child,
.team-card p:last-child {
  margin-bottom: 0;
}

.outcomes {
  background: var(--paper);
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.outcome-list div {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.outcome-list p {
  color: var(--ink-soft);
}

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

.logo-proof {
  margin: 0;
  padding: clamp(18px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
}

.logo-proof img {
  display: block;
  width: 100%;
  height: auto;
}

.logo-proof figcaption {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.proof-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.proof-categories span {
  padding: 10px 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 850;
}

.landing-grid,
.landing-proof,
.next-grid,
.blog-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.landing-grid article,
.landing-proof > article,
.next-grid article,
.blog-category-grid a {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.landing-grid p,
.landing-proof p,
.next-grid p {
  color: var(--ink-soft);
}

.next-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-weight: 900;
}

.next-grid article {
  min-height: 220px;
}

.blog-positioning {
  background: var(--paper);
}

.efl-teaser {
  background: var(--paper);
}

.inline-button {
  width: fit-content;
  margin-top: 8px;
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}

.blog-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blog-category-grid a {
  min-height: 170px;
  color: inherit;
  text-decoration: none;
}

.blog-category-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-category-grid strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.25;
}

.efl-hero {
  background:
    linear-gradient(90deg, rgba(15, 26, 33, 0.98), rgba(35, 48, 58, 0.94)),
    var(--steel-2);
}

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

.compact-module-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.module-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.module-card p {
  color: var(--ink-soft);
}

.module-meta,
.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-meta span,
.module-tags span,
.module-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.module-meta span:first-child {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}

.module-tags a:hover,
.module-tags a:focus-visible {
  border-color: rgba(46, 113, 137, 0.7);
  color: var(--blue);
  outline: 0;
}

.download-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.download-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  font-weight: 850;
  text-decoration: none;
}

.download-list a:hover,
.download-list a:focus-visible {
  border-color: rgba(46, 113, 137, 0.7);
  color: var(--blue);
  outline: 0;
}

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

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

.pricing-grid article {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
}

.pricing-grid span {
  display: block;
  margin-bottom: 26px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-grid p {
  color: var(--ink-soft);
}

.process-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 30px 0;
  background: var(--paper);
}

.process-item > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--steel);
  color: var(--white);
  font-weight: 900;
}

.rescue-note {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
  padding: 26px 30px;
  background: var(--steel);
  color: var(--white);
}

.rescue-note h3 {
  color: var(--white);
  margin-bottom: 0;
}

.rescue-note p {
  color: rgba(255, 253, 248, 0.78);
  margin-bottom: 0;
}

.testimonials {
  background: var(--paper);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
}

.testimonial-card p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.62;
}

.testimonial-card footer {
  display: grid;
  gap: 4px;
}

.testimonial-card strong {
  color: var(--ink);
}

.testimonial-card span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.full-testimonial-list {
  display: grid;
  gap: 18px;
}

.full-testimonial-list .testimonial-card {
  min-height: 0;
}

.full-testimonial-list .featured-testimonial {
  grid-column: auto;
}

.hide-on-home {
  display: none;
}

.featured-testimonial {
  grid-column: span 2;
  background: var(--steel);
  color: var(--white);
}

.featured-testimonial p,
.featured-testimonial strong {
  color: var(--white);
}

.featured-testimonial span {
  color: rgba(255, 253, 248, 0.74);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}

.blog-card a {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--white);
}

.blog-card .post-date,
.blog-card h3,
.blog-card p {
  margin-left: 22px;
  margin-right: 22px;
}

.post-date {
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card h3 {
  margin-bottom: 12px;
}

.blog-card p {
  margin-bottom: 24px;
  color: var(--ink-soft);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 7vw, 86px);
  align-items: center;
  padding: clamp(70px, 10vw, 120px) clamp(18px, 7vw, 96px);
  background: var(--steel-2);
  color: var(--white);
}

.contact-section h2 {
  max-width: 780px;
}

.contact-section p {
  max-width: 690px;
  color: rgba(255, 253, 248, 0.74);
  font-size: 1.18rem;
  line-height: 1.55;
}

.contact-panel {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.contact-options {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-options article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-options h3 {
  color: var(--white);
  font-size: 1.28rem;
}

.contact-options p {
  margin-bottom: 0;
}

.contact-link {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-panel h3 {
  color: var(--white);
  font-size: 1.8rem;
}

.contact-graphic {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-actions .button {
  width: 100%;
}

.contact-phone {
  color: var(--amber);
  font-weight: 900;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: #080d10;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.92rem;
}

.site-footer > span:first-child {
  color: var(--white);
  font-weight: 900;
}

.page-main {
  padding-top: 78px;
  background: var(--paper);
}

.archive-hero {
  background: var(--steel-2);
  color: var(--white);
  padding-top: clamp(72px, 10vw, 118px);
  padding-bottom: clamp(54px, 8vw, 86px);
}

.archive-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 5rem);
}

.archive-intro {
  max-width: 760px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 1.18rem;
}

.archive-list {
  padding-top: clamp(44px, 7vw, 84px);
}

.post-page {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 86px) 0;
}

.post-header {
  margin: 20px 0 30px;
}

.post-header h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.post-hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 38px;
  border: 1px solid var(--line);
}

.post-content {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.post-content h1,
.post-content h2,
.post-content h3 {
  color: var(--ink);
  margin-top: 34px;
}

.post-content img {
  max-width: 100%;
  height: auto;
}

.post-content a {
  color: var(--blue);
  font-weight: 800;
}

.post-content blockquote {
  margin: 30px 0;
  padding-left: 22px;
  border-left: 4px solid var(--amber);
  color: var(--ink);
}

.static-nav {
  display: flex;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(15, 26, 33, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px 8px;
  }

  .static-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .static-nav a {
    padding: 4px 0;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: min(680px, calc(100% - 36px));
    margin: 0 auto;
  }

  .signal-band,
  .audience-paths,
  .flow-branches,
  .blog-grid,
  .project-grid,
  .module-grid,
  .service-grid,
  .team-grid,
  .outcome-list,
  .landing-grid,
  .landing-proof,
  .next-grid,
  .blog-category-grid,
  .pricing-grid,
  .contact-options,
  .testimonial-grid,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .signal-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .service-card {
    min-height: auto;
  }

  .card-index {
    margin-bottom: 26px;
  }

  .featured-testimonial {
    grid-column: auto;
  }

  .section-heading-row {
    display: block;
  }

  .text-link {
    display: inline-block;
    margin-top: 4px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-logo {
    width: min(340px, 72vw);
  }

  h1 {
    font-size: 3rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 14, 18, 0.95) 0%, rgba(10, 14, 18, 0.78) 100%),
      linear-gradient(180deg, rgba(15, 26, 33, 0.24) 0%, rgba(15, 26, 33, 0.7) 100%);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .process-item {
    grid-template-columns: 44px 1fr;
    gap: 18px;
  }

  .audience-paths {
    background: var(--paper);
  }

  .flow-start::after,
  .flow-card::before {
    display: none;
  }

  .process-item > span {
    width: 38px;
    height: 38px;
  }

  .rescue-note {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .contact-panel {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
