:root {
  --designer-section-gap: clamp(104px, 12vw, 160px);
  --designer-speech-offset: 16px;
  --designer-marker-size: 48px;
  --designer-marker-rug-x: 30%;
  --designer-marker-rug-y: 86%;
  --designer-marker-chair-x: 79%;
  --designer-marker-chair-y: 64%;
  --designer-marker-lamp-x: 17%;
  --designer-marker-lamp-y: 49%;
  --designer-marker-table-x: 48%;
  --designer-marker-table-y: 75%;
  --designer-product-thumbnail-size: 96px;
  --designer-product-retailer-gap: 4px;
  --designer-product-link-size: 16px;
  --designer-product-link-stroke: 1.6;
}

.designer-phone {
  display: block;
  height: auto;
  width: 100%;
}

.designer-room {
  border-radius: 24px;
  box-shadow: var(--vq-shadow-3);
  max-width: 480px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.designer-room > img {
  display: block;
  height: auto;
  width: 100%;
}

.designer-marker {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 3px 14px #0003;
  color: var(--vq-ink);
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  height: var(--designer-marker-size);
  justify-content: center;
  padding: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
  width: var(--designer-marker-size);
}

.designer-marker:hover,
.designer-marker[aria-pressed='true'] {
  background: var(--vq-gold);
  box-shadow: 0 3px 16px #0005;
}

.designer-marker--rug {
  left: var(--designer-marker-rug-x);
  top: var(--designer-marker-rug-y);
}

.designer-marker--chair {
  left: var(--designer-marker-chair-x);
  top: var(--designer-marker-chair-y);
}

.designer-marker--lamp {
  left: var(--designer-marker-lamp-x);
  top: var(--designer-marker-lamp-y);
}

.designer-marker--table {
  left: var(--designer-marker-table-x);
  top: var(--designer-marker-table-y);
}

.designer-product {
  align-items: center;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--vq-shadow-2);
  display: flex;
  gap: 22px;
  margin-top: 28px;
  padding: 18px;
}

.designer-product > img {
  border-radius: 12px;
  flex: 0 0 var(--designer-product-thumbnail-size);
  height: var(--designer-product-thumbnail-size);
  object-fit: cover;
  width: var(--designer-product-thumbnail-size);
}

.designer-product__details {
  flex: 1;
  min-width: 0;
}

.designer-product h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.designer-product__price {
  font-size: 16px;
  font-weight: 700;
  margin-top: 10px;
}

.designer-product__retailer {
  align-items: center;
  color: var(--vq-ink-2);
  display: flex;
  font-size: 14px;
  gap: var(--designer-product-retailer-gap);
  line-height: 1.5;
  margin-top: 8px;
  white-space: nowrap;
}

.designer-product__retailer svg {
  height: var(--designer-product-link-size);
  stroke-width: var(--designer-product-link-stroke);
  width: var(--designer-product-link-size);
}

.download-section {
  background: var(--vq-gold);
  overflow: hidden;
  padding-block: 85px;
  position: relative;
}

.download-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  min-height: 390px;
  justify-content: center;
  position: relative;
  text-align: center;
  width: min(1240px, calc(100% - clamp(24px, 5vw, 80px) * 2));
}

.download-inner > .vq-section-copy {
  color: var(--vq-ink);
}

.download-inner .vq-section-title {
  margin-top: 0;
}

.download-inner .vq-store-badges {
  justify-content: center;
  margin-top: 30px;
}

.download-sparkle {
  height: auto;
  filter: brightness(0);
  left: 7%;
  position: absolute;
  top: 22%;
  transform: rotate(-10deg);
}

.back-top {
  align-items: center;
  bottom: 0;
  display: flex;
  font-size: 11px;
  gap: 14px;
  padding: 10px 0;
  position: absolute;
  right: 0;
}

.back-top > span {
  font-size: 20px;
}

@media (max-width: 800px) {
  .download-sparkle {
    left: 2%;
    width: 50px;
  }
}

@media (max-width: 600px) {
  .designer-product {
    --designer-product-thumbnail-size: 80px;
    gap: 16px;
    padding: 16px;
  }
}

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

.designer-story {
  aspect-ratio: 0.9;
  display: block;
  isolation: isolate;
  overflow: visible;
  position: relative;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}

.designer-story__portrait {
  height: auto;
  overflow: visible;
  position: absolute;
  right: -5%;
  top: 0;
  width: 92%;
}

.designer-story__art {
  display: block;
  overflow: visible;
  position: relative;
  width: 100%;
}

.designer-story__helm-window,
.designer-story__spin {
  height: 42.024%;
  left: 14.08%;
  position: absolute;
  top: 0;
  width: 76.437%;
}

.designer-story__helm-window {
  clip-path: inset(-100% -100% 0);
}

.designer-story__helm {
  display: block;
  height: 100%;
  overflow: visible;
  transform-origin: 50% calc((31.4388 - 18.8) / 17.65 * 100%);
  width: 100%;
  will-change: transform;
}

.designer-story__spin {
  background: transparent;
  border: 0;
  border-radius: 50% 50% 12% 12%;
  cursor: grab;
  padding: 0;
  touch-action: none;
}

.designer-story__spin[data-dragging='true'] {
  cursor: grabbing;
}

.designer-story__spin:focus-visible {
  outline: 2px solid var(--vq-ink);
  outline-offset: 4px;
}

.designer-story__speech {
  background: #fff;
  border-radius: 22px;
  box-shadow:
    0 6px 24px #1a1a1a0c,
    0 2px 5px #1a1a1a08;
  left: -35%;
  padding: 20px 24px 28px;
  position: absolute;
  top: 64%;
  transform: translateY(var(--designer-speech-offset));
  width: 52%;
  z-index: 2;
}

.designer-story__speech::after {
  background: #fff;
  clip-path: polygon(0 0, 100% 4%, 0 100%);
  height: 28px;
  left: calc(100% - 1px);
  position: absolute;
  top: 25px;
  width: 13px;
  content: '';
}

.designer-story__speech .vq-section-copy {
  color: var(--vq-ink);
  margin: 0;
  min-height: 3em;
  text-wrap: auto;
}

.designer-story[data-phase='speaking'] .designer-story__speech p::after {
  background: currentColor;
  content: '';
  display: inline-block;
  height: 0.85em;
  margin-left: 3px;
  opacity: 0.5;
  transform: translateY(0.07em);
  width: 2px;
}

.designer-story__toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  bottom: 2px;
  color: var(--vq-ink-3);
  cursor: pointer;
  display: flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 8px;
  width: 36px;
}

@media (hover: hover) {
  .designer-story__toggle:hover {
    color: var(--vq-ink);
  }
}

.designer-story__toggle[hidden],
.designer-story__play,
.designer-story__toggle[aria-pressed='true'] .designer-story__pause {
  display: none;
}

.designer-story__toggle[aria-pressed='true'] .designer-story__play {
  display: block;
}

.designer-story__description {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.vq-hero__intro {
  --designer-heading-size: clamp(54px, 5.75vw, 68px);
}

.vq-hero__title {
  font-size: var(--designer-heading-size);
  font-weight: 600;
  letter-spacing: -0.058667em;
  line-height: 1.02;
  margin-top: 0;
  max-width: 100%;
  position: relative;
  width: max-content;
}

.vq-hero__title > span {
  display: block;
  position: relative;
  white-space: nowrap;
}

.designer-title-motif {
  height: auto;
  position: absolute;
  right: 0.48em;
  top: 0.106667em;
  width: 0.906667em;
}

.designer-features {
  --copy-basis: 420;
  --visual-basis: 480;
  --feature-gap: clamp(28px, 3.6vw, 56px);
  --phone-width: 360px;
  padding-block: clamp(88px, 9vw, 130px) clamp(112px, 10vw, 144px);
}

.designer-feature {
  gap: var(--feature-gap);
  margin-bottom: var(--designer-section-gap);
}

.designer-feature__visual {
  flex-basis: calc(var(--visual-basis) * 1px);
}

.designer-feature__copy {
  flex-basis: calc(var(--copy-basis) * 1px);
}

.designer-feature:last-child {
  margin-bottom: 0;
}

.designer-feature .vq-section-title {
  margin-top: 0;
}

.designer-phone-frame {
  width: min(var(--phone-width), 100%);
}

.vq-compare--small-grip {
  --vq-compare-grip-size: 40px;
}

.vq-compare--small-grip .vq-compare__grip,
.vq-compare--small-grip .vq-compare__control {
  height: var(--vq-compare-grip-size);
  width: var(--vq-compare-grip-size);
}

.vq-branch .vq-section-title {
  margin-top: 0;
}

@media (min-width: 921px) {
  .designer-feature--visual-right {
    flex-direction: row-reverse;
  }
  .designer-feature--work {
    --work-offset: min(
      (var(--visual-basis) * 1px - var(--phone-width)) / 2,
      (
          (100% - var(--feature-gap)) * var(--visual-basis) /
            (var(--visual-basis) + var(--copy-basis)) - var(--phone-width)
        ) /
        2
    );
    left: var(--work-offset);
    position: relative;
  }
}

@media (max-width: 1100px) and (min-width: 921px) {
  .vq-hero__intro {
    --designer-heading-size: 56px;
  }
  .designer-story__speech {
    left: -25%;
    padding: 18px 18px 28px;
    width: 42%;
  }
}

@media (max-width: 920px) {
  .vq-hero__intro {
    --designer-heading-size: 68px;
  }
  .designer-story {
    flex-basis: auto;
    width: 100%;
  }
  .designer-story__portrait {
    right: -4%;
    width: 84%;
  }
  .designer-story__speech {
    left: -7%;
    padding: 18px 18px 28px;
    top: 61%;
    width: 35%;
  }
  .designer-feature__visual,
  .designer-feature__copy {
    flex-basis: auto;
  }
  .designer-feature--products {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
  }
  .designer-feature--products .designer-feature__copy {
    display: contents;
  }
  .designer-feature--products .vq-section-title {
    grid-row: 1;
  }
  .designer-feature--products .vq-section-copy {
    grid-row: 2;
    margin-bottom: clamp(28px, 3.6vw, 56px);
  }
  .designer-feature--products .designer-feature__visual {
    grid-row: 3;
  }
  .designer-feature--products .designer-product {
    grid-row: 4;
  }
}

@media (max-width: 620px) {
  .vq-site {
    --designer-section-gap: 88px;
    --designer-mobile-copy-gap: 16px;
    --designer-mobile-visual-gap: 32px;
    --designer-mobile-section-padding: 64px;
    --designer-mobile-heading-size: clamp(24px, 7.25vw, 36px);
    --designer-mobile-body-size: 17px;
    --designer-mobile-footer-size: clamp(12px, 3.65vw, 16px);
    --designer-mobile-caption-size: 14px;
    --designer-mobile-fine-print-size: 12px;
    --designer-mobile-content-width: 360px;
  }
  .vq-hero {
    padding-block: 48px 0;
  }
  .vq-hero__grid {
    gap: var(--designer-mobile-visual-gap);
  }
  .vq-hero__intro {
    --designer-heading-size: clamp(36px, 11.3vw, 62px);
    text-align: center;
  }
  .vq-hero__title {
    margin-inline: auto;
  }
  .vq-hero__title > span:first-child {
    align-items: center;
    display: flex;
    gap: 0.18em;
    justify-content: center;
  }
  .designer-title-motif {
    flex: none;
    position: static;
  }
  .designer-story {
    aspect-ratio: auto;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    max-width: 400px;
  }
  .designer-story__portrait {
    position: relative;
    right: 0;
    width: 86%;
  }
  .designer-story__speech {
    border-radius: 24px;
    box-shadow: none;
    filter:
      drop-shadow(0 6px 24px #1a1a1a0c)
      drop-shadow(0 2px 5px #1a1a1a08);
    left: 0;
    padding: 16px 13px 27px;
    position: relative;
    top: auto;
    transform: none;
    width: min(220px, 100%);
  }
  .designer-story__speech::after {
    clip-path: path('M 0 0 Q 16 10 32 24 L 12 24 Q 8 12 0 0 Z');
    height: 24px;
    left: 18px;
    top: -22px;
    width: 32px;
  }
  .designer-story__speech .vq-section-copy {
    font-size: var(--designer-mobile-body-size);
    text-align: center;
    text-wrap: balance;
  }
  .designer-story__toggle {
    z-index: 1;
  }
  .designer-features {
    --phone-width: 330px;
    --feature-gap: var(--designer-mobile-visual-gap);
    padding-block: var(--designer-mobile-section-padding) var(--designer-section-gap);
  }
  .designer-feature .vq-section-title,
  .download-inner .vq-section-title {
    font-size: var(--designer-mobile-heading-size);
    line-height: 1.15;
    text-align: center;
  }
  .designer-feature .vq-section-title br,
  .download-inner .vq-section-title br {
    display: none;
  }
  .designer-feature .vq-section-copy,
  .download-inner > .vq-section-copy {
    font-size: var(--designer-mobile-body-size);
    line-height: 1.6;
    margin-inline: auto;
    margin-top: var(--designer-mobile-copy-gap);
    max-width: 35ch;
    text-align: center;
  }
  .designer-feature--products .vq-section-copy {
    margin-bottom: var(--designer-mobile-visual-gap);
  }
  .designer-room,
  .designer-product {
    margin-inline: auto;
    max-width: var(--designer-mobile-content-width);
    width: 100%;
  }
  .designer-product {
    margin-top: 20px;
  }
  .download-section {
    padding-block: var(--designer-mobile-section-padding) 40px;
  }
  .download-inner {
    justify-content: flex-start;
    min-height: 0;
    width: calc(100% - 48px);
  }
  .download-sparkle {
    height: auto;
    left: calc(50% - 9rem);
    position: absolute;
    top: 25%;
    width: clamp(20px, 5vw, 28px);
  }
  .download-availability > span {
    display: block;
  }
  .download-inner .vq-store-badges {
    align-self: stretch;
    margin-top: var(--designer-mobile-visual-gap);
  }
  .back-top {
    font-size: var(--designer-mobile-caption-size);
    margin-top: var(--designer-mobile-visual-gap);
    min-height: 44px;
    position: static;
  }
  .vq-footer {
    padding-block: 48px 32px;
    text-align: center;
  }
  .vq-footer > .vq-container {
    padding-inline: 10px;
  }
  .vq-footer__top {
    align-items: center;
    flex-direction: column;
    gap: var(--designer-mobile-visual-gap);
  }
  .vq-footer__brand img {
    margin-inline: auto;
  }
  .vq-footer__brand p {
    font-size: var(--designer-mobile-footer-size);
  }
  .vq-footer__links {
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .vq-footer__heading {
    font-size: clamp(12px, 3.2vw, 14px);
    margin-bottom: 12px;
  }
  .vq-footer__list {
    font-size: var(--designer-mobile-footer-size);
    gap: 0;
    line-height: 1.5;
  }
  .vq-footer__list a {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 44px;
  }
  .vq-footer__bottom {
    font-size: var(--designer-mobile-caption-size);
    justify-content: center;
  }
  .vq-footer__trademarks {
    font-size: var(--designer-mobile-fine-print-size);
    line-height: 1.6;
    max-width: 52ch;
    text-wrap: balance;
  }
  .vq-footer__trademarks > span {
    display: block;
  }
  .vq-footer__trademarks > span ~ span {
    margin-top: 8px;
  }
  .vq-footer__trademarks > br {
    display: none;
  }
}
