/* ========================================
   Home page — index.html
   Isolated under .page-home — does not
   alter global styles used by other pages.
   ======================================== */

.page-home {
  background: var(--bg-white);
}

.page-home .home-section {
  padding: var(--section-space) 0;
}

.page-home .home-section-alt {
  background: var(--bg-light);
}

.page-home .home-section-header {
  max-width: 760px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.page-home .home-section-header .section-badge {
  margin-bottom: 0.85rem;
}

.page-home .home-section-subtext {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 1rem auto 0;
  max-width: 640px;
}

.page-home .home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition), gap var(--transition);
}

.page-home .home-text-link:hover {
  color: var(--brand-blue-hover);
  gap: 0.55rem;
}

/* ---------- Hero ---------- */
.page-home .home-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  overflow: hidden;
  background: #0a1d37;
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.page-home .home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(6, 20, 40, 0.82) 0%,
    rgba(6, 20, 40, 0.62) 48%,
    rgba(6, 20, 40, 0.4) 100%
  );
}

.page-home .home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-home .home-hero-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.35rem;
  backdrop-filter: blur(6px);
}

.page-home .home-hero-title {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.55rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
}

.page-home .home-hero-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 580px;
}

.page-home .home-hero-delivery {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 560px;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.page-home .home-hero-micro {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Trust bar ---------- */
.page-home .home-trust {
  background: var(--bg-white);
  position: relative;
  z-index: 3;
}

.page-home .home-trust-panel {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0, 123, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(0, 123, 255, 0.12), transparent 50%),
    linear-gradient(145deg, #0a1d37 0%, #0d2748 48%, #081828 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2.75rem 2.5rem;
  box-shadow: 0 24px 60px rgba(10, 29, 55, 0.28);
  overflow: hidden;
  position: relative;
}

.page-home .home-trust-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.page-home .home-trust-heading {
  position: relative;
  text-align: center;
  color: #fff;
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 auto 2.25rem;
  max-width: 720px;
  line-height: 1.3;
}

.page-home .home-trust-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.page-home .home-trust-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 1.65rem 1.1rem 1.55rem;
  height: 100%;
  text-align: center;
  position: relative;
  transition: background-color var(--transition);
}

.page-home .home-trust-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  width: 1px;
  height: 64%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
}

.page-home .home-trust-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.page-home .home-trust-value {
  display: block;
  color: #5eb0ff;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
  line-height: 1.15;
}

.page-home .home-trust-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 0;
}

.page-home .home-trust-support {
  position: relative;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 1.75rem auto 0;
  max-width: 640px;
}

/* ---------- What We Do cards ---------- */
.page-home .home-offer-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .home-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.page-home .home-offer-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eef6;
}

.page-home .home-offer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.page-home .home-offer-card:hover .home-offer-img img {
  transform: scale(1.04);
}

.page-home .home-offer-body {
  padding: 1.5rem 1.45rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-home .home-offer-eyebrow {
  display: inline-block;
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.page-home .home-offer-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.page-home .home-offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.page-home .home-offer-tag {
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  color: var(--text-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  line-height: 1.3;
}

.page-home .home-offer-body .home-text-link {
  margin-top: auto;
}

/* ---------- Numbered feature lists ---------- */
.page-home .home-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.page-home .home-feature-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.45rem;
  box-shadow: 0 6px 20px rgba(15, 35, 70, 0.04);
  height: 100%;
}

.page-home .home-feature-item.is-on-light {
  background: var(--bg-white);
}

.page-home .home-section-alt .home-feature-item {
  background: #fff;
}

.page-home .home-feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.65rem;
  border-radius: 10px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-home .home-feature-kicker {
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin-bottom: 0.7rem;
}

.page-home .home-feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.7rem;
  color: var(--text-dark);
}

.page-home .home-feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.page-home .home-section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---------- Industries ---------- */
.page-home .home-industry-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: 0 4px 18px rgba(15, 35, 70, 0.04);
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .home-industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.page-home .home-industry-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eef6;
}

.page-home .home-industry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.page-home .home-industry-card:hover .home-industry-img img {
  transform: scale(1.05);
}

.page-home .home-industry-body {
  padding: 1.25rem 1.2rem 1.4rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-home .home-industry-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--text-dark);
}

.page-home .home-industry-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Why SparkAnimate (5 cards) ---------- */
.page-home .home-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (min-width: 1200px) {
  .page-home .home-why-grid .home-feature-item:nth-child(4) {
    grid-column: 1 / 2;
  }

  .page-home .home-why-grid .home-feature-item:nth-child(5) {
    grid-column: 2 / 3;
  }
}

/* ---------- How We Work ---------- */
.page-home .home-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  position: relative;
}

.page-home .home-step-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem 1.6rem;
  box-shadow: var(--shadow-card);
  height: 100%;
  position: relative;
}

.page-home .home-step-label {
  display: inline-block;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.page-home .home-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--text-dark);
}

.page-home .home-step-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* ---------- Our Story ---------- */
.page-home .home-story-block + .home-story-block {
  margin-top: 2.75rem;
}

.page-home .home-story-exists .home-story-copy,
.page-home .home-story-change .home-story-copy {
  max-width: 560px;
}

.page-home .home-story-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  background: #e8eef6;
  aspect-ratio: 4 / 3;
}

.page-home .home-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-home .home-story-title {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 1.15rem;
  color: var(--text-dark);
}

.page-home .home-story-text {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 760px;
}

.page-home .home-story-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  max-width: 760px;
}

.page-home .home-story-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 0.65rem;
}

.page-home .home-story-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.page-home .home-story-areas-block {
  margin-top: 3.25rem;
  padding: 2.5rem 2rem 2.25rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: 0 14px 40px rgba(15, 35, 70, 0.06);
}

.page-home .home-story-areas-head {
  text-align: center;
  margin-bottom: 2rem;
}

.page-home .home-story-areas-head .home-story-title {
  margin-bottom: 0;
}

.page-home .home-story-areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 0 2rem;
}

.page-home .home-story-area {
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.page-home .home-story-area:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0, 123, 255, 0.25);
}

.page-home .home-story-area-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dbe5f2;
}

.page-home .home-story-area-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.page-home .home-story-area:hover .home-story-area-img img {
  transform: scale(1.05);
}

.page-home .home-story-area-body {
  padding: 1.35rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-home .home-story-area-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 8px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.page-home .home-story-area h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.page-home .home-story-area p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.page-home .home-story-closing-wrap {
  text-align: center;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(10, 29, 55, 0.04));
  border: 1px solid rgba(0, 123, 255, 0.12);
}

.page-home .home-story-closing {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.55;
  letter-spacing: -0.015em;
  margin: 0;
}

.page-home .home-ecosystem {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  margin-top: 2.75rem;
}

.page-home .home-ecosystem-kicker {
  display: inline-block;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.page-home .home-ecosystem-title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.page-home .home-ecosystem-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  margin: 1.75rem 0;
}

.page-home .home-ecosystem-parent {
  grid-column: 1 / -1;
  text-align: center;
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.15rem 1rem;
  margin-bottom: 0.25rem;
}

.page-home .home-ecosystem-parent strong {
  display: block;
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.page-home .home-ecosystem-parent span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.page-home .home-ecosystem-arrow {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--brand-blue);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.page-home .home-ecosystem-node {
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.15rem;
  text-align: center;
}

.page-home .home-ecosystem-node strong {
  display: block;
  color: var(--text-dark);
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.page-home .home-ecosystem-node span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-home .home-ecosystem-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-weight: 700;
}

/* ---------- Beliefs ---------- */
.page-home .home-belief-open {
  max-width: 720px;
  margin: -0.5rem auto 2.5rem;
  text-align: center;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-home .home-belief-open p {
  margin-bottom: 0.85rem;
}

.page-home .home-belief-close {
  text-align: center;
  max-width: 560px;
  margin: 2.5rem auto 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  letter-spacing: -0.015em;
}

/* ---------- Team / People ---------- */
.page-home .home-people {
  background: var(--bg-light);
}

.page-home .home-people-intro {
  margin-bottom: 2.5rem;
}

.page-home .home-people-copy {
  max-width: 560px;
}

.page-home .home-people-open,
.page-home .home-people-body {
  max-width: none;
  margin: 0;
  text-align: left;
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.8;
}

.page-home .home-people-open p,
.page-home .home-people-body p {
  margin-bottom: 1rem;
}

.page-home .home-people-body {
  margin-top: 0.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-soft);
}

.page-home .home-people-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  background: #e8eef6;
  aspect-ratio: 4 / 3;
}

.page-home .home-people-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-home .home-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.page-home .home-capability-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.55rem 1.35rem 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 35, 70, 0.05);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.page-home .home-capability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 123, 255, 0.22);
}

.page-home .home-capability-num {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  color: rgba(0, 123, 255, 0.18);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.page-home .home-capability-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.page-home .home-capability-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--text-dark);
  padding-right: 2rem;
  line-height: 1.3;
}

.page-home .home-capability-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
}

.page-home .home-people-close-wrap {
  text-align: center;
  margin: 2.5rem auto 0;
  max-width: 640px;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(10, 29, 55, 0.04));
  border: 1px solid rgba(0, 123, 255, 0.12);
}

.page-home .home-people-close {
  text-align: center;
  margin: 0;
  max-width: none;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

/* ---------- Testimonials ---------- */
.page-home .home-quotes-intro {
  max-width: 680px;
  margin: -0.35rem auto 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.page-home .home-quote-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 1.85rem 1.6rem 1.7rem;
  box-shadow: 0 10px 28px rgba(15, 35, 70, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.page-home .home-quote-mark {
  color: var(--brand-blue);
  font-size: 2.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.page-home .home-quote-text {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.page-home .home-quote-author strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.page-home .home-quote-author span {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.page-home .home-quotes-footer {
  text-align: center;
  max-width: 720px;
  margin: 2.75rem auto 0;
}

.page-home .home-quotes-footer-title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.page-home .home-quotes-footer-text {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .page-home .home-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-trust-card:nth-child(3)::after {
    display: none;
  }

  .page-home .home-trust-card:nth-child(n + 4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .page-home .home-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .page-home .home-hero {
    min-height: auto;
    padding: 110px 0 80px;
  }

  .page-home .home-trust {
    margin-top: 0;
  }

  .page-home .home-trust-panel {
    padding: 2.35rem 1.5rem 2rem;
  }

  .page-home .home-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-trust-card:nth-child(3)::after {
    display: block;
  }

  .page-home .home-trust-card:nth-child(2n)::after {
    display: none;
  }

  .page-home .home-trust-card:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .page-home .home-story-exists .home-story-copy,
  .page-home .home-story-change .home-story-copy {
    max-width: none;
  }

  .page-home .home-story-media {
    aspect-ratio: 16 / 10;
  }

  .page-home .home-story-areas-block {
    padding: 1.75rem 1.25rem 1.6rem;
  }

  .page-home .home-story-areas,
  .page-home .home-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-ecosystem {
    padding: 1.75rem 1.35rem;
  }

  .page-home .home-ecosystem-flow {
    grid-template-columns: 1fr;
  }

  .page-home .home-ecosystem-divider {
    transform: rotate(90deg);
    padding: 0.25rem 0;
  }
}

@media (max-width: 767.98px) {
  .page-home .home-hero {
    padding: 96px 0 64px;
  }

  .page-home .home-hero-badge {
    font-size: 0.72rem;
    padding: 0.5rem 0.85rem;
  }

  .page-home .home-hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .page-home .home-trust {
    margin-top: 0;
  }

  .page-home .home-trust-panel {
    border-radius: var(--radius-lg);
    padding: 2rem 1.15rem 1.75rem;
  }

  .page-home .home-trust-grid,
  .page-home .home-feature-list,
  .page-home .home-why-grid,
  .page-home .home-steps,
  .page-home .home-story-areas,
  .page-home .home-capability-grid {
    grid-template-columns: 1fr;
  }

  .page-home .home-trust-card:not(:last-child)::after {
    display: none;
  }

  .page-home .home-trust-card:not(:first-child) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .page-home .home-trust-card {
    padding: 1.25rem 1rem;
    text-align: left;
    display: grid;
    grid-template-columns: minmax(7.5rem, auto) 1fr;
    gap: 0.75rem;
    align-items: center;
  }

  .page-home .home-trust-value {
    margin-bottom: 0;
  }

  .page-home .home-section-header {
    margin-bottom: 2rem;
  }

  .page-home .home-section-subtext {
    font-size: 0.98rem;
  }
}

@media (max-width: 575.98px) {
  .page-home .home-trust-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.35rem;
  }

  .page-home .home-trust-value {
    margin-bottom: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-offer-card,
  .page-home .home-offer-img img,
  .page-home .home-industry-card,
  .page-home .home-industry-img img,
  .page-home .home-capability-card,
  .page-home .home-story-area,
  .page-home .home-story-area-img img,
  .page-home .home-text-link {
    transition: none;
  }

  .page-home .home-offer-card:hover,
  .page-home .home-industry-card:hover,
  .page-home .home-story-area:hover,
  .page-home .home-capability-card:hover {
    transform: none;
  }

  .page-home .home-offer-card:hover .home-offer-img img,
  .page-home .home-industry-card:hover .home-industry-img img,
  .page-home .home-story-area:hover .home-story-area-img img {
    transform: none;
  }
}

/* Homepage visual refinement. All overrides stay inside the existing page scope. */
.page-home {
  --text-muted: #59677a;
  --text-dark: #10243f;
  --border-soft: #dfe7f0;
  --section-space: clamp(64px, 7vw, 112px);
  --shadow-card: 0 8px 28px rgba(10, 29, 55, .045);
  --shadow-card-hover: 0 16px 38px rgba(10, 29, 55, .10);
}
.page-home .container { width: 90%; max-width: 90%; }
.page-home .site-navbar { border-bottom: 1px solid var(--border-soft); }
.page-home .nav-link { padding-inline: 16px !important; }

@media (min-width: 992px) and (max-width: 1199.98px) {
  .page-home .nav-link { padding-inline: 0.45rem !important; }
  .page-home .btn-nav-cta { padding: 0.45rem 1.05rem; min-height: 0; }
}
.page-home .btn { border-radius: 10px; padding: .85rem 1.5rem; min-height: 48px; }
.page-home .btn-brand { background: #0069d9; border-color: #0069d9; box-shadow: 0 5px 14px rgba(0, 105, 217, .16); }
.page-home .btn-brand:hover { background: #0058b8; border-color: #0058b8; transform: translateY(-2px); }
.page-home :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #007bff; outline-offset: 4px; }
.page-home .home-hero :is(a, button):focus-visible { outline-color: #fff; }
.page-home :is(section, header)[id] { scroll-margin-top: 96px; }

/* A cinematic image panel, balanced against a quiet, readable text surface. */
.page-home .home-hero { min-height: 720px; padding: 84px 0 96px; background: #0a1d37; }
.page-home .home-hero-bg { inset: 24px 24px 24px auto; width: 47%; height: calc(100% - 48px); object-position: 58% center; border-radius: 22px; }
.page-home .home-hero-overlay { background: linear-gradient(90deg, #0a1d37 0%, #0a1d37 43%, rgba(10,29,55,.86) 52%, rgba(10,29,55,.05) 78%); }
.page-home .home-hero-content { max-width: 660px; }
.page-home .home-hero-badge { max-width: 540px; background: transparent; border: 0; border-left: 2px solid #5eb0ff; border-radius: 0; padding: 0 0 0 14px; font-size: .75rem; line-height: 1.8; color: #c2dcf7; margin-bottom: 26px; backdrop-filter: none; }
.page-home .home-hero-title { font-size: clamp(2.5rem, 4.5vw, 4.25rem); max-width: 650px; line-height: 1.06; letter-spacing: -.055em; margin-bottom: 26px; text-wrap: balance; }
.page-home .home-hero-text { max-width: 530px; font-size: 1.08rem; line-height: 1.8; color: #e0e9f4; }
.page-home .home-hero-delivery { max-width: 480px; color: #bccbde; font-size: .9rem; margin-bottom: 28px; }
.page-home .home-hero-actions { gap: 12px; margin-bottom: 20px; }
.page-home .home-hero-actions .btn-outline-light { background: rgba(10,29,55,.6); border-color: #8193ab; }
.page-home .home-hero-actions .btn-outline-light:hover { background: #fff; color: #0a1d37; }
.page-home .home-hero-micro { max-width: 480px; color: #bdcada; font-size: .8rem; }

/* A compact, open metrics strip follows the hero. */
.page-home .home-trust { padding: 48px 0 0; }
.page-home .home-trust-panel { background: #fff; border-radius: 0; padding: 0 0 44px; box-shadow: none; border-bottom: 1px solid var(--border-soft); }
.page-home .home-trust-panel::before { content: none; }
.page-home .home-trust-heading { color: var(--text-dark); font-size: 1.05rem; font-weight: 600; max-width: none; margin-bottom: 28px; letter-spacing: -.015em; }
.page-home .home-trust-grid { background: transparent; border: 0; border-radius: 0; backdrop-filter: none; }
.page-home .home-trust-card { padding: 16px 12px; }
.page-home .home-trust-card:not(:last-child)::after { background: var(--border-soft); }
.page-home .home-trust-value { color: #0069d9; font-size: clamp(1.3rem, 1.8vw, 1.8rem); }
.page-home .home-trust-label { color: var(--text-muted); font-size: .8rem; }
.page-home .home-trust-support { color: var(--text-muted); font-size: .8rem; margin-top: 22px; }
.page-home .home-section-header { max-width: 850px; margin-bottom: 44px; }
.page-home .section-title { font-size: clamp(2rem, 3.1vw, 2.9rem); line-height: 1.16; letter-spacing: -.045em; text-wrap: balance; }
.page-home .section-badge { background: transparent; color: #0065cf; border-radius: 0; padding: 0; font-size: .75rem; letter-spacing: .13em; }
.page-home .home-section-subtext { max-width: 660px; line-height: 1.8; }
.page-home .home-section-alt { background: #f4f7fb; border-block: 1px solid #e9eef5; }
.page-home .home-text-link { color: #0065cf; line-height: 1.5; }
.page-home .home-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.page-home :is(.home-offer-card, .home-industry-card, .home-story-area, .home-capability-card, .home-quote-card) { border-radius: 18px; box-shadow: var(--shadow-card); }
.page-home .home-offer-img { aspect-ratio: 16 / 10; margin: 10px 10px 0; border-radius: 11px; }
.page-home .home-offer-body { padding: 26px; }
.page-home .home-offer-title { font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.4; }
.page-home .home-offer-eyebrow { color: #0065cf; margin-bottom: 14px; }
.page-home .home-offer-tag { border: 1px solid #e1e8f1; background: #f7f9fc; color: #526175; border-radius: 6px; }
.page-home .home-offer-body .home-text-link { padding-top: 20px; border-top: 1px solid var(--border-soft); width: 100%; margin-top: auto; }
.page-home .home-feature-list { gap: 20px; }
.page-home .home-feature-item { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; box-shadow: none; padding: 30px; }
.page-home .home-feature-num { background: #e7f1ff; color: #0065cf; border-radius: 10px; }
.page-home .home-feature-kicker { line-height: 1.55; letter-spacing: .025em; }
.page-home .home-feature-text { font-size: .96rem; line-height: 1.8; }
.page-home .home-industry-body { padding: 24px 22px; }
.page-home .home-industry-title { font-size: 1.12rem; line-height: 1.35; letter-spacing: -.02em; }
.page-home .home-industry-text { font-size: .9rem; line-height: 1.8; }
.page-home .home-why-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.page-home .home-why-grid .home-feature-item { grid-column: span 2; }
.page-home .home-why-grid .home-feature-item:nth-child(n+4) { grid-column: span 3; }
.page-home .home-step-card { border-radius: 0; border: 0; border-top: 2px solid #007bff; box-shadow: none; padding: 28px 18px 0 0; }
.page-home .home-step-label { background: #e7f1ff; color: #0065cf; }
.page-home .home-step-text { line-height: 1.8; }
.page-home .home-story-block + .home-story-block { margin-top: 80px; }
.page-home :is(.home-story-media, .home-people-media) { border-radius: 22px; box-shadow: 0 20px 45px rgba(10,29,55,.08); }
.page-home .home-story-title { letter-spacing: -.035em; }
.page-home .home-story-areas-block { padding: 36px; box-shadow: none; margin-top: 64px; }
.page-home .home-ecosystem { padding: 40px; box-shadow: none; }
.page-home .home-capability-card { padding: 28px; }
.page-home .home-capability-num { color: #617da1; }
.page-home .home-quote-card { padding: 32px; background: #f8faff; }
.page-home .home-quote-author { border-top: 1px solid var(--border-soft); padding-top: 22px; }
.page-home .home-quotes-footer { max-width: 850px; background: #0a1d37; border-radius: 22px; padding: 44px; margin-top: 48px; }
.page-home .home-quotes-footer-title { color: #fff; }
.page-home .home-quotes-footer-text { color: #c4d2e4; }
.page-home .section-contact { background: #f4f7fb; padding-block: var(--section-space); }
.page-home .contact-image { border-radius: 20px; overflow: hidden; }
.page-home .contact-form-wrap { background: #fff; border: 1px solid var(--border-soft); border-radius: 20px; padding: 40px; }
.page-home .contact-title { font-size: clamp(2rem, 3vw, 2.7rem); letter-spacing: -.04em; }
.page-home .contact-form :is(.form-control, .form-select) { min-height: 50px; background-color: #fbfcfe; border-radius: 8px; border-color: #b8c6d7; }
.page-home .contact-form :is(.form-control, .form-select).is-invalid { border-color: #dc3545; }
.page-home .section-faq { padding-block: var(--section-space); }
.page-home .faq-wrap { max-width: 860px; }
.page-home .faq-wrap .accordion-item { border-radius: 12px; border-color: var(--border-soft); box-shadow: none; margin-bottom: 12px; }
.page-home .faq-wrap .accordion-button { padding: 24px; line-height: 1.5; }
.page-home .faq-wrap .accordion-body { padding: 0 24px 24px; line-height: 1.8; }
.page-home .site-footer { padding-top: 64px; }

@media (min-width: 992px) {
  .page-home #services .home-section-header,
  .page-home #industries .home-section-header { margin-left: 0; text-align: left; max-width: 760px; }
  .page-home #services .home-section-subtext,
  .page-home #industries .home-section-subtext { margin-left: 0; }
}
@media (max-width: 1199.98px) {
  .page-home .home-hero-content { max-width: 58%; }
  .page-home .home-trust-card:nth-child(n+4) { border-top: 1px solid var(--border-soft); }
}
@media (max-width: 991.98px) {
  .page-home .container { padding-inline: 28px; }
  .page-home .home-hero { min-height: auto; padding: 72px 0; }
  .page-home .home-hero-bg { inset: 0; width: 100%; height: 100%; border-radius: 0; }
  .page-home .home-hero-overlay { background: linear-gradient(90deg, rgba(6,20,40,.96), rgba(6,20,40,.8)); }
  .page-home .home-hero-content { max-width: 650px; }
  .page-home .home-hero-title { font-size: clamp(2.5rem, 6.5vw, 3.75rem); }
  .page-home .home-trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-home .home-trust-card:nth-child(n) { border-top: 0; }
  .page-home .home-trust-card:nth-child(n+4) { border-top: 1px solid var(--border-soft); }
  .page-home .home-trust-card:nth-child(n)::after { display: none; }
  .page-home .home-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .home-why-grid .home-feature-item:nth-child(n) { grid-column: auto; }
  .page-home .home-why-grid .home-feature-item:last-child { grid-column: 1 / -1; }
  .page-home .contact-form-wrap { padding: 32px; }
}
@media (max-width: 767.98px) {
  .page-home .container { padding-inline: 20px; }
  .page-home .home-hero { padding: 56px 0 60px; }
  .page-home .home-hero-title { font-size: clamp(2.35rem, 8.7vw, 3.5rem); }
  .page-home .home-hero-badge { font-size: .7rem; }
  .page-home .home-hero-text { font-size: 1rem; }
  .page-home .home-hero-actions { gap: 10px; }
  .page-home .home-trust { padding-top: 32px; }
  .page-home .home-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .home-trust-card { display: block; padding: 20px 8px; text-align: center; }
  .page-home .home-trust-card:nth-child(n+3) { border-top: 1px solid var(--border-soft); }
  .page-home .home-trust-value { font-size: 1.25rem; margin-bottom: 8px; }
  .page-home .home-trust-label { font-size: .75rem; }
  .page-home .home-section-header { margin-bottom: 30px; }
  .page-home .section-title { font-size: 2rem; }
  .page-home .home-why-grid { grid-template-columns: 1fr; }
  .page-home :is(.home-feature-item, .home-capability-card, .home-quote-card) { padding: 24px; }
  .page-home .home-story-block + .home-story-block { margin-top: 48px; }
  .page-home :is(.home-story-areas-block, .home-ecosystem) { padding: 24px 18px; }
  .page-home .home-quotes-footer { padding: 32px 22px; }
  .page-home .contact-form-wrap { padding: 26px 20px; }
  .page-home .faq-wrap .accordion-button { padding: 20px; }
  .page-home .faq-wrap .accordion-body { padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-home *, .page-home *::before, .page-home *::after { animation: none !important; transition: none !important; }
  .page-home [data-reveal] { opacity: 1; transform: none; }
  .page-home .btn:hover { transform: none; }
}

/* Editorial homepage design; this file is loaded by index.html only. */
.page-home { --section-space: clamp(64px, 8vw, 120px); --text-dark: #10243f; }
.page-home .site-navbar { box-shadow: 0 4px 24px #10243f05; }
.page-home .home-hero { background: #f0f5fb; min-height: 730px; padding: 72px 0 84px; isolation: isolate; }
.page-home .home-hero-bg { inset: 40px max(32px, calc((100vw - 1216px) / 2)) 40px auto; width: calc(43% - 32px); height: calc(100% - 80px); border-radius: 120px 24px 24px 24px; object-position: 56% center; box-shadow: 0 24px 60px #10243f20; }
.page-home .home-hero-overlay { pointer-events: none; background: radial-gradient(ellipse at 0% 100%, #cfe3fc80, transparent 55%); z-index: -1; }
.page-home .home-hero-content { max-width: 53%; }
.page-home .home-hero-badge { color: #365a82; border-left: 3px solid #0069d9; font-size: .73rem; max-width: 480px; }
.page-home .home-hero-title { color: #10243f; font-size: clamp(2.7rem, 4.4vw, 4.2rem); line-height: 1.09; letter-spacing: -.055em; }
.page-home .home-hero-text { color: #405671; font-size: 1.06rem; max-width: 520px; }
.page-home .home-hero-delivery { color: #52657d; }
.page-home .home-hero-micro { color: #52657d; }
.page-home .home-hero-actions .btn-outline-light { color: #10243f; border-color: #a9b9cd; background: #ffffffb3; }
.page-home .home-hero-actions .btn-outline-light:hover { color: #0058b8; background: #fff; border-color: #0069d9; }
.page-home .home-hero :is(a, button):focus-visible { outline-color: #0069d9; }
.page-home .btn { font-weight: 650; transition: background-color .2s, box-shadow .2s, transform .2s; }
.page-home .home-trust { padding-top: 0; background: #fff; }
.page-home .home-trust-panel { padding: 40px 0 32px; }
.page-home .home-trust-heading { font-size: .9rem; color: #52657d; margin-bottom: 20px; }
.page-home .home-trust-value { font-size: clamp(1.35rem, 2vw, 1.85rem); letter-spacing: -.045em; }
.page-home .home-trust-card { padding-block: 12px; }
.page-home .home-trust-support { margin-top: 24px; }
.page-home .section-badge { display: inline-flex; align-items: center; gap: 10px; }
.page-home .section-badge::before { content: ''; width: 20px; height: 2px; background: currentColor; }
.page-home .home-offer-card { border-color: #e1e8f1; box-shadow: 0 12px 36px #10243f08; }
.page-home .home-offer-img { margin: 0; border-radius: 0; aspect-ratio: 16 / 11; }
.page-home .home-offer-body { padding: 30px; }
.page-home .home-offer-tag { font-size: .74rem; padding: 6px 9px; }
.page-home .home-offer-title { font-size: 1.4rem; }
.page-home .home-feature-list { gap: 0 40px; }
.page-home .home-feature-list .home-feature-item { border: 0; border-bottom: 1px solid #d5e0ed; background: transparent; border-radius: 0; padding: 30px 0; }
.page-home .home-feature-list .home-feature-num { background: transparent; padding: 0; justify-content: flex-start; font-size: 1.5rem; font-weight: 500; color: #0069d9; }
.page-home .home-feature-kicker { font-size: .94rem; max-width: 440px; }
.page-home .home-industry-card { box-shadow: none; border-radius: 14px; }
.page-home .home-industry-img { aspect-ratio: 4 / 3; }
.page-home .home-industry-body { padding: 24px; }
.page-home .home-why-grid .home-feature-item { border-radius: 18px; border-color: #dce5f0; }
.page-home #process { background: #0a1d37; }
.page-home #process .section-title, .page-home #process .home-step-title { color: #fff; }
.page-home #process .section-badge, .page-home #process .home-text-link { color: #8fc5ff; }
.page-home #process .home-section-subtext, .page-home #process .home-step-text { color: #c1cede; }
.page-home #process .home-step-card { background: transparent; border-color: #466487; padding-top: 28px; }
.page-home #process .home-step-label { background: #203e60; color: #d7eaff; border-radius: 6px; }
.page-home #process .home-section-cta { margin-top: 48px; }
.page-home .home-story-media { border-radius: 24px 72px 24px 24px; }
.page-home .home-capability-card { box-shadow: none; border-top: 3px solid #c8ddf6; }
.page-home .home-quote-card { background: #fff; border: 0; border-top: 2px solid #0069d9; border-radius: 0; box-shadow: none; padding: 32px 22px; }
.page-home .home-quote-text { font-size: 1.04rem; line-height: 1.85; }
.page-home .home-quotes-footer { max-width: none; padding: 56px; background: radial-gradient(ellipse at 100% 0, #1b4779, transparent 65%), #0a1d37; }

@media (max-width: 767.98px) {
  .page-home .home-quotes-footer { padding: 32px 22px; }
  .page-home .home-hero-badge { max-width: none; }
}
.page-home .contact-form-wrap { box-shadow: 0 16px 48px #10243f08; }
.page-home .faq-wrap .accordion-button:not(.collapsed) { color: #0058b8; background: #edf4fd; }
.page-home .faq-wrap .accordion-body { padding-top: 20px; }
@media (min-width: 1200px) {
  .page-home .home-section-alt:has(.home-feature-list) > .container { display: grid; grid-template-columns: .85fr 1.4fr; gap: 72px; align-items: start; }
  .page-home .home-section-alt:has(.home-feature-list) .home-section-header { text-align: left; margin: 24px 0 0; }
  .page-home .home-section-alt:has(.home-feature-list) .home-feature-list { grid-template-columns: 1fr; }
  .page-home .home-feature-list .home-feature-item { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; }
  .page-home .home-feature-list .home-feature-num { grid-row: span 2; }
  .page-home .home-feature-list .home-feature-text { grid-column: 2; }
}
@media (max-width: 991.98px) {
  .page-home .home-hero { padding: 60px 0 380px; min-height: 0; }
  .page-home .home-hero-content { max-width: 700px; }
  .page-home .home-hero-bg { inset: auto 28px 32px; width: calc(100% - 56px); height: 300px; object-position: center 47%; border-radius: 56px 18px 18px 18px; }
  .page-home .home-hero-title { max-width: 650px; font-size: clamp(2.7rem, 6vw, 3.7rem); }
  .page-home .home-hero-text { max-width: 650px; }
}
@media (max-width: 575.98px) {
  .page-home .home-hero { padding: 40px 0 290px; }
  .page-home .home-hero-title { font-size: clamp(2.2rem, 9.5vw, 3rem); }
  .page-home .home-hero-bg { inset: auto 20px 28px; width: calc(100% - 40px); height: 220px; border-radius: 40px 14px 14px 14px; }
  .page-home .home-hero-badge { font-size: .7rem; margin-bottom: 22px; }
  .page-home .home-hero-actions .btn { padding-inline: 16px; }
  .page-home .home-offer-body { padding: 24px; }
  .page-home .home-feature-list .home-feature-item { padding: 26px 0; }
  .page-home .home-quotes-footer { padding: 36px 24px; }
  .page-home .home-trust-value { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .btn { transition: none; }
}

/* SparkSupport group: editorial copy paired with an ecosystem diagram. */
.page-home .home-ecosystem {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  margin-top: 72px;
  border: 1px solid #244263;
  border-radius: 28px;
  background: radial-gradient(ellipse at 100% 0%, #204a76 0%, transparent 65%), #0a1d37;
  box-shadow: 0 24px 56px #10243f14;
}
.page-home .home-ecosystem-kicker {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 0 0 0 12px;
  margin-bottom: 24px;
  border-left: 3px solid #72b4ff;
  border-radius: 0;
  background: transparent;
  color: #a9d2ff;
  font-size: .72rem;
  letter-spacing: .1em;
  line-height: 1.7;
}
.page-home .home-ecosystem-title {
  grid-column: 1;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.16;
  letter-spacing: -.04em;
  text-wrap: balance;
  margin: 0 0 24px;
}
.page-home .home-ecosystem > .home-story-text {
  grid-column: 1;
  color: #c4d2e3;
  font-size: .96rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.page-home .home-ecosystem > .home-feature-title {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  color: #dcecff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-home .home-ecosystem-flow {
  grid-column: 2;
  grid-row: 3 / 6;
  align-self: start;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 16px 8px;
  padding: 28px;
  margin: 0;
  background: #ffffff06;
  border: 1px solid #ffffff20;
  border-radius: 20px;
}
.page-home .home-ecosystem-parent {
  background: #f0f6ff;
  border: 1px solid #dce9fa;
  padding: 22px 16px;
  margin: 0;
  border-radius: 12px;
}
.page-home .home-ecosystem-parent strong { color: #10243f; font-size: 1.12rem; letter-spacing: -.025em; }
.page-home .home-ecosystem-parent span { color: #52657d; font-size: .8rem; }
.page-home .home-ecosystem-arrow { color: #9acaff; line-height: 1.5; }
.page-home .home-ecosystem-node {
  padding: 24px 12px;
  border: 1px solid #5379a3;
  border-top: 3px solid #85bdff;
  border-radius: 12px;
  background: #173556;
}
.page-home .home-ecosystem-node strong { color: #fff; font-size: 1rem; letter-spacing: -.025em; margin-bottom: 10px; }
.page-home .home-ecosystem-node span { color: #cbdcf0; font-size: .82rem; display: block; line-height: 1.7; }
.page-home .home-ecosystem-divider { color: #a9d2ff; font-size: 1.4rem; transform: none; }
.page-home .home-ecosystem > .home-story-text:last-of-type {
  grid-column: 1 / -1;
  border-top: 1px solid #ffffff26;
  padding-top: 28px;
  margin-top: 16px;
  max-width: none;
}
.page-home .home-ecosystem > .home-text-link {
  grid-column: 1 / -1;
  justify-self: start;
  color: #a9d2ff;
  padding-block: 8px;
  font-size: .94rem;
}
.page-home .home-ecosystem > .home-text-link:hover { color: #fff; }
.page-home .home-ecosystem > .home-text-link:focus-visible { outline-color: #a9d2ff; }
@media (max-width: 991.98px) {
  .page-home .home-ecosystem { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .page-home .home-ecosystem > .home-feature-title,
  .page-home .home-ecosystem-flow { grid-column: 1; grid-row: auto; }
  .page-home .home-ecosystem-flow { margin-bottom: 12px; }
  .page-home .home-ecosystem-title { max-width: 620px; }
}
@media (max-width: 575.98px) {
  .page-home .home-ecosystem { padding: 28px 22px; border-radius: 20px; margin-top: 48px; }
  .page-home .home-ecosystem-flow { padding: 18px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .page-home .home-ecosystem-node { padding: 22px 16px; }
  .page-home .home-ecosystem > .home-story-text { font-size: .93rem; }
}

/* Light palette for the SparkSupport section. */
.page-home .home-ecosystem {
  background: radial-gradient(ellipse at 100% 0%, #e8f2ff 0%, transparent 65%), #fff;
  border-color: #dce6f2;
  box-shadow: 0 18px 48px #10243f08;
}
.page-home .home-ecosystem-kicker { color: #0065cf; border-left-color: #0069d9; }
.page-home .home-ecosystem-title { color: #10243f; }
.page-home .home-ecosystem > .home-story-text { color: #52657d; }
.page-home .home-ecosystem > .home-feature-title { color: #365a82; }
.page-home .home-ecosystem-flow { background: #f0f5fc; border-color: #d9e5f3; }
.page-home .home-ecosystem-parent { background: #fff; border-color: #d3e1f1; box-shadow: 0 6px 18px #10243f06; }
.page-home .home-ecosystem-arrow { color: #0069d9; }
.page-home .home-ecosystem-node { background: #fff; border-color: #d3e1f1; border-top-color: #5b9eea; }
.page-home .home-ecosystem-node strong { color: #10243f; }
.page-home .home-ecosystem-node span { color: #52657d; }
.page-home .home-ecosystem-divider { color: #0069d9; }
.page-home .home-ecosystem > .home-story-text:last-of-type { border-top-color: #dce6f2; }
.page-home .home-ecosystem > .home-text-link { color: #0065cf; }
.page-home .home-ecosystem > .home-text-link:hover { color: #004c9d; }
.page-home .home-ecosystem > .home-text-link:focus-visible { outline-color: #0069d9; }

/* Testimonial profiles, isolated to the homepage cards. */
.page-home .home-quote-card { border: 1px solid #dce6f2; border-radius: 18px; padding: 30px; background: linear-gradient(145deg, #f4f8fe, #fff 55%); }
.page-home .home-quote-mark { font-size: 3rem; margin-bottom: 0; }
.page-home .home-quote-author { display: flex; align-items: center; gap: 14px; }
.page-home .home-quote-avatar { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 30%; border: 3px solid #fff; box-shadow: 0 0 0 1px #dce6f2; }
.page-home .home-quote-author-details { min-width: 0; }
.page-home .home-quote-author-details strong { margin-bottom: 5px; }
.page-home .home-quote-author-details span { font-size: .77rem; line-height: 1.6; }
@media (max-width: 575.98px) {
  .page-home .home-quote-card { padding: 24px; }
  .page-home .home-quote-author { gap: 12px; }
  .page-home .home-quote-avatar { flex-basis: 52px; width: 52px; height: 52px; }
}

/* Trust metrics: light, structured credibility panel. */
.page-home .home-trust { padding: 48px 0 0; background: #fff; }
.page-home .home-trust-panel {
  padding: 40px;
  border: 1px solid #dce6f2;
  border-radius: 24px;
  background: linear-gradient(120deg, #f0f6ff, #fff 65%);
  box-shadow: 0 12px 36px #10243f06;
}
.page-home .home-trust-heading {
  max-width: 660px;
  margin: 0 auto 32px;
  color: #10243f;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.page-home .home-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border: 0;
  background: transparent;
  overflow: visible;
}
.page-home .home-trust-card:nth-child(n) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  text-align: left;
  padding: 26px 28px;
  border: 1px solid #e0e8f3;
  border-radius: 14px;
  background: #fff;
  min-width: 0;
}
.page-home .home-trust-card:nth-child(n)::after { display: none; }
.page-home .home-trust-value {
  color: #0065cf;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.15;
  margin: 0;
}
.page-home .home-trust-card:nth-child(-n+3) .home-trust-value { font-size: clamp(2rem, 3.1vw, 2.8rem); }
.page-home .home-trust-label { color: #52657d; font-size: .86rem; line-height: 1.55; margin: 0; }
.page-home .home-trust-support {
  border-top: 1px solid #dce6f2;
  padding-top: 22px;
  margin: 26px 0 0;
  color: #52657d;
  font-size: .82rem;
  line-height: 1.7;
}
@media (max-width: 991.98px) {
  .page-home .home-trust-panel { padding: 30px; }
  .page-home .home-trust-card:nth-child(n) { padding: 24px 18px; }
}
@media (max-width: 767.98px) {
  .page-home .home-trust { padding-top: 28px; }
  .page-home .home-trust-panel { padding: 26px 18px; border-radius: 20px; }
  .page-home .home-trust-heading { margin-bottom: 24px; }
  .page-home .home-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .page-home .home-trust-card:nth-child(n) { padding: 22px 14px; gap: 10px; }
  .page-home .home-trust-value { font-size: 1.18rem; }
  .page-home .home-trust-label { font-size: .76rem; }
}
@media (max-width: 359.98px) {
  .page-home .home-trust-grid { grid-template-columns: minmax(0, 1fr); }
}
.page-home .home-trust-support { max-width: none; width: 100%; text-align: center; }

/* Home motion: slow ambient movement and staggered entrances. */
.page-home .home-trust-value { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .page-home .home-hero-bg { animation: home-camera-drift 20s ease-in-out infinite alternate; }
  .page-home .home-hero-overlay::after {
    content: '';
    position: absolute;
    width: clamp(180px, 30vw, 440px);
    aspect-ratio: 1;
    right: 8%;
    top: 18%;
    border: 1px solid rgba(133,210,255,.22);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(64,166,255,.12), transparent 68%);
    box-shadow: 0 0 0 45px rgba(133,210,255,.035), 0 0 0 90px rgba(133,210,255,.025);
    pointer-events: none;
    animation: home-orbit-drift 12s ease-in-out infinite alternate;
  }
  .page-home .home-hero-content > * { animation: home-content-enter .85s cubic-bezier(.22,1,.36,1) both; }
  .page-home .home-hero-content > :nth-child(2) { animation-delay: .12s; }
  .page-home .home-hero-content > :nth-child(3) { animation-delay: .24s; }
  .page-home .home-hero-content > :nth-child(4) { animation-delay: .36s; }
  .page-home .home-hero-content > :nth-child(5) { animation-delay: .48s; }
  .page-home .home-hero-content > :nth-child(6) { animation-delay: .6s; }
  .page-home .home-capability-card.is-revealed .home-capability-icon { animation: home-icon-float 4s ease-in-out infinite; }
  .page-home .home-capability-card:nth-child(even) .home-capability-icon { animation-delay: -2s; }
  .page-home .home-step-card.is-revealed .home-step-label { animation: home-content-enter .7s .2s both; }
  .page-home .home-hero-actions .btn { transition: transform .25s ease, box-shadow .25s ease; }
  .page-home .home-hero-actions .btn:hover { transform: translateY(-4px); box-shadow: 0 8px 24px #0003; }
}
@keyframes home-camera-drift {
  from { transform: scale(1.03) translateX(-.5%); }
  to { transform: scale(1.1) translateX(.5%); }
}
@keyframes home-orbit-drift {
  from { transform: translate3d(0, -12px, 0) scale(.95); }
  to { transform: translate3d(24px, 24px, 0) scale(1.08); }
}
@keyframes home-content-enter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes home-icon-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-7px) rotate(3deg); }
}
.page-home.home-motion-paused *,
.page-home.home-motion-paused *::after { animation-play-state: paused !important; }
.page-home.home-motion-paused .home-hero-content > *,
.page-home.home-motion-paused .home-step-label { animation: none !important; }
.page-home.home-motion-paused [data-reveal] { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .page-home *, .page-home *::before, .page-home *::after { animation: none !important; transition: none !important; }
  .page-home [data-reveal] { opacity: 1; transform: none; }
}

/* Button feedback across the index page. */
@media (prefers-reduced-motion: no-preference) {
  .page-home .btn,
  .page-home .home-hero-actions .btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease,
      background-color .25s ease, border-color .25s ease, color .25s ease;
  }
  .page-home .btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.32) 50%, transparent 80%);
    transform: translateX(-140%);
    pointer-events: none;
  }
  .page-home .btn:not(:disabled):not(.disabled):focus-visible::after {
    animation: home-button-shine .7s ease-out;
  }
  .page-home .btn:not(:disabled):not(.disabled):focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,105,217,.24);
    outline: 3px solid #74baff;
    outline-offset: 4px;
  }
  @media (hover: hover) {
    .page-home .btn:not(:disabled):not(.disabled):hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 22px rgba(0,105,217,.24);
    }
    .page-home .btn:not(:disabled):not(.disabled):hover::after {
      animation: home-button-shine .7s ease-out;
    }
  }
  .page-home .btn:not(:disabled):not(.disabled):active {
    transform: translateY(1px) scale(.97);
    box-shadow: 0 2px 6px rgba(0,105,217,.18);
    transition-duration: .1s;
  }
}
@keyframes home-button-shine {
  to { transform: translateX(140%); }
}

/* Gentle zoom loop for the two banner calls to action. */
@media (prefers-reduced-motion: no-preference) {
  .page-home .home-hero-actions .btn {
    animation: home-banner-button-zoom 2.6s ease-in-out infinite;
  }
  .page-home .home-hero-actions .btn:nth-child(2) {
    animation-delay: -.65s;
  }
  .page-home .home-hero-actions .btn:hover,
  .page-home .home-hero-actions .btn:focus-visible,
  .page-home .home-hero-actions .btn:active {
    animation: none;
  }
}
@keyframes home-banner-button-zoom {
  0%, 100% { scale: 1; }
  50% { scale: 1.045; }
}

/* Keep hero copy and banner image in the same container so they cannot overlap on wide screens. */
.page-home .home-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(280px, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 610px;
}
.page-home .home-hero-content {
  max-width: 34rem;
  width: 100%;
}
.page-home .home-hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  overflow: hidden;
  border-radius: 120px 24px 24px 24px;
  box-shadow: 0 24px 60px #10243f20;
}
.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  border-radius: inherit;
  box-shadow: none;
  transform-origin: center center;
}
@media (min-width: 1400px) {
  .page-home .home-hero-layout {
    grid-template-columns: minmax(0, max-content) minmax(420px, 1fr);
    gap: 20px;
  }
}
@media (max-width: 1199.98px) {
  .page-home .home-hero-content {
    max-width: 30rem;
  }

  .page-home .home-hero-layout {
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  }
}
@media (max-width: 991.98px) {
  .page-home .home-hero {
    padding: 60px 0 40px;
    min-height: 0;
  }
  .page-home .home-hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 16px;
  }
  .page-home .home-hero-visual {
    order: 2;
    min-height: 300px;
    height: 300px;
    border-radius: 56px 18px 18px 18px;
  }
}
@media (max-width: 575.98px) {
  .page-home .home-hero {
    padding: 40px 0 32px;
  }
  .page-home .home-hero-visual {
    min-height: 220px;
    height: 220px;
    border-radius: 40px 14px 14px 14px;
  }
}

/* ---------- Featured Video / Demo Reel (same as hse-animation-service.html) ---------- */
.page-home .section-video {
  background: var(--bg-white);
}

.page-home .section-video .section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.page-home .section-video .section-badge {
  display: inline-block;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  gap: 0;
}

.page-home .section-video .section-badge::before {
  content: none;
}

.page-home .section-video .section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: wrap;
}

.page-home .section-video .featured-video-wrap {
  position: relative;
  max-width: 920px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(10, 29, 55, 0.14);
  animation: demoReelEnter 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;
}

.page-home .section-video .demo-reel-media {
  position: relative;
  overflow: hidden;
  transform-origin: center center;
  animation: demoReelKenBurns 18s ease-in-out infinite alternate;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  line-height: 0;
}

.page-home .section-video .featured-video-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  display: block;
  vertical-align: middle;
}

.page-home .section-video .demo-reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.18) 45%,
    rgba(0, 0, 0, 0.32) 100%
  );
  transition: background 0.45s ease;
  pointer-events: none;
}

.page-home .section-video .demo-reel-trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  cursor: pointer;
  animation: demoReelEnter 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.35s;
}

.page-home .section-video .demo-reel-play-stack {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .section-video .demo-reel-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-home .section-video .demo-reel-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  opacity: 0;
  animation: demoReelRipple 3.2s ease-out infinite;
}

.page-home .section-video .demo-reel-ring:nth-child(2) {
  animation-delay: 1.05s;
}

.page-home .section-video .demo-reel-ring:nth-child(3) {
  animation-delay: 2.1s;
}

.page-home .section-video .demo-reel-play-core {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  animation: demoReelPulse 2.8s ease-in-out infinite;
}

.page-home .section-video .play-btn-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.35));
  transition: filter 0.45s ease;
}

.page-home .section-video .demo-reel-label {
  position: relative;
  z-index: 2;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.45s ease, opacity 0.45s ease, letter-spacing 0.45s ease;
  animation: demoReelLabel 4s ease-in-out infinite;
}

.page-home .section-video .featured-video-wrap:hover .demo-reel-media {
  transform: scale(1.04);
  animation-play-state: paused;
}

.page-home .section-video .featured-video-wrap:hover .demo-reel-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.14) 0%,
    rgba(0, 0, 0, 0.26) 45%,
    rgba(0, 0, 0, 0.42) 100%
  );
}

.page-home .section-video .featured-video-wrap:hover .demo-reel-play-core {
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.08), 0 0 40px rgba(61, 184, 255, 0.22);
}

.page-home .section-video .featured-video-wrap:hover .play-btn-icon {
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
}

.page-home .section-video .featured-video-wrap:hover .demo-reel-ring {
  border-color: rgba(255, 255, 255, 0.55);
}

.page-home .section-video .featured-video-wrap:hover .demo-reel-label {
  color: #ffffff;
  opacity: 1;
  letter-spacing: 0.28em;
}

.page-home .section-video .demo-reel-trigger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: -6px;
}

@keyframes demoReelEnter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes demoReelKenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.03);
  }
}

@keyframes demoReelPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

@keyframes demoReelRipple {
  0% {
    transform: scale(0.82);
    opacity: 0.42;
  }

  70% {
    opacity: 0.12;
  }

  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

@keyframes demoReelLabel {
  0%,
  100% {
    letter-spacing: 0.18em;
    opacity: 0.72;
  }

  50% {
    letter-spacing: 0.26em;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .section-video .featured-video-wrap,
  .page-home .section-video .demo-reel-trigger,
  .page-home .section-video .demo-reel-media,
  .page-home .section-video .demo-reel-play-core,
  .page-home .section-video .demo-reel-ring,
  .page-home .section-video .demo-reel-label {
    animation: none !important;
  }

  .page-home .section-video .featured-video-wrap:hover .demo-reel-media,
  .page-home .section-video .featured-video-wrap:hover .demo-reel-play-core {
    transform: none;
  }
}

.page-home #videoModal .demo-reel-modal-dialog {
  max-width: min(1200px, 94vw);
  width: 100%;
}

.page-home #videoModal .modal-content {
  border-radius: 16px;
  overflow: hidden;
}

.page-home #videoModal .demo-reel-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

@media (max-width: 767.98px) {
  .page-home .section-video .demo-reel-play-core {
    width: 72px;
    height: 72px;
  }

  .page-home .section-video .demo-reel-play-stack {
    width: 80px;
    height: 80px;
  }

  .page-home .section-video .demo-reel-label {
    font-size: 0.65rem;
  }
}
