/* Home-page editorial polish. Loaded after the shared page styles. */

.rt3-home-page .rt3 {
  --rt3-radius-media: 12px;
  --rt3-radius-card: 12px;
  --rt3-space-section: 88px;
  font-size: 16px;
}

.rt3-home-page .rt3-section {
  padding-block: var(--rt3-space-section);
}

.rt3-home-page .rt3 a,
.rt3-home-page .rt3 button,
.rt3-home-page .rt3 summary {
  touch-action: manipulation;
}

.rt3-home-page .rt3 a:focus-visible,
.rt3-home-page .rt3 button:focus-visible,
.rt3-home-page .rt3 summary:focus-visible {
  outline: 2px solid #d8a764;
  outline-offset: 3px;
}

.rt3-home-page .rt3-header {
  background: linear-gradient(180deg, rgba(22, 12, 7, 0.48), rgba(22, 12, 7, 0));
}

.rt3-home-page .rt3-nav a {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.rt3-home-page .rt3-hero { touch-action: pan-y pinch-zoom; cursor: grab; user-select: none; }
.rt3-home-page .rt3-hero.is-dragging { cursor: grabbing; }
.rt3-home-page .rt3-hero-slide { transform: translateX(calc(var(--hero-direction, 1) * 40px)); transition: opacity 1.2s ease, transform 1.2s ease; }
.rt3-home-page .rt3-hero-slide.is-active { transform: translateX(0); }
.rt3-home-page .rt3-hero-slide img { transition-duration: 10s; }
.rt3-home-page .rt3-hero-copy h1 { min-height: 3lh; white-space: pre-line; line-height: 1.12; letter-spacing: 0; }
.rt3-home-page .rt3-hero-copy .rt3-lead { min-height: 3lh; }
.rt3-home-page [data-hero-cta] { min-width: 230px; justify-content: center; }
.rt3-home-page .rt3-hero-controls { position: absolute; right: 32px; bottom: 22px; z-index: 6; display: flex; align-items: center; gap: 8px; }
.rt3-home-page .rt3-hero-controls[hidden] { display: none; }
.rt3-home-page .rt3-hero-dots { display: flex !important; position: static; transform: none; gap: 0; }
.rt3-home-page .rt3-hero-dots button { display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.rt3-home-page .rt3-hero-dots button::before { position: static; width: 6px; height: 6px; border-radius: 50%; background: #ffffff80; }
.rt3-home-page .rt3-hero-dots button.is-active::before { width: 18px; border-radius: 4px; background: #fff; }
.rt3-home-page .rt3-hero-progress { left: 40px; right: auto; transform: none; justify-content: flex-start; }
.rt3-home-page .rt3-hero-progress i::after { animation-duration: 10s; }
@media (max-width: 1100px) {
  .rt3-home-page .rt3-hero-controls { right: auto; left: 50%; transform: translateX(-50%); }
  .rt3-home-page .rt3-hero-progress { display: none; }
}
@media (max-width: 640px) {
  .rt3-home-page .rt3-hero-copy .rt3-lead { min-height: 4lh; }
}

.rt3-home-page .rt3-about-grid,
.rt3-home-page .rt3-about-media,
.rt3-home-page .rt3-about-copy,
.rt3-home-page .rt3-book,
.rt3-home-page .rt3-steps,
.rt3-home-page .rt3-workshop-cta,
.rt3-home-page .rt3-matterport,
.rt3-home-page .rt3-mosaic-card,
.rt3-home-page .rt3-posts article > div,
.rt3-home-page .rt3-voices {
  border-radius: var(--rt3-radius-card);
}

.rt3-home-page .rt3-book {
  position: relative;
}

.rt3-home-page .rt3-book-next {
  position: absolute;
  right: 14px;
  bottom: 13px;
  z-index: 8;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 248, 239, 0.45);
  border-radius: 50%;
  color: #fff8ef;
  background: rgba(30, 16, 10, 0.38);
  font-size: 18px;
  transition: background-color 220ms ease, border-color 220ms ease;
}

.rt3-home-page .rt3-book-next:hover,
.rt3-home-page .rt3-book-next:focus-visible {
  border-color: #fff8ef;
  background: rgba(183, 122, 67, 0.88);
}

.rt3-home-page .rt3-book-meta {
  padding-right: 58px;
}

.rt3-home-page .rt3-workshop-grid {
  align-items: center;
}

.rt3-home-page .rt3-workshop-tools {
  gap: 24px;
}

.rt3-home-page .rt3-workshop-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px 32px;
  padding: 30px 32px;
  color: var(--rt3-ink);
  background: var(--rt3-paper);
  box-shadow: 0 18px 50px rgba(17, 8, 4, 0.16);
}

.rt3-home-page .rt3-workshop-cta h3 {
  max-width: 650px;
  margin-top: 8px;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.08;
}

.rt3-home-page .rt3-workshop-cta > div > p:last-child {
  max-width: 680px;
  margin-top: 13px;
  color: var(--rt3-ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.rt3-home-page .rt3-workshop-cta .rt3-btn {
  min-width: 208px;
  color: #fffaf3;
  background: #9f5d31;
}

.rt3-home-page .rt3-workshop-cta .rt3-btn:hover,
.rt3-home-page .rt3-workshop-cta .rt3-btn:focus-visible {
  color: #fffaf3;
  background: #7f4325;
}

.rt3-home-page .rt3-workshop-cta-meta {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px 34px;
  padding-top: 17px;
  border-top: 1px solid var(--rt3-line);
  color: var(--rt3-ink-soft);
  font-size: 11px;
}

.rt3-home-page .rt3-matterport {
  aspect-ratio: 16 / 7.4;
}

.rt3-home-page .rt3-matterport-poster,
.rt3-home-page .rt3-matterport-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rt3-home-page .rt3-matterport-poster {
  object-fit: cover;
  object-position: center 58%;
}

.rt3-home-page .rt3-matterport-shade {
  background: linear-gradient(180deg, rgba(20, 10, 5, 0.08), rgba(20, 10, 5, 0.5));
}

.rt3-home-page .rt3-matterport-launch {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 32px;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  padding: 0 22px;
  color: #fffaf3;
  border: 1px solid rgba(255, 250, 243, 0.62);
  border-radius: 999px;
  background: rgba(31, 17, 10, 0.72);
  backdrop-filter: blur(9px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: background-color 220ms ease, border-color 220ms ease;
}

.rt3-home-page .rt3-matterport-launch:hover,
.rt3-home-page .rt3-matterport-launch:focus-visible {
  border-color: #fffaf3;
  background: #9f5d31;
}

.rt3-home-page .rt3-matterport-play {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.rt3-home-page .rt3-matterport iframe {
  position: absolute;
  inset: 0;
}

.rt3-home-page .rt3-chips {
  justify-content: center;
}

.rt3-home-page .rt3-chips span {
  border-radius: 999px;
}

.rt3-home-page .rt3-showroom-proof {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(3, 1fr);
  margin: 30px auto 0;
  border-top: 1px solid var(--rt3-line);
}

.rt3-home-page .rt3-showroom-proof span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 22px 12px 0;
  color: var(--rt3-ink-soft);
  font-size: 11px;
}

.rt3-home-page .rt3-showroom-proof span + span {
  border-left: 1px solid var(--rt3-line);
}

.rt3-home-page .rt3-showroom-proof b {
  color: var(--rt3-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 27px;
  font-weight: 500;
}

.rt3-home-page .rt3-products-mosaic .rt3-mosaic-stage {
  height: 660px;
  min-height: 660px;
}

.rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--featured { grid-column: 1 / 5; grid-row: 1 / 7; }
.rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--small-a  { grid-column: 5 / 9; grid-row: 1 / 3; }
.rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--small-b  { grid-column: 9 / 13; grid-row: 1 / 3; }
.rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--tall     { grid-column: 5 / 9; grid-row: 3 / 7; }
.rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--wide-a   { grid-column: 9 / 13; grid-row: 3 / 5; }
.rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--wide-b   { grid-column: 9 / 13; grid-row: 5 / 7; }

.rt3-home-page .rt3-products-mosaic .rt3-mosaic-card > i {
  background: linear-gradient(180deg, transparent 42%, rgba(17, 8, 4, 0.82));
}

.rt3-home-page .rt3-posts h3 {
  margin-top: 16px;
}

.rt3-home-page .rt3-faq-list summary {
  min-height: 72px;
}

.rt3-home-page .rt3-red-dots button,
.rt3-home-page .rt3-red-nav button {
  min-width: 44px;
  min-height: 44px;
}

.rt3-home-page .rt3-red-more,
.rt3-home-page .rt3-shop-all,
.rt3-home-page .rt3-cover-text,
.rt3-home-page .shf-lien {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

@media (max-width: 1180px) {
  .rt3-home-page .rt3-products-mosaic .rt3-mosaic-stage {
    height: 610px;
    min-height: 610px;
  }
}

@media (max-width: 980px) {
  .rt3-home-page .rt3-burger,
  .rt3-home-page .rt3-ic,
  .rt3-home-page .rt3-menu-head button,
  .rt3-home-page .rt3-cart-drawer-head button {
    min-width: 44px;
    min-height: 44px;
  }

  .rt3-home-page .rt3-workshop-cta {
    grid-template-columns: 1fr;
  }

  .rt3-home-page .rt3-workshop-cta .rt3-btn {
    width: fit-content;
  }
}

@media (max-width: 720px) {
  .rt3-home-page .rt3 {
    --rt3-space-section: 56px;
    font-size: 16px;
  }

  /* Keep navigation inside the first viewport while browser bars are expanded. */
  .rt3-home-page .rt3-hero {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 12px);
    min-height: calc(100svh - 12px);
  }

  .rt3-home-page .rt3-hero-inner {
    flex: 1;
    min-height: 0;
    padding-top: max(88px, calc(76px + env(safe-area-inset-top)));
    padding-bottom: 20px;
  }

  .rt3-home-page .rt3-hero-copy .rt3-eyebrow {
    margin-top: 0;
  }

  .rt3-home-page .rt3-hero-copy h1 {
    margin-top: 20px;
    font-size: 43px;
  }

  .rt3-home-page .rt3-hero-copy .rt3-lead {
    margin-top: 20px;
  }

  .rt3-home-page .rt3-hero-controls {
    position: relative;
    inset: auto;
    align-self: center;
    flex-shrink: 0;
    margin-top: auto;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    transform: none;
  }

  .rt3-home-page .rt3-lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .rt3-home-page .rt3-about-media,
  .rt3-home-page .rt3-about-copy {
    border-radius: var(--rt3-radius-card);
  }

  .rt3-home-page .rt3-workshop-grid,
  .rt3-home-page .rt3-blog-grid,
  .rt3-home-page .rt3-faq-grid {
    gap: 38px;
  }

  .rt3-home-page .rt3-workshop-cta {
    padding: 25px 20px;
  }

  .rt3-home-page .rt3-workshop-cta h3 {
    font-size: 30px;
  }

  .rt3-home-page .rt3-workshop-cta .rt3-btn {
    width: 100%;
  }

  .rt3-home-page .rt3-workshop-cta-meta {
    flex-direction: column;
    gap: 5px;
  }

  .rt3-home-page .rt3-matterport {
    aspect-ratio: 4 / 3;
  }

  .rt3-home-page .rt3-matterport-launch {
    bottom: 18px;
    min-height: 48px;
    white-space: nowrap;
  }

  .rt3-home-page .rt3-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .rt3-home-page .rt3-chips span {
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding-inline: 10px;
    text-align: center;
    white-space: normal;
  }

  .rt3-home-page .rt3-showroom-proof span {
    padding-inline: 6px;
    text-align: center;
  }

  .rt3-home-page .rt3-showroom-proof b {
    font-size: 23px;
  }

  .rt3-home-page .rt3-products-mosaic .rt3-mosaic-stage {
    height: 790px;
    min-height: 790px;
  }

  .rt3-home-page .rt3-products-mosaic .rt3-mosaic {
    grid-template-rows: repeat(4, minmax(0, 1fr));
  }

  .rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--featured { grid-column: 1; grid-row: 1 / 3; }
  .rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--tall     { grid-column: 2; grid-row: 1 / 3; }
  .rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--small-a  { grid-column: 1; grid-row: 3; }
  .rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--small-b  { grid-column: 2; grid-row: 3; }
  .rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--wide-a   { grid-column: 1; grid-row: 4; }
  .rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--wide-b   { grid-column: 2; grid-row: 4; }

  .rt3-home-page .rt3-products-mosaic .rt3-mosaic-copy h3,
  .rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--featured .rt3-mosaic-copy h3,
  .rt3-home-page .rt3-products-mosaic .rt3-mosaic-card--tall .rt3-mosaic-copy h3 {
    font-size: 16px;
    line-height: 1.18;
  }

  .rt3-home-page .rt3-products-mosaic .rt3-collection-tabs {
    flex-wrap: wrap;
    overflow: visible;
  }

  .rt3-home-page .rt3-products-mosaic .rt3-collection-tabs span {
    display: none;
  }

  .rt3-home-page .rt3 .rt3-red-body {
    display: none;
  }

  .rt3-home-page .rt3-voice-grid {
    grid-template-columns: 1fr;
  }

  .rt3-home-page .rt3-voice:nth-child(n + 3) {
    display: none;
  }
}

@media (max-width: 720px) and (max-height: 600px) {
  .rt3-home-page .rt3-hero-inner { padding-top: 80px; padding-bottom: 12px; }
  .rt3-home-page .rt3-hero-copy h1 { margin-top: 16px; font-size: 36px; }
  .rt3-home-page .rt3-hero-copy .rt3-lead { margin-top: 16px; font-size: 14px; line-height: 1.5; }
  .rt3-home-page .rt3-hero-copy .rt3-actions { margin-top: 16px; }
}

@media (max-width: 390px) {
  .rt3-home-page .rt3-products-mosaic .rt3-mosaic-stage {
    height: 720px;
    min-height: 720px;
  }

  .rt3-home-page .rt3-showroom-proof span {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rt3-home-page .rt3-hero-progress i::after,
  .rt3-home-page .rt3-hero-slide,
  .rt3-home-page .rt3-hero-slide img {
    animation: none;
    transition: none;
  }
}
