.af-consulting-home-template {
  --af-home-shell: 76rem;
  --af-home-gutter: 1rem;
  --af-home-text: #fff;
  --af-home-muted: rgba(255, 255, 255, 0.76);
  --af-home-faint: rgba(255, 255, 255, 0.58);
  --af-home-surface: rgba(255, 255, 255, 0.055);
  --af-home-border: rgba(255, 255, 255, 0.14);
  --af-home-accent: rgba(184, 255, 129, 0.9);
}

.af-consulting-home-template .g-main-container {
  overflow: clip;
}

.af-home__shell {
  margin: 0 auto;
  max-width: var(--af-home-shell);
  padding-left: var(--af-home-gutter);
  padding-right: var(--af-home-gutter);
  width: 100%;
}

.af-home__hero {
  align-items: end;
  display: grid;
  min-height: min(50rem, calc(100svh - 3.5rem));
  overflow: hidden;
  position: relative;
}

.af-home__hero-media,
.af-home__hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.af-home__hero-media {
  display: block;
}

.af-home__hero-image {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform-origin: center center;
  width: 100%;
}

.af-home__hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.74) 43%, rgba(0, 0, 0, 0.12) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, transparent 45%);
}

.af-home__hero-content {
  padding-bottom: 3.5rem;
  padding-top: 9rem;
  position: relative;
  z-index: 1;
}

.af-home__kicker {
  color: var(--af-home-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.4 !important;
  margin: 0 0 0.9rem !important;
  text-transform: uppercase;
}

.af-home__hero h1 {
  color: var(--af-home-text) !important;
  font-size: 3rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.06 !important;
  margin: 0;
  max-width: 13ch;
}

.af-home__hero-statement {
  color: var(--af-home-text) !important;
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin: 1.2rem 0 0 !important;
  max-width: 38rem;
}

.af-home__hero-copy {
  color: var(--af-home-muted) !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  margin: 0.85rem 0 0 !important;
  max-width: 46rem;
}

.af-home__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 1.6rem;
}

.af-home__button {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #000 !important;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  padding: 0.95rem 1.35rem;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 180ms ease, color 180ms ease;
}

.af-home__button:hover,
.af-home__button:focus-visible {
  background: transparent;
  color: #fff !important;
}

.af-home__text-link,
.af-home__service-card > a {
  color: var(--af-home-text) !important;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
}

.af-home__text-link span,
.af-home__service-card > a span {
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 180ms ease;
}

.af-home__text-link:hover span,
.af-home__service-card > a:hover span {
  transform: translateX(0.25rem);
}

.af-home__section {
  padding: 5rem 0;
}

.af-home__section + .af-home__section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.af-home__section-intro {
  max-width: 52rem;
}

.af-home__section h2,
.af-home__credibility h2,
.af-home__closing h2 {
  color: var(--af-home-text) !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  margin: 0;
  max-width: 18ch;
}

.af-home__section-intro > p:last-child,
.af-home__credibility-copy > p,
.af-home__closing p {
  color: var(--af-home-muted) !important;
  font-size: 1.1rem !important;
  line-height: 1.65 !important;
  margin: 1rem 0 0 !important;
  max-width: 48rem;
}

.af-home__service-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.af-home__service-card {
  background: var(--af-home-surface);
  border: 1px solid var(--af-home-border);
  border-radius: 8px;
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
}

.af-home__service-card img {
  height: 4.5rem;
  object-fit: contain;
  object-position: left center;
  width: 4.5rem;
}

.af-home__card-number {
  color: var(--af-home-faint) !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.af-home__service-card h3 {
  color: var(--af-home-text) !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.af-home__service-card > p:not(.af-home__card-number) {
  color: var(--af-home-muted) !important;
  font-size: 0.97rem !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

.af-home__service-card > a {
  align-self: end;
  margin-top: 0.5rem;
}

.af-home__section--proof {
  background: rgba(255, 255, 255, 0.025);
}

.af-home__proof-grid {
  display: grid;
  gap: 1px;
  margin-top: 2rem;
  overflow: hidden;
}

.af-home__proof-grid article {
  background: rgba(0, 0, 0, 0.46);
  border: 1px solid var(--af-home-border);
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem;
}

.af-home__proof-grid article:first-child {
  border-radius: 8px 8px 0 0;
}

.af-home__proof-grid article:last-child {
  border-radius: 0 0 8px 8px;
}

.af-home__proof-grid strong {
  color: var(--af-home-text);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.15;
}

.af-home__proof-grid span {
  color: var(--af-home-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.af-home__credibility {
  align-items: center;
  display: grid;
  gap: 2rem;
}

.af-home__credibility-copy ul {
  color: var(--af-home-muted);
  display: grid;
  font-size: 0.98rem;
  gap: 0.45rem;
  line-height: 1.55;
  margin: 1.25rem 0 1.5rem;
  padding-left: 1.15rem;
}

.af-home__credibility-figure {
  margin: 0;
}

.af-home__credibility-figure img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.af-home__closing {
  background: rgba(255, 255, 255, 0.045);
}

.af-home__closing-inner {
  align-items: start;
  display: grid;
  gap: 1.75rem;
}

.af-home__closing .af-home__button {
  justify-self: start;
}

@media (min-width: 45rem) {
  .af-consulting-home-template {
    --af-home-gutter: 2rem;
  }

  .af-home__hero-content {
    padding-bottom: 4.5rem;
  }

  .af-home__hero h1 {
    font-size: 4rem !important;
  }

  .af-home__service-grid,
  .af-home__proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .af-home__proof-grid article:first-child {
    border-radius: 8px 0 0 8px;
  }

  .af-home__proof-grid article:last-child {
    border-radius: 0 8px 8px 0;
  }

  .af-home__credibility {
    grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  }

  .af-home__closing-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .af-home__closing .af-home__button {
    align-self: center;
    justify-self: end;
  }
}

@media (min-width: 75rem) {
  .af-home__hero-image {
    transform: translateX(-4vw) scale(1.08);
  }
}

@media (max-width: 44.99rem) {
  .af-home__hero {
    min-height: min(46rem, calc(100svh - 2rem));
  }

  .af-home__hero-image {
    object-position: 58% center;
  }

  .af-home__hero-shade {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 62%, rgba(0, 0, 0, 0.22) 100%);
  }

  .af-home__hero h1 {
    font-size: 2.45rem !important;
  }

  .af-home__hero-statement {
    font-size: 1.18rem !important;
  }

  .af-home__hero-copy {
    font-size: 0.98rem !important;
    line-height: 1.58 !important;
  }

  .af-home__section {
    padding: 3.75rem 0;
  }

  .af-home__section h2,
  .af-home__credibility h2,
  .af-home__closing h2 {
    font-size: 1.65rem !important;
  }

  .af-home__actions,
  .af-home__actions .af-home__button {
    align-items: stretch;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .af-home__button,
  .af-home__text-link span,
  .af-home__service-card > a span {
    transition: none;
  }
}
