/* ==========================================================================
   DREAMLIGHT - design system
   ========================================================================== */

:root {
  --dream-black: #08090B;
  --dream-charcoal: #111216;
  --dream-white: #FFFFFF;
  --dream-warm-white: #F8F8F6;
  --dream-cloud: #F2F4F7;
  --dream-moon-blue: #EEF4FA;
  --dream-blue: #315BFF;
  --dream-green: #16A34A;
  --dream-grey: #737780;
  --dream-border: rgba(0,0,0,.08);
  --dream-border-dark: rgba(255,255,255,.12);

  --dream-max-w: 1440px;
  --dream-pad: clamp(20px, 4vw, 80px);
  --dream-section-y: clamp(72px, 10vw, 180px);
  --dream-section-y-tight: clamp(56px, 6vw, 120px);

  --dream-radius: 14px;
  --dream-radius-lg: 28px;
  --dream-ease: cubic-bezier(.16,.84,.44,1);
  --dream-header-h: 68px;
  --dream-announce-h: 38px;
}

@media (min-width: 990px) {
  :root { --dream-header-h: 78px; }
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--dream-warm-white);
  color: var(--dream-black);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
input, textarea, select { font-family: inherit; font-size: 16px; }

[id] { scroll-margin-top: calc(var(--dream-header-h) + var(--dream-announce-h)); }

.dream-container {
  max-width: var(--dream-max-w);
  margin: 0 auto;
  padding-left: var(--dream-pad);
  padding-right: var(--dream-pad);
}

.dream-section { padding-top: var(--dream-section-y); padding-bottom: var(--dream-section-y); }
.dream-section--tight { padding-top: var(--dream-section-y-tight); padding-bottom: var(--dream-section-y-tight); }
.dream-section--dark { background: var(--dream-black); color: var(--dream-white); }
.dream-section--warm { background: var(--dream-warm-white); color: var(--dream-black); }
.dream-section--cloud { background: var(--dream-cloud); color: var(--dream-black); }
.dream-section--moon { background: var(--dream-moon-blue); color: var(--dream-black); }
.dream-section--white { background: var(--dream-white); color: var(--dream-black); }

/* ---- typography ---- */
.dream-eyebrow {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .6;
  margin-bottom: 16px;
  display: block;
}
.dream-h1 {
  font-size: clamp(44px, 8vw, 116px);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.02em;
}
.dream-h2 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -.02em;
}
.dream-h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.01em;
}
.dream-body {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  max-width: 42ch;
  color: currentColor;
  opacity: .78;
}
.dream-body--lg { font-size: clamp(19px, 2vw, 24px); max-width: 34ch; opacity: .85; }
.dream-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---- buttons ---- */
.dream-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
  border: 1px solid transparent;
  transition: transform 200ms var(--dream-ease), background 200ms var(--dream-ease), opacity 200ms var(--dream-ease), border-color 200ms var(--dream-ease);
  white-space: nowrap;
}
@media (max-width: 749px) { .dream-btn { height: 50px; padding: 0 26px; } }
.dream-btn--primary-dark { background: var(--dream-black); color: var(--dream-white); }
.dream-btn--primary-dark:hover { transform: translateY(-1px); opacity: .88; }
.dream-btn--primary-light { background: var(--dream-white); color: var(--dream-black); }
.dream-btn--primary-light:hover { transform: translateY(-1px); opacity: .9; }
.dream-btn--buy-now { background: var(--dream-green); color: #fff; font-weight: 700; }
.dream-btn--buy-now:hover { transform: translateY(-1px); opacity: .92; }
.dream-btn--outline { background: transparent; border-color: currentColor; color: currentColor; }
.dream-btn--outline:hover { opacity: .7; }
.dream-btn--text {
  height: auto; padding: 0; border-radius: 0;
  gap: 6px; font-weight: 600; border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.dream-btn--text .dream-arrow { transition: transform 200ms var(--dream-ease); }
.dream-btn--text:hover .dream-arrow { transform: translateX(4px); }
.dream-btn:disabled { opacity: .45; pointer-events: none; }

.dream-trustline {
  font-size: 13px;
  letter-spacing: .01em;
  opacity: .6;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

/* ---- announcement bar ---- */
.dream-announce {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 70;
  height: var(--dream-announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dream-black);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  letter-spacing: .02em;
  text-align: center;
  padding: 0 var(--dream-pad);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 480px) { .dream-announce { font-size: 11.5px; letter-spacing: .01em; gap: 4px; } }
.dream-announce a { text-decoration: underline; text-underline-offset: 2px; }
.dream-announce__accent { color: var(--dream-white); font-weight: 700; }

/* ---- header ---- */
.dream-header {
  position: fixed;
  top: var(--dream-announce-h); left: 0; right: 0;
  z-index: 60;
  height: var(--dream-header-h);
  display: flex;
  align-items: center;
  transition: background 320ms var(--dream-ease), backdrop-filter 320ms var(--dream-ease), border-color 320ms var(--dream-ease), color 320ms var(--dream-ease), top 200ms var(--dream-ease);
  color: var(--dream-white);
}
.dream-header[data-solid="true"] {
  background: rgba(248,248,246,.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--dream-border);
  color: var(--dream-black);
}
.dream-header__inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.dream-header__logo {
  grid-column: 1;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
}
.dream-header__logo-img { display: block; width: auto; height: var(--dream-logo-h); }
@media (max-width: 749px) { .dream-header__logo-img { height: calc(var(--dream-logo-h) * 1.2); } }
.dream-header__account { display: inline-flex; }
@media (max-width: 749px) { .dream-header__actions .dream-header__account { display: none; } }
.dream-header__logo-img--dark { display: none; }
[data-solid="true"] .dream-header__logo-img--dark { display: block; }
[data-solid="true"] .dream-header__logo-img--light { display: none; }
.dream-header__nav {
  grid-column: 2;
  display: none;
  gap: 32px;
  justify-self: center;
  font-size: 14px;
  font-weight: 500;
}
@media (min-width: 990px) { .dream-header__nav { display: flex; } }
.dream-header__nav a { opacity: .82; transition: opacity 160ms; }
.dream-header__nav a:hover { opacity: 1; }
.dream-header__actions { grid-column: 3; display: flex; align-items: center; gap: 18px; justify-self: end; }
.dream-header__icon-btn { display: inline-flex; width: 22px; height: 22px; opacity: .9; background: none; border: 0; color: inherit; padding: 0; }
.dream-header__icon-btn svg { width: 100%; height: 100%; }
.dream-header__cta { display: none; }
@media (min-width: 990px) { .dream-header__cta { display: inline-flex; height: 42px; padding: 0 22px; font-size: 13px; } }
.dream-header__bag-count {
  position: absolute; margin-left: 12px; margin-top: -14px;
  font-size: 10px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--dream-blue); color: #fff; display: flex; align-items: center; justify-content: center;
}
.dream-header__burger { display: inline-flex; width: 24px; height: 24px; background: none; border: 0; color: inherit; padding: 0; }
@media (min-width: 990px) { .dream-header__burger { display: none; } }

/* ---- mobile menu ---- */
.dream-mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--dream-black); color: var(--dream-white);
  display: flex; flex-direction: column;
  padding: 20px var(--dream-pad) max(24px, env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 280ms var(--dream-ease), transform 280ms var(--dream-ease), visibility 0s linear 280ms;
}
.dream-mobile-menu[data-open="true"] {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 280ms var(--dream-ease), transform 280ms var(--dream-ease), visibility 0s;
}
.dream-mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--dream-header-h); flex-shrink: 0; }
.dream-mobile-menu__close { width: 24px; height: 24px; background: none; border: 0; color: inherit; padding: 0; }
.dream-mobile-menu__nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.dream-mobile-menu__nav a {
  font-size: clamp(30px, 9vw, 44px); font-weight: 600; letter-spacing: -.02em;
  padding: 10px 0; opacity: 0; transform: translateY(14px);
  transition: opacity 420ms var(--dream-ease), transform 420ms var(--dream-ease);
}
.dream-mobile-menu[data-open="true"] .dream-mobile-menu__nav a { opacity: 1; transform: translateY(0); }
.dream-mobile-menu__foot { padding-top: 24px; opacity: .55; font-size: 13px; }
.dream-mobile-menu__social { display: flex; gap: 20px; margin-bottom: 12px; }
.dream-mobile-menu__social a { opacity: .85; }

/* ---- footer ---- */
.dream-footer { background: var(--dream-black); color: var(--dream-white); padding: var(--dream-section-y-tight) 0 32px; }
.dream-footer__word { font-size: clamp(32px, 6vw, 56px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 56px; }
.dream-footer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (max-width: 749px) {
  .dream-footer__grid { grid-template-columns: 1fr; gap: 0; }
  .dream-footer__col { border-top: 1px solid var(--dream-border-dark); }
  .dream-footer__col:last-child { border-bottom: 1px solid var(--dream-border-dark); }
  .dream-footer__col summary {
    list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; min-height: 24px;
  }
  .dream-footer__col summary::-webkit-details-marker { display: none; }
  .dream-footer__col-icon {
    width: 9px; height: 9px; flex-shrink: 0;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg); transition: transform 200ms var(--dream-ease); opacity: .55;
  }
  .dream-footer__col[open] .dream-footer__col-icon { transform: rotate(-135deg); }
  .dream-footer__col ul { padding-bottom: 18px; }
  .dream-footer__word { font-size: 34px; margin-bottom: 32px; }
}
@media (min-width: 700px) { .dream-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.dream-footer__col summary { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .5; margin-bottom: 18px; }
@media (min-width: 750px) {
  .dream-footer__col summary { pointer-events: none; }
  .dream-footer__col-icon { display: none; }
}
.dream-footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.dream-footer__col a { font-size: 14px; opacity: .8; transition: opacity 160ms; }
.dream-footer__col a:hover { opacity: 1; }
.dream-footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--dream-border-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; opacity: .5; }

/* ---- hero ---- */
.dream-hero { position: relative; height: 100svh; min-height: 560px; width: 100%; overflow: hidden; background: var(--dream-black); color: #fff; }
.dream-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dream-hero__media--mobile { display: block; }
.dream-hero__media--desktop { display: none; }
@media (min-width: 750px) { .dream-hero__media--mobile { display: none; } .dream-hero__media--desktop { display: block; } }
.dream-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.72) 100%); }
.dream-hero__content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--dream-pad) clamp(40px, 7vw, 80px); }
.dream-hero__copy { max-width: 640px; }
.dream-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.dream-hero__trust { margin-top: 28px; }
.dream-reveal { opacity: 0; transform: translateY(22px); transition: opacity 800ms var(--dream-ease), transform 800ms var(--dream-ease); }
.dream-hero__content .dream-reveal { transition-delay: calc(var(--d, 0) * 1ms); }
.dream-hero[data-loaded="true"] .dream-reveal { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .dream-reveal { opacity: 1; transform: none; transition: none; } }
.dream-hero__sound {
  position: absolute; bottom: clamp(40px, 7vw, 80px); right: var(--dream-pad);
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25); backdrop-filter: blur(6px); color: #fff; display: flex; align-items: center; justify-content: center;
}
.dream-hero__sound svg { width: 16px; height: 16px; }

/* ---- hero: mobile refinements ---- */
@media (max-width: 749px) {
  .dream-hero { height: 92svh; min-height: 480px; }
  .dream-hero__media--mobile { object-position: 60% 35%; }
  .dream-hero__overlay {
    background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 30%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.05) 100%);
  }
  .dream-hero__content { padding: 0 24px 32px; }
  .dream-hero__copy { max-width: 340px; }
  .dream-hero__content .dream-eyebrow { font-size: 14px; letter-spacing: .16em; font-weight: 600; margin-bottom: 12px; }
  .dream-hero__content .dream-h1 { font-size: clamp(3rem, 13vw, 3.75rem); line-height: .94; letter-spacing: -.04em; }
  .dream-hero__content .dream-body--lg { font-size: 19px; line-height: 1.45; max-width: 320px; margin-top: 22px !important; opacity: .82 !important; }
  .dream-hero__actions { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 28px; }
  .dream-hero__actions .dream-btn--primary-light { height: 54px; font-size: 17px; font-weight: 600; width: 100%; max-width: 320px; }
  .dream-hero__actions .dream-btn--outline {
    height: auto; padding: 0; border: 0; background: none; font-size: 16px; font-weight: 500;
    margin-top: 4px; gap: 6px;
  }
  .dream-hero__trust { margin-top: 24px; font-size: 12px; line-height: 1.6; text-wrap: balance; }
  .dream-hero__sound { right: 20px; bottom: 20px; width: 44px; height: 44px; background: rgba(10,10,12,.45); border-color: rgba(255,255,255,.25); }
}

/* generic scroll reveal used across sections */
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--dream-ease), transform 900ms var(--dream-ease); }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.reveal-fade { opacity: 0; transition: opacity 900ms var(--dream-ease); }
.reveal-fade.is-visible { opacity: 1; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1000ms var(--dream-ease), transform 1000ms var(--dream-ease); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-fade, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---- brand statement / 3-col features ---- */
.dream-cols {
  display: grid; gap: 40px; margin-top: 72px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .dream-cols { grid-template-columns: repeat(3, 1fr); } }
.dream-col h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.dream-col p { font-size: 15px; opacity: .68; line-height: 1.6; max-width: 32ch; }
.dream-col__num { font-size: 12px; opacity: .4; letter-spacing: .08em; margin-bottom: 14px; display: block; }

/* ---- product reveal (dark cinematic) ---- */
.dream-reveal-section { position: relative; overflow: hidden; }
.dream-reveal-section__stage {
  display: flex; align-items: center; justify-content: center;
  padding: 40px 0 clamp(48px, 8vw, 96px);
}
.dream-reveal-section__frame {
  width: min(920px, 88vw);
  aspect-ratio: 16/10;
  border-radius: var(--dream-radius-lg);
  overflow: hidden;
  background: #16171b;
  will-change: transform;
  transform: scale(.94);
  transition: transform 1400ms var(--dream-ease);
  box-shadow: 0 60px 90px rgba(0,0,0,.55);
}
.dream-reveal-section__frame.is-visible { transform: scale(1); }
.dream-reveal-section__img { width: 100%; height: 100%; object-fit: cover; }
.dream-callouts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; }
.dream-callout { display: flex; align-items: center; gap: 8px; font-size: 13.5px; opacity: .72; }
.dream-callout::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; flex-shrink: 0; }

/* ---- split story section (reusable) ---- */
.dream-split { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .dream-split { grid-template-columns: 1.15fr 1fr; gap: 72px; } }
.dream-split--reverse { direction: rtl; }
.dream-split--reverse > * { direction: ltr; }
.dream-split__media { border-radius: var(--dream-radius-lg); overflow: hidden; background: var(--dream-cloud); aspect-ratio: 3/2; }
@media (max-width: 640px) { .dream-split__media { aspect-ratio: 4/3; } }
.dream-split__media img { width: 100%; height: 100%; object-fit: cover; }
.dream-split__labels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.dream-split__label { font-size: 12.5px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--dream-border); opacity: .75; }
.dream-section--dark .dream-split__label { border-color: var(--dream-border-dark); }
.dream-split__sub { font-size: 15px; font-weight: 600; opacity: .5; margin-top: 12px; margin-bottom: 4px; }

/* ---- light-to-dark scroll ---- */
.dream-l2d { position: relative; padding: var(--dream-section-y) 0; transition: background-color 60ms linear, color 60ms linear; }
.dream-l2d__image { width: 100%; max-width: 320px; margin: 0 auto 32px; border-radius: var(--dream-radius-lg); }
.dream-l2d__cta { margin-top: 32px; }
@media (max-width: 749px) {
  .dream-l2d { min-height: 80svh; display: flex; align-items: center; padding: 56px 0; }
  .dream-l2d__image { max-width: 240px; margin-bottom: 24px; }
}

/* ---- exploded tech ---- */
.dream-layers { display: flex; flex-direction: column; gap: 14px; margin-top: 56px; }
.dream-layer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-radius: 999px; border: 1px solid var(--dream-border-dark);
  font-size: 14px; letter-spacing: .01em;
  opacity: 0; transform: translateX(-16px) scale(.98);
  transition: opacity 700ms var(--dream-ease), transform 700ms var(--dream-ease);
}
.dream-layer.is-visible { opacity: 1; transform: translateX(0) scale(1); }
.dream-layer__num { opacity: .4; font-size: 12px; }

/* ---- feature grid ---- */
.dream-grid6 { display: grid; gap: 1px; background: var(--dream-border); margin-top: 64px; border-radius: var(--dream-radius-lg); overflow: hidden; }
@media (min-width: 700px) { .dream-grid6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .dream-grid6 { grid-template-columns: repeat(3, 1fr); } }
.dream-grid6__card { background: var(--dream-warm-white); padding: 40px 32px; }
.dream-grid6__num { font-size: 13px; opacity: .35; font-weight: 600; letter-spacing: .06em; }
.dream-grid6__title { font-size: 21px; font-weight: 600; margin: 18px 0 8px; }
.dream-grid6__text { font-size: 14.5px; opacity: .65; max-width: 30ch; }

/* ---- product specs ---- */
.dream-specs { max-width: 780px; margin: 56px auto 0; }
.dream-specs__row {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px;
  padding: 20px 0; border-top: 1px solid var(--dream-border);
}
.dream-specs__row:last-child { border-bottom: 1px solid var(--dream-border); }
.dream-specs__label { font-size: 13px; font-weight: 600; opacity: .55; letter-spacing: .02em; }
.dream-specs__value { font-size: 15px; opacity: .82; line-height: 1.6; }
@media (max-width: 640px) { .dream-specs__row { grid-template-columns: 1fr; gap: 6px; } }

/* ---- comparison ---- */
.dream-compare { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--dream-radius-lg); overflow: hidden; border: 1px solid var(--dream-border); }
.dream-compare__col { padding: 32px 28px; }
.dream-compare__col:first-child { background: var(--dream-cloud); }
.dream-compare__col:last-child { background: var(--dream-black); color: #fff; }
.dream-compare__head { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; opacity: .55; margin-bottom: 20px; }
.dream-compare__row { padding: 12px 0; font-size: 14.5px; border-top: 1px solid var(--dream-border); }
.dream-compare__col:last-child .dream-compare__row { border-top: 1px solid var(--dream-border-dark); }
@media (max-width: 640px) { .dream-compare { grid-template-columns: 1fr; } }

/* ---- night routine ---- */
.dream-steps { margin-top: 64px; display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .dream-steps { grid-template-columns: repeat(3, 1fr); } }
.dream-step__num { font-size: 13px; opacity: .45; letter-spacing: .05em; margin-bottom: 14px; display: block; }
.dream-step h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.dream-step p { font-size: 14.5px; opacity: .62; max-width: 30ch; }

/* ---- faq ---- */
.dream-faq { margin-top: 48px; max-width: 780px; }
.dream-faq-item { border-top: 1px solid var(--dream-border); }
.dream-section--dark .dream-faq-item { border-color: var(--dream-border-dark); }
.dream-faq-item:last-child { border-bottom: 1px solid var(--dream-border); }
.dream-section--dark .dream-faq-item:last-child { border-color: var(--dream-border-dark); }
.dream-faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between;
  font-size: 17px; font-weight: 500; gap: 20px;
}
.dream-faq-item summary::-webkit-details-marker { display: none; }
.dream-faq-item__icon { width: 18px; height: 18px; flex-shrink: 0; transition: transform 260ms var(--dream-ease); }
.dream-faq-item[open] .dream-faq-item__icon { transform: rotate(45deg); }
.dream-faq-item__body { padding: 0 0 22px; font-size: 15px; opacity: .68; max-width: 60ch; }

/* ---- newsletter ---- */
.dream-newsletter-form { display: flex; gap: 10px; margin-top: 36px; max-width: 460px; flex-wrap: wrap; }
.dream-newsletter-form input[type="email"] {
  flex: 1; min-width: 200px; height: 54px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--dream-border-dark); background: transparent; color: #fff; font-size: 15px;
}
.dream-newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.dream-newsletter-form .dream-btn { height: 54px; }
.dream-newsletter-note { margin-top: 14px; font-size: 12.5px; opacity: .5; }

/* ---- product template ---- */
.dream-product { padding-top: calc(var(--dream-header-h) + var(--dream-announce-h) + 20px); padding-bottom: var(--dream-section-y-tight); }
.dream-product__grid { display: grid; gap: 56px; grid-template-columns: 1fr; }
@media (min-width: 990px) { .dream-product__grid { grid-template-columns: 1.15fr 1fr; gap: 80px; } }
.dream-gallery { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 750px) { .dream-gallery { grid-template-columns: 76px 1fr; align-items: start; } }

/* mobile swipeable slider (replaces thumb rail + static main image) */
.dream-gallery__slider {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  border-radius: var(--dream-radius-lg); scrollbar-width: none;
}
.dream-gallery__slider::-webkit-scrollbar { display: none; }
.dream-gallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1/1; background: var(--dream-cloud); }
.dream-gallery__slide img, .dream-gallery__slide video { width: 100%; height: 100%; object-fit: contain; }
.dream-gallery__slider-viewport { position: relative; border-radius: var(--dream-radius-lg); overflow: hidden; }
.dream-gallery__mobile-zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(8,9,11,.5); color: #fff; backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.dream-gallery__mobile-zoom svg { width: 15px; height: 15px; }
@media (min-width: 750px) { .dream-gallery__mobile-zoom { display: none; } }
.dream-gallery__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.dream-gallery__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dream-border); border: 0; padding: 0; transition: background 160ms, transform 160ms; }
.dream-gallery__dot[data-active="true"] { background: var(--dream-black); transform: scale(1.3); }
@media (min-width: 750px) {
  .dream-gallery__slider, .dream-gallery__slider-viewport, .dream-gallery__dots { display: none; }
}
.dream-gallery__main-wrap { display: flex; flex-direction: column; gap: 12px; order: -1; }
@media (min-width: 750px) { .dream-gallery__main-wrap { order: 0; } }
.dream-gallery__main { border-radius: var(--dream-radius-lg); overflow: hidden; background: var(--dream-cloud); aspect-ratio: 1/1; cursor: zoom-in; }
@media (max-width: 749px) { .dream-gallery__main { aspect-ratio: 6/5; } }
.dream-gallery__main img, .dream-gallery__main video { width: 100%; height: 100%; object-fit: cover; }
.dream-gallery__zoom-hint {
  align-self: center; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; opacity: .5; background: none; border: 0; color: inherit; cursor: zoom-in;
}
.dream-gallery__zoom-hint svg { width: 13px; height: 13px; }

.dream-zoom-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(8,9,11,.94);
  display: flex; align-items: center; justify-content: center; padding: var(--dream-pad);
  opacity: 0; visibility: hidden; transition: opacity 260ms var(--dream-ease), visibility 0s linear 260ms;
}
.dream-zoom-overlay[data-open="true"] { opacity: 1; visibility: visible; transition: opacity 260ms var(--dream-ease), visibility 0s; }
.dream-zoom-overlay__stage { max-width: min(1100px, 92vw); max-height: 88vh; }
.dream-zoom-overlay__stage img, .dream-zoom-overlay__stage video { max-width: 100%; max-height: 88vh; display: block; margin: 0 auto; border-radius: 12px; }
.dream-zoom-overlay__close {
  position: absolute; top: var(--dream-pad); right: var(--dream-pad); width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid var(--dream-border-dark); color: #fff;
}
.dream-gallery__thumbs { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; }
@media (min-width: 750px) { .dream-gallery__thumbs { flex-direction: column; overflow-x: visible; padding-bottom: 0; gap: 18px; } }
.dream-gallery__thumb { position: relative; width: 68px; height: 68px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--dream-cloud); border: none; opacity: .5; transition: opacity 160ms; }
.dream-gallery__thumb:hover { opacity: .8; }
.dream-gallery__thumb[data-active="true"] { opacity: 1; box-shadow: 0 0 0 1.5px var(--dream-black); }
.dream-gallery__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(8,9,11,.35); color: #fff; }
.dream-gallery__play svg { width: 18px; height: 18px; }
.dream-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* mobile: slider replaces thumb rail + static main image (must come after their base rules to win the cascade) */
@media (max-width: 749px) {
  .dream-gallery__thumbs, .dream-gallery__main-wrap { display: none; }
}

.dream-buy__vendor { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; opacity: .5; margin-bottom: 8px; }
.dream-buy__title { font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -.01em; }
.dream-buy__subtitle { font-size: 16px; opacity: .6; margin-top: 8px; }
.dream-buy__rating { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; font-weight: 600; opacity: .85; }
.dream-buy__stars { color: #d8a53d; font-size: 14px; letter-spacing: 1px; }
.dream-buy__tagline { font-size: clamp(18px, 2vw, 22px); opacity: .6; margin-top: 6px; font-weight: 500; }
.dream-buy__price { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; font-size: 26px; font-weight: 600; flex-wrap: wrap; }
@media (max-width: 480px) {
  .dream-buy__title { font-size: 34px; }
  .dream-buy__tagline { font-size: 19px; }
  .dream-buy__desc { font-size: 16px; line-height: 1.5; }
}
.dream-buy__price s { opacity: .4; font-weight: 400; font-size: 18px; }
.dream-buy__save-badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  background: #1f7a4d; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.dream-buy__offer-note { margin-top: 4px; font-size: 12.5px; opacity: .55; font-weight: 500; }
.dream-buy__payment-terms { margin-top: 6px; font-size: 12.5px; opacity: .55; }
.dream-buy__desc { margin-top: 14px; font-size: 15.5px; opacity: .75; line-height: 1.6; }
.dream-buy__pills { font-size: 13px; font-weight: 500; letter-spacing: .01em; opacity: .6; margin-top: 14px; }
.dream-buy__ticks { margin-top: 16px; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .dream-buy__ticks { grid-template-columns: 1fr 1fr; column-gap: 16px; } }
.dream-buy__ticks li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; opacity: .82; }
.dream-buy__ticks li svg { width: 15px; height: 15px; flex-shrink: 0; color: #1f7a4d; }

.dream-buy__highlights { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.dream-buy__highlights li { display: flex; align-items: flex-start; gap: 14px; }
.dream-buy__highlight-icon {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--dream-cloud);
  display: flex; align-items: center; justify-content: center; color: var(--dream-black);
}
.dream-buy__highlight-icon svg { width: 16px; height: 16px; }
.dream-buy__highlights li > span:last-child { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.dream-buy__highlights strong { font-size: 14.5px; font-weight: 600; }
.dream-buy__highlights li span span { font-size: 13.5px; opacity: .62; }

.dream-field { margin-top: 22px; }
.dream-field label, .dream-field__label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.dream-variant-options { display: flex; flex-wrap: wrap; gap: 10px; }
.dream-variant-btn {
  height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--dream-border);
  background: var(--dream-white); font-size: 14px; transition: border-color 160ms, background 160ms;
}
.dream-variant-btn[data-selected="true"] { border-color: var(--dream-black); background: var(--dream-black); color: #fff; }

.dream-swatch-options { display: flex; flex-wrap: wrap; gap: 12px; }
.dream-swatch {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--dream-border) inset; padding: 0; cursor: pointer;
  transition: box-shadow 160ms, transform 160ms;
}
.dream-swatch[data-selected="true"] { box-shadow: 0 0 0 2px var(--dream-white), 0 0 0 4px var(--dream-black); }
.dream-qty { display: inline-flex; align-items: center; border: 1px solid var(--dream-border); border-radius: 999px; height: 44px; width: 116px; }
.dream-qty button { width: 36px; height: 100%; background: none; border: 0; font-size: 16px; color: inherit; flex-shrink: 0; }
.dream-qty input { width: 100%; text-align: center; border: 0; background: none; height: 100%; -moz-appearance: textfield; font-size: 14px; }
.dream-qty input::-webkit-outer-spin-button, .dream-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.dream-buy__actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.dream-buy__actions > .dream-btn { width: 100%; }
.dream-buy__express { display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
.dream-buy__express-divider { font-size: 11px; opacity: .4; text-align: center; letter-spacing: .04em; }
.dream-buy__express .shopify-payment-button { width: 100%; }
.dream-buy__express .shopify-payment-button__button { font-size: 14px !important; height: 56px !important; border-radius: 999px !important; }
.dream-buy__express .shopify-payment-button__button--unbranded { border-radius: 999px !important; }
.dream-buy__express iframe.shopify-payment-button__button { border-radius: 999px !important; }
.dream-buy__express .shopify-payment-button iframe { border-radius: 999px !important; overflow: hidden; }
.dream-buy__error { color: #B3261E; font-size: 13.5px; margin-top: 10px; display: none; }
.dream-buy__error[data-show="true"] { display: block; }
.dream-spinner {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: dream-spin .7s linear infinite; display: none;
}
[data-loading="true"] .dream-spinner { display: inline-block; }
[data-loading="true"] .dream-btn-label { opacity: .6; }
@keyframes dream-spin { to { transform: rotate(360deg); } }

.dream-buy__trust { margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .01em; opacity: .85; text-align: center; }
.dream-buy__secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; opacity: .5; margin-top: 4px;
}
.dream-buy__secure svg { width: 13px; height: 13px; }

/* sticky mobile add-to-bag */
.dream-sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: rgba(248,248,246,.96); backdrop-filter: blur(14px);
  border-top: 1px solid var(--dream-border);
  box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  padding: 12px var(--dream-pad) calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transform: translateY(110%); transition: transform 320ms var(--dream-ease);
}
.dream-sticky-atc[data-visible="true"] { transform: translateY(0); }
.dream-sticky-atc__info { min-width: 0; }
.dream-sticky-atc__title { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dream-sticky-atc__price { font-size: 13px; opacity: .6; }
.dream-sticky-atc .dream-btn { height: 48px; padding: 0 28px; font-size: 14.5px; flex-shrink: 0; }
@media (min-width: 990px) { .dream-sticky-atc { display: none; } }

/* ---- cart drawer ---- */
.dream-cart-overlay {
  position: fixed; inset: 0; background: rgba(8,9,11,.45); z-index: 80;
  opacity: 0; visibility: hidden; transition: opacity 320ms var(--dream-ease), visibility 0s linear 320ms;
}
.dream-cart-overlay[data-open="true"] { opacity: 1; visibility: visible; transition: opacity 320ms var(--dream-ease), visibility 0s; }
.dream-cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 81;
  width: min(440px, 100vw); background: var(--dream-warm-white); color: var(--dream-black);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 380ms var(--dream-ease);
}
.dream-cart-drawer[data-open="true"] { transform: translateX(0); }
.dream-cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--dream-pad) 16px; border-bottom: 1px solid var(--dream-border); }
.dream-cart-drawer__head h2 { font-size: 18px; font-weight: 600; }
.dream-cart-drawer__close { width: 22px; height: 22px; background: none; border: 0; color: inherit; }
.dream-cart-drawer__items { flex: 1; overflow-y: auto; padding: 8px var(--dream-pad); }
.dream-cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--dream-border); }
.dream-cart-line__img { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--dream-cloud); }
.dream-cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.dream-cart-line__title { font-size: 14.5px; font-weight: 600; }
.dream-cart-line__variant { font-size: 12.5px; opacity: .55; margin-top: 2px; }
.dream-cart-line__row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.dream-cart-line__price { font-size: 14px; font-weight: 600; }
.dream-cart-line__remove { font-size: 12.5px; opacity: .55; text-decoration: underline; background: none; border: 0; color: inherit; padding: 0; }
.dream-cart-drawer__empty { padding: 60px 0; text-align: center; opacity: .6; font-size: 14.5px; }
.dream-cart-drawer__foot { padding: 20px var(--dream-pad) max(20px, env(safe-area-inset-bottom)); border-top: 1px solid var(--dream-border); }
.dream-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.dream-cart-drawer__foot .dream-btn { width: 100%; }
.dream-cart-drawer__continue { display: block; text-align: center; margin-top: 14px; font-size: 13.5px; opacity: .6; text-decoration: underline; }

/* ---- contact / policy pages ---- */
.dream-page { padding-top: calc(var(--dream-header-h) + var(--dream-announce-h) + var(--dream-section-y-tight)); padding-bottom: var(--dream-section-y); }
.dream-page__body { max-width: 720px; margin-top: 32px; font-size: 15.5px; line-height: 1.7; opacity: .8; }

/* ---- collection ---- */
.dream-collection__head { max-width: 640px; }
.dream-collection-grid { display: grid; gap: 32px; grid-template-columns: 1fr; margin-top: 56px; max-width: 420px; }
@media (min-width: 700px) { .dream-collection-grid { grid-template-columns: repeat(2, 1fr); max-width: none; } }
@media (min-width: 1100px) { .dream-collection-grid { grid-template-columns: repeat(3, 1fr); } }
.dream-product-card { display: block; color: inherit; }
.dream-product-card__media { border-radius: var(--dream-radius-lg); overflow: hidden; aspect-ratio: 1/1; background: var(--dream-cloud); }
.dream-product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--dream-ease); }
.dream-product-card:hover .dream-product-card__media img { transform: scale(1.04); }
.dream-product-card__vendor { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .5; margin-top: 18px; display: block; }
.dream-product-card__title { font-size: 19px; font-weight: 600; margin-top: 6px; letter-spacing: -.01em; }
.dream-product-card__price { font-size: 15px; font-weight: 600; margin-top: 8px; display: block; }
.dream-product-card__price s { opacity: .4; font-weight: 400; margin-left: 8px; }

/* ---- blog ---- */
.dream-blog-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-top: 56px; }
@media (min-width: 700px) { .dream-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .dream-blog-grid { grid-template-columns: repeat(3, 1fr); } }
.dream-blog-card { display: block; color: inherit; }
.dream-blog-card__media { border-radius: var(--dream-radius); overflow: hidden; aspect-ratio: 4/3; background: var(--dream-cloud); }
.dream-blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--dream-ease); }
.dream-blog-card:hover .dream-blog-card__media img { transform: scale(1.04); }
.dream-blog-card__date { font-size: 12px; opacity: .5; letter-spacing: .04em; text-transform: uppercase; margin-top: 18px; display: block; }
.dream-blog-card__title { font-size: 19px; font-weight: 600; margin-top: 8px; letter-spacing: -.01em; }
.dream-blog-card__excerpt { font-size: 14px; opacity: .62; margin-top: 8px; line-height: 1.6; }

.dream-article__media { border-radius: var(--dream-radius-lg); overflow: hidden; margin-top: 32px; aspect-ratio: 16/9; background: var(--dream-cloud); }
.dream-article__media img { width: 100%; height: 100%; object-fit: cover; }
.dream-article__body { max-width: 720px; margin: 40px auto 0; font-size: 16px; line-height: 1.75; opacity: .85; }
.dream-article__body h2 { font-size: 24px; font-weight: 600; margin: 40px 0 16px; letter-spacing: -.01em; opacity: 1; }
.dream-article__body p { margin-bottom: 18px; }
.dream-article__body ul { margin: 0 0 18px; padding-left: 20px; }
.dream-article__body li { margin-bottom: 8px; }
.dream-page__body p + p { margin-top: 16px; }
.dream-contact-form { max-width: 560px; margin-top: 48px; display: grid; gap: 20px; }
.dream-contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.dream-contact-form input, .dream-contact-form textarea {
  width: 100%; border: 1px solid var(--dream-border); border-radius: 12px; padding: 14px 16px; background: var(--dream-white);
}
.dream-contact-form textarea { min-height: 140px; resize: vertical; }

/* ---- 404 ---- */
.dream-404 { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--dream-section-y) var(--dream-pad); }
.dream-404 .dream-btn { margin-top: 32px; }

/* utility */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--dream-blue); outline-offset: 3px; }

