/* ==========================================================================
   Bridging the Gap Foundation (BTGF) — Design System
   Palette derived from the official BTGF logo (slate navy #475465 on white),
   extended with a warm amber accent for hope and a deep ink for contrast.
   ========================================================================== */

:root {
  --primary-color: #475465;
  --primary-dark: #33404f;
  --secondary-color: #6d8299;
  --accent-color: #d1912f;
  --accent-soft: #f6e9d2;
  --dark-color: #1d2531;
  --light-color: #f6f7f9;
  --surface-color: #ffffff;
  --text-color: #777777;
  --muted-color: #6a7684;
  --border-color: #e4e8ee;

  --gradient-brand: linear-gradient(135deg, #33404f 0%, #475465 55%, #5d6f85 100%);
  --gradient-soft: linear-gradient(180deg, #ffffff 0%, var(--light-color) 100%);

  --shadow-sm: 0 2px 10px rgba(29, 37, 49, 0.06);
  --shadow-md: 0 12px 30px rgba(29, 37, 49, 0.09);
  --shadow-lg: 0 24px 60px rgba(29, 37, 49, 0.14);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --nav-height: 78px;
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--surface-color);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-title {
  font-family: var(--font-head);
  color: var(--dark-color);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}

p {
  color: var(--text-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color .25s ease;
}

a:hover {
  color: var(--accent-color);
}

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

:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--dark-color);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ---------- Typography helpers ---------- */
.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section-light {
  background: var(--light-color);
}

.section-soft {
  background: var(--gradient-soft);
}

.section-tint {
  background: linear-gradient(180deg, #fbfcfd 0%, #eef1f5 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.eyebrow-light {
  color: rgba(255, 255, 255, .85);
}

.lead-text {
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  color: var(--muted-color);
}

.text-muted-soft {
  color: var(--muted-color);
}

.text-accent {
  color: var(--accent-color);
}

.fw-headline {
  font-family: var(--font-head);
  font-weight: 600;
}

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

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.divider-accent {
  width: 64px;
  height: 4px;
  border-radius: 99px;
  background: var(--accent-color);
  margin: 1.25rem 0;
}

.section-head.center .divider-accent {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 99px;
  padding: .78rem 1.7rem;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
  border-width: 2px;
}

.btn-brand {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #21283a;
}

.btn-accent:hover,
.btn-accent:focus {
  background: #bd8026;
  border-color: #bd8026;
  color: #1b2130;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
  background: transparent;
}

.btn-ghost-light:hover,
.btn-ghost-light:focus {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
  transform: translateY(-3px);
}

.btn-outline-brand {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

.link-more {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.link-more i {
  transition: transform .25s ease;
}

.link-more:hover i {
  transform: translateX(5px);
}

/* ---------- Navbar ---------- */
.site-nav {
  --nav-fg: #ffffff;
  background: rgba(255, 255, 255, 0.502);
  transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: .9rem 0;
  min-height: var(--nav-height);
}

.site-nav.nav-solid,
.site-nav.nav-static {
  --nav-fg: var(--dark-color);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: .55rem 0;
}

.site-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--nav-fg);
  line-height: 1.1;
}

.site-nav .navbar-brand img {
  height: 48px;
  width: auto;
}

.site-nav.nav-solid .navbar-brand img,
.site-nav.nav-static .navbar-brand img {
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: -.01em;
}

.brand-text span {
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .8;
  font-weight: 600;
}

.site-nav .nav-link {
  font-family: var(--font-head);
  font-size: .93rem;
  font-weight: 500;
  color: var(--nav-fg);
  opacity: .92;
  padding: .55rem .85rem !important;
  position: relative;
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .28rem;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
  transform: scaleX(1);
}

.site-nav .nav-link.active {
  opacity: 1;
  font-weight: 600;
}

.site-nav .dropdown-toggle::after {
  margin-left: .35rem;
}

.site-nav .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .55);
  color: var(--nav-fg);
  padding: .4rem .6rem;
}

.site-nav.nav-solid .navbar-toggler,
.site-nav.nav-static .navbar-toggler {
  border-color: var(--border-color);
}

.dropdown-menu {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: .55rem;
  min-width: 260px;
}

.dropdown-item {
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 500;
  padding: .6rem .8rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text-color);
}

.dropdown-item i {
  color: var(--primary-color);
  width: 18px;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--light-color);
  color: var(--primary-dark);
}

.dropdown-item.active {
  background: var(--primary-color);
  color: #fff;
}

.dropdown-item.active i {
  color: #fff;
}

@media (max-width: 991.98px) {
  .site-nav {
    background: rgba(255, 255, 255, .97);
    --nav-fg: var(--dark-color);
    box-shadow: var(--shadow-sm);
  }

  .site-nav .navbar-collapse {
    margin-top: .75rem;
    border-top: 1px solid var(--border-color);
    padding-top: .75rem;
    max-height: 78vh;
    overflow-y: auto;
  }

  .site-nav .nav-link::after {
    display: none;
  }

  .site-nav .nav-actions {
    margin-top: .75rem;
  }
}

/* ---------- Hero slider ---------- */
.hero-carousel {
  position: relative;
}

.hero-slide {
  position: relative;
  min-height: min(94vh, 860px);
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease-out;
}

.carousel-item.active .hero-slide__media {
  transform: scale(1);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 27, 37, .92) 0%, rgba(29, 37, 49, .72) 45%, rgba(29, 37, 49, .38) 100%);
}

.hero-slide__inner {
  position: relative;
  z-index: 2;
  padding: 7rem 0 5rem;
  max-width: 800px;
}

.hero-slide h1 {
  color: #fff;
}

.hero-slide p {
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 99px;
  padding: .35rem 1rem;
  font-size: .78rem;
  font-family: var(--font-head);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.carousel-indicators {
  margin-bottom: 2.25rem;
}

.carousel-indicators [data-bs-target] {
  width: 34px;
  height: 4px;
  border-radius: 99px;
  opacity: .45;
  border: 0;
}

.carousel-indicators .active {
  opacity: 1;
  background: var(--accent-color);
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
  opacity: .65;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.hero-strip {
  background: var(--dark-color);
  color: rgba(255, 255, 255, .9);
  padding: 1.1rem 0;
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-strip span {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.hero-strip i {
  color: var(--accent-color);
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  color: #fff;
  padding: calc(var(--nav-height) + 4.5rem) 0 3.5rem;
  background-size: cover;
  background-position: center;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(20, 27, 37, .93) 0%, rgba(29, 37, 49, .78) 50%, rgba(29, 37, 49, .55) 100%);
}

.page-banner__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.page-banner h1 {
  color: #fff;
}

.page-banner p {
  color: rgba(255, 255, 255, .88);
  margin-bottom: 0;
}

.breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5);
  margin-bottom: 1.1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .78);
  font-size: .88rem;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, .95);
  font-size: .88rem;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .45);
}

/* ---------- Cards ---------- */
.card-soft {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  /* height: 100%; */
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.card-soft:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: #d7deea;
}

.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--accent-soft);
  color: var(--primary-dark);
  margin-bottom: 1.15rem;
}

.icon-badge-brand {
  background: rgba(71, 84, 101, .1);
  color: var(--primary-color);
}

.icon-badge-light {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

/* Focus-area cards with image */
.focus-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #fff;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .4s ease, box-shadow .4s ease;
}

.focus-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.focus-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.focus-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.focus-card:hover .focus-card__media img {
  transform: scale(1.08);
}

.focus-card__icon {
  position: absolute;
  bottom: 22px;
  left: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.focus-card__body {
  padding: 2.2rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}

.focus-card__body h3 {
  margin: 0;
  font-size: 1.22rem;
}

.focus-card__body p {
  color: var(--muted-color);
  font-size: .96rem;
  margin: 0;
}

.focus-card__body .link-more {
  margin-top: auto;
  padding-top: .5rem;
}

/* Highlight / quote blocks */
.highlight-box {
  border-left: 4px solid var(--accent-color);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

.quote-panel {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.25rem);
}

.quote-panel h2,
.quote-panel h3 {
  color: #fff;
}

.quote-panel p {
  color: rgba(255, 255, 255, .88);
}

/* Lists */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .75rem;
  color: var(--text-color);
}

.check-list li span {
  /* content: "\f058"; */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: .1rem;
  color: var(--accent-color);
}

.check-list-light li {
  color: rgba(255, 255, 255, .9);
}

.check-list-light li::before {
  color: var(--accent-color);
}

/* Image / text split */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.media-frame img {
  width: 100%;
  display: block;
}

.media-frame--offset::after {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 55%;
  height: 45%;
  border: 3px solid var(--accent-color);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* Stat / value chips */
.value-chip {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}

.value-chip:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-chip i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-top: .25rem;
}

.value-chip h3 {
  font-size: 1.05rem;
  margin-bottom: .3rem;
}

.value-chip p {
  margin: 0;
  font-size: .93rem;
  color: var(--muted-color);
}

/* ---------- Approach timeline ---------- */
.approach-track {
  position: relative;
}

.approach-track::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-color), rgba(71, 84, 101, .2));
}

.approach-step {
  position: relative;
  padding-left: 5rem;
  margin-bottom: 2.25rem;
}

.approach-step:last-child {
  margin-bottom: 0;
}

.approach-step__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.approach-step h3 {
  margin-bottom: .35rem;
}

.approach-step p {
  color: var(--muted-color);
  margin: 0;
}

@media (min-width: 992px) {
  .approach-track.horizontal::before {
    left: 8%;
    right: 8%;
    top: 27px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
}

/* ---------- Belief list ---------- */
.belief-line {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 500;
  padding: 1.1rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .22);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, .94);
}

.belief-line:last-child {
  border-bottom: 0;
}

.belief-line i {
  color: var(--accent-color);
  font-size: 1rem;
  margin-top: .45rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--gradient-brand);
  overflow: hidden;
}

.cta-band--image {
  background-size: cover;
  background-position: center;
}

.cta-band--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 27, 37, .94), rgba(29, 37, 49, .74));
}

.cta-band__inner {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, .88);
}

/* ---------- Partner chips ---------- */
.partner-chip {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 99px;
  padding: .85rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  height: 100%;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.partner-chip:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-sm);
}

.partner-chip i {
  color: var(--primary-color);
}

/* ---------- Contact form ---------- */
.form-panel {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.form-label {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-control,
.form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  padding: .78rem 1rem;
  background: #fbfcfd;
  font-size: .95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 .2rem rgba(71, 84, 101, .14);
  background: #fff;
}

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

.form-alert {
  display: none;
  border-radius: var(--radius-sm);
}

.form-alert.is-visible {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark-color);
  color: rgba(255, 255, 255, .74);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.site-footer h4 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, .74);
  font-size: .93rem;
}

.site-footer a:hover {
  color: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .55rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.15rem;
}

.footer-brand img {
  /* height: 52px; */
  background: #fff;
  border-radius: 12px;
  padding: 4px;
}

.footer-brand strong {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.05rem;
}

.social-row {
  display: flex;
  gap: .6rem;
  margin-top: 1.25rem;
}

.social-row span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  transition: background-color .3s ease, color .3s ease;
}

.social-row span:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1.35rem 0;
  font-size: .85rem;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 0;
  background: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background-color .3s ease;
  z-index: 1030;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide__media {
    transform: none;
  }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 575.98px) {
  .hero-slide {
    min-height: 88vh;
  }

  .hero-slide__inner {
    padding: 6rem 0 4.5rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .card-soft {
    padding: 1.6rem 1.35rem;
  }

  .approach-step {
    padding-left: 4.25rem;
  }
}

/* Keep wide Bootstrap gutters from overflowing narrow viewports */
@media (max-width: 767.98px) {

  .row.g-5,
  .row.g-lg-5 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 2rem;
  }
}