:root {
  --ink: #0a0a0a;
  --paper: #fafaf7;
  --brand-pink: #ffa2bc;
  --brand-pink-soft: #ffb9cd;
  --brand-plum: #47143d;
  --muted: #8a8a8a;
  --cms-pad: 16px;
  --cms-grid-pad: 18px;
  --cms-max: 100%;
  --cms-gutter: 8px;
  --topbar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  /* Overlay feel: no reserved scrollbar gutter (premium / full-bleed) */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* legacy Edge/IE */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chromium / Safari / Edge */
  width: 0;
  height: 0;
}

/* Hide gutters on horizontal carousels / overflow panels too */
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body.cms-landing {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100vw;
}

body.cms-landing.is-splash {
  overflow: hidden;
}

/* Screen-reader only — SEO H1/tagline without visual clutter */
.cms-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Intro splash — pink field, white B monogram, soft blush layer ── */
.cms-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #ffa3bd;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.75s;
}

.cms-splash.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cms-splash-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  animation: cms-splash-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Blush layer behind monogram — app icon formula, feathered not a hard ball */
.cms-splash-mark::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 52%;
  width: clamp(240px, 72vw, 480px);
  height: clamp(240px, 72vw, 480px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
    circle,
    rgba(158, 0, 0, 0.46) 0%,
    rgba(255, 163, 189, 0.1) 100%
  );
  filter: blur(56px);
}

.cms-splash-monogram {
  position: relative;
  z-index: 1;
  height: clamp(104px, 28vh, 172px);
  width: auto;
  display: block;
  will-change: transform, filter, opacity;
  animation: cms-splash-monogram 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes cms-splash-enter {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes cms-splash-monogram {
  0%, 100% {
    opacity: 0.92;
    transform: scale(0.97) translateY(3px);
    filter: drop-shadow(0 6px 18px rgba(255, 255, 255, 0.22));
  }
  50% {
    opacity: 1;
    transform: scale(1.03) translateY(-4px);
    filter: drop-shadow(0 10px 32px rgba(255, 255, 255, 0.42));
  }
}

/* ── Floating top bar — fixed overlay; CMS starts at viewport top behind it ── */
.cms-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 40px clamp(12px, 2.5vw, 24px) 8px;
  pointer-events: none;
}

.cms-topbar-bar {
  pointer-events: auto;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 16px 20px;
  min-height: 64px;
  background:
    linear-gradient(180deg, rgba(255, 162, 188, 0.08) 0%, transparent 42%),
    rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-radius: 20px;
  border: 1px solid rgba(255, 162, 188, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 185, 205, 0.12),
    0 0 28px rgba(255, 162, 188, 0.28),
    0 10px 36px rgba(71, 20, 61, 0.4),
    inset 0 1px 0 rgba(255, 185, 205, 0.18);
}

.cms-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex-shrink: 1;
}

.cms-logo-sparkle {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.cms-logo-wordmark {
  height: 20px;
  width: auto;
  max-width: min(160px, 38vw);
  flex-shrink: 1;
}

.cms-brand-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 162, 188, 0.55) 20%,
    rgba(255, 162, 188, 0.55) 80%,
    transparent 100%
  );
  flex-shrink: 0;
  display: none;
}

.cms-brand-tagline {
  display: none;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 185, 205, 0.92);
  white-space: nowrap;
}

.cms-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cms-nav-link {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(250, 250, 247, 0.88);
  text-decoration: none;
  padding: 8px 6px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.cms-nav-link:hover { color: var(--brand-pink); }

.cms-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffb9cd 0%, var(--brand-pink) 100%);
  color: #4d1934;
  text-decoration: none;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 162, 188, 0.2),
    0 4px 16px rgba(255, 162, 188, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cms-download-btn:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 162, 188, 0.35),
    0 8px 22px rgba(255, 162, 188, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cms-download-label { line-height: 1; }
.cms-download-label--full { display: none; }
.cms-download-label--short { display: inline; }

.cms-store-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cms-store-icon {
  display: block;
  opacity: 0.95;
}

@media (min-width: 640px) {
  .cms-brand-divider,
  .cms-brand-tagline { display: block; }
  .cms-logo-wordmark { height: 22px; max-width: 200px; }
  .cms-logo-sparkle { width: 30px; height: 30px; }
  .cms-topbar-bar { padding: 18px 18px 18px 22px; border-radius: 22px; min-height: 72px; }
  .cms-download-btn { padding: 12px 18px; font-size: 14px; }
  .cms-nav-link { padding: 8px 10px; font-size: 14px; }
  .cms-download-label--short { display: none; }
  .cms-download-label--full { display: inline; }
}

@media (min-width: 900px) {
  .cms-logo-wordmark { height: 26px; max-width: 240px; }
  .cms-logo-sparkle { width: 32px; height: 32px; }
  .cms-brand-tagline { font-size: 12px; }
  .cms-brand { gap: 12px; }
  .cms-topbar { padding: 48px 24px 10px; }
  .cms-topbar-bar { min-height: 76px; padding: 20px 20px 20px 24px; border-radius: 24px; }
}

@media (max-width: 639px) {
  .cms-nav-link { display: none; }
  .cms-store-icons { display: none; }
  .cms-download-btn { padding: 9px 14px; gap: 0; font-size: 12px; }
}

.cms-hero-stack {
  position: relative;
  width: 100%;
}

/* Hardcoded hero banner — separate desktop / mobile MP4, natural aspect (no crop) */
.cms-code-banner {
  position: relative;
  width: 100%;
  background: #0a0a0a;
  overflow: hidden;
  line-height: 0;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.cms-code-banner-video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.cms-code-banner-video--desktop {
  display: none;
}

.cms-code-banner-video--mobile {
  display: block;
}

@media (min-width: 900px) {
  .cms-code-banner-video--desktop {
    display: block;
  }

  .cms-code-banner-video--mobile {
    display: none;
  }
}

.cms-banner-mute {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 3vw, 28px);
  z-index: 20;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  line-height: 0;
}

.cms-banner-mute:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.75);
}

.cms-banner-mute.is-unmuted {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.85);
}

.cms-banner-mute-icon {
  display: block;
  width: 22px;
  height: 22px;
}

.cms-banner-mute-icon--on {
  display: none;
}

.cms-banner-mute.is-unmuted .cms-banner-mute-icon--off {
  display: none;
}

.cms-banner-mute.is-unmuted .cms-banner-mute-icon--on {
  display: block;
}

/* Brand Music — editorial luxury soundtrack between banner and CMS */
.cms-ready-now.cms-brand-music {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  background: #1a0a16;
  color: #f7f0f3;
  padding: clamp(72px, 12vw, 140px) clamp(20px, 5vw, 48px) clamp(72px, 10vw, 112px);
  box-sizing: border-box;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cms-brand-music-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 18%, rgba(255, 162, 188, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(71, 20, 61, 0.55), transparent 60%),
    linear-gradient(180deg, #2a1024 0%, #1a0a16 48%, #12070f 100%);
}

body.cms-landing.is-splash .cms-ready-now {
  opacity: 0;
  visibility: hidden;
}

.cms-brand-music-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(40px, 7vw, 64px);
  max-width: 720px;
  margin: 0 auto;
}

.cms-brand-music-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cms-brand-music-title {
  margin: 0;
  font-family: 'Pinyon Script', cursive;
  font-weight: 400;
  font-size: clamp(52px, 12vw, 92px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: #fff;
}

.cms-brand-music-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cms-brand-music-track {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(14px, 3vw, 24px);
  padding: clamp(18px, 2.8vw, 24px) clamp(16px, 2.5vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.cms-brand-music-track:hover {
  border-color: rgba(255, 186, 205, 0.35);
  background: rgba(255, 255, 255, 0.055);
}

.cms-brand-music-track.is-playing {
  border-color: rgba(255, 162, 188, 0.55);
  background: linear-gradient(105deg, rgba(255, 162, 188, 0.12), rgba(255, 255, 255, 0.03) 55%);
}

.cms-brand-music-index {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255, 186, 205, 0.5);
  min-width: 1.6em;
}

.cms-brand-music-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.cms-brand-music-name {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(18px, 3.6vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.cms-brand-music-hint {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 240, 243, 0.4);
}

.cms-brand-music-eq {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cms-brand-music-eq span {
  display: block;
  width: 2px;
  border-radius: 1px;
  background: var(--brand-pink);
  transform-origin: bottom;
  height: 40%;
}

.cms-brand-music-track.is-playing .cms-brand-music-eq {
  display: inline-flex;
  opacity: 1;
}

.cms-brand-music-track.is-playing .cms-brand-music-eq span:nth-child(1) {
  animation: cms-brand-eq 0.9s ease-in-out infinite;
  animation-delay: 0s;
}
.cms-brand-music-track.is-playing .cms-brand-music-eq span:nth-child(2) {
  animation: cms-brand-eq 0.9s ease-in-out infinite;
  animation-delay: 0.15s;
}
.cms-brand-music-track.is-playing .cms-brand-music-eq span:nth-child(3) {
  animation: cms-brand-eq 0.9s ease-in-out infinite;
  animation-delay: 0.3s;
}
.cms-brand-music-track.is-playing .cms-brand-music-eq span:nth-child(4) {
  animation: cms-brand-eq 0.9s ease-in-out infinite;
  animation-delay: 0.45s;
}

@keyframes cms-brand-eq {
  0%, 100% { height: 28%; }
  50% { height: 100%; }
}

.cms-brand-music-play {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  line-height: 0;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cms-brand-music-play:hover {
  border-color: rgba(255, 186, 205, 0.9);
  background: rgba(255, 162, 188, 0.16);
  transform: scale(1.04);
}

.cms-brand-music-play:active {
  transform: scale(0.97);
}

.cms-brand-music-play.is-playing {
  border-color: var(--brand-pink);
  background: rgba(255, 162, 188, 0.2);
  color: #ffa2bc;
}

.cms-brand-music-icon {
  display: block;
  width: 17px;
  height: 17px;
}

.cms-brand-music-icon--pause {
  display: none;
}

.cms-brand-music-play.is-playing .cms-brand-music-icon--play {
  display: none;
}

.cms-brand-music-play.is-playing .cms-brand-music-icon--pause {
  display: block;
}

.cms-brand-music-audio {
  display: none;
}

@media (max-width: 639px) {
  .cms-ready-now.cms-brand-music {
    padding: clamp(56px, 12vw, 80px) 20px clamp(56px, 10vw, 72px);
  }

  .cms-brand-music-title {
    font-size: clamp(44px, 14vw, 64px);
  }

  .cms-brand-music-track {
    grid-template-columns: auto 1fr auto;
    gap: 12px 14px;
    padding: 16px 14px;
  }

  .cms-brand-music-eq {
    display: none !important;
  }

  .cms-brand-music-play {
    width: 44px;
    height: 44px;
    grid-column: 3;
    grid-row: 1;
  }

  .cms-brand-music-name {
    font-size: 17px;
  }
}

@media (min-width: 900px) {
  .cms-brand-music-eq {
    display: inline-flex;
  }
}

.cms-main {
  max-width: var(--cms-max);
  margin: 0 auto;
  padding-bottom: 48px;
  padding-top: 0;
  width: 100%;
  overflow-x: hidden;
}

/* ── Our Story ── */
.cms-our-story {
  position: relative;
  z-index: 40;
  padding: 64px clamp(20px, 5vw, 48px) 72px;
  background: #fff;
  text-align: center;
}

.cms-our-story-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cms-our-story-title {
  margin: 0 0 20px;
  font-family: 'Pinyon Script', cursive;
  font-weight: 400;
  font-size: 35px;
  line-height: 1.05;
  color: var(--brand-plum);
  letter-spacing: 0.01em;
}

.cms-our-story-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cms-our-story-copy p {
  margin: 0;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: #202020;
}

@media (min-width: 720px) {
  .cms-our-story {
    padding: 88px clamp(24px, 6vw, 64px) 96px;
  }

  .cms-our-story-title {
    font-size: 60px;
    margin-bottom: 24px;
  }
}

.cms-loading,
.cms-error {
  padding: 48px var(--cms-pad);
  text-align: center;
  color: var(--muted);
}

.cms-error button {
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--brand-plum);
  background: #fff;
  color: var(--brand-plum);
  font-weight: 600;
  cursor: pointer;
}

.cms-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.cms-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 0;
}

.cms-section-bg-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.cms-section-bg-wrap--overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  pointer-events: none;
}

.cms-section-bg-wrap img,
.cms-section-bg-wrap .cms-lottie-host {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cms-section-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

.cms-section-header {
  padding: 28px var(--cms-pad) 20px;
  text-align: center;
}

/* Web-scale section titles (larger than phone CMS defaults) */
.cms-section-title {
  margin: 0;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #202020;
  text-align: center;
}

.cms-section-subtitle {
  margin: 8px auto 0;
  max-width: 36em;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 300;
  line-height: 1.5;
  color: #202020;
  text-align: center;
}

.cms-section-header + .cms-section-body,
.cms-section-header + .cms-grid,
.cms-section-header + .cms-row-scroll,
.cms-section-header + .cms-masonry {
  margin-top: clamp(12px, 2.2vw, 20px);
}

.cms-section-body {
  width: 100%;
  max-width: 100%;
}

.cms-section-body--padded {
  padding-left: var(--cms-pad);
  padding-right: var(--cms-pad);
}

/* Horizontal scroll tracks — contained, never expand the page */
.cms-row-scroll {
  display: flex;
  gap: var(--cms-gutter, 8px);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cms-row-scroll::-webkit-scrollbar { display: none; }

.cms-row-scroll--padded {
  padding-left: var(--cms-pad);
  padding-right: var(--cms-pad);
}

.cms-grid-carousel {
  align-items: flex-start;
}

.cms-grid-carousel-col {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-width: 0;
}

.cms-grid {
  display: grid;
  gap: var(--cms-gutter, 8px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: start;
}

.cms-grid--padded {
  padding-left: var(--cms-grid-pad);
  padding-right: var(--cms-grid-pad);
}

.cms-grid-carousel.cms-row-scroll--padded {
  padding-left: var(--cms-grid-pad);
  padding-right: var(--cms-grid-pad);
}

.cms-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cms-gutter, 8px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cms-masonry--padded {
  padding-left: var(--cms-pad);
  padding-right: var(--cms-pad);
}

.cms-masonry-col {
  display: flex;
  flex-direction: column;
  gap: var(--cms-gutter, 8px);
  min-width: 0;
}

.cms-tile {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: #f0f0f0;
  max-width: 100%;
}

.cms-tile--fluid {
  width: 100% !important;
  max-width: 100%;
}

.cms-tile img,
.cms-tile video,
.cms-tile canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Brand / logo tiles (often SVG) — never crop wordmarks */
.cms-tile.cms-tile--contain,
.cms-tile.cms-tile--contain img {
  object-fit: contain;
  background: transparent;
}

.cms-tile.cms-tile--contain {
  background: transparent;
}

.cms-tile .cms-lottie-host {
  width: 100%;
  height: 100%;
}

.cms-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px var(--cms-pad) 4px;
}

.cms-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(158, 158, 158, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
}

.cms-carousel-dot.is-active {
  width: 18px;
  border-radius: 3px;
  background: var(--dot-color, #1a56db);
}

.cms-more-btn {
  display: block;
  width: calc(100% - 2 * var(--cms-pad));
  max-width: 100%;
  margin: 12px auto 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--brand-plum);
  background: #fff;
  color: var(--brand-plum);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.cms-product-card {
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  width: clamp(160px, 42vw, 220px);
}

.cms-product-card--t1 {
  width: clamp(220px, 48vw, 280px);
}

.cms-product-card--t2 {
  width: clamp(140px, 36vw, 180px);
}

@media (min-width: 768px) {
  :root { --cms-pad: 24px; --cms-grid-pad: 200px; }
}

@media (max-width: 767px) {
  .cms-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 900px) {
  .cms-product-card--t1 { width: 260px; }
  .cms-product-card--t2 { width: 180px; }
}

@media (min-width: 1100px) {
  :root { --cms-pad: 32px; }
}

.cms-product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f3f3f3;
}

.cms-product-body { padding: 10px 12px 14px; }

.cms-product-brand {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cms-product-name {
  font-size: 13px;
  font-weight: 500;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cms-product-price {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

.cms-product-price del {
  color: #999;
  font-weight: 400;
  margin-right: 6px;
}

.cms-product-rating {
  margin-top: 4px;
  font-size: 12px;
  color: #666;
}

.cms-site-footer {
  position: relative;
  z-index: 50;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: rgba(255, 248, 250, 0.92);
  background: #050306;
  border-top: none;
  min-height: 0;
}

/* Smoky cinematic backdrop — pure CSS (no photo asset) */
.cms-footer-smoke {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 20% 30%, #4a0a1c 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 85% 65%, #2a0620 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 55% 80%, #6b1035 0%, transparent 55%),
    #050306;
}

.cms-footer-smoke-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.75;
  mix-blend-mode: soft-light;
  will-change: transform, opacity;
}

.cms-footer-smoke-blob--1 {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  left: -8%;
  top: 8%;
  background: radial-gradient(circle, rgba(201, 40, 88, 0.85) 0%, rgba(145, 0, 49, 0.35) 42%, transparent 70%);
  animation: cms-smoke-drift-a 16s ease-in-out infinite alternate;
}

.cms-footer-smoke-blob--2 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  right: -6%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(120, 30, 95, 0.8) 0%, rgba(71, 20, 61, 0.4) 45%, transparent 72%);
  animation: cms-smoke-drift-b 19s ease-in-out infinite alternate;
}

.cms-footer-smoke-blob--3 {
  width: min(48vw, 360px);
  height: min(40vw, 300px);
  left: 38%;
  top: 42%;
  background: radial-gradient(circle, rgba(255, 90, 130, 0.35) 0%, rgba(160, 25, 70, 0.22) 40%, transparent 68%);
  filter: blur(56px);
  animation: cms-smoke-drift-c 22s ease-in-out infinite alternate;
}

.cms-footer-smoke-blob--4 {
  width: min(36vw, 280px);
  height: min(36vw, 280px);
  left: 12%;
  bottom: 18%;
  background: radial-gradient(circle, rgba(255, 162, 188, 0.28) 0%, transparent 65%);
  filter: blur(40px);
  opacity: 0.55;
  animation: cms-smoke-drift-a 14s ease-in-out infinite alternate-reverse;
}

.cms-footer-smoke-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 162, 188, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, rgba(5, 3, 6, 0.2) 0%, rgba(5, 3, 6, 0.45) 48%, rgba(5, 3, 6, 0.88) 100%),
    linear-gradient(90deg, rgba(5, 3, 6, 0.55) 0%, transparent 32%, transparent 68%, rgba(5, 3, 6, 0.45) 100%);
}

.cms-footer-watermark {
  position: relative;
  z-index: 1;
  pointer-events: none;
  margin: 32px auto 0;
  padding: 0;
  width: min(92vw, 680px);
  opacity: 0.14;
  user-select: none;
  text-align: center;
}

.cms-footer-watermark-logo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.cms-footer-shell {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 40px) 32px;
}

.cms-footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 40px;
  margin-bottom: 0;
}

.cms-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cms-footer-col-title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-pink);
  text-shadow: 0 0 18px rgba(255, 162, 188, 0.35);
}

.cms-footer-col a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 248, 250, 0.88);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.cms-footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}

.cms-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 28px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 162, 188, 0.18);
}

.cms-footer-copy {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 248, 250, 0.42);
  text-align: center;
}

/* Floating sparks over smoke */
.cms-footer-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.cms-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--brand-pink);
  border-radius: 50%;
  box-shadow:
    0 0 8px rgba(255, 162, 188, 0.9),
    0 0 16px rgba(255, 162, 188, 0.4);
  opacity: 0;
  animation: cms-spark-float 5.5s ease-in-out infinite;
}

.cms-spark::before,
.cms-spark::after {
  content: '';
  position: absolute;
  background: rgba(255, 185, 205, 0.95);
  border-radius: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cms-spark::before {
  width: 12px;
  height: 1.5px;
}

.cms-spark::after {
  width: 1.5px;
  height: 12px;
}

.cms-spark--1 { left: 12%; top: 70%; animation-delay: 0s; animation-duration: 6s; }
.cms-spark--2 { left: 28%; top: 35%; animation-delay: 1.1s; animation-duration: 5.2s; width: 4px; height: 4px; }
.cms-spark--3 { left: 48%; top: 78%; animation-delay: 2.4s; animation-duration: 7s; }
.cms-spark--4 { left: 62%; top: 28%; animation-delay: 0.6s; animation-duration: 5.8s; width: 5px; height: 5px; }
.cms-spark--5 { left: 78%; top: 62%; animation-delay: 3.2s; animation-duration: 6.4s; }
.cms-spark--6 { left: 88%; top: 40%; animation-delay: 1.8s; animation-duration: 5s; width: 4px; height: 4px; }

@keyframes cms-spark-float {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.4) rotate(0deg);
  }
  18% {
    opacity: 0.95;
  }
  50% {
    opacity: 0.7;
    transform: translateY(-28px) scale(1) rotate(90deg);
  }
  82% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(-56px) scale(0.3) rotate(180deg);
  }
}

@keyframes cms-smoke-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.65; }
  to { transform: translate3d(4%, -3%, 0) scale(1.08); opacity: 0.9; }
}

@keyframes cms-smoke-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.05); opacity: 0.6; }
  to { transform: translate3d(-5%, 4%, 0) scale(1); opacity: 0.85; }
}

@keyframes cms-smoke-drift-c {
  from { transform: translate3d(-2%, 2%, 0) scale(0.95); opacity: 0.45; }
  to { transform: translate3d(3%, -4%, 0) scale(1.1); opacity: 0.75; }
}

@media (min-width: 720px) {
  .cms-footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 48px;
    margin-bottom: 0;
    padding: 0;
  }

  .cms-footer-shell {
    padding: 48px clamp(24px, 4vw, 48px) 40px;
  }

  .cms-footer-watermark {
    margin-top: 40px;
    width: min(88vw, 760px);
  }
}

@media (min-width: 980px) {
  .cms-footer-shell {
    padding: 56px clamp(24px, 4vw, 48px) 48px;
  }

  .cms-footer-watermark {
    margin-top: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cms-spark,
  .cms-splash-mark::before,
  .cms-splash-monogram,
  .cms-footer-smoke-blob {
    animation: none;
  }
  .cms-splash-mark {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .cms-spark { opacity: 0.45; }
  .cms-splash {
    transition-duration: 0.25s;
  }
}
