/* P4, flick. The Absolute Air concept's closing section: the accent layer
   wipes off the photo on a diagonal (clip-path), the photo settles from
   1.08, and 1.1s in the heading, the details and the buttons rise. All of it
   keys off is-in under is-motion, so without the script or under reduced
   motion the section is the finished picture with no wipe layer at all.
   Audited against the design tells: plain labels in the body font, no
   capitals, no dots, no icons. */
.vl-m.vl-p4 {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--vl-fg);
  background: var(--vl-bg);
}
.vl-p4__bg {
  position: absolute;
  inset: 0;
}
.vl-m .vl-p4__img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 30%;
}
.vl-p4__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--vl-bg) 20%, transparent),
    color-mix(in srgb, var(--vl-bg) 55%, transparent) 45%,
    color-mix(in srgb, var(--vl-bg) 95%, transparent));
}
.vl-p4__cover {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--vl-acc);
}
.vl-m .vl-p4__in {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  padding-top: 96px;
  padding-bottom: 48px;
}
.vl-m .vl-p4__title {
  max-width: 13ch;
  margin: 0;
  color: var(--vl-fg);
  font-family: var(--vl-f-display);
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.vl-m .vl-p4__tel {
  white-space: nowrap;
}
/* A tap target: inline-block with a little padding, so the call link in the
   heading is at least 44px tall at the phone's 40px heading size. */
.vl-m a.vl-p4__tel {
  display: inline-block;
  padding: 4px 0;
  color: inherit;
  /* An underline, not a bottom border: a one-edge border reads as an accent
     stripe to the design tells audit, and this is a link's underline. */
  text-decoration: underline;
  text-decoration-color: var(--vl-acc);
  text-decoration-thickness: 4px;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: none;
}
.vl-m a.vl-p4__tel:focus-visible {
  outline: 2px solid var(--vl-fg);
  outline-offset: 4px;
}
.vl-m .vl-p4__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 24px 0;
}
.vl-m .vl-p4__label,
.vl-m .vl-p4__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.vl-m .vl-p4__label {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 700;
}
.vl-m .vl-p4__text {
  color: rgba(var(--vl-fg-rgb), 0.85);
}
@media (max-width: 640px) {
  .vl-p4 .vl-btns .vl-btn {
    flex: 1 1 100%;
  }
}
@media (min-width: 801px) {
  .vl-m .vl-p4__in {
    padding-bottom: 64px;
  }
  .vl-m .vl-p4__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 34px 0 30px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .vl-p4.is-motion .vl-p4__cover {
    display: block;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: clip-path 1.3s cubic-bezier(0.7, 0, 0.2, 1);
  }
  .vl-p4.is-motion.is-in .vl-p4__cover {
    clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%);
  }
  .vl-p4.is-motion .vl-p4__img {
    transform: scale(1.08);
    transition: transform 1.8s cubic-bezier(0.2, 0.7, 0.1, 1) 0.5s;
  }
  .vl-p4.is-motion.is-in .vl-p4__img {
    transform: none;
  }
  .vl-p4.is-motion .vl-p4__in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s 1.1s, transform 0.8s 1.1s;
  }
  .vl-p4.is-motion.is-in .vl-p4__in {
    opacity: 1;
    transform: none;
  }
}
