.home-showroom {
  padding-block-start: 0;
}

.home-showroom .showroom-stage {
  --studio-floor: 80%;
  background:
    radial-gradient(ellipse at 50% 22%, rgb(255 255 255 / .28), transparent 64%),
    linear-gradient(180deg, #dbe9f2, #e9f0f5 calc(var(--studio-floor) * .68), #fff var(--studio-floor));
  padding-block-end: 22px;
  text-align: center;
}

.home-showroom .showroom-intro {
  padding: clamp(24px, 5vw, 52px) max(16px, env(safe-area-inset-left)) 12px;
}

.home-showroom .showroom-intro h1 {
  font-size: clamp(2.125rem, 9.85vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.051em;
}

html[lang="ar"] .home-showroom .showroom-intro h1 {
  line-height: 1.16;
  letter-spacing: 0;
}

.home-showroom .showroom-intro p {
  margin-block-start: 12px;
  color: var(--slate);
  font-size: clamp(1rem, 2vw, 1.375rem);
  line-height: 1.35;
}

.home-showroom .showroom-image {
  position: relative;
  inline-size: 96%;
  aspect-ratio: 8 / 3;
  margin-inline: auto;
}

.home-showroom .showroom-image [data-showroom-outgoing] {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-showroom .showroom-image img {
  inline-size: 100%;
  block-size: auto;
}

.home-showroom .showroom-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  inline-size: min(92%, 50rem);
  margin: 12px auto 16px;
  padding: 0;
  border-block-end: 1px solid var(--line);
  gap: 0;
  overflow: visible;
}

.home-showroom .showroom-choices button {
  position: relative;
  min-block-size: 44px;
  padding: 6px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--slate);
  font-size: clamp(.75rem, 2.9vw, 1rem);
  line-height: 1.2;
  white-space: normal;
}

.home-showroom .showroom-choices button[aria-pressed="true"] {
  background: none;
  color: var(--ink);
}

.home-showroom .showroom-choices button[aria-pressed="true"]::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  inline-size: clamp(25px, 3.3vw, 56px);
  block-size: 3px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--racing);
  content: "";
}

.home-showroom .showroom-choices button:focus-visible {
  outline-offset: -3px;
}

.home-showroom .showroom-request {
  inline-size: min(68%, 17rem);
  min-block-size: 48px;
  padding: .5em 1em;
  line-height: 1.25;
}

.home-showroom .showroom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 0 0 12px;
  text-align: center;
}

.home-showroom .showroom-links p {
  max-width: none;
  font-size: .95rem;
}

.home-showroom .showroom-links a {
  display: inline-block;
  padding: .5em 1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--slate);
  font-weight: 600;
  text-decoration: none;
  text-wrap: balance;
}

.home-showroom .showroom-links a:hover {
  border-color: var(--slate);
  background: var(--polar);
}

.home-showroom .showroom-links:not(:has(a)) {
  display: none;
}

.home-showroom #book-top {
  margin-block-start: 20px;
}

@media (min-width: 768px) {
  .home-showroom .showroom-image {
    inline-size: 87%;
  }
}

@media (560px <= width < 860px) {
  .home-showroom .showroom-choices {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .home-showroom .showroom-choices button {
    grid-column: span 2;
  }

  .home-showroom .showroom-choices button:nth-child(6) {
    grid-column: 2 / span 2;
  }
}

@media (min-width: 860px) {
  .home-showroom .showroom-choices {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  /* The complete desktop composition scales with both viewport axes. */
  :root {
    --showroom-unit: min(1vw, 1.77778svh, 22px);
  }

  .site-head .nav {
    min-block-size: calc(4.72 * var(--showroom-unit));
    padding-block: 8px;
  }

  .home-showroom .showroom-stage {
    --studio-floor: calc(39.8 * var(--showroom-unit));
    padding-block-end: calc(2 * var(--showroom-unit));
  }

  .home-showroom .showroom-intro {
    min-block-size: calc(12.82 * var(--showroom-unit));
    padding: calc(2.4 * var(--showroom-unit)) 20px 0;
  }

  .home-showroom .showroom-intro h1 {
    font-size: calc(6.65 * var(--showroom-unit));
  }

  html[lang="ar"] .home-showroom .showroom-intro h1 {
    font-size: calc(5.95 * var(--showroom-unit));
    line-height: 1.09;
  }

  .home-showroom .showroom-intro p {
    margin-block-start: calc(.94 * var(--showroom-unit));
    font-size: calc(1.34 * var(--showroom-unit));
  }

  .home-showroom .showroom-image {
    inline-size: calc(70.85 * var(--showroom-unit));
  }

  .home-showroom .showroom-choices {
    inline-size: calc(72 * var(--showroom-unit));
    margin-block: calc(1.96 * var(--showroom-unit)) calc(1.44 * var(--showroom-unit));
  }

  .home-showroom .showroom-choices button {
    min-block-size: max(44px, calc(3.45 * var(--showroom-unit)));
    font-size: clamp(.875rem, calc(1.08 * var(--showroom-unit)), 1.25rem);
  }

  .home-showroom .showroom-request {
    inline-size: calc(18.54 * var(--showroom-unit));
    min-block-size: max(44px, calc(3.95 * var(--showroom-unit)));
    font-size: clamp(1rem, calc(1.29 * var(--showroom-unit)), 1.5rem);
  }
}
