.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

#hero-title,
#hero-subtext {
  transition: opacity 0.3s ease;
}

.news-section {
  background: #fbfbfd;
  padding: clamp(56px, 7vw, 96px) 0;
}
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.news-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #86868b;
}
.news-title {
  margin-top: 8px;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #141313;
}
.news-viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 9px 16px;
  border: 1px solid rgba(44, 46, 129, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  color: #2c2e81;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.news-viewall svg {
  transition: transform 0.25s ease;
}
.news-viewall:hover {
  background: #2c2e81;
  border-color: #2c2e81;
  color: #fff;
}
.news-viewall:hover svg {
  transform: translateX(3px);
}

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 640px) {
  .news-grid {
    gap: 12px;
  }
}
.news-stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
@media (min-width: 1024px) {
  .news-grid {
    flex-direction: row;
    align-items: stretch;
  }
  .news-stage {
    width: 64%;
  }
  .news-list {
    width: 36%;
  }
}

.news-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  height: clamp(320px, 42vw, 520px);
}
.news-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}
.news-slide {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #e9e9ec;
  cursor: pointer;
  opacity: 0.4;
  transform: scale(0.965);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.news-slide.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 18px 40px -18px rgba(20, 19, 19, 0.45);
}
.news-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.news-slide.is-active:hover .news-slide__img {
  transform: scale(1.04);
}
.news-slide__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 12, 26, 0.88) 0%,
    rgba(10, 12, 26, 0.45) 32%,
    rgba(10, 12, 26, 0) 62%
  );
}
.news-slide__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  color: #fff;
}
.news-slide__caption h3 {
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.news-slide__caption p {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.news-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  transition:
    background 0.25s ease,
    opacity 0.25s ease,
    transform 0.2s ease;
  z-index: 5;
}
.news-arrow:hover {
  background: #fff;
}
.news-arrow:active {
  transform: translateY(-50%) scale(0.94);
}
.news-arrow-prev {
  left: 14px;
}
.news-arrow-next {
  right: 14px;
}
.news-progress {
  margin-top: 16px;
  height: 3px;
  border-radius: 2px;
  background: rgba(20, 19, 19, 0.08);
  overflow: hidden;
}
.news-progress__bar {
  height: 100%;
  border-radius: 2px;
  background: #2c2e81;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-list {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(20, 19, 19, 0.07);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 20px -18px rgba(20, 19, 19, 0.22);
}
.news-list__head {
  padding: 20px 24px 14px;
}
.news-list__head p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #86868b;
}
.news-list__items {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.news-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 12px 24px;
  transition: background 0.25s ease;
}
.news-item + .news-item {
  border-top: 1px solid rgba(20, 19, 19, 0.06);
}
.news-item:hover {
  background: #f5f5f7;
}
.news-item__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2c2e81;
}
.news-item__title {
  margin-top: 5px;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: #141313;
  transition: color 0.25s ease;
}
.news-item:hover .news-item__title {
  color: #2c2e81;
}
.news-item__date {
  margin-top: 6px;
  font-size: 11px;
  color: #86868b;
}
.news-list__foot {
  padding: 16px 24px;
  border-top: 1px solid rgba(20, 19, 19, 0.06);
}
.news-list__foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2c2e81;
}
.news-list__foot a svg {
  transition: transform 0.25s ease;
}
.news-list__foot a:hover svg {
  transform: translateX(3px);
}
@media (max-width: 640px) {
  .news-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.video-modal.is-open {
  opacity: 1;
}
.video-modal[hidden] {
  display: none;
}
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 30, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.video-modal__panel {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--color-brand-primary);
  color: #fff;
  border-radius: 12px;
  padding: 32px clamp(20px, 4vw, 48px) 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.25s ease;
}
.video-modal.is-open .video-modal__panel {
  transform: translateY(0) scale(1);
}
.video-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  opacity: 0.9;
}
.video-modal__close svg {
  width: 100%;
  height: 100%;
  display: block;
}
.video-modal__close:hover {
  opacity: 1;
  transform: scale(1.05);
}
.video-modal__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  text-align: center;
  margin: 8px 32px 20px;
  line-height: 1.3;
}
.video-modal__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.video-modal__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.video-modal__cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: #ffffff;
  background: transparent;
  border: 1.5px solid #ffffff;
  padding: 10px 64px;
  min-width: 200px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.video-modal__cta:hover {
  background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 640px) {
  .video-modal {
    padding: 8px;
    align-items: flex-start;
  }
  .video-modal__panel {
    width: 100%;
    max-height: calc(100vh - 16px);
    border-radius: 16px;
    padding: 48px 16px 20px;
  }
  .video-modal__close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
  }
  .video-modal__title {
    font-size: 1.05rem;
    margin: 0 36px 14px;
    line-height: 1.35;
  }
  .video-modal__media {
    aspect-ratio: 16 / 9;
    max-height: 60vh;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  .video-modal__cta {
    width: 100%;
    min-width: 0;
    padding: 12px 24px;
    font-size: 14px;
  }
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}
.image-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.image-modal[hidden] {
  display: none;
}
.image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 30, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.image-modal__panel {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100vh - 32px);
  overflow: hidden;
  background: var(--color-brand-primary);
  color: #fff;
  border-radius: 12px;
  padding: 32px clamp(20px, 4vw, 48px) 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.25s ease;
}
.image-modal.is-open .image-modal__panel {
  transform: translateY(0) scale(1);
}
.image-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  opacity: 0.9;
}
.image-modal__close svg {
  width: 100%;
  height: 100%;
  display: block;
}
.image-modal__close:hover {
  opacity: 1;
  transform: scale(1.05);
}
.image-modal__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  text-align: center;
  margin: 8px 32px 20px;
  line-height: 1.3;
}
.image-modal__cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: #ffffff;
  background: transparent;
  border: 1.5px solid #ffffff;
  padding: 10px 64px;
  min-width: 200px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.image-modal__cta:hover {
  background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 640px) {
  .image-modal {
    padding: 8px;
    align-items: flex-start;
  }
  .image-modal__panel {
    width: 100%;
    max-height: calc(100vh - 16px);
    border-radius: 16px;
    padding: 48px 16px 20px;
  }
  .image-modal__close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
  }
  .image-modal__title {
    font-size: 1.05rem;
    margin: 0 36px 14px;
    line-height: 1.35;
  }
}
.image-modal__media {
  position: relative;
  aspect-ratio: auto;
  background: transparent;
  padding: 0;
  margin-bottom: 14px;
  overflow: visible;
  display: flex;
  align-items: stretch;
}
.image-modal__viewport {
  flex: 1;
  overflow: hidden;
  width: 100%;
  border-radius: 8px;
}
.image-modal__track {
  --per-view: 3;
  --gap: 12px;
  display: flex;
  gap: var(--gap);
  transition: transform 0.35s ease;
  height: clamp(220px, 42vh, 360px);
}
.image-modal__slide {
  position: relative;
  margin: 0;
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  border-radius: 8px;
  overflow: hidden;
  background: #0b0f1f;
}
.image-modal__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-modal__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0) 45%
  );
  pointer-events: none;
}
.image-modal__slide-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  color: #fff;
  margin: 0;
}
.image-modal__slide-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  margin: 0;
  line-height: 1.2;
}
.image-modal__slide-date {
  font-family: var(--font-body);
  font-size: 11px;
  color: #d9d9d9;
  margin: 2px 0 0;
}
.image-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  z-index: 2;
}
.image-modal__nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.05);
}
.image-modal__nav--prev {
  left: -6px;
}
.image-modal__nav--next {
  right: -6px;
}
.image-modal__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 0 14px;
  min-height: 18px;
}
.image-modal__dot {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.image-modal__dot:hover {
  opacity: 0.85;
  transform: scale(1.08);
}
.image-modal__dot svg {
  display: block;
}
@media (max-width: 819px) {
  .image-modal__track {
    height: clamp(220px, 38vh, 320px);
  }
  .image-modal__nav {
    width: 36px;
    height: 36px;
  }
  .image-modal__nav--prev {
    left: -4px;
  }
  .image-modal__nav--next {
    right: -4px;
  }
}
@media (max-width: 519px) {
  .image-modal__track {
    height: clamp(200px, 40vh, 300px);
  }
  .image-modal__nav {
    width: 32px;
    height: 32px;
  }
}

.social-feed-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 40px,
    #000 calc(100% - 40px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 40px,
    #000 calc(100% - 40px),
    transparent 100%
  );
}
.social-feed-marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: socialFeedSlide 40s linear infinite;
}
.social-feed-marquee:hover .social-feed-marquee__track {
  animation-play-state: paused;
}
@keyframes socialFeedSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 8px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .social-feed-marquee__track {
    animation: none;
  }
}

.social-feed-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(210px, 26vw, 290px);
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #e5e5ea;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.social-feed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}
.social-feed-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.social-feed-card:hover img {
  transform: scale(1.05);
}
.social-feed-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 6px;
}
.social-feed-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 640px) {
  .social-feed-card {
    width: clamp(130px, 44vw, 180px);
  }
  .social-feed-marquee__track {
    animation-duration: 28s;
  }
}

.hwi__layout {
  display: flex;
  flex-direction: column;
}
.hwi__head {
  text-align: center;
  margin-bottom: 52px;
}
.hwi__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
}
.hwi__title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin: 20px 0 0;
}
.hwi__lede {
  font-size: clamp(0.95rem, 1.3vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  max-width: 44ch;
  margin: 18px auto 0;
}
.hwi__rule {
  display: none;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  margin-top: 28px;
}

.hwi__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hwi__item {
  position: relative;
}
.hwi__card {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border-radius: 24px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
    background 0.35s ease,
    border-color 0.35s ease;
}
.hwi__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.hwi__chip svg {
  width: 28px;
  height: 28px;
}
.hwi__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 6px;
}
.hwi__step-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 8px;
}
.hwi__body {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
}

@media (max-width: 640px) {
  .hwi__card {
    flex-direction: column;
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .hwi__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 56px;
  }
  .hwi__head {
    width: 34%;
    flex-shrink: 0;
    text-align: left;
    margin-bottom: 0;
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
  .hwi__lede {
    margin-left: 0;
  }
  .hwi__rule {
    display: block;
  }
  .hwi__list {
    --tread: clamp(18px, 2.4vw, 42px);
    flex: 1;
    min-width: 0;
  }
  .hwi__item {
    margin-left: calc(var(--i) * var(--tread));
    width: calc(100% - (4 * var(--tread)));
  }
  .hwi__item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 30px;
    bottom: -23px;
    width: var(--tread);
    height: 23px;
    border-left: 1.5px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.28);
    border-bottom-left-radius: 14px;
  }
}

@media (hover: hover) {
  .hwi__card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateX(6px);
  }
  .hwi__card:hover .hwi__chip {
    background: #fff;
    color: #2c2e81;
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hwi__card,
  .hwi__chip {
    transition: none;
  }
  .hwi__card:hover,
  .hwi__card:hover .hwi__chip {
    transform: none;
  }
}

/* ── Hero carousel header ── */
.hm-hero-inner {
  padding: clamp(40px, 6vw, 72px) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hm-hero-title {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.35rem, 5vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0a0a0c;
  max-width: 17ch;
  margin: 0;
  text-wrap: balance;
  transition: opacity 0.3s ease;
}
.hm-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  letter-spacing: 0.005em;
  font-weight: 400;
  color: #52525b;
  max-width: 44ch;
  margin: clamp(14px, 1.6vw, 20px) 0 0;
  transition: opacity 0.3s ease;
}
.hm-hero-actions {
  display: flex;
  margin-top: clamp(24px, 3vw, 34px);
}
.hm-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  background: #2c2e81;
  border-radius: 999px;
  padding: 14px 28px;
  max-width: 100%;
  transition:
    background-color 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hm-hero-btn:hover {
  background: var(--color-brand-mid);
  transform: translateY(-1px);
}
.hm-hero-btn:active {
  transform: translateY(0);
}
.hm-hero-dots {
  display: flex;
  align-items: center;
  /* No gap: the spacing between dots comes from each .carousel-dot's 8px tap-target
     padding (styles.css). A gap here would double it. min-height reserves the row
     at the tap-target height so the button padding does not push the hero taller. */
  gap: 0;
  min-height: 24px;
  margin-top: clamp(18px, 3.2vw, 30px);
}

.hm-hero-inner--alt {
  align-items: center;
  text-align: center;
  padding: 0 0 clamp(52px, 8vw, 104px);
}
.hm-hero-inner--alt .hm-hero-actions {
  justify-content: center;
  margin-top: 0;
}
.hm-hero-inner--alt .hm-hero-dots {
  justify-content: center;
}
.hm-hero-inner--alt .carousel-dot {
  background-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.hm-hero-inner--alt .carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
.hm-hero-inner--alt .carousel-dot.active {
  background-color: #ffffff;
}

@media (max-width: 767px) {
  #hero,
  #hero > .z-20 {
    min-height: clamp(600px, 80vh, 760px) !important;
  }
  .hm-hero-inner {
    align-items: center;
    text-align: center;
    padding: clamp(32px, 9vw, 56px) 0;
  }
  .hm-hero-inner--alt {
    padding: 0 0 clamp(96px, 22vw, 140px);
  }
  .hm-hero-title {
    max-width: 15ch;
    letter-spacing: -0.02em;
  }
  .hm-hero-sub {
    max-width: 36ch;
    color: #3f3f46;
  }
  .hm-hero-btn {
    padding: 15px 30px;
  }
}
@media (max-width: 380px) {
  .hm-hero-title {
    font-size: 2.1rem;
  }
  .hm-hero-sub {
    font-size: 0.95rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hm-hero-btn {
    transition: background-color 0.3s ease;
  }
  .hm-hero-btn:hover {
    transform: none;
  }
}
