/* Flowing homepage treatment: own content, reference-inspired section rhythm. */
:root {
  --home-outer: 950px;
  --home-inner: 760px;
  --home-inset: calc((var(--home-outer) - var(--home-inner)) / 2);
}

/* A single centered canvas keeps every section edge on the same vertical line. */
.home-carousel,
.hot-products,
.quote-banner,
.profile-section,
.new-showcase,
.client-voices,
.news-section,
.contact,
.site-footer {
  width: min(var(--home-outer), 100%);
  max-width: var(--home-outer);
}

.header {
  padding-left: max(24px, calc((100vw - var(--home-outer)) / 2));
  padding-right: max(24px, calc((100vw - var(--home-outer)) / 2));
}

.hot-products,
.profile-section,
.new-showcase,
.client-voices,
.news-section,
.contact,
.site-footer {
  padding-left: var(--home-inset);
  padding-right: var(--home-inset);
}

.home-carousel { aspect-ratio: 2.08 / 1; }
.home-carousel .home-arrow { width: 38px; height: 38px; }

.hot-products {
  min-height: 520px;
  padding-top: 74px;
  padding-bottom: 74px;
  grid-template-columns: 30% 70%;
  gap: 28px;
}

.hot-intro { padding-left: 0; }
.hot-intro h2 { margin: 12px 0 18px; font-size: 30px; line-height: 1.25; letter-spacing: -.04em; }
.hot-intro > p:not(.eyebrow) { max-width: 220px; font-size: 11px; line-height: 1.9; }
.hot-button { min-height: 35px; margin-top: 20px; font-size: 10px; }
.hot-grid { gap: 18px; padding-right: 0; }
.hot-card { min-height: 202px; padding: 8px; }
.hot-card img { height: 165px; }
.hot-card span { margin-top: 3px; font-size: 10px; font-weight: 500; }

.quote-banner {
  min-height: 270px;
  border-radius: 46% 46% 6% 6% / 15% 15% 12% 12%;
}

.quote-banner-inner { padding: 37px 0; }
.quote-banner h2 { font-size: 25px; }
.quote-banner p:not(.quote-kicker) { font-size: 10px; }
.profile-section {
  min-height: 420px;
  margin-top: 0;
  padding-top: 74px;
  padding-bottom: 94px;
  grid-template-columns: 290px 1fr;
  gap: 13%;
  background:
    radial-gradient(circle at 88% 18%, transparent 0 106px, rgba(242, 199, 219, .46) 107px 122px, transparent 123px),
    #fff8fb;
}

.profile-section::before {
  width: 330px;
  height: 330px;
  left: -195px;
  bottom: -165px;
  border-width: 15px;
}

.profile-visual {
  width: 280px;
  border-width: 13px;
  box-shadow: 0 18px 40px rgba(112, 35, 86, .16);
}

.profile-copy h2 { font-size: 30px; }
.profile-copy > p:not(.eyebrow) { max-width: 365px; font-size: 10px; }

.new-showcase {
  min-height: 0;
  margin-top: 0;
  padding-top: 78px;
  padding-bottom: 82px;
  border-radius: 0;
  color: #fff;
  background-image:
    linear-gradient(125deg, rgba(74, 16, 59, .88) 0%, rgba(138, 30, 103, .82) 53%, rgba(196, 77, 137, .75) 100%),
    radial-gradient(circle at 15% 16%, rgba(255, 183, 215, .18), transparent 31%),
    radial-gradient(circle at 86% 84%, rgba(255, 227, 242, .13), transparent 28%),
    url('./assets/new-showcase-velvet-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.new-showcase::before,
.new-showcase::after { display: none; }

.new-showcase-head { max-width: 660px; margin: 0 auto; }
.new-showcase .eyebrow { color: #fff; }
.new-showcase h2 { margin: 8px 0 12px; font-size: 32px; letter-spacing: -.035em; }
.new-showcase-head > p:not(.eyebrow) { max-width: 520px; margin: 0 auto; color: #fff; font-size: 11px; }
.new-showcase-grid { max-width: 760px; margin: 34px auto 0; gap: 16px; }

.new-showcase .product-card {
  padding: 0;
  background: transparent;
  color: #fff;
  backdrop-filter: none;
}

.new-showcase .product-card > div {
  height: 192px;
  padding: 10px;
  border: 1px solid #f0dfe8;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(69, 32, 58, .07);
}

.new-showcase .product-card em { display: none; }
.new-showcase .product-card:nth-child(odd) { transform: none; }
.new-showcase .product-card h3 { margin: 12px 0 4px; color: #fff; font-size: 10px; }
.new-showcase .product-card p { color: #fff; font-size: 9px; }
.new-showcase-link { min-width: 170px; min-height: 36px; margin-top: 34px; border: 1px solid rgba(255,255,255,.75); background: rgba(255,255,255,.13); color: #fff; }
.new-showcase-link:hover { background: #fff; color: #902f75; }

.client-voices {
  min-height: 370px;
  margin-top: -43px;
  padding-top: 112px;
  padding-bottom: 64px;
  grid-template-columns: 1fr 245px;
  background:
    radial-gradient(circle at 7% 76%, transparent 0 102px, rgba(244, 196, 218, .38) 103px 116px, transparent 117px),
    #fff8fb;
}

.voice-copy h2 { font-size: 29px; }
.voice-copy blockquote { font-size: 10px; }
.voice-visual { width: 230px; }
.voice-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #d8c7cf; cursor: pointer; transition: transform .2s, background .2s; }
.voice-dots button.active { background: #ed6593; transform: scale(1.25); }
#voice-quote, #voice-meta, #voice-image { transition: opacity .18s ease; }
.client-voices.voice-switching #voice-quote, .client-voices.voice-switching #voice-meta, .client-voices.voice-switching #voice-image { opacity: 0; }

.news-section { min-height: 220px; padding-top: 55px; padding-bottom: 55px; }
.contact {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(90deg, rgba(18, 14, 19, .86) 0%, rgba(20, 16, 21, .66) 52%, rgba(20, 16, 21, .28) 100%),
    url('./assets/design-team-scene.png') center / cover;
}
.contact > * { position: relative; z-index: 1; }
.contact .eyebrow { color: #ff91b7; }
.contact h2 { max-width: 600px; color: #fff; font-size: 34px; }
.contact .button.primary { border: 1px solid #fff; background: #fff; color: #7a2765; }
.contact .button.primary:hover { background: #ef6292; border-color: #ef6292; color: #fff; }

/* Replaces the former news and contact blocks with one full R&D studio visual. */
.design-scene-panel {
  position: relative;
  box-sizing: border-box;
  width: min(var(--home-outer), 100%);
  max-width: var(--home-outer);
  margin: 0 auto;
  overflow: hidden;
  background: #171317;
}
.design-scene-panel img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.anchor-target { position: absolute; top: 0; left: 0; }
.design-scene-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,12,16,.78) 0%, rgba(16,12,16,.46) 47%, rgba(16,12,16,.08) 78%); pointer-events: none; }
.design-scene-overlay { position: absolute; z-index: 1; top: 50%; left: 9%; max-width: 440px; transform: translateY(-50%); color: #fff; }
.design-scene-overlay p { margin: 0 0 14px; color: #ff8fb5; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.design-scene-overlay h2 { margin: 0 0 18px; font: 600 38px/1.25 var(--catalog-font, "Microsoft YaHei", sans-serif); letter-spacing: -.035em; }
.design-scene-overlay span { color: rgba(255,255,255,.9); font-size: 15px; }

@media (max-width: 1280px) {
  .header { padding-left: max(24px, calc((100vw - var(--home-outer)) / 2)); padding-right: max(24px, calc((100vw - var(--home-outer)) / 2)); }
}

@media (max-width: 900px) {
  .hot-products { min-height: 0; padding-top: 56px; padding-bottom: 56px; }
  .hot-card { min-height: 180px; }
  .hot-card img { height: 145px; }
  .contact { min-height: 280px; }
  .design-scene-panel img { min-height: 300px; aspect-ratio: auto; object-position: center; }
  .design-scene-overlay { left: 24px; right: 24px; max-width: 340px; }
  .design-scene-overlay h2 { font-size: 28px; }
  .design-scene-overlay span { font-size: 13px; }
  .profile-section { min-height: 0; padding-top: 68px; padding-bottom: 88px; }
  .profile-visual { width: min(300px, 100%); }
  .new-showcase { min-height: 0; margin-top: 0; padding-top: 62px; padding-bottom: 68px; border-radius: 0; }
  .new-showcase-grid { max-width: none; }
  .new-showcase .product-card:nth-child(odd) { transform: none; }
  .new-showcase .product-card > div { height: 175px; }
  .client-voices { min-height: 0; margin-top: 0; padding-top: 72px; }
}
