/* One-screen home stage: introduction, curved infinite gallery, and FanliBot entry. */

body[data-route="home"] {
  --home-stage-bg: #f7f8fa;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--home-stage-bg);
}

body[data-route="home"] #site-footer {
  display: none;
}

.page-main.page-home-gallery {
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100svh;
  padding: var(--header-height) 0 max(0.8rem, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}

.page-main.page-home-gallery.route-enter {
  animation-name: homeRouteEnter;
}

@keyframes homeRouteEnter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.home-stage {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(150px, 0.74fr) minmax(260px, 1.28fr) minmax(98px, 0.56fr);
  gap: clamp(0.45rem, 1.15vh, 0.85rem);
  align-items: stretch;
  overflow: hidden;
}

.home-gallery-clip-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-intro {
  width: min(58rem, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 0;
  padding-top: clamp(0.35rem, 1.2vh, 0.8rem);
}

.home-intro-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: clamp(1.8rem, min(3.7vw, 6.1vh), 4.3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.home-intro-summary {
  margin: 0.3rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: clamp(1.72rem, min(4.15vw, 6.5vh), 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: color-mix(in srgb, var(--text-soft) 88%, var(--line-strong) 12%);
}

.home-intro-summary-line {
  display: block;
  white-space: nowrap;
}

body[data-lang="en"][data-route="home"] .home-intro-title,
body[data-lang="en"][data-route="home"] .home-intro-summary {
  font-family: var(--font-brand);
  font-weight: var(--font-brand-weight);
}

.home-intro-action {
  --home-action-arrow-size: 2.1rem;
  --home-action-arrow-track-size: 4.2rem;
  --home-action-inset: 0.2rem;
  --home-action-inset-span: 0.4rem;
  position: relative;
  isolation: isolate;
  display: inline-grid;
  grid-template-columns: var(--home-action-arrow-size) minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  gap: 0.56rem;
  min-height: 2.7rem;
  min-width: 10rem;
  margin-top: clamp(0.65rem, 1.4vh, 0.95rem);
  padding: var(--home-action-inset) 0.56rem var(--home-action-inset) var(--home-action-inset);
  border: 1px solid var(--btn-solid-bg);
  border-radius: var(--radius-full);
  overflow: hidden;
  white-space: nowrap;
  transition:
    color 620ms var(--ease-soft),
    border-color 620ms var(--ease-soft);
}

.home-intro-action::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: var(--home-action-inset);
  height: var(--home-action-arrow-size);
  width: var(--home-action-arrow-size);
  transform: translateY(-50%);
  border-radius: var(--radius-full);
  background: var(--btn-muted-bg);
  transition: width 680ms var(--ease-spring);
}

.home-intro-action > * {
  position: relative;
  z-index: 1;
}

.home-intro-action:hover,
.home-intro-action:focus-visible {
  color: var(--btn-solid-bg);
  border-color: var(--btn-solid-bg);
  background: var(--btn-solid-bg);
}

.home-intro-action:hover::before,
.home-intro-action:focus-visible::before {
  width: calc(100% - var(--home-action-inset-span));
}

.home-intro-action-arrow {
  width: var(--home-action-arrow-size);
  height: var(--home-action-arrow-size);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--btn-solid-bg);
}

.home-intro-action-arrow-track {
  width: var(--home-action-arrow-track-size);
  height: 100%;
  display: flex;
  align-items: center;
  justify-self: start;
  flex: 0 0 var(--home-action-arrow-track-size);
  min-width: 0;
  transform: translateX(-50%);
  transition: transform 680ms var(--ease-spring);
}

.home-intro-action:hover .home-intro-action-arrow-track,
.home-intro-action:focus-visible .home-intro-action-arrow-track {
  transform: translateX(0);
}

.home-intro-action-arrow-icon {
  width: var(--home-action-arrow-size);
  height: 1.28rem;
  flex: 0 0 var(--home-action-arrow-size);
  min-width: var(--home-action-arrow-size);
  max-width: var(--home-action-arrow-size);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-intro-action-label {
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
  height: 1.35em;
  overflow: hidden;
}

.home-intro-action-label-track {
  display: flex;
  flex-direction: column;
  gap: 0.16em;
  line-height: 1.35;
  transform: translateY(0);
  transition: transform 680ms var(--ease-spring);
}

.home-intro-action:hover .home-intro-action-label-track,
.home-intro-action:focus-visible .home-intro-action-label-track {
  transform: translateY(calc(-1.35em - 0.16em));
}

.home-intro-action-label-text {
  display: block;
  height: 1.35em;
  color: var(--btn-solid-text);
  transition: opacity 360ms var(--ease-soft);
}

.home-intro-action-label-text-hover {
  color: var(--btn-solid-bg);
  opacity: 0;
}

.home-intro-action:hover .home-intro-action-label-text:first-child,
.home-intro-action:focus-visible .home-intro-action-label-text:first-child {
  opacity: 0.08;
}

.home-intro-action:hover .home-intro-action-label-text-hover,
.home-intro-action:focus-visible .home-intro-action-label-text-hover {
  opacity: 1;
}

.home-gallery-region {
  --home-gallery-gap: clamp(0.62rem, 1vw, 0.95rem);
  width: 100%;
  min-width: 0;
  min-height: 0;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.home-projects {
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.home-projects > .home-gallery-region {
  height: 100%;
}

.home-card-stream {
  display: none;
}

.home-gallery-viewport {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: clamp(180px, 21vh, 250px);
  min-height: 0;
  position: relative;
  overflow: hidden;
  touch-action: pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
  perspective: clamp(560px, 48vw, 920px);
  perspective-origin: 50% 48%;
  transform-style: preserve-3d;
  cursor: grab;
}

.home-gallery-viewport:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--text) 45%, transparent);
  outline-offset: -4px;
}

.home-gallery-title {
  position: absolute;
  top: var(--home-gallery-title-top, 100%);
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 1.45em;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.8rem);
  font-weight: 550;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-align: center;
  transition: opacity 220ms var(--ease-soft);
}

.home-gallery-title[data-carousel-title-empty="true"] {
  opacity: 0;
}

.home-gallery-title-text {
  --home-gallery-title-duration: 520ms;
  --home-gallery-title-fade: var(--ease-soft);
  grid-area: 1 / 1;
  width: min(78%, 30rem);
  max-width: min(78%, 30rem);
  justify-self: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.84);
  transform-origin: center center;
  will-change: transform, opacity;
  transition:
    opacity var(--home-gallery-title-duration) var(--home-gallery-title-fade),
    transform var(--home-gallery-title-duration) var(--ease-spring);
}

.home-gallery-title-text.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  z-index: 2;
}

.home-gallery-title-text.is-entering {
  /* Hold the incoming layer at the center until the next paint so its fade
     transition starts from a stable, in-place position. */
  transition: none;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.84);
  z-index: 2;
}

.home-gallery-title-text.is-leaving {
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.84);
  z-index: 1;
}

.home-gallery-track {
  width: max-content;
  height: 100%;
  display: flex;
  align-items: stretch;
  transform-style: preserve-3d;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.home-gallery-group {
  flex: none;
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: var(--home-gallery-gap);
  padding-right: var(--home-gallery-gap);
  transform-style: preserve-3d;
}

.home-gallery-card {
  position: relative;
  flex: 0 0 clamp(250px, 24vw, 620px);
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-3);
  color: #ffffff;
  isolation: isolate;
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  transform: none;
  transition: none;
}

.home-gallery-card.case-link:hover,
.home-gallery-card.case-link:focus-visible {
  outline: none;
}

.home-gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transform: scale(1.01);
  transition:
    transform 720ms var(--ease-spring),
    filter 320ms var(--ease-soft);
}

.home-gallery-card:hover .home-gallery-image,
.home-gallery-card:focus-visible .home-gallery-image,
.home-gallery-card[data-carousel-hovered="true"] .home-gallery-image {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.01);
}

.home-gallery-region.is-dragging .home-gallery-viewport {
  cursor: grabbing;
}

.home-gallery-region.is-dragging .home-gallery-card {
  pointer-events: none;
}

.home-bot-entry.hero-chat-entry {
  width: min(44rem, calc(100% - 2rem));
  align-self: center;
  justify-self: center;
  margin: 0;
  padding: 0;
  gap: clamp(0.5rem, 1vh, 0.72rem);
}

.home-bot-entry .hero-chat-suggestions {
  flex-wrap: nowrap;
  justify-content: center;
  overflow-x: auto;
  padding: 1px;
  scrollbar-width: none;
}

.home-bot-entry .hero-chat-suggestions::-webkit-scrollbar {
  display: none;
}

.home-bot-entry .hero-chat-chip {
  flex: none;
  min-height: 34px;
  padding: 0.4rem 0.72rem;
  white-space: nowrap;
}

.home-bot-entry .hero-chat-shell {
  min-height: 54px;
  border-radius: 999px;
  padding: 0.46rem 0.58rem 0.46rem 1.08rem;
  box-shadow: none;
}

.home-bot-entry .hero-chat-chip {
  box-shadow: none;
}

@media (max-width: 860px) {
  .page-main.page-home-gallery {
    padding-top: var(--header-height);
  }

  .home-stage {
    grid-template-rows: minmax(145px, 0.7fr) minmax(250px, 1.35fr) minmax(104px, 0.56fr);
  }

  .home-gallery-card {
    flex-basis: clamp(300px, 66vw, 430px);
  }
}

@media (max-width: 640px) {
  .home-stage {
    grid-template-rows: minmax(138px, auto) minmax(250px, 1fr) auto;
    gap: 0.42rem;
  }

  .home-intro {
    width: calc(100% - 1.4rem);
    padding-top: 0.25rem;
  }

  .home-intro-title {
    font-size: clamp(1.55rem, 7.4vw, 2.05rem);
  }

  .home-intro-summary {
    margin-top: 0.24rem;
    font-size: clamp(1.6rem, 8.5vw, 2.35rem);
  }

  .home-intro-action {
    --home-action-arrow-size: 1.6rem;
    --home-action-arrow-track-size: 3.2rem;
    --home-action-inset: 0.16rem;
    --home-action-inset-span: 0.32rem;
    min-height: 2.05rem;
    min-width: 9.6rem;
    margin-top: 0.58rem;
    gap: 0.4rem;
    padding: var(--home-action-inset) 0.4rem var(--home-action-inset) var(--home-action-inset);
    font-size: 0.84rem;
  }

  .home-gallery-region {
    --home-gallery-gap: 0.62rem;
  }

  .home-gallery-viewport {
    height: clamp(250px, 34vh, 310px);
  }

  .home-gallery-card {
    flex-basis: 82vw;
    border-radius: 14px;
  }

  .home-bot-entry.hero-chat-entry {
    width: calc(100% - 1.4rem);
  }

  .home-bot-entry .hero-chat-suggestions {
    justify-content: flex-start;
  }

  .home-bot-entry .hero-chat-shell {
    min-height: 50px;
  }
}

@media (max-height: 760px) {
  .home-stage {
    grid-template-rows: minmax(126px, 0.7fr) minmax(240px, 1.38fr) minmax(74px, 0.46fr);
    gap: 0.35rem;
  }

  .home-intro {
    padding-top: 0;
  }

  .home-intro-title {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
  }

  .home-intro-summary {
    font-size: clamp(1.48rem, 3.55vw, 2.55rem);
  }

  .home-intro-action {
    --home-action-arrow-size: 1.75rem;
    --home-action-arrow-track-size: 3.5rem;
    --home-action-inset: 0.16rem;
    --home-action-inset-span: 0.32rem;
    min-height: 2.2rem;
    min-width: 9.8rem;
    margin-top: 0.48rem;
    padding-block: var(--home-action-inset);
  }

  .home-gallery-viewport {
    height: clamp(170px, 25vh, 210px);
  }

  .home-gallery-card {
    flex-basis: clamp(250px, 24vw, 620px);
  }

  .home-bot-entry .hero-chat-suggestions {
    display: none;
  }

  .home-bot-entry .hero-chat-shell {
    min-height: 48px;
  }
}

@media (min-width: 861px) and (min-height: 761px) {
  .home-stage {
    grid-template-rows: minmax(150px, 0.9fr) minmax(260px, 1.18fr) minmax(98px, 0.56fr);
  }

  .home-gallery-viewport {
    height: clamp(300px, min(25.8vw, 45vh), 520px);
    overflow: visible;
  }

  .home-gallery-card {
    width: auto;
    height: 76%;
    align-self: center;
    flex: 0 0 auto;
    aspect-ratio: 5 / 4;
  }
}

@media (min-width: 861px) and (min-height: 821px) and (max-height: 960px) {
  .home-stage {
    grid-template-rows: minmax(150px, 0.8fr) minmax(260px, 1.31fr) minmax(98px, 0.42fr);
  }
}

@media (max-height: 560px) {
  .page-main.page-home-gallery {
    padding-bottom: 0.35rem;
  }

  .home-stage {
    grid-template-rows: minmax(96px, 0.82fr) minmax(126px, 1.12fr) minmax(44px, 0.44fr);
    gap: 0.2rem;
  }

  .home-intro {
    padding-top: 0;
  }

  .home-intro-title {
    font-size: 1.15rem;
  }

  .home-intro-summary {
    margin-top: 0.1rem;
    font-size: clamp(1rem, 2.45vw, 1.5rem);
    line-height: 0.96;
  }

  .home-intro-action {
    --home-action-arrow-size: 1.3rem;
    --home-action-arrow-track-size: 2.6rem;
    --home-action-inset: 0.12rem;
    --home-action-inset-span: 0.24rem;
    min-height: 1.62rem;
    min-width: 8.8rem;
    margin-top: 0.25rem;
    gap: 0.26rem;
    padding: var(--home-action-inset) 0.26rem var(--home-action-inset) var(--home-action-inset);
    font-size: 0.72rem;
  }

  .home-gallery-viewport {
    height: 100%;
  }

  .home-gallery-card {
    flex-basis: clamp(210px, 56vh, 300px);
  }

  .home-bot-entry.hero-chat-entry {
    width: min(40rem, calc(100% - 1.2rem));
  }

  .home-bot-entry .hero-chat-suggestions {
    display: none;
  }

  .home-bot-entry .hero-chat-shell {
    min-height: 42px;
    padding: 0.3rem 0.42rem 0.3rem 0.85rem;
  }
}

@media (max-height: 360px) {
  .page-main.page-home-gallery {
    padding-bottom: 0.2rem;
  }

  .home-stage {
    grid-template-rows: minmax(76px, 0.76fr) minmax(104px, 1.08fr) minmax(40px, 0.4fr);
    gap: 0.14rem;
  }

  .home-intro-title {
    font-size: 0.95rem;
  }

  .home-intro-summary {
    font-size: 1rem;
  }

  .home-intro-action {
    --home-action-arrow-size: 1.12rem;
    --home-action-arrow-track-size: 2.24rem;
    --home-action-inset: 0.11rem;
    --home-action-inset-span: 0.22rem;
    min-height: 1.42rem;
    min-width: 8rem;
    margin-top: 0.16rem;
    gap: 0.2rem;
    padding: var(--home-action-inset) 0.2rem var(--home-action-inset) var(--home-action-inset);
    font-size: 0.65rem;
  }

  .home-gallery-card {
    flex-basis: clamp(170px, 54vh, 220px);
  }

  .home-bot-entry .hero-chat-shell {
    min-height: 38px;
  }

  .home-bot-entry .hero-chat-submit {
    width: 1.85rem;
    height: 1.85rem;
  }

  .home-bot-entry .hero-chat-submit-icon {
    width: 1rem;
    height: 1rem;
  }

  .home-bot-entry .hero-chat-input-preview {
    font-size: 0.76rem;
  }
}

@media (min-width: 861px) and (min-height: 561px) and (max-height: 760px) {
  .home-gallery-viewport {
    height: clamp(260px, min(25.8vw, 55vh), 420px);
    overflow: visible;
  }

  .home-gallery-card {
    width: auto;
    height: 76%;
    align-self: center;
    flex: 0 0 auto;
    aspect-ratio: 5 / 4;
  }
}

/* Give the introduction more breathing room on compact desktop windows. */
@media (min-width: 861px) and (min-height: 761px) and (max-height: 820px) {
  .home-stage {
    grid-template-rows: minmax(185px, 0.9fr) minmax(240px, 1.18fr) minmax(90px, 0.52fr);
  }

  .home-gallery-viewport {
    height: clamp(280px, min(25.8vw, 39vh), 340px);
  }

  .home-intro-title {
    font-size: clamp(1.8rem, min(3.45vw, 5.65vh), 4.1rem);
  }

  .home-intro-summary {
    font-size: clamp(1.68rem, min(3.85vw, 6.1vh), 4.4rem);
  }
}

/* Keep the tablet portrait layout from falling back to the shallow base height. */
@media (min-width: 641px) and (max-width: 860px) and (min-height: 761px) {
  .home-gallery-viewport {
    height: clamp(230px, min(34vh, 52vw), 360px);
  }
}

/* Keep the full desktop arc visible when the gallery is taller than its grid track. */
@media (min-width: 861px) and (min-height: 761px) {
  /* Shift only the introduction's visual content; the carousel grid slot stays fixed. */
  .home-intro > * {
    transform: translateY(1rem);
  }

  /* The shared button hover reset must not cancel the introduction offset. */
  .home-intro > .home-intro-action {
    transform: translateY(1rem);
  }

  .home-projects,
  .home-projects > .home-gallery-region {
    overflow: visible;
  }
}

/* On shorter desktop windows, fit the viewport to the available track instead of clipping the arc. */
@media (min-width: 861px) and (min-height: 561px) and (max-height: 760px) {
  .home-gallery-viewport {
    height: min(100%, clamp(260px, min(25.8vw, 55vh), 420px));
  }
}

/* Mobile home switches from the desktop carousel to the legacy stacked case cards. */
@media (max-width: 860px) {
  body[data-route="home"] {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
  }

  .page-main.page-home-gallery {
    height: auto;
    min-height: calc(100svh - var(--header-height));
    padding-top: var(--header-height);
    padding-bottom: calc(14rem + env(safe-area-inset-bottom, 0px));
    overflow: visible;
  }

  .home-stage {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: visible;
  }

  .home-intro {
    flex: none;
    min-height: clamp(220px, 27svh, 280px);
    padding-top: 0.6rem;
    padding-bottom: 1.35rem;
  }

  .home-projects {
    display: flex;
    flex: none;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
  }

  .home-projects > .home-gallery-region {
    display: none;
  }

  .home-card-stream {
    display: block;
    width: calc(100% - 1.4rem);
    margin: 0 auto;
    padding: 0 0 0.4rem;
    background: transparent;
  }

  .home-card-stream .section-head {
    margin: 0 0 0.9rem;
  }

  .home-card-stream .section-title {
    margin: 0;
    font-size: 1.15rem;
    text-align: left;
  }

  .home-card-stream .case-study-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.3rem;
  }

  .home-card-stream .case-item {
    gap: 0.72rem;
  }

  .home-card-stream .case-image-wrap {
    border-radius: 16px;
  }

  .home-card-stream .case-image {
    aspect-ratio: 16 / 10;
  }

  .home-card-stream .case-title {
    font-size: 1.35rem;
    line-height: 1.08;
  }

  .home-card-stream .case-summary {
    margin-top: 0.42rem;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .home-bot-entry.hero-chat-entry {
    position: fixed;
    left: 50%;
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    z-index: 90;
    flex: none;
    width: calc(100% - 1.4rem);
    margin: 0;
    padding: 0;
    align-self: center;
    transform: translateX(-50%);
  }

  .home-gallery-card {
    width: auto;
    height: 100%;
    flex: 0 0 auto;
    aspect-ratio: 5 / 4;
  }
}

@media (max-width: 860px) and (orientation: landscape) {
  .home-intro {
    min-height: clamp(170px, 44svh, 230px);
  }

  .home-intro-title {
    font-size: clamp(1.55rem, 4.8vw, 2.15rem);
  }

  .home-intro-summary {
    font-size: clamp(1.45rem, 5.4vw, 2.35rem);
  }

  .home-card-stream .case-study-grid {
    gap: 1rem;
  }
}

@media (min-width: 641px) and (max-width: 860px) {
  .page-main.page-home-gallery {
    padding-bottom: calc(8rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 860px) and (max-height: 560px) {
  .page-main.page-home-gallery {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Desktop Cover Flow keeps the transformed card faces inside a controlled gallery frame. */
@media (min-width: 861px) {
  .home-gallery-region {
    overflow: visible;
  }

  .home-gallery-track,
  .home-gallery-group {
    align-items: flex-start;
  }

  .home-gallery-card {
    width: auto;
    height: 76%;
    align-self: center;
    flex: 0 0 auto;
    aspect-ratio: 5 / 4;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .home-gallery-card .home-gallery-image {
    border: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
    border-radius: inherit;
    box-shadow: none;
    -webkit-box-reflect: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery-track,
  .home-gallery-image,
  .home-gallery-title,
  .home-gallery-title-text,
  .home-intro-action,
  .home-intro-action::before,
  .home-intro-action-arrow-track,
  .home-intro-action-label-track,
  .home-intro-action-label-text {
    transition: none !important;
  }
}
