/* DREAMY home conversion refresh — 2026-08-21
   Exact homepage selectors only. Catalog, prices and checkout behavior remain untouched. */
:root {
  --color-brand: #a88946;
  --color-brand-hover: #80682f;
  --color-surface: #f7f4ee;
  --color-surface-alt: #ece6db;
  --color-border: #d8d0c3;
  --color-border-soft: #e7e0d6;
  --color-text-secondary: #766d63;
}

.site-header { background: rgba(247,244,238,.94); }
.nav-main { gap: clamp(22px, 2.5vw, 42px); }
.nav-main a { font-size: 1.18rem; letter-spacing: .19em; }

.hero {
  min-height: 620px;
  max-height: 820px;
  background: #e9e3d8;
}
.hero::before {
  background:
    linear-gradient(90deg,#e9e3d8 0%,#e9e3d8 38%,rgba(233,227,216,.88) 46%,rgba(233,227,216,.18) 62%,rgba(233,227,216,0) 100%),
    radial-gradient(circle at 78% 42%,rgba(255,255,255,.54),rgba(255,255,255,0) 42%);
}
.hero-bg {
  inset: 0 0 0 42%;
  background-size: min(105%, 900px);
  background-position: 62% 48%;
  filter: contrast(1.05) saturate(.78);
}
.hero-content { max-width: 1440px; }
.hero-content::before {
  content: "01 / METHOD";
  position: absolute;
  left: var(--section-pad-x);
  top: clamp(34px, 6vh, 72px);
  font: 500 1rem/1 var(--font-sans);
  letter-spacing: .24em;
  color: rgba(28,28,30,.42);
}
.hero-kicker { color: #8c7138; letter-spacing: .24em; }
.hero h1 {
  max-width: 10.5em;
  margin: 22px 0 24px;
  font-size: clamp(4.2rem, 3.5vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: .015em;
  text-wrap: balance;
}
.hero-sub {
  max-width: 36em;
  color: #5f574e;
  font-size: 1.55rem;
  line-height: 1.9;
}
.hero-cta { margin-top: 36px; gap: 12px; }
.hero-cta .btn { min-width: 180px; }
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  margin-top: 22px;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: #61584e;
}
.hero-links a { border-bottom: 1px solid rgba(97,88,78,.34); }
.hero-links a:hover { color: var(--color-brand-hover); border-color: currentColor; opacity: 1; }
.hero-scroll { opacity: .55; }

.home-page .hero-bg { display: none; }
body.home-page .hero {
  height: auto;
  min-height: 600px;
  max-height: none;
  background: #e7e0d5;
}
body.home-page .hero::before {
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,.72), rgba(255,255,255,0) 48%),
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(28,28,30,.025));
}
body.home-page .hero-content {
  max-width: 940px;
  min-height: 600px;
  padding-top: 72px;
  padding-bottom: 72px;
  align-items: center;
  text-align: center;
}
body.home-page .hero h1 { max-width: none; font-size: clamp(5rem, 5.2vw, 7.2rem); }
body.home-page .hero-sub { max-width: 48ch; }
body.home-page .hero-cta,
body.home-page .hero-links { justify-content: center; }
body.home-page .hero-boundary { max-width: 54ch; }

.trustbar { background: #f0e8d4; }
.trustbar-inner { max-width: 1440px; }
.trust-icon { color: #9b7c38; }

.path-rail {
  display: block;
  padding: 0 var(--section-pad-x);
  background: #1d1f1d;
  color: #fff;
}
.path-rail-inner {
  width: min(100%, 1440px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.path-card {
  min-height: 158px;
  padding: 30px clamp(20px,2.5vw,40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,.15);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.path-card:last-child { border-right: 1px solid rgba(255,255,255,.15); }
.path-card small {
  margin-bottom: 14px;
  color: #caae68;
  font: 500 1rem/1 var(--font-sans);
  letter-spacing: .2em;
}
.path-card strong {
  font-family: var(--font-serif);
  font-size: clamp(2rem,2vw,2.7rem);
  font-weight: 300;
  line-height: 1.25;
}
.path-card span { margin-top: 7px; color: rgba(255,255,255,.58); font-size: 1.15rem; }
.path-card:hover { background: #292c29; color: #d9bd79; opacity: 1; }

#featured { padding-top: clamp(58px,6vw,88px); }
#featured .section-header { margin-bottom: 32px; }
#featured .product-grid { box-shadow: 0 20px 70px rgba(57,48,37,.07); }
#featured .product-card { background: #fbfaf7; }
#featured .featured-swipe-hint { display: none; }
#featured .product-img-wrap { background: #f1eee8; }
#featured .btn-card-buy { background: #1d1f1d; border-color: #1d1f1d; color: #fff; }
#featured .btn-card-buy:hover { background: #80682f; border-color: #80682f; }
#featured .btn-card-cart { background: transparent; }

.story { padding-top: clamp(64px,7vw,100px); padding-bottom: clamp(64px,7vw,100px); }
.story-img { background: #f0ece4; }
.gs-section { background: #1d1f1d; }
.gs-card { background: #292b29; }
.gs-card-img { background: #f5f2ec; aspect-ratio: 1 / .88; }
.gs-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.gs-card-body { min-height: 104px; }

.discover-section,.home-library,.home-life,.reviews,.b2b-section,.faq { scroll-margin-top: 86px; }
.home-library { background: #1d1f1d; }
.b2b-section { background: #1d1f1d; }
.section-header p { line-height: 1.75; }

.featured-next {
  margin-top: clamp(28px, 4vw, 48px);
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-knowledge-compact { background: #ece6db; }
.home-knowledge-compact .compact-header { margin-bottom: clamp(26px, 3vw, 38px); }
.knowledge-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}
.knowledge-link-card {
  min-height: 250px;
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #f8f6f1;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.knowledge-link-card small { color: var(--color-brand-hover); letter-spacing: .18em; }
.knowledge-link-card h3 { margin: 24px 0 14px; font-size: clamp(2.4rem, 3vw, 3.5rem); }
.knowledge-link-card p { color: var(--color-text-secondary); max-width: 46ch; }
.knowledge-link-card b { margin-top: auto; padding-top: 24px; font-size: 1.1rem; letter-spacing: .08em; }
.knowledge-link-card:hover { background: var(--color-text-primary); color: #fff; opacity: 1; }
.knowledge-link-card:hover h3 { color: #fff; }
.knowledge-link-card:hover p { color: rgba(255,255,255,.66); }

.professional-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}
.professional-focus h2 { margin: 18px 0 22px; color: #fff; }
.professional-focus-copy > p,
.professional-focus-action p { color: rgba(255,255,255,.68); }
.professional-focus-points { margin-top: 28px; display: grid; gap: 12px; list-style: none; }
.professional-focus-points li { position: relative; padding-left: 22px; color: rgba(255,255,255,.86); }
.professional-focus-points li::before { content: '◇'; position: absolute; left: 0; color: #caae68; }
.professional-focus-action {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(255,255,255,.22);
}
.professional-focus-action .btn { width: 100%; margin-top: 24px; }

@media (min-width: 981px) {
  .professional-focus h2 { font-size: clamp(2.8rem, 3.5vw, 3.6rem); line-height: 1.18; }
}

@media (max-width: 980px) {
  .path-rail { padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; }
  .path-rail-inner { width: max-content; grid-template-columns: repeat(3, minmax(250px, 34vw)); }
  .path-card { scroll-snap-align: start; }
}

@media (max-width: 640px) {
  #featured .btn-card { min-height: 44px; padding-block: 12px; }
  :root { --nav-height: 64px; --section-pad-x: 18px; }
  .logo-name { font-size: 1.9rem; }
  .logo-tag { font-size: .9rem; }
  .hero {
    height: auto;
    min-height: 800px;
    max-height: none;
    display: flex;
    align-items: flex-start;
  }
  .hero::before {
    background:
      linear-gradient(180deg,#e9e3d8 0%,#e9e3d8 43%,rgba(233,227,216,.76) 58%,rgba(233,227,216,.12) 76%),
      linear-gradient(0deg,rgba(233,227,216,.72),rgba(233,227,216,0) 34%);
  }
  .hero-bg {
    inset: 48% -12% 0 18%;
    background-size: contain;
    background-position: center bottom 18px;
    opacity: .95;
  }
  .hero-content {
    width: 100%;
    margin: 0;
    height: auto;
    padding: 72px 18px 300px;
    justify-content: flex-start;
    align-items: stretch;
  }
  .hero-content::before { left: 18px; top: 22px; }
  .hero-kicker { font-size: 1.1rem; line-height: 1.5; }
  .hero h1 { margin: 14px 0 16px; font-size: clamp(3.4rem,10vw,4.4rem); line-height: 1.08; }
  .hero-sub { font-size: 1.35rem; line-height: 1.75; }
  .hero-cta { width: 100%; margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 8px; }
  .hero-cta .btn { min-width: 0; max-width: 100%; width: 100%; overflow: hidden; padding: 14px 8px; font-size: 1.25rem; letter-spacing: .05em; white-space: normal; }
  .hero-links { margin-top: 17px; gap: 7px 10px; font-size: 1.15rem; }
  .hero-scroll { display: none; }
  body.home-page .hero { height: auto; min-height: 0; max-height: none; }
  body.home-page .hero-content {
    min-height: 0;
    padding: 64px 18px 48px;
    align-items: center;
    text-align: center;
  }
  body.home-page .hero h1 { font-size: clamp(4rem, 12.2vw, 5rem); }
  body.home-page .hero-sub { max-width: 36ch; }
  .hero-brands,.hero-authorized { display: block; white-space: nowrap; }
  .trustbar { padding: 16px 0 !important; }
  .trustbar-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 10px; }
  .trust-item { align-items: flex-start; }
  .trust-text { font-size: 1.05rem; }
  .trust-text small { margin-top: 2px; font-size: 1.05rem; line-height: 1.5; }
  .path-rail-inner { grid-template-columns: repeat(3, 76vw); }
  .path-card { min-height: 138px; padding: 24px 22px; }
  #featured .featured-swipe-hint { display: none; }
  #featured .product-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 1px;
    overflow: visible;
    padding-bottom: 0;
  }
  #featured .product-desc { display: none; }
  #featured .product-card { max-width: none; }
  .featured-next { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
  .featured-next .btn { width: 100%; min-width: 0; white-space: normal; }
  .knowledge-link-grid { grid-template-columns: 1fr; }
  .knowledge-link-card { min-height: 220px; padding: 28px 22px; }
  .professional-focus { grid-template-columns: 1fr; gap: 30px; }
  .professional-focus-action { padding: 24px 20px; }
  .home-page .dc-launch { display: none !important; }
  .gs-card-img { aspect-ratio: 1 / .86; }
  .story { padding-top: 58px; padding-bottom: 58px; }
}
