.concept-arthouse {
  --concept-panel: #e7b9c5;
  --concept-card: #f6ecec;
}

.concept-lucalight {
  --concept-panel: #f3d889;
  --concept-card: #f6efdc;
}

.concept-myko {
  --concept-panel: #ccb9fb;
  --concept-card: #f0e9fa;
}

.concept-yubl {
  --concept-panel: #faacd2;
  --concept-card: #f9e8f2;
}

.concept-phone {
  position: absolute;
  box-sizing: border-box;
  width: var(--phone-width, 72%);
  aspect-ratio: 1 / 2.08;
  overflow: hidden;
  border: solid clamp(2px, .35vw, 5px) #232027;
  border-radius: var(--phone-radius, 12% / 6%);
  background: white;
  box-shadow: 0 0 0 1px #ffffff56, 0 2px 2px #211b3a80, 0 14px 24px -8px #20162d66;
  translate: 0 var(--phone-lift, 0);
  rotate: var(--phone-tilt, 0deg);
  transition: translate .3s ease, rotate .3s ease;
}

.concept-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.concept-card:is(:hover, :focus-visible) .concept-phone-primary {
  --phone-lift: -.45rem;
}

.selected-work-card.concept-card {
  --project-atmosphere: linear-gradient(125deg, var(--concept-card) 35%, var(--concept-panel));
  overflow: visible;
}

.concept-card::before {
  border-radius: inherit;
}

.concept-card-stage {
  position: absolute;
  inset: 0 9% 0 6%;
  clip-path: inset(-50% -12% 0 round 0 0 1rem 1rem);
}

.concept-card-stage .concept-phone {
  --phone-width: auto;
  height: var(--phone-height, 100%);
}

.concept-card .concept-phone-primary {
  z-index: 1;
}

.concept-card.concept-myko .concept-phone-primary {
  --phone-height: 108%;
  --phone-tilt: -9deg;
  bottom: 4%;
  right: 43%;
}

.concept-card.concept-myko .concept-phone-secondary {
  --phone-height: 92%;
  --phone-tilt: 11deg;
  left: 49%;
  bottom: 1%;
}

.concept-lucalight .selected-work-art {
  --luca-width: 56cqh;
  --luca-top: 8%;
  --luca-bezel: clamp(2px, .35vw, 5px);
  --luca-balloon-area: min(76cqh, calc(var(--luca-width) * 1.55));
}

.concept-card-stage.concept-luca-phone-stage {
  inset-inline: 0;
}

.concept-luca-phone-stage .concept-phone-primary {
  --phone-width: var(--luca-width);
  --phone-height: auto;
  --phone-lift: 0;
  top: var(--luca-top);
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 48% 55%, #482445, #170e25 77%);
}

.concept-luca-phone-stage .concept-phone-primary::before {
  content: "";
  position: absolute;
  top: 3%;
  left: 39%;
  width: 22%;
  height: 2.5%;
  border-radius: 999px;
  background: #09070d;
}

.selected-work-art > :is(.concept-luca-balloons, .concept-luca-refill) {
  position: absolute;
  z-index: 2;
  top: calc(var(--luca-top) + 1rem);
  left: 50%;
  width: calc(var(--luca-width) * .8);
  height: var(--luca-balloon-area);
  transform: translateX(-50%);
  pointer-events: none;
}

.concept-luca-balloon {
  position: absolute;
  top: var(--balloon-y);
  left: var(--balloon-x);
  width: 43%;
  height: auto;
  color: var(--balloon-colour);
  rotate: var(--balloon-tilt);
  filter: drop-shadow(0 .2rem .25rem #12071955);
}

.selected-work-art > .concept-luca-refill {
  top: calc(var(--luca-top) + var(--luca-bezel));
  bottom: 0;
  width: calc(var(--luca-width) - 2 * var(--luca-bezel));
  height: auto;
  overflow: clip;
  visibility: hidden;
}

.concept-luca-refill .concept-luca-balloons {
  position: absolute;
  top: calc(1rem - var(--luca-bezel));
  left: 50%;
  width: calc(var(--luca-width) * .8);
  height: var(--luca-balloon-area);
  transform: translateX(-50%);
}

@media (prefers-reduced-motion: no-preference) {
  .product-home .selected-work:has(.concept-lucalight.is-launching),
  .concept-lucalight.is-launching {
    z-index: 2;
  }

  .concept-lucalight.is-launching .concept-luca-balloon {
    animation: concept-balloon-flight var(--balloon-duration) linear var(--balloon-delay) both;
  }

  .concept-lucalight.is-launching .concept-luca-refill {
    visibility: visible;
  }

  .concept-lucalight.is-launching .concept-luca-refill .concept-luca-balloon {
    animation: concept-balloon-arrival 1.05s cubic-bezier(.2, .7, .25, 1) var(--balloon-delay) both;
  }
}

@keyframes concept-balloon-flight {
  from { translate: 0 0; }
  to { translate: var(--balloon-drift) calc(-1 * max(150vh, 100rem)); }
}

@keyframes concept-balloon-arrival {
  from { translate: 0 115cqh; }
  to { translate: 0 0; }
}

.concept-card.concept-yubl .concept-phone-primary {
  --phone-height: 109%;
  --phone-tilt: 10deg;
  right: 13%;
  top: 9%;
}

.concept-card.concept-yubl .concept-phone-secondary {
  --phone-height: 95%;
  --phone-tilt: -12deg;
  left: 13%;
  top: 22%;
}

.concept-arthouse-logo {
  position: absolute;
  top: 50%;
  left: 49%;
  width: min(130cqw, 139cqh, 27rem);
  height: auto;
  transform: translate(-50%, -50%);
}

.product-home .selected-work-copy {
  justify-content: flex-start;
  padding: 1rem clamp(1rem, 2.2vw, 2rem);
}

.product-home .selected-work {
  overflow-x: clip;
}

.product-home .selected-work-art .summary-footer:has(.sg-hero-art) {
  padding-right: .5rem;
  padding-bottom: 7cqh;
}

.product-home .selected-work-art .sg-hero-art {
  width: min(100%, 143cqh);
  transform: scaleX(-1);
}

@media (min-width: 621px) {
  .product-home .selected-work-card:has(.story-thumb-smart-grid) {
    grid-template-columns: minmax(0, 49fr) minmax(0, 51fr);
  }

  .product-home .selected-work-grid > .selected-work-card {
    min-height: clamp(12rem, 16vw, 16rem);
  }

  .concept-card.concept-myko {
    grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  }

  .concept-card.concept-myko .concept-phone-primary {
    --phone-height: 121%;
    top: -9%;
    bottom: auto;
  }

  .concept-card.concept-myko .concept-phone-secondary {
    --phone-height: 105%;
    top: 9%;
    bottom: auto;
  }
}

@media (min-width: 1051px) {
  .concept-card.concept-yubl .concept-phone-primary {
    --phone-height: min(111%, 155cqw);
  }

  .concept-card.concept-yubl .concept-phone-secondary {
    --phone-height: min(97%, 143cqw);
  }
}

@media (max-width: 1050px) {
  .concept-card-stage {
    inset-inline: 12%;
  }
}

.concept-card.concept-yubl .concept-phone-primary {
  right: auto;
  left: 48%;
}

.concept-card.concept-yubl .concept-phone-secondary {
  right: 46%;
  left: auto;
}

@media (max-width: 760px) {
  .selected-work-art > .concept-card-stage.artwork-pending {
    opacity: 1;
    translate: none;
  }
}

@media (max-width: 620px) {
  .concept-card-stage {
    inset: 0;
    clip-path: inset(0 round 0 0 1rem 1rem);
  }

  .product-home .selected-work-copy {
    padding: 1rem 1.25rem .5rem;
  }

  .concept-card:is(.concept-myko, .concept-yubl, .concept-lucalight) .selected-work-art {
    aspect-ratio: 1.85;
  }

  .concept-card:is(.concept-myko, .concept-yubl) .concept-phone-primary {
    --phone-width: 43%;
    --phone-height: auto;
    top: 8%;
    bottom: auto;
  }

  .concept-card:is(.concept-myko, .concept-yubl) .concept-phone-secondary {
    --phone-width: 39%;
    --phone-height: auto;
    top: 25%;
    bottom: auto;
  }

  .concept-card.concept-yubl .concept-phone-primary {
    --phone-width: 47%;
    top: 11%;
    left: 43%;
  }

  .concept-card.concept-yubl .concept-phone-secondary {
    top: 21%;
    right: 49%;
  }

  .concept-lucalight .selected-work-art {
    --luca-width: 48cqw;
    --luca-top: 11%;
  }

  .product-home .selected-work-art:has(.kingfisher-product-art) {
    overflow: hidden;
  }

  .product-home .selected-work-art .kingfisher-product-art {
    top: .5rem;
    bottom: .5rem;
    width: min(86%, 18rem);
    aspect-ratio: auto;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .concept-phone {
    transition: none;
  }

  .concept-card:is(:hover, :focus-visible) .concept-phone-primary {
    --phone-lift: 0;
  }
}


.product-home .kingfisher-product-stage {
  background: color-mix(in srgb, var(--stage-color) 38%, white);
}

.product-home .kingfisher-product-art .kingfisher-product-stage img {
  mix-blend-mode: multiply;
  filter: none;
}

.product-home .selected-work-copy > p:last-child {
  margin-bottom: 0;
}

.product-home .earlier-work-card .selected-work-copy h2 {
  font-size: clamp(1.4rem, 6.5cqw, 2.15rem);
}

.earlier-work-card .selected-work-art {
  opacity: .82;
  transition: opacity .25s ease;
}

.earlier-work-card:is(:hover, :focus-visible) .selected-work-art {
  opacity: 1;
}

@media (min-width: 1051px) {
  .product-home .selected-work-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .product-home .selected-work-grid > .featured-work {
    min-height: clamp(15rem, 19vw, 20rem);
  }

  .product-home .selected-work-grid > .featured-work.concept-myko {
    grid-column: span 7;
  }

  .product-home .selected-work-grid > .featured-work:has(.migration-visual) {
    grid-column: span 5;
  }

  .product-home .selected-work-grid > .featured-work:has(.sg-hero-art) {
    grid-column: span 7;
  }

  .product-home .featured-work:has(.sg-hero-art) .selected-work-copy {
    max-width: 34rem;
  }

  .product-home .featured-work .sg-hero-art {
    margin-inline: auto;
  }

  .product-home .selected-work-grid > .prototype-work {
    grid-column: span 5;
  }

  .product-home .selected-work-grid > .prototype-work.concept-lucalight,
  .product-home .selected-work-grid > .earlier-work-card {
    grid-column: span 6;
  }

  .product-home .selected-work-grid > .earlier-work-card {
    min-height: 12rem;
  }

  .earlier-work-card.concept-yubl .concept-phone-primary {
    --phone-height: min(105%, 142cqw);
    left: 39%;
  }

  .earlier-work-card.concept-yubl .concept-phone-secondary {
    --phone-height: min(90%, 122cqw);
    right: 43%;
  }
}
