/* Hero */
.home-hero {
  position: relative;
  height: clamp(360px, 39vw, 650px);
  overflow: hidden;
  background: #efdfd3;
}

.home-hero__slides,
.home-hero__slide {
  position: absolute;
  inset: 0;
}

.home-hero__slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
}

.home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.home-hero__slide>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 12/5;
}

.home-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #47291c80, transparent 58%, #47291c55);
  pointer-events: none;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: #fff;
  pointer-events: none;
}

.home-hero__slogan {
  position: absolute;
  top: 8%;
  left: 0;
  font-size: clamp(30px, 4.5vw, 72px);
  line-height: 0.98;
  font-weight: 800;
  max-width: 500px;
  margin-bottom: 0.67em;
}

.home-hero__solution {
  position: absolute;
  bottom: 11%;
  right: 0;
  text-align: right;
  font-size: clamp(18px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1em;
}

.home-hero__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 70px;
  border: 0;
  background: var(--color-primary);
  color: #fff;
  font-size: 42px;
  line-height: 1;
}

.home-hero__arrow--prev {
  left: 0;
  border-radius: 0 38px 38px 0;
}

.home-hero__arrow--next {
  right: 0;
  border-radius: 38px 0 0 38px;
}

/* Brand message */
.home-message {
  padding-block: clamp(85px, 9vw, 135px) clamp(60px, 7vw, 95px);
  text-align: center;
}

.home-message h2 {
  font-size: clamp(27px, 3.7vw, 55px);
  font-weight: 850;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.home-message p {
  background: #fffde8;
  color: #f4762b;
  border-radius: 999px;
  max-width: 780px;
  margin: 0 auto;
  padding: 22px 55px;
  font-size: clamp(17px, 2.2vw, 29px);
  font-weight: 750;
  line-height: 1.25;
}

.home-message h2>span {
  display: block;
}

.home-message__values {
  --message-bar-start-scale: 0.08;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 24px);
}

.home-message__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.home-message__separator {
  padding: 0;
  flex: none;
}

/* CTA strips */
.home-cta-strip {
  background: var(--color-primary);
  color: #fff;
  min-height: 116px;
  display: flex;
  align-items: center;
}

.home-cta-strip>.container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
}

.home-cta-strip a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 18px;
  font-weight: 800;
}

.home-cta-strip a:first-letter {
  font-size: 38px;
}

.home-cta-strip--final {
  min-height: 100px;
}

.home-cta-strip--final>.container {
  justify-content: flex-end;
}

/* Ecosystem */
.home-ecosystem {
  padding-block: 48px 54px;
}

.home-ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-width: var(--container-width);
  margin-inline: auto;
}

.home-ecosystem__item {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 366 / 468;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(28, 28, 28, 0.12);
  transition: box-shadow 350ms ease;
}

.home-ecosystem__item::after {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 46%;
  background: linear-gradient(180deg,
      rgba(255, 245, 225, 0.96) 0%,
      rgba(255, 245, 225, 0.82) 26%,
      rgba(255, 245, 225, 0.32) 64%,
      rgba(255, 245, 225, 0) 100%);
  content: "";
  pointer-events: none;
  transition: opacity 500ms ease;
}

.home-ecosystem__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.075);
  transition: transform 1050ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-ecosystem__item h3 {
  position: absolute;
  z-index: 3;
  top: 16px;
  inset-inline: 8px;
  margin: 0;
  color: #ea5626;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.home-ecosystem__reveal {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 68px 14px 24px;
  background: #ffffff;
  transform: translate3d(0, 101%, 0);
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.home-ecosystem__mascot-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  min-height: 0;
  padding: 4px 0;
  opacity: 0;
  transform: scale(0.86);
  transition:
    opacity 450ms ease 160ms,
    transform 550ms cubic-bezier(0.16, 1, 0.3, 1) 160ms;
}

.home-ecosystem__mascot {
  max-width: 88%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.home-ecosystem__reveal-text {
  display: block;
  color: #111;
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 480ms ease 220ms,
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1) 180ms;
}

.home-ecosystem__item:hover,
.home-ecosystem__item:focus-visible {
  box-shadow: 0 12px 28px rgba(57, 43, 32, 0.18);
}

.home-ecosystem__item:hover .home-ecosystem__image,
.home-ecosystem__item:focus-visible .home-ecosystem__image {
  transform: scale(1.1);
}

.home-ecosystem__item:hover .home-ecosystem__reveal,
.home-ecosystem__item:focus-visible .home-ecosystem__reveal {
  transform: translate3d(0, 0, 0);
}

.home-ecosystem__item:hover .home-ecosystem__mascot-wrap,
.home-ecosystem__item:focus-visible .home-ecosystem__mascot-wrap {
  opacity: 1;
  transform: scale(1);
}

.home-ecosystem__item:hover .home-ecosystem__reveal-text,
.home-ecosystem__item:focus-visible .home-ecosystem__reveal-text {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Statistics */
.home-stats {
  text-align: center;
  background: var(--color-cream);
  padding-block: 48px 50px;
}

.home-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  max-width: var(--container-width);
  margin: 0 auto 28px;
}

.home-stats__grid>div {
  background: #fff;
  border-radius: 9px;
  min-height: 175px;
  padding: 25px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.home-stats__grid strong {
  color: var(--color-primary-dark);
  font-size: 54px;
  line-height: 1;
}

.home-stats__grid span {
  font-weight: 750;
  font-size: 15px;
}

.home-stats__partners {
  font-size: 11px;
  line-height: 1.4;
  max-width: var(--container-width);
  margin: 0 auto 20px;
}

/* IMPRESS */
.home-impress__banner,
.home-differences__banner {
  background: linear-gradient(135deg, #f9daa7 0%, #f6cf94 50%, #efbc76 100%);
  text-align: center;
  color: #521f02;
  padding: 20px 24px 22px;
}

.home-impress__banner p,
.home-differences__banner p {
  display: block;
  margin: 0 0 5px;
  padding: 0;
  color: #7d3710;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.2;
  text-shadow: none;
}

.home-impress__banner h2,
.home-differences__banner h2 {
  margin: 0;
  color: var(--color-primary, #eb6a24);
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 850;
  line-height: 1.15;
  text-shadow: none;
}

.home-impress__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 100px;
  row-gap: 50px;
  padding-block: clamp(80px, 8.5vw, 125px) clamp(100px, 11vw, 160px);
  max-width: var(--container-width);
}

.home-impress__item {
  display: flex;
  gap: 22px;
  align-items: center;
}

.home-impress__badge {
  position: relative;
  flex: none;
  width: 116px;
  height: 108px;
}

.home-impress__circle {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #f9e8a8;
}

.home-impress__letter {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  font-size: 88px;
  color: var(--color-primary-dark);
  font-weight: 800;
  line-height: 1;
}

.home-impress__item>div:last-child {
  flex: 1;
  align-self: center;
}

.home-impress__item h3 {
  color: var(--color-primary-dark);
  font-size: 24px;
  margin: 4px 0 1px;
}

.home-impress__item p {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0;
}

/* Process */
.home-process {
  background: #fff;
  margin-top: 40px;
  padding-block: 80px 65px;
  overflow: hidden;
}

.home-process__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto 55px;
}

.home-process__intro .section-heading__eyebrow {
  color: var(--color-primary-dark);
  font-weight: 800;
  background: #fff3eb;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 22px;
}

.home-process__intro h2,
.home-process__heading h2 {
  color: var(--color-primary, #eb6a24);
  font-size: clamp(32px, 4vw, 54px);
  margin: 16px 0;
}

.home-process__intro img {
  width: 100%;
  aspect-ratio: 10/7;
  object-fit: cover;
  border-radius: 24px;
}

.home-process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: var(--container-width);
  margin: auto;
}

.home-process__step {
  position: relative;
  text-align: center;
  background: #f7f7f7;
  padding-bottom: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.home-process__step img {
  width: 100%;
  aspect-ratio: 10/7;
  object-fit: cover;
}

.home-process__number {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background: var(--color-primary);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  width: 48px;
  height: 36px;
  display: grid;
  place-items: center;
}

.home-process__step h3 {
  color: var(--color-primary-dark);
  font-size: 20px;
  margin: 17px 0 7px;
}

.home-process__step p {
  font-size: 13px;
  font-weight: 650;
  max-width: 250px;
  margin: 0 auto;
}

/* Experts */
.home-experts {
  padding-top: 42px;
}

.home-experts__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 34px;
  background: #fffef7;
  padding: 44px 34px;
}

.home-experts__item {
  grid-column: span 2;
}

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

.home-experts__item img {
  width: 120px;
  height: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 22px;
}

.home-experts__item h3 {
  font-size: 18px;
  color: var(--color-primary-dark);
  margin-bottom: 9px;
}

.home-experts__role,
.home-experts__item blockquote {
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 12px;
}

.home-experts__item blockquote {
  font-weight: 650;
}

/* Differences */
.home-differences {
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.home-differences__grid {
  padding-block: 55px;
  max-width: var(--container-width);
}

.home-differences__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  margin: 0 0 28px;
}

.home-differences__item:nth-child(even) .home-differences__copy {
  order: 2;
}

.home-differences__item:nth-child(even) img {
  order: 1;
}

.home-differences__item img {
  width: 100%;
  aspect-ratio: 35/24;
  object-fit: cover;
  border-radius: 25px;
}

.home-differences__copy {
  max-width: 400px;
}

.home-differences__copy h3 {
  font-size: clamp(26px, 3vw, 38px);
  color: var(--color-primary-dark);
  line-height: 1.05;
  margin: 0 0 14px;
}

.home-differences__copy p {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .home-cta-strip {
    min-height: 90px;
  }

  .home-cta-strip a {
    font-size: 15px;
  }

  .home-ecosystem__item {
    padding-inline: 9px;
  }

  .home-ecosystem__item h3 {
    font-size: 17px;
  }

  .home-ecosystem__item p {
    font-size: 12px;
  }

  .home-impress__grid {
    column-gap: 35px;
  }

  .home-process__steps {
    gap: 20px;
  }

  .home-differences__item {
    gap: 35px;
  }
}

@media (max-width: 767px) {
  .home-hero {
    height: 440px;
  }

  .home-hero__slide>img {
    aspect-ratio: 4/5;
  }

  .home-hero__slogan {
    top: 8%;
    font-size: 36px;
  }

  .home-hero__solution {
    bottom: 7%;
    font-size: 22px;
  }

  .home-hero__arrow {
    width: 27px;
    height: 48px;
    font-size: 28px;
  }

  .home-message {
    padding-block: 40px;
  }

  .home-message h2 {
    font-size: 27px;
  }

  .home-message p {
    font-size: 18px;
    padding: 13px 22px;
  }

  .home-message__values {
    --message-bar-start-scale: 0.14;
  }

  .home-message p span {
    padding-inline: 5px;
  }

  .home-cta-strip>.container {
    justify-content: space-between;
  }

  .home-cta-strip a {
    gap: 6px;
    font-size: 12px;
  }

  .home-ecosystem {
    padding-block: 36px 44px;
    overflow: hidden;
  }

  /* PHƯƠNG ÁN 1: Carousel vuốt ngang mượt mà (Scroll-snap), peek 1 góc card kế tiếp */
  .home-ecosystem__grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-padding-inline: 18px !important;
    padding: 6px 18px 24px !important;
    margin-inline: -18px !important;
    width: calc(100% + 36px) !important;
    max-width: none !important;
    gap: 14px !important;
    scrollbar-width: none !important;
  }
  .home-ecosystem__grid::-webkit-scrollbar {
    display: none !important;
  }

  /* Cấu trúc thẻ: Thẻ trắng có padding đệm xung quanh, bo góc tinh gọn 14px */
  .home-ecosystem__item,
  .home-ecosystem__item:last-child {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 calc(76vw - 8px) !important;
    max-width: 280px !important;
    min-width: 240px !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: auto !important;
    scroll-snap-align: start !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #ebebeb !important;
    padding: 10px 10px 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-align: left !important;
    text-decoration: none !important;
    grid-column: auto !important;
    justify-self: auto !important;
    margin-inline: 0 !important;
    transform: none !important;
  }

  /* BỎ TOÀN BỘ mọi lớp gradient sương mù che ảnh trên mobile */
  .home-ecosystem__item::after {
    display: none !important;
  }

  /* Nửa trên: Ảnh chụp thực tế giữ đúng tỉ lệ gốc (366/468), có lề trên và 2 bên, bo góc 10px */
  .home-ecosystem__image {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 366 / 468 !important;
    flex: none !important;
    object-fit: cover !important;
    transform: none !important;
    border-radius: 10px !important;
    display: block !important;
  }

  /* Nửa dưới: Tiêu đề màu cam thương hiệu đặt ở đầu phần chữ */
  .home-ecosystem__item h3 {
    position: relative !important;
    top: auto !important;
    inset-inline: auto !important;
    margin: 12px 4px 4px !important;
    padding: 0 !important;
    color: #ea5626 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.2px !important;
    text-align: left !important;
    text-shadow: none !important;
  }

  /* Khối nội dung bên dưới */
  .home-ecosystem__reveal {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding: 0 4px !important;
    background: transparent !important;
    transform: none !important;
    transition: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    text-align: left !important;
  }

  .home-ecosystem__mascot-wrap {
    display: none !important;
  }

  /* Mô tả: Font chữ xám đậm #444, rõ ràng, dễ đọc trên nền sáng */
  .home-ecosystem__reveal-text {
    opacity: 1 !important;
    transform: none !important;
    color: #444444 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    text-align: left !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 0 8px !important;
  }

  /* Dòng chữ "Khám phá →" tinh tế ở góc dưới */
  .home-ecosystem__reveal::after {
    content: "Khám phá →" !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #ea5626 !important;
    letter-spacing: 0.1px !important;
    margin-top: auto !important;
  }

  html[lang^="en"] .home-ecosystem__reveal::after {
    content: "Explore →" !important;
  }

  .home-stats__grid {
    gap: 12px;
  }

  .home-stats__grid>div {
    min-height: 125px;
    padding: 13px 5px;
  }

  .home-stats__grid strong {
    font-size: 35px;
  }

  .home-stats__grid span {
    font-size: 11px;
  }

  .home-impress__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 30px 40px;
  }

  .home-impress__badge {
    width: 88px;
    height: 82px;
  }

  .home-impress__circle {
    width: 64px;
    height: 64px;
  }

  .home-impress__letter {
    width: 72px;
    height: 72px;
    font-size: 68px;
  }

  .home-impress__item h3 {
    font-size: 22px;
  }

  .home-process {
    padding-block: 45px;
  }

  .home-process__intro {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
  }

  .home-process__steps {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .home-experts__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    padding: 25px 16px;
  }

  .home-experts__item,
  .home-experts__item:nth-child(-n + 2) {
    grid-column: span 1;
  }

  .home-experts__item img {
    width: 90px;
    height: 90px;
  }

  .home-differences__item {
    gap: 16px;
    margin-bottom: 32px;
  }

  .home-differences__copy h3 {
    font-size: clamp(16.5px, 4.3vw, 20.5px);
    text-wrap: balance;
  }

  .home-differences__copy p {
    font-size: 12.5px;
    text-wrap: pretty;
  }
}

@media (max-width: 480px) {
  .home-hero {
    height: 360px;
  }

  .home-hero__slogan {
    font-size: 29px;
  }

  .home-hero__solution {
    font-size: 17px;
  }

  .home-message h2 {
    font-size: clamp(17px, 5.2vw, 22px);
    text-wrap: balance;
  }

  .home-message p {
    font-size: 14px;
    padding: 11px 12px;
  }

  .home-cta-strip {
    min-height: 78px;
  }

  .home-cta-strip a {
    font-size: 10px;
  }

  .home-cta-strip a:first-letter {
    font-size: 22px;
  }

  .home-ecosystem__item,
  .home-ecosystem__item:last-child {
    flex: 0 0 calc(78vw - 6px) !important;
    max-width: 275px !important;
    min-width: 230px !important;
    padding: 8px 8px 12px !important;
    border-radius: 12px !important;
  }

  .home-ecosystem__image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 366 / 468 !important;
    flex: none !important;
    border-radius: 8px !important;
  }

  .home-ecosystem__item h3 {
    font-size: 16px !important;
    margin: 10px 3px 3px !important;
  }

  .home-ecosystem__reveal {
    padding: 0 3px !important;
  }

  .home-ecosystem__reveal-text {
    font-size: 12.5px !important;
  }

  .home-stats .section-heading h2 {
    font-size: 23px;
  }

  .home-stats__grid {
    grid-template-columns: 1fr;
  }

  .home-stats__grid>div {
    min-height: 95px;
  }

  .home-experts__grid {
    grid-template-columns: 1fr;
  }

  .home-experts__item,
  .home-experts__item:nth-child(-n + 2) {
    grid-column: span 1;
  }

  .home-differences__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-differences__item:nth-child(even) .home-differences__copy {
    order: 0;
  }

  .home-differences__item:nth-child(even) img {
    order: 0;
  }

  .home-differences__item img {
    max-height: 260px;
  }

  .home-differences__banner h2 {
    font-size: clamp(19px, 5.5vw, 25px);
    text-wrap: balance;
  }
}

/* Supplied homepage artwork. Each decorative character is a separate motion target. */
.home-cta-strip--first {
  background: var(--color-primary) url("../images/home/cta-consultation-background.png") center/cover no-repeat;
}

.home-cta-strip--ecosystem {
  background: var(--color-primary) url("../images/home/cta-ecosystem-background.png") center/cover no-repeat;
}

.home-cta-strip--final {
  background: var(--color-primary) url("../images/home/cta-final-background.png") center/cover no-repeat;
}

.home-cta-strip a {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px #8a481e80;
}

.home-cta-strip__mascot {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: none;
  transform-origin: 50% 80%;
}

.home-differences__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-differences__title h3 {
  flex: 1;
}

.home-differences__item .home-differences__mascot {
  width: 116px;
  height: 116px;
  max-width: none;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0;
  flex: none;
  order: 0;
  transform-origin: 50% 80%;
}

.home-differences__item .home-differences__photo {
  width: 100%;
  aspect-ratio: 688/449;
  object-fit: cover;
  border-radius: 25px;
}

.home-differences__item:nth-child(even)>.home-differences__photo {
  order: 1;
}

.home-differences__item:nth-child(even)>.home-differences__copy {
  order: 2;
}

/* Orange tint rises from the bottom while CTA text and artwork stay above it. */
.home-cta-strip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.home-cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(236, 112, 40, 0.88) 0%,
      rgba(236, 112, 40, 0.52) 45%,
      rgba(236, 112, 40, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.home-cta-strip>.container {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .home-cta-strip__mascot {
    width: 44px;
    height: 44px;
  }

  .home-differences__item .home-differences__mascot {
    width: 72px;
    height: 72px;
  }

  .home-differences__title {
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .home-cta-strip__mascot {
    width: 32px;
    height: 32px;
  }

  .home-differences__item:nth-child(even)>.home-differences__copy,
  .home-differences__item:nth-child(even)>.home-differences__photo {
    order: 0;
  }
}

/* 2026 homepage refresh: semantic assets and supplied layouts. */
.home-cta-strip--first {
  background-image: url("../images/home/cta-consultation-background.png");
}

.home-cta-strip--ecosystem {
  background-image: url("../images/home/cta-ecosystem-background.png");
}

.home-cta-strip--final {
  background-image: url("../images/home/cta-final-background.png");
}

.home-founder-showcase {
  padding: 46px 0 0;
  background: linear-gradient(180deg, #fff 0%, #fffaf1 100%);
}

.home-founder-showcase__media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(111, 72, 48, 0.12);
}

.home-founder-showcase__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1693/578;
  object-fit: cover;
}

.home-founder-showcase__media span {
  position: absolute;
  right: 28px;
  bottom: 22px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
}

.home-process__cycle {
  display: grid;
  grid-template-columns: minmax(280px, 560px) 1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  max-width: var(--container-width);
  margin: auto;
}

.home-process__cycle>img {
  display: block;
  width: 100%;
  max-height: 590px;
  object-fit: contain;
}

.home-process__cycle-copy {
  display: grid;
  gap: 24px;
}

.home-process__cycle-copy article {
  padding: 20px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff8e8, #fff);
  box-shadow: 0 8px 22px rgba(101, 73, 44, 0.09);
}

.home-process__cycle-copy h3 {
  margin: 0 0 6px;
  color: var(--color-primary-dark);
  font-size: 24px;
}

.home-process__cycle-copy p {
  margin: 0;
  line-height: 1.5;
  font-weight: 600;
}

.home-experts__avatar {
  width: 120px;
  height: 120px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f7d7c8, #ffd977 52%, #dbe98d);
  box-shadow:
    inset 0 0 0 8px rgba(255, 255, 255, 0.72),
    0 8px 20px rgba(114, 74, 49, 0.12);
}

@media (max-width: 767px) {
  .home-founder-showcase {
    padding-top: 28px;
  }

  .home-founder-showcase__media {
    border-radius: 15px;
  }

  .home-founder-showcase__media span {
    right: 12px;
    bottom: 10px;
  }

  .home-process__cycle {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-process__cycle>img {
    max-height: 430px;
  }

  .home-process__cycle-copy {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-experts__avatar {
    width: 90px;
    height: 90px;
  }
}

/* Pull the hero image behind the rounded header; keep its headings below it. */
:root {
  --header-hero-overlap: 74px;
}

.home-hero {
  margin-top: calc(-1 * var(--header-hero-overlap));
  height: calc(clamp(360px, 39vw, 650px) + var(--header-hero-overlap));
}

.home-hero__slogan {
  top: calc(var(--header-hero-overlap) + 7%);
}

@media (max-width: 850px) {
  :root {
    --header-hero-overlap: 66px;
  }
}

@media (max-width: 767px) {
  .home-hero {
    height: calc(440px + var(--header-hero-overlap));
  }

  .home-hero__slogan {
    top: calc(var(--header-hero-overlap) + 8%);
  }
}

@media (max-width: 480px) {
  .home-hero {
    height: calc(360px + var(--header-hero-overlap));
  }
}

/* Refined homepage typography and the supplied open learning-cycle layout. */
#main-content .home-ecosystem__item p {
  font-size: 16px;
  line-height: 1.45;
}

#main-content .home-stats__grid span {
  font-size: 17px;
  line-height: 1.4;
}

#main-content .home-stats__partners {
  font-size: 13px;
  line-height: 1.6;
}

#main-content .home-impress__item p {
  font-size: 17px;
  line-height: 1.45;
}

#main-content .home-experts__item h3 {
  font-size: 22px;
  line-height: 1.25;
}

#main-content .home-experts__role {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 650;
}

#main-content .home-experts__item blockquote {
  font-size: 16px;
  line-height: 1.6;
}

#main-content .home-differences__copy p {
  font-size: 16px;
  line-height: 1.55;
}

.home-process__cycle {
  --process-circle-size: clamp(245px, 26vw, 320px);
  --scope-pan-duration: 950ms;
  position: relative;
  max-width: var(--container-width);
  min-height: 590px;
  margin: 0 auto;
}

.home-process__cycle-item {
  position: absolute;
  width: var(--process-circle-size);
  height: var(--process-circle-size);
}

.home-process__cycle-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.home-process__cycle-text {
  position: absolute;
  width: min(29vw, 330px);
  margin: 0;
  text-align: center;
}

.home-process__cycle-text h3 {
  margin: 0 0 8px;
  color: #080808;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.08;
}

.home-process__cycle-text p {
  margin: 0;
  color: #080808;
  font-size: clamp(17px, 1.75vw, 24px);
  line-height: 1.32;
  font-weight: 650;
}

.home-process__cycle-item:nth-child(1) {
  z-index: 1;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.home-process__cycle-item:nth-child(1) .home-process__cycle-text {
  top: 0;
  left: calc(100% + clamp(30px, 4vw, 58px));
}

.home-process__cycle-item:nth-child(2) {
  z-index: 2;
  top: calc(var(--process-circle-size) * 0.68);
  left: calc(50% - var(--process-circle-size) * 0.43);
  transform: translateX(-50%);
}

.home-process__cycle-item:nth-child(2) .home-process__cycle-text {
  top: 34%;
  right: calc(100% + clamp(30px, 4vw, 58px));
}

.home-process__cycle-item:nth-child(3) {
  z-index: 3;
  top: calc(var(--process-circle-size) * 0.68);
  left: calc(50% + var(--process-circle-size) * 0.43);
  transform: translateX(-50%);
}

.home-process__cycle-item:nth-child(3) .home-process__cycle-text {
  top: 72%;
  left: calc(100% + clamp(30px, 4vw, 58px));
}

@media (max-width: 767px) {

  #main-content .home-ecosystem__item p,
  #main-content .home-impress__item p,
  #main-content .home-experts__role,
  #main-content .home-experts__item blockquote,
  #main-content .home-differences__copy p {
    font-size: 15px;
  }

  #main-content .home-impress__item p {
    font-size: 16px;
  }

  #main-content .home-stats__grid span {
    font-size: 15px;
  }

  .home-process__cycle {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 420px;
    min-height: 0;
  }

  .home-process__cycle-item,
  .home-process__cycle-item:nth-child(1),
  .home-process__cycle-item:nth-child(2),
  .home-process__cycle-item:nth-child(3) {
    position: relative;
    inset: auto;
    z-index: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .home-process__cycle-image {
    width: min(84vw, 350px);
    margin-inline: auto;
  }

  .home-process__cycle-text,
  .home-process__cycle-item:nth-child(1) .home-process__cycle-text,
  .home-process__cycle-item:nth-child(2) .home-process__cycle-text,
  .home-process__cycle-item:nth-child(3) .home-process__cycle-text {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .home-process__cycle-text h3 {
    font-size: 21px;
  }

  .home-process__cycle-text p {
    font-size: 15px;
  }
}

.home-process__intro {
  position: relative;
}

.home-process__intro .home-process__mascot {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -20px;
  width: 120px;
  height: auto;
  max-width: none;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  transform: translateX(-50%);
  transform-origin: 50% 80%;
}

@media (max-width: 767px) {
  .home-process__intro .home-process__mascot {
    left: auto;
    right: 12px;
    bottom: -12px;
    width: 88px;
    height: auto;
    transform: none;
  }
}

@media (max-width: 480px) {
  .home-process__intro .home-process__mascot {
    right: 6px;
    width: 72px;
    height: auto;
  }
}

/* Process title banner and full-width feature image. */
.home-process__intro {
  display: block;
  max-width: var(--container-width);
  margin: 0 auto 70px;
}

.home-process__heading {
  position: relative;
  left: 50%;
  width: 100vw;
  padding: 20px 24px 22px;
  border-radius: 0;
  background: linear-gradient(135deg, #f9daa7 0%, #f6cf94 50%, #efbc76 100%);
  color: #521f02;
  text-align: center;
  transform: translateX(-50%);
}

.home-process__intro .home-process__heading .section-heading__eyebrow {
  display: block;
  margin: 0 0 5px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #7d3710;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.2;
  text-transform: none;
  text-shadow: none;
}

.home-process__intro .home-process__heading h2 {
  margin: 0;
  color: #521f02;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.15;
  text-shadow: none;
}

.home-process__media {
  position: relative;
  padding: 26px 0 0;
  background: #fffef8;
}

.home-process__intro .home-process__photo {
  display: block;
  width: 100%;
  height: clamp(230px, 32vw, 390px);
  border-radius: 18px;
  object-fit: cover;
  object-position: center 42%;
}

.home-process__intro .home-process__media .home-process__mascot {
  left: -18px;
  right: auto;
  bottom: -24px;
  width: 112px;
  transform: none;
}

@media (max-width: 767px) {
  .home-process__intro {
    margin-bottom: 54px;
  }

  .home-process__heading {
    padding: 16px 14px 18px;
    border-radius: 0;
  }

  .home-process__media {
    padding: 18px 0 0;
  }

  .home-process__intro .home-process__photo {
    height: clamp(210px, 58vw, 330px);
    border-radius: 14px;
  }

  .home-process__intro .home-process__media .home-process__mascot {
    left: -4px;
    right: auto;
    bottom: -20px;
    width: 82px;
  }
}

/* Balanced hero controls and directional, time-stretched slide motion. */
.home-hero__slide {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.48s ease,
    visibility 0s linear 0.65s;
  will-change: transform, opacity;
}

.home-hero__slide.is-active,
.home-hero__slide.is-leaving,
.home-hero__slide.is-preparing {
  visibility: visible;
  transition-delay: 0s;
}

.home-hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-hero__slide.is-leaving {
  z-index: 0;
  opacity: 0.82;
}

.home-hero__slide.is-preparing.is-from-right,
.home-hero__slide.is-from-right:not(.is-active) {
  transform: translate3d(100%, 0, 0);
}

.home-hero__slide.is-preparing.is-from-left,
.home-hero__slide.is-from-left:not(.is-active) {
  transform: translate3d(-100%, 0, 0);
}

.home-hero__slide.is-to-left {
  transform: translate3d(-22%, 0, 0);
}

.home-hero__slide.is-to-right {
  transform: translate3d(22%, 0, 0);
}

.home-hero__slide>img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1.018);
}

.home-hero__slide.is-active>img {
  transform: scale(1);
}

.home-hero__arrow {
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 5px 16px rgba(111, 49, 18, 0.18);
  transition:
    width 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.home-hero__arrow-icon {
  display: block;
  width: 15px;
  height: 15px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  transition: transform 0.22s ease;
}

.home-hero__arrow--prev .home-hero__arrow-icon {
  transform: translateX(2px) rotate(-135deg);
}

.home-hero__arrow--next .home-hero__arrow-icon {
  transform: translateX(-2px) rotate(45deg);
}

.home-hero__arrow:hover,
.home-hero__arrow:focus-visible {
  width: 50px;
  background: var(--color-primary-dark);
  box-shadow: 0 7px 20px rgba(111, 49, 18, 0.28);
}

.home-hero__arrow--prev:hover .home-hero__arrow-icon,
.home-hero__arrow--prev:focus-visible .home-hero__arrow-icon {
  transform: translateX(-1px) rotate(-135deg);
}

.home-hero__arrow--next:hover .home-hero__arrow-icon,
.home-hero__arrow--next:focus-visible .home-hero__arrow-icon {
  transform: translateX(1px) rotate(45deg);
}

@media (max-width: 767px) {
  .home-hero__arrow-icon {
    width: 11px;
    height: 11px;
    border-width: 3px;
  }

  .home-hero__arrow:hover,
  .home-hero__arrow:focus-visible {
    width: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .home-hero__slide,
  .home-hero__slide>img,
  .home-hero__arrow,
  .home-hero__arrow-icon {
    transition: none;
  }
}

/* Lighter typography to match the supplied homepage design. */
body.home #main-content .section-heading h2,
#main-content .home-message h2 {
  color: #521f02;
  font-weight: 700;
}

#main-content .home-impress__banner h2,
#main-content .home-differences__banner h2,
#main-content .home-process__intro h2,
#main-content .home-process__heading h2 {
  color: var(--color-primary, #eb6a24);
  font-weight: 850;
}

body.home #main-content .section-heading__eyebrow,
#main-content .home-impress__banner p,
#main-content .home-differences__banner p,
#main-content .home-process__heading .section-heading__eyebrow {
  color: #7d3710;
  font-weight: 500;
}

#main-content .home-hero__slogan,
#main-content .home-hero__solution {
  font-weight: 700;
}

#main-content .home-message p,
#main-content .home-cta-strip a {
  font-weight: 650;
}

#main-content .home-ecosystem__item h3,
#main-content .home-impress__item h3,
#main-content .home-process__cycle-text h3,
#main-content .home-experts__item h3,
#main-content .home-differences__copy h3 {
  font-weight: 650;
}

#main-content .home-ecosystem__item p,
#main-content .home-impress__item p,
#main-content .home-process__cycle-text p,
#main-content .home-experts__role,
#main-content .home-experts__item blockquote,
#main-content .home-differences__copy p {
  font-weight: 450;
}

#main-content .home-stats__grid strong {
  font-weight: 700;
}

#main-content .home-stats__grid span {
  font-weight: 600;
}

/* Desktop: wheel/trackpad scrolls the cards only while the pointer is over them. */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .home-impress.is-horizontal-scroll {
    height: auto;
    overflow: hidden;
  }

  .home-impress.is-horizontal-scroll .home-impress__sticky {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 72%, #fff4ed 100%);
  }

  .home-impress.is-horizontal-scroll .home-impress__banner {
    flex: none;
  }

  .home-impress.is-horizontal-scroll .home-impress__viewport {
    display: flex;
    align-items: center;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    scroll-behavior: auto;
  }

  .home-impress.is-horizontal-scroll .home-impress__viewport:hover,
  .home-impress.is-horizontal-scroll .home-impress__viewport:focus-visible,
  .home-impress.is-horizontal-scroll .home-impress__viewport:focus-within {
    scrollbar-color: rgba(244, 118, 43, .65) rgba(249, 232, 168, .45);
  }

  .home-impress.is-horizontal-scroll .home-impress__viewport::-webkit-scrollbar {
    height: 8px;
  }

  .home-impress.is-horizontal-scroll .home-impress__viewport::-webkit-scrollbar-track {
    background: transparent;
  }

  .home-impress.is-horizontal-scroll .home-impress__viewport::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: transparent;
  }

  .home-impress.is-horizontal-scroll .home-impress__viewport:hover::-webkit-scrollbar-track,
  .home-impress.is-horizontal-scroll .home-impress__viewport:focus-visible::-webkit-scrollbar-track,
  .home-impress.is-horizontal-scroll .home-impress__viewport:focus-within::-webkit-scrollbar-track {
    background: rgba(249, 232, 168, .45);
  }

  .home-impress.is-horizontal-scroll .home-impress__viewport:hover::-webkit-scrollbar-thumb,
  .home-impress.is-horizontal-scroll .home-impress__viewport:focus-visible::-webkit-scrollbar-thumb,
  .home-impress.is-horizontal-scroll .home-impress__viewport:focus-within::-webkit-scrollbar-thumb {
    background: rgba(244, 118, 43, .65);
  }

  .home-impress.is-horizontal-scroll .home-impress__grid {
    display: flex;
    align-items: stretch;
    gap: clamp(32px, 4vw, 56px);
    width: max-content;
    max-width: none;
    margin: 0;
    padding: clamp(65px, 7vw, 100px) max(32px, calc((100vw - var(--container-width)) / 2)) clamp(80px, 9vw, 130px);
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }

  .home-impress.is-horizontal-scroll .home-impress__item {
    flex: 0 0 clamp(540px, 54vw, 650px);
    gap: clamp(26px, 3vw, 42px);
    min-height: 280px;
    padding: 20px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-impress.is-horizontal-scroll .home-impress__badge {
    width: 180px;
    height: 170px;
  }

  .home-impress.is-horizontal-scroll .home-impress__circle {
    width: 140px;
    height: 140px;
  }

  .home-impress.is-horizontal-scroll .home-impress__letter {
    width: 150px;
    height: 150px;
    font-size: 138px;
  }

  #main-content .home-impress.is-horizontal-scroll .home-impress__item h3 {
    margin: 0 0 11px;
    font-size: clamp(34px, 2.8vw, 42px);
    line-height: 1.1;
  }

  #main-content .home-impress.is-horizontal-scroll .home-impress__item p {
    max-width: 360px;
    font-size: clamp(18px, 1.45vw, 21px);
    line-height: 1.5;
  }
}

/* Unified homepage CTA: light gradient canvas and pill buttons. */
:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip,
:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip--first,
:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip--ecosystem,
:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip--final {
  min-height: 112px;
  padding-block: clamp(34px, 3.8vw, 48px);
  background: linear-gradient(180deg, #fffdf0 0%, #fff3bd 48%, #ffe39a 100%);
  color: #171717;
}

:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip::before {
  display: none;
}

:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip>.container,
:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip--final>.container {
  justify-content: center;
  gap: clamp(16px, 2.25vw, 32px);
}

:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip--first>.container {
  justify-content: center;
}

:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip--ecosystem>.container {
  justify-content: center;
}

:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 380px;
  min-height: 64px;
  padding: 5px 25px 5px 12px;
  border: 2px solid #f4762b;
  border-radius: 999px;
  background: #fff;
  color: #191919;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
  text-shadow: none;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(117, 67, 36, 0.08);
  transition:
    color 350ms ease,
    background-color 350ms ease,
    border-color 350ms ease,
    box-shadow 420ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip a::after,
:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip a:hover::after,
:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip a:focus-visible::after {
  display: none;
  content: none;
  transform: none;
}

:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip a:hover,
:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip a:focus-visible {
  border-color: #e2ad39;
  background: linear-gradient(135deg, #fff0b5 0%, #ffdda0 52%, #ffc96f 100%);
  color: #171717;
  text-decoration: none;
  box-shadow: 0 13px 26px rgba(198, 124, 24, 0.2);
  transform: translate3d(0, -3px, 0);
}

:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip a:focus-visible {
  outline: 3px solid rgba(244, 118, 43, 0.28);
  outline-offset: 3px;
}

:is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip__mascot {
  width: 58px;
  height: 58px;
  margin-block: -4px;
}

@media (max-width: 767px) {

  :is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip,
  :is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip--first,
  :is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip--ecosystem,
  :is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip--final {
    min-height: 0;
    padding-block: 20px;
  }

  :is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip>.container,
  :is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip--final>.container {
    flex-direction: column;
    gap: 12px;
  }

  :is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip a {
    width: min(100%, 310px);
    min-width: 0;
    min-height: 58px;
    padding: 5px 22px 5px 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
  }

  :is(body.home, .ecosystem-page, .partnership-page, .contact-page, .program-detail-page) .home-cta-strip__mascot {
    width: 48px;
    height: 48px;
  }
}

/* Keep primary homepage content aligned to the same 1320px CTA container. */
body.home .home-ecosystem__grid,
body.home .home-stats__grid,
body.home .home-stats__partners,
body.home .home-process__intro,
body.home .home-process__cycle {
  width: 100%;
  max-width: var(--container-width);
}

body.home .home-differences__grid,
body.home .home-impress__grid {
  width: min(calc(100% - 64px), var(--container-width));
  max-width: var(--container-width);
  margin-inline: auto;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  body.home .home-differences__grid {
    width: min(calc(100% - 44px), var(--container-width));
  }
}

@media (max-width: 767px) {

  body.home .home-differences__grid,
  body.home .home-impress__grid {
    width: min(calc(100% - 36px), var(--container-width));
  }
}

@media (max-width: 480px) {
  body.home .home-differences__grid {
    width: min(calc(100% - 32px), var(--container-width));
  }
}

/* Remove the empty band before Process and divide each statistics card clearly. */
body.home .home-process {
  margin-top: 0;
  padding-top: 0;
}

body.home .home-stats__grid strong {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

body.home .home-stats__grid strong::after {
  content: "";
  display: block;
  width: min(150px, 70%);
  height: 1px;
  margin-top: 14px;
  background: rgba(31, 31, 31, 0.22);
}

body.home .home-stats__grid span {
  margin-top: 7px;
}

/* Nationwide partners: animated CTA, mascots and a two-row logo marquee. */
body.home .home-stats {
  overflow: hidden;
  padding-bottom: clamp(100px, 10vw, 150px);
}

.home-stats__partner-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 560px;
  margin: clamp(60px, 6vw, 90px) auto clamp(55px, 6vw, 85px);
}

.home-stats__mascot {
  display: block;
  width: 100%;
  max-height: 145px;
  object-fit: contain;
}

.home-stats__partner-cta {
  position: relative;
  width: 100%;
}

.home-stats__partner-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 112px;
  padding: 16px 42px;
  overflow: hidden;
  border: 3.5px solid var(--color-primary);
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-primary);
  font-size: clamp(20px, 2.1vw, 29px);
  font-weight: 750;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(244, 118, 43, 0.12);
  transform: translateZ(0);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease, border-color .35s ease;
}

.home-stats__partner-button .site-footer__button-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  white-space: normal;
  transform: translateZ(0);
}

.home-stats__partner-title {
  display: block;
  color: var(--color-primary);
  transition: color .35s ease;
}

.home-stats__partner-hint {
  display: block;
  color: #1a1a1a;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 650;
  line-height: 1.15;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .35s ease;
}

.home-stats__click-hand {
  position: absolute;
  z-index: 3;
  top: calc(100% - 29px);
  left: 50%;
  display: block;
  width: clamp(50px, 5.4vw, 64px);
  color: #111;
  pointer-events: none;
  transform: translate3d(-50%, 12px, 0) rotate(-10deg);
  transform-origin: 35% 12%;
  animation: home-partner-hand-click 2.8s cubic-bezier(.22, 1, .36, 1) infinite;
  filter: drop-shadow(0 5px 4px rgba(70, 25, 8, .28));
}

.home-stats__click-hand::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: -4px;
  left: 20px;
  width: 22px;
  height: 22px;
  border: 3px solid #ffe16a;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .9);
  animation: home-partner-click-ripple 2.8s ease-out infinite;
}

.home-stats__click-hand::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 5px;
  left: 29px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff3a6;
  opacity: 0;
  box-shadow: 0 0 0 5px rgba(244, 118, 43, .85);
  animation: home-partner-click-point 2.8s ease-out infinite;
}

.home-stats__click-hand svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.home-stats__click-hand path {
  fill: #fff;
  stroke: #111;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes home-partner-hand-click {

  0%,
  38%,
  100% {
    transform: translate3d(-50%, 14px, 0) rotate(-10deg) scale(1);
  }

  53%,
  68% {
    transform: translate3d(-50%, 0, 0) rotate(-10deg) scale(1);
  }

  59% {
    transform: translate3d(-50%, 4px, 0) rotate(-10deg) scale(.86);
  }

  80% {
    transform: translate3d(-50%, 14px, 0) rotate(-10deg) scale(1);
  }
}

@keyframes home-partner-click-ripple {

  0%,
  56%,
  100% {
    opacity: 0;
    transform: scale(.3);
  }

  59% {
    opacity: 1;
    transform: scale(.45);
  }

  73% {
    opacity: 0;
    transform: scale(2.2);
  }
}

@keyframes home-partner-click-point {

  0%,
  56%,
  100% {
    opacity: 0;
    transform: scale(.5);
  }

  59%,
  63% {
    opacity: 1;
    transform: scale(1);
  }

  72% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.home-stats__partner-button .site-footer__button-circle {
  position: absolute;
  z-index: 1;
  left: var(--circle-x, 50%);
  top: var(--circle-y, 50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  transition: transform .75s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

.home-stats__partner-button.is-circle-filled .site-footer__button-circle {
  transform: translate(-50%, -50%) scale(var(--circle-scale, 28));
}

.home-stats__partner-button.is-circle-filled .home-stats__partner-title,
.home-stats__partner-button:hover .home-stats__partner-title {
  color: #ffffff;
}

.home-stats__partner-button.is-circle-filled .home-stats__partner-hint,
.home-stats__partner-button:hover .home-stats__partner-hint {
  color: #ffe48a;
}

.home-stats__partner-button:hover,
.home-stats__partner-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(244, 118, 43, 0.28);
}

.home-stats__logo-marquee {
  display: grid;
  gap: clamp(26px, 2.6vw, 38px);
  width: 100%;
}

.home-stats__logo-row {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.home-stats__logo-track,
.home-stats__logo-group {
  display: flex;
  align-items: center;
  flex: none;
  width: max-content;
}

.home-stats__logo-track {
  animation: home-partner-marquee 72s linear infinite;
  will-change: transform;
}

.home-stats__logo-row--2 .home-stats__logo-track {
  animation-direction: reverse;
  animation-duration: 76s;
}

.home-stats__logo-group {
  gap: clamp(34px, 3.2vw, 54px);
  padding-right: clamp(34px, 3.2vw, 54px);
}

.home-stats__logo-card {
  display: grid;
  place-items: center;
  flex: 0 0 clamp(138px, 10.5vw, 168px);
  width: clamp(138px, 10.5vw, 168px);
  height: clamp(138px, 10.5vw, 168px);
  aspect-ratio: 1;
  margin: 0;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(233, 93, 36, 0.1);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(84, 56, 30, 0.08);
}

.home-stats__logo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.18);
}

.home-stats__logo-marquee:hover .home-stats__logo-track {
  animation-play-state: paused;
}

@keyframes home-partner-marquee {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 767px) {
  .home-stats__partner-heading {
    max-width: 100%;
    margin-block: 26px 30px;
  }

  .home-stats__partner-button {
    min-height: 90px;
    padding: 12px 15px;
    font-size: clamp(14px, 4vw, 18px);
  }

  .home-stats__partner-hint {
    font-size: 11px;
  }

  .home-stats__click-hand {
    top: calc(100% - 23px);
    width: 47px;
  }

  .home-stats__logo-marquee {
    gap: 18px;
  }

  .home-stats__logo-group {
    gap: 22px;
    padding-right: 22px;
  }

  .home-stats__logo-card {
    flex-basis: 112px;
    width: 112px;
    height: 112px;
    padding: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .home-stats__click-hand,
  .home-stats__click-hand::before,
  .home-stats__click-hand::after {
    animation: none;
  }

  .home-stats__click-hand {
    transform: translate3d(-50%, 0, 0) rotate(-10deg);
  }

  .home-stats__logo-row {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-stats__logo-track {
    animation: none;
  }

  .home-stats__logo-group[aria-hidden="true"] {
    display: none;
  }
}

/* Customer story above the footer. */
.home-customer-story {
  padding: clamp(54px, 7vw, 92px) 0 clamp(64px, 8vw, 104px);
  background: #fff;
}

.home-customer-story__heading {
  margin-bottom: clamp(24px, 3vw, 38px);
  text-align: center;
}

.home-customer-story__heading p {
  margin: 0 0 3px;
  color: #4b4b4b;
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 650;
  line-height: 1.2;
}

.home-customer-story__heading h2 {
  margin: 0;
  color: #4b4b4b;
  font-size: clamp(27px, 3vw, 43px);
  font-weight: 700;
  line-height: 1.15;
}

.home-customer-story__heading h2 strong {
  color: var(--color-primary);
  font-weight: inherit;
}

.home-customer-story__media {
  position: relative;
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(65, 65, 65, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 5px 0 rgba(32, 32, 32, 0.05), 0 14px 34px rgba(51, 44, 36, 0.08);
}

.home-customer-story__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 17px;
  background: #171717;
  object-fit: cover;
}

.home-customer-story__toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(68px, 7vw, 92px);
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  background: rgba(244, 118, 43, .94);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity .25s ease, transform .3s cubic-bezier(.16, 1, .3, 1), background .25s ease;
}

.home-customer-story__toggle:hover {
  background: #e86522;
  transform: translate(-50%, -50%) scale(1.08);
}

.home-customer-story__toggle:focus-visible {
  outline: 3px solid rgba(244, 118, 43, .4);
  outline-offset: 5px;
}

.home-customer-story__toggle-icon {
  width: 0;
  height: 0;
  margin-left: 7%;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid currentColor;
}

.home-customer-story__media.is-playing .home-customer-story__toggle {
  opacity: 0;
}

.home-customer-story__media.is-playing:hover .home-customer-story__toggle,
.home-customer-story__media.is-playing .home-customer-story__toggle:focus-visible {
  opacity: 1;
}

.home-customer-story__media.is-playing .home-customer-story__toggle-icon {
  width: 18px;
  height: 24px;
  margin-left: 0;
  border: 0;
  background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65% 100%);
}

.home-customer-story__status {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(80%, 480px);
  margin: 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(20, 17, 13, .88);
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
}

@media (max-width: 767px) {
  .home-customer-story__media {
    padding: 8px;
    border-radius: 20px;
  }

  .home-customer-story__video {
    border-radius: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-customer-story__toggle {
    transition: none;
  }
}