/* Startseite: Jazz (dunkel) und JR Cosmetics (hell) */
.jr-light {
  --bg: #f6f1f4;
  --surface: #eee4ea;
  --line: #dccad5;
  --fg: #2a1d26;
  --white: #160b13;
  --muted: #685866;
  --accent: #6d2358;
  --accent-hover: #561a46;
  background: var(--bg);
  color: var(--fg);
}
@media (min-width: 861px) {
  .jr-light .half-bg img {
    left: calc(68cqw - 0.302 * var(--h));
  }
}
.jr-light .half-bg.empty {
  background: radial-gradient(80% 65% at 55% 35%, #e8d4e0 0%, var(--surface) 55%, var(--bg) 100%);
}
html,
body {
  height: 100%;
}
.entry {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.entry-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px var(--gutter) 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.nowrap {
  white-space: nowrap;
}
.entry-top p {
  font: 500 0.66rem/1.5 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.entry-top h1 {
  font: 300 clamp(1.5rem, 3vw, 2.1rem)/1.15 var(--display);
  color: var(--white);
}
.halves {
  flex: 1;
  display: flex;
  min-height: 560px;
}
.half {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  padding: clamp(28px, 5vw, 64px);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.half + .half {
  border-left: 0;
}
@media (hover: hover) and (min-width: 861px) {
  .halves:hover .half:not(:hover) .half-bg img {
    filter: saturate(0.4);
    opacity: 0.7;
  }
}
.half-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.half-bg {
  container-type: size;
}
.half-bg img {
  position: absolute;
  top: 0;
  --h: min(100cqh, 125cqw);
  height: var(--h);
  left: calc(60cqw - 0.302 * var(--h));
  width: auto;
  max-width: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 22%, #000 82%, transparent 100%),
    linear-gradient(to bottom, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 22%, #000 82%, transparent 100%),
    linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-composite: intersect;
  transform-origin: 64% 30%;
  transition:
    transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.6s ease,
    opacity 0.6s ease;
}
.half:hover .half-bg img {
  transform: scale(1.02);
}
.half-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 18%, color-mix(in srgb, var(--bg) 40%, transparent) 32%, transparent 48%),
    linear-gradient(
      to top,
      var(--bg) 0%,
      color-mix(in srgb, var(--bg) 70%, transparent) 32%,
      color-mix(in srgb, var(--bg) 15%, transparent) 65%,
      color-mix(in srgb, var(--bg) 35%, transparent) 100%
    );
}
.half-bg.empty {
  background: radial-gradient(
    90% 70% at 50% 35%,
    color-mix(in srgb, var(--accent) 16%, var(--surface)) 0%,
    var(--surface) 55%,
    var(--bg) 100%
  );
}
.half-bg.empty::after {
  display: none;
}
.half .logo-jazz {
  width: min(230px, 55%);
}

.half-bg.empty .logo-jr {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: min(200px, 40%);
  opacity: 0.9;
}
.half .who b {
  display: block;
  font: 400 clamp(1.8rem, 3.2vw, 2.6rem)/1.05 var(--display);
  color: var(--white);
}
.half .who span {
  display: block;
  margin-top: 8px;
  font: 500 0.7rem/1.6 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
}
.half .btn {
  align-self: flex-start;
}
.half .who .nowrap {
  display: inline;
  margin: 0;
}
@media (max-width: 860px) {
  .entry-top {
    padding: 14px var(--gutter) 12px;
    gap: 2px;
  }
  .entry-top h1 {
    font-size: 1.35rem;
  }
  .halves {
    flex-direction: column;
    min-height: 0;
  }
  .half {
    min-height: max(300px, calc((100svh - 96px) / 2));
    max-height: none;
    padding: 20px var(--gutter);
    gap: 12px;
  }
  .half + .half {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .half-bg img,
  .half:hover .half-bg img {
    transform: none;
    left: calc(70cqw - 0.302 * var(--h));
  }
  .half-bg::after {
    background:
      linear-gradient(to right, var(--bg) 26%, color-mix(in srgb, var(--bg) 55%, transparent) 44%, transparent 62%),
      linear-gradient(to top, var(--bg) 0%, transparent 30%);
  }
  .halves .half .logo-jazz {
    width: 92px;
  }
  .halves .half .jr-inline {
    width: 72px;
  }
  .half .who {
    max-width: 56%;
  }
  .half .who b {
    font-size: 1.45rem;
  }
  .half .who span {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    margin-top: 6px;
  }
  .half .btn {
    padding: 0.8em 1.2em;
  }
}
.half-bg.empty .logo-jr {
  display: none !important;
}
.half .jr-inline {
  width: min(176px, 40%);
}
.entry footer {
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
