/**
 * Home page only — ethereal design language (exact design reference).
 * Scoped under body.page-home so Raw Materials / Photo Frames stay untouched.
 */

body.page-home {
  /* Aliases → Craftguru green (craftguru-theme.css is source of truth) */
  --home-sky: var(--cg-mint, #7dd3c7);
  --home-aqua: var(--cg-teal, #26a69a);
  --home-lavender: var(--cg-mint, #7dd3c7);
  --home-blush: var(--cg-mint-soft, #d8f3ef);
  --home-rose: var(--cg-teal, #26a69a);
  --home-rose-deep: var(--cg-teal-deep, #1e8e84);
  --home-gold: var(--cg-gold, #d4af37);
  --home-gold-soft: var(--cg-gold-soft, #e8d48b);
  --home-ink: var(--cg-navy, #1a2b48);
  --home-ink-muted: rgba(26, 43, 72, 0.62);
  --home-cream: var(--cg-cream, #f4f9f7);
  --home-glass: rgba(255, 255, 255, 0.96);
  --home-shadow: var(--cg-shadow, 0 18px 48px rgba(26, 43, 72, 0.12));
  background: var(--home-cream);
  color: var(--home-ink);
}

body.page-home .mesh-gradient,
body.page-home .tone-shift {
  opacity: 0.1;
}

body.page-home .animated-backdrop .orb {
  opacity: 0.05;
}

body.page-home .page-atmosphere {
  opacity: 0.28;
}

/* ---- Navigation (Craftguru navy dock + emerald active) ---- */
body.page-home .nav-dock {
  background: var(--cg-grad-nav, linear-gradient(105deg, #1a2b48 0%, #243656 55%, #1a2b48 100%));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 32px rgba(26, 43, 72, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 28px rgba(38, 166, 154, 0.08);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
}

body.page-home .nav-dock-link {
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 600;
}

body.page-home .nav-dock-link:hover,
body.page-home .nav-dock-link:focus-visible {
  background: rgba(125, 211, 199, 0.18);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(125, 211, 199, 0.22);
}

body.page-home .nav-dock-link.is-active,
body.page-home .nav-dock-link.nav-dock-link--active {
  background: var(--cg-grad-active, linear-gradient(135deg, #7dd3c7 0%, #26a69a 55%, #1e8e84 100%));
  color: #ffffff;
  box-shadow:
    0 4px 16px rgba(38, 166, 154, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

body.page-home .nav-dock-link.is-active:hover,
body.page-home .nav-dock-link.is-active:focus-visible {
  background: linear-gradient(135deg, #a8e6dc 0%, #26a69a 55%, #148f7f 100%);
  color: #ffffff;
}

body.page-home .home-auth-btn,
body.page-home .btn-cart {
  color: var(--home-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ---- Category sidebar (RM nav-tree parity) ---- */
body.page-home:not(.cg-rail-drawer-enabled) .home-shop-nav.home-category-rail--split {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  max-height: calc(100vh - 6.25rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 50px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  scrollbar-gutter: stable;
  padding: 1.05rem 1.15rem;
}

body.page-home .home-category-rail::before,
body.page-home .home-category-rail::after {
  display: none;
}

body.page-home .home-category-rail__label,
body.page-home a.home-category-rail__title-link {
  color: rgba(26, 26, 64, 0.45);
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

body.page-home .home-category-rail--split .category-grid--rail {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.15rem;
  overflow-x: hidden;
  min-width: 0;
}

body.page-home .category-grid--rail .category-pill,
body.page-home .home-category-rail--split .category-grid--rail .category-pill,
body.page-home .category-grid--rail .category-pill--rail {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 14px;
  color: var(--home-ink);
  box-shadow: none;
  padding: 0.72rem 0.55rem 0.72rem 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  opacity: 1;
  transform: none;
}

body.page-home .category-grid--rail .category-pill::before,
body.page-home .home-category-rail--split .category-grid--rail .category-pill::before {
  display: none !important;
  content: none !important;
}

body.page-home .category-pill__icon {
  flex: 0 0 1.55rem;
  width: 1.55rem;
  height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.page-home .category-pill__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

body.page-home .category-pill__label {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.25;
  color: var(--home-ink);
}

body.page-home .category-pill__chev {
  flex: 0 0 auto;
  color: rgba(26, 26, 64, 0.28);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
  margin-left: 0.15rem;
}

body.page-home .category-grid--rail .category-pill:hover,
body.page-home .category-grid--rail .category-pill:focus-visible {
  background: rgba(216, 243, 239, 0.22);
  color: var(--home-ink);
  transform: none;
  outline: none;
  box-shadow: none;
}

body.page-home .category-grid--rail .category-pill:hover .category-pill__chev,
body.page-home .category-grid--rail .category-pill:focus-visible .category-pill__chev {
  color: var(--home-rose-deep);
}

body.page-home .category-grid--rail .category-pill.is-active {
  background: linear-gradient(135deg, rgba(216, 243, 239, 0.38), rgba(125, 211, 199, 0.22));
  color: var(--home-ink);
  box-shadow: none;
}

@media (min-width: 900px) and (max-width: 959px) {
  body.page-home:not(.cg-rail-drawer-enabled) .home-shop-nav.home-category-rail--split {
    position: relative;
    top: auto;
    max-height: none;
    padding: 0.85rem 0.95rem 1rem;
  }

  body.page-home:not(.cg-rail-drawer-enabled) .home-category-rail--split .category-grid--rail {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.45rem;
    -webkit-overflow-scrolling: touch;
  }

  body.page-home:not(.cg-rail-drawer-enabled) .category-grid--rail .category-pill--rail {
    flex: 0 0 auto;
    width: auto;
    min-width: 12.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(26, 26, 64, 0.06);
    box-shadow: 0 6px 18px rgba(100, 120, 160, 0.08);
  }
}

@media (max-width: 899px) {
  body.page-home.cg-rail-drawer-enabled .home-shop-nav.home-category-rail--split.cg-rail-drawer-panel {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 9200;
    width: min(88vw, 17rem);
    max-width: 17rem;
    margin: 0;
    padding-top: calc(env(safe-area-inset-top, 0px) + 0.85rem);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
    border-radius: 0 1.25rem 1.25rem 0;
    box-shadow: 8px 0 40px rgba(26, 43, 72, 0.18);
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateX(-108%);
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    visibility: hidden;
  }

  body.page-home.cg-rail-drawer-enabled .home-shop-nav.home-category-rail--split.cg-rail-drawer-panel.is-open {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
  }

  body.page-home.cg-rail-drawer-enabled .home-shop-nav.home-category-rail--split.cg-rail-drawer-panel .category-grid--rail {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: hidden;
    overflow-y: visible;
    gap: 0.15rem;
  }

  body.page-home.cg-rail-drawer-enabled .home-shop-nav.home-category-rail--split.cg-rail-drawer-panel .category-pill--rail {
    width: 100%;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

/* ---- Exact design-reference hero (full panel + overlay CTAs, same pattern as RM/PF) ---- */
body.page-home .hero-atelier__shell,
body.page-home .hero-atelier__shell--exact-ref,
body.page-home .home-landing-hero--exact {
  position: relative;
  isolation: isolate;
  display: block !important;
  grid-template-columns: none !important;
  overflow: hidden !important;
  border-radius: var(--hero-exact-radius, clamp(1.75rem, 4.5vw, 2.75rem));
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  margin-bottom: 0;
  line-height: 0;
  animation: homeExactHeroIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Promo carousel — match exact-ref panel clip (frameless) */
body.page-home .hero-atelier--promo .hero-promo-carousel,
body.page-home .hero-atelier--promo .hero-promo-carousel__frame {
  border-radius: var(--hero-exact-radius, clamp(1.75rem, 4.5vw, 2.75rem));
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Defeat styles.css flex min-heights that stretch/crop the exact panel */
body.page-home .home-landing-main .hero-atelier__shell.home-landing-hero--exact,
body.page-home .home-landing-main .hero-atelier__shell--exact-ref {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
}

@keyframes homeExactHeroIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* No left wash — panel already paints copy; avoid double text / ghost clock */
body.page-home .hero-atelier__shell--exact-ref::before,
body.page-home .home-landing-hero--exact::before {
  display: none !important;
  content: none !important;
}

body.page-home .hero-atelier__art-zone {
  display: none !important;
}

body.page-home .home-landing-hero__exact-art,
body.page-home .hero-atelier__exact-art {
  /* Sizing/object-fit owned by hero-exact-shared.css — keep theme-only polish here */
  border-radius: inherit;
}

/* Live copy: a11y / SEO only — artwork already includes headline + CTAs */
body.page-home .home-landing-hero__copy,
body.page-home .home-landing-hero--exact .hero-atelier__light {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  background: transparent !important;
}

body.page-home .home-landing-hero__hits {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

body.page-home .home-landing-hero__hit {
  pointer-events: auto;
}

/* Calibrated to home-ethereal-hero-clock1.png (1625×968) — Shop categories + Corporate Gifting */
body.page-home .home-landing-hero__hit--shop {
  left: 7.2%;
  top: 72.5%;
  width: 15.2%;
  height: 6.8%;
}

body.page-home .home-landing-hero__hit--browse {
  left: 24.4%;
  top: 72.5%;
  width: 12.4%;
  height: 6.8%;
}

body.page-home .home-landing-hero__fx,
body.page-home .home-landing-hero--exact .hero-atelier__fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

body.page-home .hero-atelier__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin: 0;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--home-ink);
  background: rgba(255, 248, 236, 0.92);
  border: 1px solid rgba(216, 243, 239, 0.45);
  box-shadow: 0 6px 18px rgba(120, 140, 180, 0.1);
}

body.page-home .hero-atelier__kicker-dot {
  display: none;
}

body.page-home .hero-atelier__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.05rem, 4.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--home-ink);
  text-shadow: none;
}

body.page-home .hero-atelier__title span {
  display: block;
  color: var(--home-rose-deep);
  font-family: "Plus Jakarta Sans", "Syne", sans-serif;
  font-style: normal;
  font-weight: 500;
  margin-top: 0.12rem;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

body.page-home .hero-atelier__deck {
  color: var(--home-ink-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 32rem;
  text-shadow: none;
}

@keyframes homeHeroTextIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.page-home .hero-atelier__actions {
  animation: homeHeroCtaIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both;
}

@keyframes homeHeroCtaIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.page-home .hero-atelier__btn {
  transition:
    transform 0.28s ease,
    filter 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

body.page-home .hero-atelier__btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #1a1a40 0%, #2a3a5c 55%, #3d4a72 100%);
  border: none;
  box-shadow:
    0 14px 32px rgba(26, 26, 64, 0.38),
    0 0 28px rgba(26, 26, 64, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  position: relative;
  overflow: hidden;
}

body.page-home .hero-atelier__btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: homeHeroBtnShimmer 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes homeHeroBtnShimmer {
  0%,
  55% {
    transform: translateX(-120%);
  }
  80%,
  100% {
    transform: translateX(120%);
  }
}

body.page-home .hero-atelier__btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
  box-shadow:
    0 18px 40px rgba(26, 26, 64, 0.42),
    0 0 36px rgba(26, 26, 64, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

body.page-home .hero-atelier__btn--ghost {
  color: var(--home-rose-deep);
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid rgba(38, 166, 154, 0.65);
  box-shadow:
    0 10px 24px rgba(38, 166, 154, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.page-home .hero-atelier__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--home-rose);
  color: var(--home-rose-deep);
  transform: translateY(-3px);
  box-shadow:
    0 14px 28px rgba(38, 166, 154, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
}

/* Hide legacy stage slot — art + FX live in dedicated right-side layers */
body.page-home .hero-atelier__stage,
body.page-home .hero-atelier__stage--exact {
  display: none !important;
}

/* Premium FX — right image column only, same language as RM / PF heroes */
body.page-home .hero-atelier__fx {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 36%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

body.page-home .hero-atelier__wave {
  position: absolute;
  inset: -18% -12%;
  background:
    radial-gradient(ellipse 55% 40% at 18% 78%, rgba(158, 201, 232, 0.18), transparent 62%),
    radial-gradient(ellipse 48% 36% at 82% 22%, rgba(125, 211, 199, 0.16), transparent 60%),
    linear-gradient(
      115deg,
      transparent 20%,
      rgba(216, 243, 239, 0.12) 42%,
      rgba(158, 201, 232, 0.08) 58%,
      transparent 78%
    );
  background-size: 140% 140%;
  animation: homeExactWaveDrift 14s ease-in-out infinite alternate;
  mix-blend-mode: soft-light;
  opacity: 0.85;
}

@keyframes homeExactWaveDrift {
  0% {
    background-position: 0% 40%, 100% 20%, 10% 50%;
    transform: translate3d(-2%, 1%, 0) scale(1);
  }
  100% {
    background-position: 80% 60%, 20% 70%, 70% 30%;
    transform: translate3d(2%, -2%, 0) scale(1.04);
  }
}

body.page-home .hero-atelier__glow {
  position: absolute;
  width: 42%;
  height: 58%;
  right: 6%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(125, 211, 199, 0.28) 0%,
    rgba(38, 166, 154, 0.12) 42%,
    transparent 72%
  );
  filter: blur(18px);
  animation: homeExactGlowPulse 7s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes homeExactGlowPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.06);
  }
}

body.page-home .hero-atelier__bubble {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: radial-gradient(
    circle at 30% 28%,
    rgba(255, 255, 255, 0.55),
    rgba(125, 211, 199, 0.14) 45%,
    rgba(158, 201, 232, 0.08) 70%,
    transparent 75%
  );
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.25);
  animation: homeExactBubbleFloat 7.5s ease-in-out infinite;
}

body.page-home .hero-atelier__bubble--a {
  width: 2.4rem;
  height: 2.4rem;
  left: 58%;
  top: 18%;
}

body.page-home .hero-atelier__bubble--b {
  width: 1.5rem;
  height: 1.5rem;
  left: 72%;
  top: 12%;
  animation-delay: -2.2s;
  animation-duration: 8.5s;
}

body.page-home .hero-atelier__bubble--c {
  width: 1.1rem;
  height: 1.1rem;
  left: 64%;
  top: 38%;
  animation-delay: -4.1s;
  animation-duration: 6.8s;
}

body.page-home .hero-atelier__bubble--d {
  width: 1.85rem;
  height: 1.85rem;
  left: 86%;
  top: 42%;
  animation-delay: -1.4s;
  animation-duration: 9.2s;
  opacity: 0.7;
}

body.page-home .hero-atelier__bubble--e {
  width: 0.85rem;
  height: 0.85rem;
  left: 52%;
  top: 52%;
  animation-delay: -5.2s;
  animation-duration: 7.1s;
}

@keyframes homeExactBubbleFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(6px, -14px, 0) scale(1.06);
    opacity: 0.85;
  }
}

body.page-home .hero-atelier__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(125, 211, 199, 0.75);
  animation: homeExactParticle 5.5s ease-in-out infinite;
}

body.page-home .hero-atelier__particle--a {
  left: 48%;
  top: 22%;
}

body.page-home .hero-atelier__particle--b {
  left: 82%;
  top: 28%;
  width: 3px;
  height: 3px;
  animation-delay: -1.8s;
  animation-duration: 6.2s;
}

body.page-home .hero-atelier__particle--c {
  left: 68%;
  top: 48%;
  width: 3px;
  height: 3px;
  animation-delay: -3.4s;
  animation-duration: 7s;
}

body.page-home .hero-atelier__particle--d {
  left: 76%;
  top: 16%;
  width: 2px;
  height: 2px;
  background: rgba(232, 212, 139, 0.95);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.75);
  animation-delay: -0.8s;
  animation-duration: 6.6s;
}

body.page-home .hero-atelier__particle--e {
  left: 90%;
  top: 58%;
  width: 3px;
  height: 3px;
  background: rgba(232, 212, 139, 0.9);
  box-shadow: 0 0 9px rgba(212, 175, 55, 0.65);
  animation-delay: -2.6s;
  animation-duration: 7.4s;
}

@keyframes homeExactParticle {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.35;
  }
  50% {
    transform: translate3d(-8px, -12px, 0);
    opacity: 0.95;
  }
}

body.page-home .hero-atelier__gold {
  position: absolute;
  inset: -10% -20%;
  background: linear-gradient(
    125deg,
    transparent 38%,
    rgba(232, 212, 139, 0.05) 46%,
    rgba(212, 175, 55, 0.16) 50%,
    rgba(232, 212, 139, 0.06) 54%,
    transparent 64%
  );
  animation: homeExactGoldShimmer 8.5s ease-in-out infinite;
  mix-blend-mode: color-dodge;
  opacity: 0.55;
}

@keyframes homeExactGoldShimmer {
  0%,
  100% {
    transform: translateX(-18%) translateY(3%) rotate(0.5deg);
    opacity: 0.25;
  }
  45% {
    opacity: 0.7;
  }
  50% {
    transform: translateX(16%) translateY(-4%) rotate(-0.5deg);
    opacity: 0.55;
  }
}

body.page-home .hero-atelier__shimmer {
  position: absolute;
  inset: -20% -30%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 48%,
    rgba(125, 211, 199, 0.1) 52%,
    transparent 65%
  );
  animation: homeExactShimmer 9s ease-in-out infinite;
  mix-blend-mode: soft-light;
}

@keyframes homeExactShimmer {
  0%,
  100% {
    transform: translateX(-12%) translateY(4%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(10%) translateY(-2%);
    opacity: 0.7;
  }
}

body.page-home .hero-atelier__glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 255, 255, 0.02) 48%,
    rgba(255, 255, 255, 0.18) 51%,
    rgba(255, 255, 255, 0.03) 54%,
    transparent 62%
  );
  background-size: 220% 100%;
  animation: homeExactGlassSweep 7.5s ease-in-out infinite;
  mix-blend-mode: soft-light;
  opacity: 0.65;
}

@keyframes homeExactGlassSweep {
  0%,
  100% {
    background-position: 120% 0;
    opacity: 0.2;
  }
  40% {
    opacity: 0.7;
  }
  55% {
    background-position: -40% 0;
    opacity: 0.35;
  }
}

body.page-home .hero-atelier__dots {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.85rem;
  align-items: center;
}

body.page-home .hero-atelier__dots span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(38, 166, 154, 0.35);
}

body.page-home .hero-atelier__dots span.is-active {
  width: 0.52rem;
  height: 0.52rem;
  background: var(--home-rose);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(38, 166, 154, 0.55);
}

@media (max-width: 899px) {
  body.page-home .hero-atelier__shell--exact-ref,
  body.page-home .home-landing-hero--exact {
    grid-template-columns: 1fr;
    min-height: 0 !important;
    width: 100%;
    max-width: 100%;
  }

  body.page-home .hero-atelier {
    padding: 0;
    max-width: 100%;
    overflow: hidden;
  }

  body.page-home .home-landing-hero__exact-art,
  body.page-home .hero-atelier__exact-art {
    object-position: center center;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  /* Same % as desktop — panel keeps aspect-ratio; only tighten tap comfort slightly */
  body.page-home .home-landing-hero__hit--shop {
    left: 6.8%;
    top: 72.2%;
    width: 16%;
    height: 7.4%;
  }

  body.page-home .home-landing-hero__hit--browse {
    left: 24%;
    top: 72.2%;
    width: 13.2%;
    height: 7.4%;
  }
}

@media (max-width: 899px) {
  body.page-home .hero-atelier__bubble,
  body.page-home .hero-atelier__particle,
  body.page-home .hero-atelier__shimmer,
  body.page-home .hero-atelier__wave,
  body.page-home .hero-atelier__glow,
  body.page-home .hero-atelier__gold,
  body.page-home .hero-atelier__glass {
    opacity: 0.72;
  }

  body.page-home .hero-atelier__btn--primary::after,
  body.page-home .home-landing-hero__hits {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .hero-atelier__shell--exact-ref,
  body.page-home .hero-atelier__shell--exact-ref::before,
  body.page-home .hero-atelier__exact-art,
  body.page-home .hero-atelier__kicker,
  body.page-home .hero-atelier__title,
  body.page-home .hero-atelier__deck,
  body.page-home .hero-atelier__actions,
  body.page-home .hero-atelier__bubble,
  body.page-home .hero-atelier__particle,
  body.page-home .hero-atelier__shimmer,
  body.page-home .hero-atelier__wave,
  body.page-home .hero-atelier__glow,
  body.page-home .hero-atelier__gold,
  body.page-home .hero-atelier__glass,
  body.page-home .hero-atelier__btn--primary::after {
    animation: none;
  }

  body.page-home .home-landing-hero__hits {
    animation: none;
  }

  body.page-home .hero-atelier__exact-art {
    transform: none;
  }

  body.page-home .hero-atelier__btn--primary:hover,
  body.page-home .hero-atelier__btn--ghost:hover {
    transform: none;
  }
}
body.page-home .band-shop--home {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(158, 201, 232, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 45% at 95% 20%, rgba(216, 243, 239, 0.14), transparent 50%),
    transparent;
}

body.page-home .section-head--featured .band-title,
body.page-home .testimonials-title,
body.page-home .connect-strip__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--home-ink);
}

body.page-home .featured-eyebrow {
  color: var(--home-rose-deep);
  letter-spacing: 0.16em;
}

body.page-home .band-shop--home .band-tagline {
  color: rgba(26, 26, 64, 0.45);
}

body.page-home .home-featured-toolbar.cg-filter-panel--light,
body.page-home .cg-filter-panel--light.home-featured-toolbar {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  box-shadow: var(--home-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.page-home .featured-cat-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--home-shadow);
  background: #ffffff;
  overflow: hidden;
}

body.page-home .featured-cat-card:hover {
  box-shadow: 0 22px 48px rgba(100, 120, 160, 0.16);
  border-color: rgba(38, 166, 154, 0.45);
}

/* Home featured hub — full-bleed image, larger media well (not listing contain) */
body.page-home .featured-cat-card__media {
  aspect-ratio: 3 / 2;
  min-height: clamp(9.5rem, 26vw, 13.5rem);
  padding: 0;
  background: transparent;
}

body.page-home .featured-cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fit-image contain — centered in 3:2 well (overrides full-bleed cover above) */
body.page-home .featured-cat-card__media:has(> img[data-image-fit="contain"]) {
  background: #ffffff;
  padding: 0;
}

body.page-home .featured-cat-card__media img[data-image-fit="contain"] {
  flex: none !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.page-home .quote-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(216, 243, 239, 0.35);
  box-shadow: var(--home-shadow);
}

body.page-home .quote-card--accent {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(216, 243, 239, 0.28));
}

body.page-home .connect-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(125, 211, 199, 0.28);
  box-shadow: var(--home-shadow);
}

body.page-home .site-footer,
body.page-home footer.site-footer {
  background: linear-gradient(180deg, #f8f9fa 0%, #eef2f8 100%);
  color: var(--home-ink);
}
