/* Hero variations — white UI, centered luxury wordmark + scrollable product imagery */

.hero-brand {
  text-align: center;
  margin: 0 auto;
}
.hero-logo {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 7.2vw, 88px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #111;
}
.hero-logo span {
  color: #C5A572; /* soft gold heart accent */
  font-weight: 600;
}
.hero-tag {
  margin: 14px 0 0;
  font-family: "SF Pro Text", Inter, system-ui, sans-serif;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6e6e73;
  font-weight: 500;
}

.hero-v {
  background: #fff;
  position: relative;
}
.hero-v-cta {
  text-align: center;
  padding: 28px 0 8px;
}

/* —— V1: wordmark above rounded full-width carousel —— */
.hero-v1 {
  padding: 56px 0 12px;
}
.hero-v1-top {
  padding-bottom: 36px;
}
.carousel {
  position: relative;
  overflow: hidden;
  background: #f5f5f7;
}
.carousel-rounded {
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  max-height: 72vh;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  touch-action: pan-y;
}
.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #fff;
  overflow: hidden;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #fff;
  user-select: none;
  -webkit-user-drag: none;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.carousel-btn:hover { background: #111; color: #fff; }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-btn.light {
  background: rgba(255,255,255,0.92);
}
.carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(0,0,0,0.22);
  cursor: pointer;
}
.carousel-dots button[aria-current="true"] {
  background: #111;
  width: 22px;
}
.carousel-dots.light button { background: rgba(0,0,0,0.18); }
.carousel-dots.light button[aria-current="true"] { background: #111; }

/* —— V2: full-bleed slideshow + centered overlay wordmark (no dark scrim) —— */
.hero-v2 {
  min-height: min(88vh, 900px);
  display: grid;
}
.hero-v2 .carousel-bleed {
  grid-area: 1 / 1;
  width: 100%;
  height: min(88vh, 900px);
  background: #f5f5f7;
}
.hero-v2 .bleed-slide {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 55%, #ffffff 100%);
}
.hero-v2 .bleed-slide img {
  object-fit: cover;
  max-height: 100%;
  /* keep product readable under black text — soft white veil at top center */
  /* image itself stays bright; overlay handles text area */
}
.hero-v2-overlay {
  grid-area: 1 / 1;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  pointer-events: none;
  /* light treatment so black wordmark reads — NO dark scrim */
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.72) 45%, rgba(255,255,255,0.15) 75%, rgba(255,255,255,0) 100%);
}
.hero-v2-overlay .hero-brand,
.hero-v2-overlay .btn {
  pointer-events: auto;
}
.hero-v2-overlay .btn { margin-top: 28px; }
.hero-v2 .carousel-btn { top: auto; bottom: 28px; transform: none; }
.hero-v2 .carousel-btn.prev { left: 24px; }
.hero-v2 .carousel-btn.next { right: 24px; }
.hero-v2 .carousel-dots { bottom: 36px; }

/* —— V3: centered wordmark + snap filmstrip —— */
.hero-v3 {
  padding: 64px 0 40px;
  background: #fff;
}
.hero-v3-top {
  text-align: center;
  padding-bottom: 40px;
}
.hero-v3-top .btn { margin-top: 28px; }
.filmstrip-wrap {
  position: relative;
  max-width: 100%;
}
.filmstrip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px max(24px, calc((100vw - 1100px) / 2 + 24px));
  scrollbar-width: none;
}
.filmstrip::-webkit-scrollbar { display: none; }
.film-card {
  flex: 0 0 min(72vw, 380px);
  scroll-snap-align: center;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.film-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.film-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  background: #fff;
  user-select: none;
  -webkit-user-drag: none;
}
/* Product rail / mini carousels: fill slides, no grey letterbox */
.hero-v .hero-slide {
  background: #fff;
}
.hero-v .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #fff;
}
.hero-v .carousel,
.hero-v .carousel-rounded {
  background: #fff;
}
.film-meta {
  padding: 16px 18px 20px;
  background: #fff;
}
.film-meta h3 {
  margin: 4px 0 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.filmstrip-wrap .carousel-btn {
  top: 42%;
}
.filmstrip-wrap .carousel-btn.prev { left: max(8px, calc((100vw - 1200px) / 2)); }
.filmstrip-wrap .carousel-btn.next { right: max(8px, calc((100vw - 1200px) / 2)); }

@media (max-width: 720px) {
  .hero-v1 { padding-top: 36px; }
  .hero-logo { font-size: clamp(34px, 11vw, 48px); }
  .carousel-rounded { border-radius: 16px; aspect-ratio: 4 / 5; max-height: none; }
  .hero-v2 .carousel-bleed { height: 78vh; }
  .film-card { flex-basis: min(78vw, 300px); }
  .carousel-btn { width: 38px; height: 38px; font-size: 24px; }
}

/* —— Header: fixed overlay; hidden at top does NOT reserve space —— */
body.has-hero-landing .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 50;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), opacity 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
body.has-hero-landing.hero-top .site-header {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  border-bottom-color: transparent;
}
body.has-hero-landing:not(.hero-top) .site-header {
  transform: none;
  opacity: 1;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* Wordmark treatments */
.wm-tracked {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(28px, 4.8vw, 56px);
}
.wm-display {
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(44px, 8vw, 96px);
}
.wm-stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(40px, 7vw, 80px);
}
.wm-stacked .line2 { display: none; }
.wm-stacked, .wm-stacked .line1 { color: #111; }
.wm-stacked .line1 > span { color: #C5A572; }
.wm-elegant {
  font-weight: 300;
  letter-spacing: 0.02em;
  font-size: clamp(40px, 7.5vw, 92px);
}
.wm-elegant strong { font-weight: 700; letter-spacing: -0.03em; }
.wm-heart-lg span { font-size: 1.05em; color: #C5A572; }

.veil-text {
  display: inline-block;
  padding: 28px 36px;
  border-radius: 20px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(8px);
}

/* V4 — full-bleed room, logo on bright wall, carousel below */
.hero-v4 {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero-v4-stage {
  position: relative;
  flex: 1;
  min-height: 72vh;
  overflow: hidden;
}
.hero-v4-stage picture,
.hero-v4-stage img.landing {
  width: 100%;
  height: 100%;
  min-height: 72vh;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hero-v4-copy {
  position: absolute;
  left: 0; right: 0;
  top: 12%;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
}
.hero-v4 .product-rail {
  background: #fff;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(0,0,0,0.04);
}

/* V5 — logo above framed rounded room image + carousel */
.hero-v5 {
  padding: 64px 0 20px;
  background: #fff;
}
.hero-v5-top { text-align: center; padding-bottom: 28px; }
.hero-v5-frame {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-height: 68vh;
  background: #f5f5f7;
}
.hero-v5-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* V6 — Ken Burns full-bleed + centered veil logo */
.hero-v6 {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #f5f5f7;
}
.hero-v6 {
  overflow: hidden;
}
.hero-v6-kb {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: translate(-50%, -50%) scale(1.08);
  transform-origin: center center;
  animation: kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: translate(-50%, -50%) scale(1.08); }
  to { transform: translate(-50%, -50%) scale(1.2); }
}
.hero-v6-copy {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px 120px;
}
.hero-v6 .carousel-mini {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.92) 35%, #fff);
  padding: 48px 0 28px;
}

/* V7 — split-reveal on scroll */
.hero-v7 {
  background: #fff;
  padding-top: 56px;
}
.hero-v7-top { text-align: center; padding: 0 20px 32px; }
.hero-v7-reveal {
  overflow: hidden;
  clip-path: inset(12% 8% 12% 8% round 24px);
  transition: clip-path 0.7s cubic-bezier(0.22,1,0.36,1);
  max-height: 78vh;
}
.hero-v7-reveal.is-open {
  clip-path: inset(0% 0% 0% 0% round 0px);
}
.hero-v7-reveal img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center 40%;
  max-height: 78vh;
}

/* V8 — parallax bg + floating filmstrip */
.hero-v8 {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-v8-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 35%;
  background-attachment: scroll;
  transform: translateZ(0);
  will-change: transform;
}
.hero-v8-copy {
  position: relative;
  z-index: 2;
  padding: 14vh 20px 0;
  text-align: center;
}
.hero-v8 .filmstrip-float {
  position: relative;
  z-index: 3;
  margin-top: 8vh;
  padding-bottom: 40px;
}
.hero-v8 .film-card {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
}

@media (max-width: 720px) {
  .hero-v4-stage, .hero-v4-stage img.landing { min-height: 62vh; }
  .hero-v5-frame { border-radius: 18px; aspect-ratio: 3/4; max-height: none; }
  .hero-v6-copy { padding-bottom: 160px; }
  .wm-tracked { letter-spacing: 0.1em; }
}

/* Crop past studio white margins so cards look edge-to-edge filled */
.film-card img {
  transform: scale(1.14);
  transform-origin: center center;
}
.hero-v .product-rail .hero-slide,
.hero-v .carousel-mini .hero-slide,
.hero-v7 .carousel .hero-slide {
  overflow: hidden;
}
.hero-v .product-rail .hero-slide img,
.hero-v .carousel-mini .hero-slide img,
.hero-v7 .carousel .hero-slide img {
  transform: scale(1.12);
  transform-origin: center;
}

/* ═══════════════════════════════════════════════════════════
   V5 mobile — full-bleed ~100svh landing (desktop V5 unchanged)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  .hero-v5 {
    position: relative;
    padding: 0;
    background: #fff;
  }

  /* Full-viewport stage: image edge-to-edge, logo overlaid */
  .hero-v5 > .wrap.hero-v5-top {
    position: absolute;
    left: 0; right: 0;
    top: 0;
    z-index: 4;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 20px;
    height: 100svh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    background:
      radial-gradient(ellipse 90% 55% at 50% 42%,
        rgba(255,255,255,0.88) 0%,
        rgba(255,255,255,0.55) 42%,
        rgba(255,255,255,0.08) 72%,
        rgba(255,255,255,0) 100%);
  }
  .hero-v5 > .wrap.hero-v5-top .hero-brand,
  .hero-v5 > .wrap.hero-v5-top .btn,
  .hero-v5 > .wrap.hero-v5-top a {
    pointer-events: auto;
  }
  .hero-v5 > .wrap.hero-v5-top .btn { margin-top: 4px; }

  /* Media wrap: kill gutters, fill viewport */
  .hero-v5 > .wrap:not(.hero-v5-top) {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .hero-v5-frame {
    border-radius: 0;
    aspect-ratio: auto;
    max-height: none;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    background: #f5f5f7;
  }
  .hero-v5-frame img,
  .hero-v5-frame picture,
  .hero-v5-frame picture img {
    width: 100%;
    height: 100%;
    min-height: 100svh;
    object-fit: cover;
    object-position: center 40%;
    display: block;
  }

  /* Logo scale — bold, tracked, readable over veil */
  .hero-v5 .hero-logo,
  .hero-v5 .wm-tracked {
    font-size: clamp(28px, 8.5vw, 40px);
    letter-spacing: 0.12em;
    line-height: 1.1;
  }
  .hero-v5 .hero-tag {
    margin-top: 12px;
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  /* Filmstrip below the fold — elegant peeks, no page overflow */
  .hero-v5 .filmstrip-wrap {
    position: relative;
    margin-top: 0 !important;
    padding: 20px 0 28px;
    background: #fff;
    overflow: hidden;
  }
  .hero-v5 .filmstrip {
    padding: 4px 16px;
    gap: 12px;
  }
  .hero-v5 .film-card {
    flex: 0 0 min(72vw, 280px);
    border-radius: 14px;
  }
  .hero-v5 .film-meta { padding: 12px 14px 16px; }
  .hero-v5 .film-meta h3 { font-size: 17px; }

  /* Keep carousel arrows inside viewport; soft + white */
  .hero-v5 .filmstrip-wrap .carousel-btn {
    width: 44px;
    height: 44px;
    top: 40%;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  }
  .hero-v5 .filmstrip-wrap .carousel-btn.prev { left: 8px; }
  .hero-v5 .filmstrip-wrap .carousel-btn.next { right: 8px; }

  /* General filmstrip (if used elsewhere on mobile) */
  .filmstrip-wrap { overflow: hidden; }
  .film-card { flex-basis: min(72vw, 280px); border-radius: 14px; }
}

/* Mid phones / large phones — same full-bleed hero up to 900 */
@media (min-width: 721px) and (max-width: 900px) {
  .hero-v5 { padding: 48px 0 16px; }
  .hero-v5-frame {
    border-radius: 20px;
    aspect-ratio: 16 / 10;
    max-height: 56vh;
  }
}


/* Phone filmstrip image crops */
@media (max-width: 720px) {
  .film-card img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center center;
    transform: none;
    background: #fff;
  }
  .hero-v .product-rail .hero-slide img,
  .hero-v .carousel-mini .hero-slide img,
  .hero-v7 .carousel .hero-slide img {
    transform: none;
    object-position: center center;
  }
  .hero-v5 .film-meta h3 {
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.2;
    text-wrap: balance;
  }
  .hero-v5 .hero-tag {
    letter-spacing: 0.16em;
    line-height: 1.4;
  }
  /* Ensure picture/img fill the full-bleed stage without letterbox */
  .hero-v5-frame {
    background: #fff;
  }
}
