/* Klixxa Core split-claim hero and city reveal sequence. */
.core-hero-split-claim .core-hero-concept-1 {
  min-height: clamp(700px, 86svh, 880px);
}

.core-hero-split-claim .core-hero-concept-1::before {
  height: clamp(190px, 24vh, 280px);
  background: linear-gradient(
    180deg,
    rgba(0, 30, 61, 0) 0%,
    rgba(0, 30, 61, 0.28) 34%,
    rgba(0, 30, 61, 0.78) 72%,
    var(--blue) 100%
  );
}

.core-hero-split-claim .core-hero-concept-1::after {
  background:
    linear-gradient(
      90deg,
      rgba(0, 30, 61, 0.98) 0%,
      rgba(0, 30, 61, 0.88) 32%,
      rgba(0, 30, 61, 0.62) 64%,
      rgba(0, 30, 61, 0.44) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 30, 61, 0.06) 34%,
      rgba(0, 30, 61, 0.3) 64%,
      var(--blue) 100%
    );
}

.core-hero-split-claim .core-hero-concept-1 .hero-inner {
  width: min(1320px, calc(100% - clamp(48px, 7vw, 112px)));
  min-height: calc(clamp(700px, 86svh, 880px) - var(--header-h));
  grid-template-columns: minmax(350px, 0.76fr) minmax(540px, 1.24fr);
  gap: clamp(70px, 8vw, 138px);
  align-items: center;
  padding: clamp(72px, 7vw, 104px) 0 clamp(88px, 9vw, 132px);
}

.core-hero-split-claim .core-hero-concept-1 .hero-copy {
  z-index: 3;
  max-width: 520px;
  transform: translateY(clamp(-34px, -4svh, -18px));
}

.core-hero-split-claim .core-hero-concept-1 .product-hero-title {
  animation: heroSoftFade 2.2s linear 0.22s both;
}

.core-hero-split-claim .core-hero-concept-1 .hero-copy::after {
  width: clamp(178px, 16vw, 246px);
  height: 1px;
  margin-top: clamp(16px, 2vw, 22px);
  opacity: 0.9;
  background: linear-gradient(
    90deg,
    rgba(139, 172, 71, 0.96),
    rgba(139, 172, 71, 0.52) 78%,
    rgba(139, 172, 71, 0) 100%
  );
  transform-origin: left center;
  animation: coreSplitLineIn 0.72s cubic-bezier(0.22, 0.72, 0.22, 1) 0.48s both;
}

.core-hero-split-claim .core-hero-concept-1 .hero-concept-statement {
  position: relative;
  top: clamp(172px, 20svh, 202px);
  align-self: center;
  max-width: none;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.75rem, 4.15vw, 5.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
  transform: translateY(clamp(-30px, -3.4svh, -14px));
}

.core-hero-split-claim .hero-concept-statement span {
  display: block;
  white-space: nowrap;
  will-change: opacity, transform, filter;
  animation: coreSplitClaimLineIn 1.65s cubic-bezier(0.33, 0, 0.22, 1) both;
}

.core-hero-split-claim .hero-concept-statement span:first-child {
  animation-delay: 1.2s;
}

.core-hero-split-claim .hero-concept-statement span:last-child {
  animation-delay: 1.92s;
}

@keyframes coreSplitLineIn {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 0.9;
    transform: scaleX(1);
  }
}

@keyframes coreSplitClaimLineIn {
  from {
    opacity: 0;
    filter: blur(2px);
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

html.core-effects-seen .core-hero-split-claim .core-hero-concept-1 .product-hero-title,
html.core-effects-seen .core-hero-split-claim .core-hero-concept-1 .hero-copy::after,
html.core-effects-seen .core-hero-split-claim .core-hero-concept-1 .hero-concept-statement,
html.core-effects-seen .core-hero-split-claim .hero-concept-statement span {
  animation: none;
}

html.core-effects-seen .core-hero-split-claim .core-hero-concept-1 .hero-concept-statement {
  opacity: 1;
  transform: none;
}

html.core-effects-seen .core-hero-split-claim .hero-concept-statement span {
  opacity: 1;
  filter: none;
  transform: none;
}

@media (max-width: 1180px) and (min-width: 961px) {
  .core-hero-split-claim .core-hero-concept-1 .hero-inner {
    grid-template-columns: minmax(320px, 0.76fr) minmax(470px, 1.24fr);
    gap: clamp(48px, 6vw, 78px);
  }

  .core-hero-split-claim .core-hero-concept-1 .hero-concept-statement {
    font-size: clamp(2.65rem, 4.25vw, 4rem);
  }
}

@media (max-width: 960px) {
  .core-hero-split-claim .core-hero-concept-1 {
    min-height: auto;
  }

  .core-hero-split-claim .core-hero-concept-1 .hero-inner {
    width: min(760px, calc(100% - clamp(40px, 8vw, 72px)));
    min-height: auto;
    grid-template-columns: 1fr;
    gap: clamp(58px, 10vw, 88px);
    padding: clamp(88px, 13vw, 122px) 0 clamp(94px, 13vw, 130px);
  }

  .core-hero-split-claim .core-hero-concept-1 .hero-copy,
  .core-hero-split-claim .core-hero-concept-1 .hero-concept-statement {
    transform: none;
  }

  .core-hero-split-claim .core-hero-concept-1 .hero-concept-statement {
    top: 0;
    max-width: 700px;
    font-size: clamp(2.65rem, 7vw, 4.2rem);
  }
}

/* City tiles follow the grid reading order: left to right, then top to bottom. */
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile {
  opacity: 0;
  transform: translate3d(-10px, 7px, 0);
  transition:
    opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease,
    border-color 180ms ease;
}

.core-hero-split-claim.reveal-ready .product-filter-section.is-visible .city-filter-tile {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(1) { transition-delay: 0.04s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(2) { transition-delay: 0.095s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(3) { transition-delay: 0.15s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(4) { transition-delay: 0.205s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(5) { transition-delay: 0.26s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(6) { transition-delay: 0.315s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(7) { transition-delay: 0.37s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(8) { transition-delay: 0.425s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(9) { transition-delay: 0.48s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(10) { transition-delay: 0.535s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(11) { transition-delay: 0.59s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(12) { transition-delay: 0.645s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(13) { transition-delay: 0.7s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(14) { transition-delay: 0.755s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(15) { transition-delay: 0.81s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(16) { transition-delay: 0.865s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(17) { transition-delay: 0.92s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(18) { transition-delay: 0.975s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(19) { transition-delay: 1.03s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(20) { transition-delay: 1.085s; }
.core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile:nth-child(21) { transition-delay: 1.14s; }

@media (max-width: 620px) {
  .core-hero-split-claim .core-hero-concept-1 .hero-inner {
    width: calc(100% - 40px);
    gap: 54px;
    padding: 86px 0 78px;
  }

  .core-hero-split-claim .core-hero-concept-1 .hero-copy::after {
    width: 154px;
    margin-top: 16px;
  }

  .core-hero-split-claim .core-hero-concept-1 .hero-concept-statement {
    font-size: clamp(1.48rem, 7vw, 2.2rem);
    line-height: 1.12;
  }

  .core-hero-split-claim .hero-concept-statement span {
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .core-hero-split-claim .core-hero-concept-1 .product-hero-title,
  .core-hero-split-claim .core-hero-concept-1 .hero-copy::after,
  .core-hero-split-claim .core-hero-concept-1 .hero-concept-statement,
  .core-hero-split-claim .hero-concept-statement span {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }

  .core-hero-split-claim.reveal-ready .product-filter-section .city-filter-tile,
  .core-hero-split-claim.reveal-ready .product-filter-section.is-visible .city-filter-tile {
    opacity: 1;
    transform: none;
    transition: background-color 180ms ease, border-color 180ms ease;
  }
}

/* Approved silhouettes: regular images also work when opened directly from disk. */
.product-page-core .city-filter-grid--updated .city-filter-icon {
  width: 88px;
  height: 76px;
  object-fit: contain;
  object-position: center bottom;
  --city-icon-scale: 1;
  --city-icon-y: 0px;
  --city-icon-zone-y: 0px;
  transform-origin: center bottom;
  filter: brightness(0) saturate(100%) invert(65%) sepia(40%) saturate(570%) hue-rotate(39deg) brightness(92%) contrast(89%);
}
.product-page-core .city-filter-grid--updated .city-filter-tile:hover .city-filter-icon {
  filter: brightness(0) saturate(100%) invert(65%) sepia(40%) saturate(570%) hue-rotate(39deg) brightness(100%) contrast(89%);
}

/* 18 cities: three balanced rows of six on desktop. */
.product-page-core .city-filter-grid--six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .product-page-core .city-filter-grid--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .product-page-core .city-filter-grid--six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Optical size corrections; preserve the visible baseline, including asset padding. */
.product-page-core .city-filter-grid--updated .city-filter-tile {
  grid-template-rows: 94px auto auto;
  align-items: end;
}
.product-page-core .city-filter-grid--updated .city-filter-icon[src$="city-luxemburg.png"] { --city-icon-scale: 1.25; --city-icon-y: 1px; }
.product-page-core .city-filter-grid--updated .city-filter-icon[src$="city-dublin.png"] { --city-icon-scale: 1.2; --city-icon-y: 1px; }
.product-page-core .city-filter-grid--updated .city-filter-icon[src$="city-monaco.png"] { --city-icon-scale: 1.1; }
.product-page-core .city-filter-grid--updated .city-filter-icon[src$="city-london.png"] { --city-icon-scale: 1.08; }
.product-page-core .city-filter-grid--updated .city-filter-icon[src$="city-kopenhagen.png"] { --city-icon-scale: 1.08; }
.product-page-core .city-filter-grid--updated .city-filter-icon[src$="city-helsinki.png"] { --city-icon-scale: 1.08; }
.product-page-core .city-filter-grid--updated .city-filter-icon[src$="city-barcelona.png"] { --city-icon-scale: 1.2; --city-icon-y: 12px; }
.product-page-core .city-filter-grid--updated .city-filter-icon[src$="city-venedig.png"] { --city-icon-scale: 1.4; --city-icon-y: 18px; }
