/* Give the original LucasBright website capture its own space beside the identity and print. */
.logo-hero-art--with-phone {
  display: grid;
  gap: clamp(12px, 1.5vw, 18px);
  height: auto;
  max-width: 640px;
}

.logo-hero-art--with-phone .logo-hero-topline,
.logo-hero-art--with-phone figcaption {
  position: relative;
  inset: auto;
  padding-inline: 6%;
}

.logo-hero-art--with-phone .logo-hero-board {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 29% 23%;
  grid-template-rows: auto auto;
  grid-template-areas:
    "mark mark phone"
    "cards flyer phone";
  gap: clamp(16px, 1.7vw, 22px);
  padding-inline: 10px;
}

.logo-hero-art--with-phone .logo-hero-mark {
  grid-area: mark;
  position: relative;
  inset: auto;
  align-self: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1.7;
  padding: clamp(10px, 1.7vw, 22px);
}

.logo-hero-art--with-phone .logo-hero-mark img {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.logo-hero-art--with-phone .logo-hero-application:is(.logo-hero-card-sample, .logo-hero-flyer-sample) {
  position: relative;
  inset: auto;
  width: 100%;
}

.logo-hero-art--with-phone .logo-hero-card-sample {
  grid-area: cards;
  align-self: center;
  aspect-ratio: 1.45;
}

.logo-hero-art--with-phone .logo-hero-application.logo-hero-card-sample {
  height: auto;
}

.logo-hero-art--with-phone .logo-hero-card-face {
  width: 76%;
}

.logo-hero-art--with-phone .logo-hero-flyer-sample {
  grid-area: flyer;
  align-self: start;
}

/* Frame, bezel and speaker follow the LucasBright case study. */
.logo-hero-art--with-phone .logo-hero-phone {
  --phone-bezel: 6px;
  --phone-corner: 25px;
  grid-area: phone;
  position: relative;
  z-index: 3;
  display: block;
  align-self: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  border: var(--phone-bezel) solid #102a37;
  border-radius: var(--phone-corner);
  background: #102a37;
  box-shadow: 0 18px 44px #051f3533;
  line-height: 0;
  transform: translateY(-6%) rotate(4deg);
}

.logo-hero-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--phone-corner) - var(--phone-bezel));
}

.logo-hero-phone-speaker {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 50%;
  width: 24%;
  height: 4px;
  border-radius: 4px;
  background: #102a37;
  transform: translateX(-50%);
}

.logo-hero-phone:focus-visible {
  outline: 3px solid #b27600;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .logo-hero-art--with-phone {
    width: min(100%, 440px);
    gap: 12px;
  }

  .logo-hero-art--with-phone .logo-hero-board {
    grid-template-columns: minmax(0, 1fr) 31%;
    grid-template-areas:
      "mark phone"
      "cards flyer";
    gap: 16px 12px;
    padding-inline: 6px;
  }

  .logo-hero-art--with-phone .logo-hero-mark {
    aspect-ratio: 1.35;
    padding: 8px;
  }

  .logo-hero-art--with-phone .logo-hero-card-sample {
    aspect-ratio: 1.37;
  }

  .logo-hero-art--with-phone .logo-hero-phone {
    --phone-bezel: 4px;
    --phone-corner: 17px;
    transform: rotate(3deg);
  }

  .logo-hero-phone-speaker {
    top: 4px;
    height: 3px;
  }
}
