/* ============================================
   OMOI TALES — Design System & Styles
   ============================================ */

/* --- Google Fonts loaded via <link> in HTML --- */

/* --- Design Tokens --- */
:root {
  --purple-deep: #1E0F2E;
  --purple-dark: #2A1A3E;
  --purple-mid: #3D2656;
  --lavender: #B39DDB;
  --lavender-light: #D1C4E9;
  --lavender-pale: #EDE7F6;
  --mustard: #E8A035;
  --mustard-light: #F5C163;
  --coral: #E8637A;
  --coral-light: #F4A0AD;
  --teal: #4DB6AC;
  --white: #FFFFFF;
  --off-white: #FAF5FF;
  --cream: #FFF8F0;
  --text-dark: #1E0F2E;
  --text-body: #3D2656;
  --text-muted: #7B6B8A;
  --text-on-dark: #F0E6FF;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-handwritten: 'Indie Flower', cursive;
  --font-body: 'Roboto', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(30, 15, 46, 0.08);
  --shadow-md: 0 4px 16px rgba(30, 15, 46, 0.12);
  --shadow-lg: 0 8px 32px rgba(30, 15, 46, 0.16);
  --shadow-glow: 0 0 24px rgba(179, 157, 219, 0.3);

  --max-width: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --page-bg: #EDE0FF;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--page-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

.handwritten {
  font-family: var(--font-handwritten);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mustard);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--mustard);
  color: var(--purple-deep);
}
.btn-primary:hover {
  background: var(--mustard-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 160, 53, 0.35);
}

.btn-secondary {
  background: var(--lavender);
  color: var(--purple-deep);
}
.btn-secondary:hover {
  background: var(--lavender-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  border: 2px solid var(--lavender);
  color: var(--lavender);
  background: transparent;
}
.btn-outline:hover {
  background: var(--lavender);
  color: var(--purple-deep);
}

.btn-dark {
  background: var(--purple-deep);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--purple-mid);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* --- Announcement Bar --- */
.announcement-bar {
  background: var(--purple-deep);
  color: var(--lavender-light);
  text-align: center;
  padding: 10px var(--gutter);
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  z-index: 100;
  overflow: hidden;
  height: 40px;
}

.announcement-bar .announcements {
  position: relative;
  height: 20px;
}

.announcement-bar .announcement-item {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.announcement-bar .announcement-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: calc(100% - 48px);
  max-width: 900px;
  background: #fff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-pill);
  padding: 0 24px;
  box-shadow: 0 8px 32px rgba(30, 15, 46, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  background: #fff;
  box-shadow: 0 8px 40px rgba(30, 15, 46, 0.15);
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--purple-deep);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mustard);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--purple-deep);
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--purple-deep);
}

.nav-cart .cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--mustard);
  color: var(--purple-deep);
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-deep);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--page-bg);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple-deep);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--purple-deep);
}

/* --- Hero Section (Aardvark replica) --- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #B597DF;
  color: #000;
  height: calc(50vh + 32.3vw);
  min-height: 34rem;
  padding: 0;
  clip-path: inset(0 round 0 0 8.333vw 8.333vw);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  color: #CFADFF;
}

.hero__sequence {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__item {
  position: absolute;
  display: block;
  object-fit: contain;
  filter: drop-shadow(-1.4vw 1.8vw 1.6vw rgba(30, 15, 46, 0.25));
  will-change: transform;
}

.hero__item--main {
  width: 33vw;
  aspect-ratio: 3 / 4;
  left: 54vw;
  top: 9vw;
  --r: -10deg;
  transform: rotate(var(--r));
}

.hero__item--top {
  width: 17vw;
  aspect-ratio: 3 / 4;
  left: 2vw;
  top: -13vw;
  --r: 58deg;
  transform: rotate(var(--r));
}

.hero__item--bottom {
  width: 18vw;
  aspect-ratio: 3 / 4;
  left: 26vw;
  bottom: -13vw;
  --r: 34deg;
  transform: rotate(var(--r));
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100vh;
  min-height: 34rem;
  padding-inline: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0;
}

.hero__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__title {
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  font-size: 7vw;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.035em;
  color: #000;
  max-width: 64.2vw;
  margin: 0 0 2.2vw;
}

.hero__paragraph {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.25vw;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #000;
  max-width: 21.93vw;
  margin: 0 0 0.85vw;
}

.button-alt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #FFD166;
  border-radius: 999px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.button-alt * {
  cursor: pointer;
}

.button-alt__icon {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.button-alt:hover .button-alt__icon {
  transform: translateX(0.4vw);
}

.hero__text-outer {
  position: absolute;
  z-index: 2;
  left: 88vw;
  top: 29vw;
  width: 9vw;
  transform: rotate(-8deg);
}

.hero__text {
  font-family: 'Indie Flower', cursive;
  font-size: 1.67vw;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #3B308F;
  text-align: center;
}

/* --- Our Worlds (Bombon-style burst cards) --- */
.worlds-head {
  position: relative;
  text-align: center;
  margin-bottom: clamp(72px, 8vw, 120px);
}

.worlds-head__note {
  position: absolute;
  left: 2%;
  top: -0.5em;
  font-family: 'Indie Flower', cursive;
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.1;
  color: #3B308F;
  transform: rotate(-10deg);
}

.worlds-head__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(56px, 7.5vw, 116px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: #000;
  margin: 0 0 22px;
}

.worlds-head__sub {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #000;
}

.worlds-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(64px, 5.5vw, 80px) clamp(20px, 1.7vw, 24px);
}

.world {
  position: relative;
  z-index: 0;
  display: block;
  color: #212121;
}

.world:hover,
.world.is-burst {
  z-index: 2;
}

.world__media {
  position: relative;
}

.world__panel {
  position: relative;
  aspect-ratio: 15 / 8;
  border-radius: clamp(16px, 1.67vw, 24px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
}

.world__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.world__product {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  max-width: 72%;
  max-height: 84%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(30, 15, 46, 0.22));
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.world:hover .world__pattern,
.world.is-burst .world__pattern {
  transform: scale(1.5);
}

.world:hover .world__product,
.world.is-burst .world__product {
  transform: scale(1.08) rotate(-4deg);
}

.world__body {
  padding: 32px 24px 0;
}

.world__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 3.47vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #212121;
  margin: 0 0 16px;
}

.world__desc {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(16px, 1.66vw, 23px);
  font-weight: 500;
  line-height: 1.4;
  color: #212121;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  margin: 0 0 28px;
}

.world__btn {
  display: inline-block;
  padding: 12px 31px;
  border-radius: 999px;
  background: #FFD166;
  color: #212121;
  font-family: 'Roboto', sans-serif;
  font-size: 15.6px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.world:hover .world__btn {
  transform: scale(1.06);
}


.world--light .world__product {
  filter: drop-shadow(0 0 18px rgba(255, 176, 64, 0.9)) drop-shadow(0 0 48px rgba(255, 150, 40, 0.6));
}

.world--figurines { --panel: #FBE3C4; }
.world--paint     { --panel: #FFD9E4; }
.world--light     { --panel: #E2D7FF; }
.world--phone     { --panel: #CFF1EA; }
.world--desk      { --panel: #F7EBD6; }
.world--play      { --panel: #FFEFB8; }

@media (max-width: 767px) {
  .worlds-head__note {
    position: static;
    display: inline-block;
    margin-bottom: 18px;
  }

  .worlds-list {
    display: flex;
    gap: 16px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter);
    scrollbar-width: none;
  }

  .worlds-list::-webkit-scrollbar { display: none; }

  .world {
    flex: 0 0 80vw;
    scroll-snap-align: start;
  }

  .world__panel { aspect-ratio: 4 / 3; }

  .world__body {
    padding: 20px 4px 0;
  }

  .world__title { font-size: 26px; margin-bottom: 10px; }
  .world__desc { font-size: 15px; margin-bottom: 18px; }
  .world__btn { padding: 11px 26px; font-size: 14px; }

}

/* --- Instagram (post frames) --- */
.insta {
  --insta-pad: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  padding: clamp(72px, 8vw, 120px) 0;
}

.insta__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--insta-pad);
}

.insta__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(44px, 5.5vw, 84px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 18px;
}

.insta__sub {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(16px, 1.42vw, 22px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #000;
  margin: 0;
}

.insta__cta,
.insta__cta:hover {
  flex: none;
  padding: 16px 30px;
  border-radius: 999px;
  background: #1D0D2A;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.insta__cta { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.insta__cta:hover { transform: scale(1.04); }

.insta__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 var(--insta-pad);
  margin-top: clamp(48px, 5vw, 72px);
}

.insta__post {
  position: relative;
  flex: none;
  display: block;
  width: clamp(220px, 21vw, 320px);
  overflow: hidden;
  border: 1px solid #DBDBDB;
  border-radius: 12px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 18px;
  box-shadow: 0 10px 30px rgba(30, 13, 42, 0.12);
  transform: translateY(var(--ty, 0)) rotate(var(--rot, 0deg));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.insta__post + .insta__post { margin-left: -2.5vw; }

.insta__post:nth-child(1) { --rot: -5deg; --ty: 10px; }
.insta__post:nth-child(2) { --rot: 3.5deg; --ty: -14px; }
.insta__post:nth-child(3) { --rot: -2deg; --ty: 6px; }
.insta__post:nth-child(4) { --rot: 5deg; --ty: -8px; }

.insta__post:hover {
  z-index: 5;
  transform: translateY(-10px) rotate(0deg) scale(1.05);
  box-shadow: 0 24px 48px rgba(30, 13, 42, 0.2);
}

.insta__post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.insta__avatar {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 2px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75);
}

.insta__avatar img {
  width: 100%;
  height: 100%;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

.insta__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.insta__who strong { font-weight: 600; }
.insta__who small { font-size: 12px; line-height: 16px; color: #737373; }

.insta__more {
  font-size: 10px;
  letter-spacing: 1px;
  color: #000;
}

.insta__media {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.insta__actions {
  display: flex;
  gap: 14px;
  padding: 10px 12px 6px;
}

.insta__icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #000;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.insta__icon--save { margin-left: auto; }

.insta__actions { padding-bottom: 12px; }

@media (max-width: 767px) {
  .insta__head { flex-direction: column; align-items: flex-start; }
  /* endless right-to-left marquee: JS appends one copy of the posts, the track slides by half */
  .insta__grid {
    justify-content: flex-start;
    width: max-content;
    padding: 20px 0 28px;
    animation: insta-marquee 26s linear infinite;
  }
  .insta__grid:active { animation-play-state: paused; }
  .insta__post { width: 72vw; margin-right: -4vw; }
  .insta__post + .insta__post { margin-left: 0; }
  .insta__post:nth-child(4n+1) { --rot: -5deg; --ty: 10px; }
  .insta__post:nth-child(4n+2) { --rot: 3.5deg; --ty: -14px; }
  .insta__post:nth-child(4n+3) { --rot: -2deg; --ty: 6px; }
  .insta__post:nth-child(4n+4) { --rot: 5deg; --ty: -8px; }
}

@keyframes insta-marquee {
  to { transform: translateX(-50%); }
}

/* --- Reviews (Henrietta stacked testimonials) --- */
.testi {
  position: relative;
  height: 280vh;
}

.testi__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(96px, 7.9vw) var(--gutter) 2.8vw;
}

.testi__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 66vw;
  text-align: center;
}

.testi__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(44px, 6vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #1D0D2A;
  margin: 0;
}

.testi__tag {
  position: relative;
  margin-top: -0.6em;
  padding: 0.55em 1.6em;
  border-radius: 4px;
  background: #EBA44A;
  color: #1D0D2A;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(14px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: 0.04em;
  transform: rotate(-3deg);
}

.testi__stack {
  position: relative;
  flex: 1;
  margin-top: 2vw;
  width: 100%;
  display: grid;
  place-items: center;
}

.testi__card {
  grid-area: 1 / 1;
  position: relative;
  width: 40vw;
  min-height: 22.5vw;
  padding: 7.5vw 3vw 3vw;
  border-radius: 14px;
  background: var(--bg);
  color: var(--fg);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.testi__card--orange { --bg: #1D0D2A; --fg: #FFF3DC; --tag: #B597DF; --ink: #1D0D2A; }
.testi__card--yellow { --bg: #2F8F80; --fg: #FFF3DC; --tag: #FFF3DC; --ink: #2F8F80; }
.testi__card--red    { --bg: #B597DF; --fg: #1D0D2A; --tag: #1D0D2A; --ink: #B597DF; }

.testi__card:nth-child(2) { transform: translateY(110vh) rotate(-10deg); }
.testi__card:nth-child(3) { transform: translateY(110vh) rotate(10deg); }
.testi__card:nth-child(2).is-in { transform: rotate(5deg); }
.testi__card:nth-child(3).is-in { transform: rotate(-5deg); }

.testi__quote {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 42px;
  fill: var(--fg);
  opacity: 0.85;
}

.testi__rating {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #FFF3DC;
  color: #1D0D2A;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.testi__client {
  display: flex;
  align-items: center;
  gap: 2vw;
}

.testi__initials {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(64px, 6vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #FFF3DC;
  color: #1D0D2A;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.testi__name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 6px;
}

.testi__place {
  display: inline-block;
  padding: 3px 14px;
  background: var(--tag);
  color: var(--ink);
  font-family: 'Roboto', sans-serif;
  font-size: clamp(14px, 1.3vw, 19px);
  font-weight: 600;
}

.testi__text {
  margin: 2vw 0 0;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 500;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .testi { height: 260vh; }
  .testi__sticky { padding-top: 110px; }
  .testi__head { max-width: none; }
  .testi__title { font-size: 10.5vw; }
  .testi__tag { margin-top: 14px; }
  /* frame hugs its content; the spacer gives scroll room for the cards to stack */
  .testi { height: auto; }
  .testi::after { content: ''; display: block; height: 110vh; }
  .testi__sticky { height: auto; padding-bottom: 48px; }
  .testi__stack { flex: none; margin-top: 36px; }
  .testi__card { width: 86vw; min-height: 0; padding: 72px 22px 26px; }
  .testi__client { gap: 16px; }
  .testi__text { margin-top: 18px; }
}

/* --- Gift It / Keep It (Ring Pop text section) --- */
.wear {
  position: relative;
  overflow: hidden;
  background: #1D0D2A;
}

.wear__bg {
  position: absolute;
  inset: -8% 0;
  overflow: hidden;
  pointer-events: none;
}

.wear__collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3vw 2vw;
  padding: 0 2vw;
  will-change: transform;
}

.wear__tile {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(1.2vw 1.4vw 0.8vw rgba(0, 0, 0, 0.45));
  transform: rotate(-24deg);
}

.wear__tile:nth-child(4n+1) { transform: rotate(16deg) scale(0.92); }
.wear__tile:nth-child(5n+2) { transform: rotate(-10deg) scale(1.06); }
.wear__tile:nth-child(7n+3) { transform: rotate(28deg); }

.wear__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8vw var(--gutter) 10vw;
}

.wear__label {
  padding: 5px 20px 10px;
  border-radius: 9px;
  overflow: hidden;
}

.wear__label--1 { --rot: -9deg; background: #FFB9E6; color: #DB1F60; }
.wear__label--2 { --rot: 5deg; background: #2364E7; color: #64F525; margin-top: 5vw; }
.wear__label--3 { --rot: -4deg; background: #FFF200; color: #E0521E; margin-top: 4vw; }

.wear__label { transform: translateY(var(--y, 0px)) rotate(var(--rot)); }

.wear__text {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(56px, 8.5vw, 140px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(80px);
  transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1);
}

.wear__btn {
  margin-top: 7vw;
  padding: 26px 62px;
  border-radius: 12px;
  background: #FCFCFC;
  color: #38292B;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(38px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1), opacity 0.4s ease;
}

.wear__btn:hover { background: #fff; }

.wear.is-in .wear__text,
.wear.is-in .wear__btn {
  transform: none;
  opacity: 1;
}

@media (max-width: 767px) {
  .wear__collage { grid-template-columns: repeat(3, 1fr); gap: 8vw 4vw; }
  .wear__content { padding: 22vw var(--gutter) 26vw; }
  .wear__text { font-size: 12.5vw; }
  .wear__label--2 { margin-top: 14vw; }
  .wear__label--3 { margin-top: 10vw; }
  .wear__btn { margin-top: 12vw; padding: 18px 44px; font-size: 18px; }
}

/* --- Bestsellers (Ring Pop testimonial carousel) --- */
.best {
  --best-pad: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 6vw, 96px);
  background: var(--page-bg);
}

.best__head {
  padding: 0 var(--best-pad);
}

.best__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 18px;
}

.best__sub {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(16px, 1.42vw, 22px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #000;
  margin: 0;
}

.best__carousel {
  position: relative;
  margin-top: clamp(40px, 5.5vw, 80px);
}

.best__track {
  display: flex;
  gap: clamp(20px, 2.95vw, 44px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--best-pad);
  padding: 4px var(--best-pad) 40px;
  scrollbar-width: none;
}

.best__track::-webkit-scrollbar { display: none; }

.best__slide {
  flex: none;
  width: clamp(220px, 17.5vw, 300px);
  scroll-snap-align: start;
}

.best__slide:nth-child(odd) { padding-top: 30px; }

.best__card {
  position: relative;
  aspect-ratio: 246 / 470;
  overflow: hidden;
  background: #1D0D2A;
  transform: rotate(1.9deg);
  transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1);
}

.best__slide:nth-child(even) .best__card { transform: rotate(-1.95deg); }
.best__slide:nth-child(4n+3) .best__card { transform: rotate(1.35deg); }

.best__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.best__gradient {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(rgba(29, 13, 42, 0) 0%, rgb(29, 13, 42) 100%);
}

.best__caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px 22px;
  text-align: center;
  color: #fff;
}

.best__name {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.best__price {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 400;
  opacity: 0.85;
}

.best__buy {
  margin-top: 6px;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: #FFD166;
  color: #000;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.best__buy:hover { transform: scale(1.06); }

.best__head {
  position: relative;
}

.best__nav {
  position: absolute;
  right: var(--best-pad);
  bottom: 0;
  display: flex;
  gap: 12px;
}

.best__arrow {
  position: relative;
  width: 54px;
  height: 54px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.best__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.best__arrow--prev { transform: scaleX(-1); }

.best__arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #1D0D2A;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.best__arrow:not(:disabled):hover::after { transform: scale(1.08); }

.best__arrow::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 23px;
  height: 16px;
  margin: -8px 0 0 -11.5px;
  background: url("data:image/svg+xml,%3Csvg width='23' height='16' viewBox='0 0 23 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7.57178H20.1667' stroke='%23FCFCFC' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M14.1429 1L20.7144 7.57143L14.1429 14.1429' stroke='%23FCFCFC' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
}

@media (max-width: 767px) {
  .best__slide { width: 62vw; }
  .best__slide:nth-child(odd) { padding-top: 20px; }
  .best__name { font-size: 16px; }
  .best__arrow { width: 44px; height: 44px; }
  .best__nav { gap: 8px; }
  .best__sub { padding-right: 104px; }
}

/* --- How It Works (Aardvark flow cards) --- */
.flow {
  --grid-margin: 1.5em;
  position: relative;
  z-index: 0;
  font-size: min(0.8333vw, 16px);
  background: #EBA44A;
  clip-path: inset(var(--grid-margin) round 10em);
  overflow: hidden;
}

.flow__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  color: #fff;
  opacity: 0.5;
  pointer-events: none;
}

.flow__bg-svg {
  display: block;
  width: 100%;
  height: auto;
}

.flow__bg-svg--mobile { display: none; }

.flow__inner {
  padding: var(--grid-margin);
}

.flow__header {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 7.5em max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter))) 0;
}

.flow__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 6.5em;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: #000;
  margin: 0;
}

.flow__text-wrap {
  position: relative;
  margin-left: 2.625em;
  opacity: 0.75;
}

.flow__text-outer {
  position: absolute;
  bottom: -4.5em;
  transform: rotate(2.382deg);
}

.flow__text {
  font-family: 'Indie Flower', cursive;
  font-size: 2em;
  line-height: 1;
  text-align: center;
  color: #3B308F;
  width: 11em;
  margin: 0;
}

.flow__cta {
  position: absolute;
  z-index: 1;
  top: 6em;
  right: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.375em;
}

.flow__cta-logo {
  width: 7em;
  height: auto;
  user-select: none;
}

.flow__tabs {
  display: flex;
  justify-content: center;
  gap: 0.75em;
  padding-top: 7em;
}

.flow__tab {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5em;
  font-weight: 600;
  padding: 0.55em 1.2em;
  border: 2px solid #000;
  border-radius: 999px;
  background: #fff;
  color: #000;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flow__tab:hover { transform: translateY(-2px); }

.flow__tab.is-active {
  background: #1D0D2A;
  border-color: #1D0D2A;
  color: #fff;
}

.flow__cta-btn {
  background: #1D0D2A;
  color: #fff;
}

.flow__content {
  padding: 4em 0 7.5em;
}

.flow__list {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow__list[hidden] { display: none; }

.flow__list-item {
  position: relative;
  flex: none;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow__list-item + .flow__list-item { margin-left: -5em; }

.flow__list-item.is-hover { z-index: 5; }

.flow__card {
  display: flex;
  width: 25em;
  height: 37.5em;
  border-radius: 2em;
  background: #1D0D2A;
  color: #fff;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow__card--2 { background: #FFF3DC; color: #000; }
.flow__card--3 { background: #B597DF; color: #000; }
.flow__card--4 { background: #2F8F80; color: #000; }

/* Dark plum card: invert the line art */
.flow__card--1 .flow__ill * { stroke: #fff; }
.flow__card--1 .flow__ill .f { fill: #fff; }
.flow__card--1 .flow__ill .w { fill: #1D0D2A; }
.flow__card--1 .flow__ill .ws { stroke: #1D0D2A; }

.flow__card-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25em;
  width: 100%;
  padding: 2.5em 1.25em 1.5em;
}

.flow__card-header {
  display: flex;
  justify-content: center;
}

.flow__card-step {
  font-family: 'Indie Flower', cursive;
  font-size: 2.5em;
  line-height: 1;
}

.flow__card-img-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow__ill {
  width: 100%;
  height: 100%;
  max-height: 17em;
  overflow: visible;
}

.flow__ill * {
  fill: none;
  stroke: #000;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow__ill .f { fill: #000; }
.flow__ill .w { fill: #fff; }
.flow__ill .ws { stroke: #fff; stroke-width: 8; }

.flow__card-content {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  padding-right: 1em;
}

.flow__card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.5em;
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin: 0;
}

.flow__card-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5em;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

@media (max-width: 991px) {
  .flow {
    font-size: 16px;
    --grid-margin: 0.75em;
    clip-path: inset(var(--grid-margin) round 2.5em);
  }

  .flow__bg-svg--desktop { display: none; }
  .flow__bg-svg--mobile { display: block; }

  .flow__header {
    justify-content: center;
    padding-top: 4.5em;
  }

  .flow__title { font-size: 3.5em; text-align: center; }

  .flow__text-wrap,
  .flow__cta { display: none; }

  .flow__tabs { padding-top: 1.75em; gap: 0.5em; }

  .flow__tab { font-size: 0.95em; }

  .flow__content { padding: 1.5em 0 2.5em; }

  .flow__list {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 1.5em calc(50% - 10.125em);
  }

  .flow__list::-webkit-scrollbar { display: none; }

  .flow__list-item {
    scroll-snap-align: center;
    padding: 0 0.375em;
  }

  .flow__list-item + .flow__list-item { margin-left: 0; }

  .flow__card {
    width: 18.75em;
    height: 28.125em;
    border-radius: 1.5em;
  }

  .flow__card-inner { padding: 1.875em 0.9375em 1.125em; }
  .flow__card-step { font-size: 1.875em; }
  .flow__card-title { font-size: 1.875em; }
  .flow__card-text { font-size: 1em; }
  .flow__card-content { gap: 0.5625em; padding-right: 0.75em; }
}

/* --- Pop Statement (Bucks-style word pop) --- */
.pop-statement {
  padding: 140px 0;
}

.pop-text {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: clamp(30px, 4.17vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--purple-deep);
  text-align: center;
  max-width: 16.5em;
  margin: 0 auto;
}

.pop-icon {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: -0.12em;
  margin: 0 0.08em;
}

.pop-word {
  display: inline-block;
}

.js-pop .pop-word {
  opacity: 0;
}

@media (max-width: 767px) {
  .pop-statement {
    padding: 80px 0;
  }
}

body > section,
body > footer {
  overflow-x: clip;
}

@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: 0;
    clip-path: inset(0 round 0 0 2.5rem 2.5rem);
  }

  .hero__bg-svg {
    position: absolute;
    width: 260vw;
    max-width: none;
    min-height: 0;
    left: -95vw;
    top: 4vw;
  }

  .hero__inner {
    height: auto;
    min-height: 0;
    padding-top: 190px;
    padding-bottom: 88vw;
  }

  .hero__content {
    height: auto;
    justify-content: flex-start;
  }

  .hero__title {
    font-size: 11vw;
    line-height: 0.88;
    max-width: none;
    margin-bottom: 28px;
  }

  .hero__paragraph {
    font-size: 16px;
    line-height: 1.4;
    max-width: 34ch;
    margin-bottom: 18px;
  }

  .button-alt {
    padding: 15px 26px;
  }

  .hero__item--main {
    width: 80vw;
    left: auto;
    right: -8vw;
    top: auto;
    bottom: -14vw;
    --r: -10deg;
  }

  .hero__item--top {
    display: none;
  }

  .hero__item--bottom {
    display: none;
  }

  .hero__text-outer {
    left: auto;
    right: var(--gutter);
    top: 104px;
    width: auto;
    transform: rotate(-6deg);
  }

  .hero__text {
    font-size: 21px;
  }
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-outline-light {
  border: 2px solid var(--purple-deep);
  color: var(--purple-deep);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--purple-deep);
  color: var(--white);
}

/* --- Ticker / Marquee --- */
.ticker {
  background: var(--mustard);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  animation: ticker-scroll 20s linear infinite;
}

.ticker-item {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 40px;
  flex-shrink: 0;
}

.ticker-item .ticker-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--purple-deep);
  border-radius: 50%;
  margin: 0 16px;
  vertical-align: middle;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Product Worlds (Category Cards) --- */
.product-worlds {
  padding: 100px 0;
  background: var(--page-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  color: var(--purple-deep);
  margin-top: 12px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.worlds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.world-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.world-card:hover {
  transform: translateY(-6px);
}

.world-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.world-card:hover .world-card-bg {
  transform: scale(1.08);
}

.world-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 15, 46, 0.85) 0%, rgba(30, 15, 46, 0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.world-card-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.world-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.world-card p {
  color: var(--lavender-light);
  font-size: 0.9rem;
}

.world-card .explore-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all 0.3s;
}

.world-card:hover .explore-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* World accent colors */
.world-card[data-world="figurines"] .world-card-overlay {
  background: linear-gradient(to top, rgba(42, 26, 62, 0.9) 0%, rgba(42, 26, 62, 0.15) 60%);
}
.world-card[data-world="paint"] .world-card-overlay {
  background: linear-gradient(to top, rgba(232, 99, 122, 0.85) 0%, rgba(232, 99, 122, 0.1) 60%);
}
.world-card[data-world="light"] .world-card-overlay {
  background: linear-gradient(to top, rgba(61, 38, 86, 0.9) 0%, rgba(61, 38, 86, 0.15) 60%);
}
.world-card[data-world="phone"] .world-card-overlay {
  background: linear-gradient(to top, rgba(126, 87, 194, 0.85) 0%, rgba(126, 87, 194, 0.1) 60%);
}
.world-card[data-world="home"] .world-card-overlay {
  background: linear-gradient(to top, rgba(232, 160, 53, 0.85) 0%, rgba(232, 160, 53, 0.1) 60%);
}
.world-card[data-world="art"] .world-card-overlay {
  background: linear-gradient(to top, rgba(77, 182, 172, 0.85) 0%, rgba(77, 182, 172, 0.1) 60%);
}

/* --- How It Works --- */
.how-it-works {
  background: var(--purple-deep);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.how-it-works .section-header h2 {
  color: var(--white);
}

.how-it-works .section-header p {
  color: var(--text-on-dark);
}

.how-it-works .section-label {
  color: var(--mustard);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--lavender) 0%, var(--mustard) 100%);
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--purple-mid);
  border: 2px solid var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step-number span {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--mustard);
}

.step-icon {
  font-size: 2.2rem;
}

.step-card h4 {
  color: var(--white);
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-on-dark);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Bestsellers --- */
.bestsellers {
  padding: 100px 0;
  background: var(--page-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--lavender-pale);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card-image .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--mustard);
  color: var(--purple-deep);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.product-card-image .quick-add {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  transition: all 0.3s;
}

.product-card:hover .quick-add {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-card-info {
  padding: 20px;
}

.product-card-info .product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.product-card-info h4 {
  font-size: 1.05rem;
  color: var(--purple-deep);
  margin-bottom: 4px;
}

.product-card-info .product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.product-card-info .product-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--purple-deep);
}

.product-card-info .product-price .from {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Shop by Occasion --- */
.occasions {
  padding: 80px 0;
  background: var(--page-bg);
}

.occasions-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.occasions-scroll::-webkit-scrollbar {
  display: none;
}

.occasion-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--lavender-pale);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--purple-deep);
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

.occasion-pill:hover {
  background: var(--lavender);
  color: var(--purple-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.occasion-pill .occasion-emoji {
  font-size: 1.3rem;
}

/* --- About / Story --- */
.about-section {
  padding: 100px 0;
  background: var(--page-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .section-label {
  margin-bottom: 16px;
  display: block;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-content .meaning {
  font-family: var(--font-handwritten);
  font-size: 1.4rem;
  color: var(--mustard);
  margin: 24px 0;
}

/* --- Reviews --- */
.reviews {
  padding: 100px 0;
  background: var(--page-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-stars {
  color: var(--mustard);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card blockquote {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lavender-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple-mid);
  font-size: 1rem;
}

.review-author-info h5 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--purple-deep);
}

.review-author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Instagram Feed --- */
.instagram-section {
  padding: 80px 0;
  background: var(--page-bg);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.instagram-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.instagram-item:hover img {
  transform: scale(1.08);
}

.instagram-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 15, 46, 0.3);
  opacity: 0;
  transition: opacity 0.3s;
}

.instagram-item:hover::after {
  opacity: 1;
}

/* --- Trust Badges --- */
.trust-badges {
  padding: 48px 0;
  background: var(--lavender-pale);
}

.badges-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--purple-deep);
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .worlds-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-grid::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    width: calc(100% - 32px);
    top: 12px;
  }

  .nav-pill {
    height: 52px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    aspect-ratio: 16/9;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .badges-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .badge-item {
    gap: 10px;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .badge-icon { flex: none; width: 36px; height: 36px; }

  .product-worlds,
  .how-it-works,
  .bestsellers,
  .about-section,
  .reviews {
    padding: 64px 0;
  }

  .occasions,
  .instagram-section,
  .newsletter {
    padding: 56px 0;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .worlds-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card-info {
    padding: 12px;
  }

  .product-card-info h4 {
    font-size: 0.95rem;
  }

  .product-card-info .product-desc {
    display: none;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .step-number {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
  }

  .step-icon {
    font-size: 1.7rem;
  }

  .step-card p {
    font-size: 0.85rem;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* Shop page specific styles */
.page-header {
  background: var(--purple-deep);
  padding: 136px 0 56px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-header p {
  color: var(--text-on-dark);
  margin-top: 8px;
}

.shop-layout {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}

.shop-filters {
  position: sticky;
  top: 90px;
  align-self: start;
}

.filter-group {
  margin-bottom: 28px;
}

.filter-group h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-deep);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--lavender-pale);
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
}

.filter-group label:hover {
  color: var(--purple-deep);
}

.filter-group input[type="checkbox"] {
  accent-color: var(--lavender);
}

.shop-products .products-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-filters {
    position: static;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 16px;
  }

  .filter-group {
    min-width: 180px;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .shop-products .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .shop-layout { padding-top: 28px; gap: 20px; }
  .shop-filters,
  .shop-products { min-width: 0; }
  .shop-filters {
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }
  .filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0 calc(-1 * var(--gutter)) 10px;
    padding: 2px var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .filter-group::-webkit-scrollbar { display: none; }
  .filter-group h4 {
    flex: none;
    margin: 0 4px 0 0;
    padding: 0;
    border: 0;
    font-size: 0.7rem;
    color: var(--text-muted);
  }
  .filter-group label {
    flex: none;
    position: relative;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--white);
    border: 1.5px solid var(--lavender-light);
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .filter-group label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .filter-group label:has(input:checked) {
    background: #1D0D2A;
    border-color: #1D0D2A;
    color: var(--white);
  }
}

@media (max-width: 480px) {
  .shop-products .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--lavender);
}

.breadcrumb span {
  margin: 0 6px;
}

/* Product detail page */
.product-detail {
  padding: 120px 0 80px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.product-gallery {
  position: sticky;
  top: 90px;
  align-self: start;
}

.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--lavender-pale);
  margin-bottom: 12px;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: flex;
  gap: 8px;
}

.product-gallery-thumbs img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
  border: 2px solid transparent;
}

.product-gallery-thumbs img.active,
.product-gallery-thumbs img:hover {
  opacity: 1;
  border-color: var(--lavender);
}

.product-info h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--purple-deep);
  margin-bottom: 8px;
}

.product-info .product-category-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mustard);
  margin-bottom: 16px;
}

.product-info .product-price-large {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--purple-deep);
  margin-bottom: 20px;
}

.product-info .product-price-large .from-text {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.product-info .product-description {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 28px;
}

.size-selector {
  margin-bottom: 28px;
}

.size-selector h4 {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.size-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.size-option {
  padding: 10px 20px;
  border: 2px solid var(--lavender-pale);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s;
}

.size-option:hover {
  border-color: var(--lavender);
}

.size-option.selected {
  border-color: var(--lavender);
  background: var(--lavender);
  color: var(--purple-deep);
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.product-actions .btn {
  flex: 1;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--lavender-pale);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--purple-deep);
}

.product-feature .feature-icon {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }
}

/* Whatsapp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 80;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ============================================
   BOLD ANIMATIONS & TRANSITIONS
   Inspired by Aardvark / Bombon / Henrietta
   ============================================ */

/* --- Scroll Reveal System --- */
[data-reveal] {
  opacity: 0;
  will-change: transform, opacity;
}

[data-reveal="up"] {
  transform: translateY(80px);
}

[data-reveal="down"] {
  transform: translateY(-60px);
}

[data-reveal="left"] {
  transform: translateX(-80px);
}

[data-reveal="right"] {
  transform: translateX(80px);
}

[data-reveal="scale"] {
  transform: scale(0.85);
}

[data-reveal="rotate"] {
  transform: rotate(-6deg) scale(0.9);
}

[data-reveal="flip"] {
  transform: perspective(800px) rotateY(25deg);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0) scale(1) rotate(0deg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="flip"].revealed {
  transform: perspective(800px) rotateY(0deg);
}

/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(40px);
}

[data-stagger].revealed > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-stagger].revealed > *:nth-child(1) { transition-delay: 0s; }
[data-stagger].revealed > *:nth-child(2) { transition-delay: 0.1s; }
[data-stagger].revealed > *:nth-child(3) { transition-delay: 0.2s; }
[data-stagger].revealed > *:nth-child(4) { transition-delay: 0.3s; }
[data-stagger].revealed > *:nth-child(5) { transition-delay: 0.4s; }
[data-stagger].revealed > *:nth-child(6) { transition-delay: 0.5s; }
[data-stagger].revealed > *:nth-child(7) { transition-delay: 0.6s; }
[data-stagger].revealed > *:nth-child(8) { transition-delay: 0.7s; }

/* --- Text Split Reveal --- */
.text-reveal {
  overflow: hidden;
  display: inline-block;
}

.text-reveal .text-reveal-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.revealed .text-reveal-inner {
  transform: translateY(0);
}

/* --- Elastic Hover Effects --- */
.elastic-hover {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.elastic-hover:hover {
  transform: translateY(-8px) scale(1.02);
}

.elastic-hover:active {
  transform: translateY(-2px) scale(0.98);
  transition-duration: 0.15s;
}

/* --- Magnetic Button Effect (enhanced by JS) --- */
.btn {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(30, 15, 46, 0.2);
}

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

/* --- Section Headings: Bold Entrance --- */
.section-header h2 {
  text-wrap: balance;
}

.section-header[data-reveal] h2 {
  opacity: 0;
  transform: translateY(50px) skewY(2deg);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header[data-reveal].revealed h2 {
  opacity: 1;
  transform: translateY(0) skewY(0deg);
}

.section-header[data-reveal] p {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.section-header[data-reveal].revealed p {
  opacity: 1;
  transform: translateY(0);
}

/* --- Product Cards: Playful Tilt --- */
.product-card {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 20px 48px rgba(30, 15, 46, 0.18);
}

.product-card:hover .product-card-image img {
  transform: scale(1.1) rotate(1deg);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- World Cards: Zoom & Glow --- */
.world-card {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}

.world-card:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow: 0 24px 56px rgba(30, 15, 46, 0.25);
}

.world-card:hover .world-card-image img {
  transform: scale(1.15);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Step Cards: Bounce In --- */
.step-card[data-reveal] {
  transform: translateY(60px) scale(0.9);
}

.step-card[data-reveal].revealed {
  transform: translateY(0) scale(1);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-number {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.15) rotate(8deg);
  background: var(--mustard);
}

.step-card:hover .step-number span {
  color: var(--purple-deep);
}

/* --- Review Cards: Slide & Fan --- */
.review-card {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
}

.review-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 16px 40px rgba(30, 15, 46, 0.15);
}

/* --- Occasion Pills: Bounce --- */
.occasion-pill {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
}

.occasion-pill:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 24px rgba(30, 15, 46, 0.15);
}

/* --- Instagram Grid Items: Pop --- */
.instagram-item {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.instagram-item:hover {
  transform: scale(1.08);
  z-index: 2;
}

/* --- Hero Section Enhanced --- */
@keyframes hero-slide-up {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-slide-right {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero__title {
  animation: hero-slide-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero__paragraph,
.button-alt {
  animation: hero-slide-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* --- Smooth Page Load --- */
@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: page-fade-in 0.6s ease-out;
}

/* --- Marquee / Ticker Enhanced --- */
@keyframes ticker-scroll-smooth {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-ticker-track {
  animation: ticker-scroll-smooth 18s linear infinite;
}

.trust-ticker:hover .trust-ticker-track {
  animation-play-state: paused;
}

/* --- Navbar Scroll Animation --- */
.navbar.scrolled {
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Parallax-like Depth (CSS-only) --- */
.parallax-slow {
  transition: transform 0.1s linear;
}

/* --- Fun Cursor Trail --- */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--mustard);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.15s ease-out;
}

/* --- Link Underline Animation --- */
a:not(.btn):not(.nav-link):not(.whatsapp-float) {
  position: relative;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero__title,
  .hero__paragraph,
  .button-alt {
    animation: none !important;
  }

  .hero__item,
  .trust-ticker-track {
    animation: none !important;
  }

  .elastic-hover:hover,
  .product-card:hover,
  .world-card:hover,
  .review-card:hover {
    transform: none !important;
  }
}

/* --- Footer (Aardvark-style) --- */
.footer {
  --ft-pad: 8vw;
  position: relative;
  background: #3F2370;
  color: var(--white);
  min-height: max(38vw, 520px);
  padding-top: calc(var(--ft-lip) + 5.8vw);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-top: -40px;
  --ft-lip: 8.3vw;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: var(--ft-lip);
  background: var(--ft-lip-bg, var(--page-bg));
  border-radius: 0 0 7vw 7vw;
  z-index: 4;
}
.footer__overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: calc(0.55 * (1 - var(--p, 1)));
  pointer-events: none;
  z-index: 3;
}
.footer__top {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 var(--ft-pad) 48px;
  transform: translateY(calc(-10.4vw * (1 - var(--p, 1))));
  pointer-events: none;
}
.footer__top > * { pointer-events: auto; }
.footer__nav { max-width: 300px; }
.footer__logo img {
  margin-left: -6%;
  width: clamp(150px, 15.3vw, 216px);
  height: auto;
  display: block;
}
.footer__tagline {
  margin: 18px 0 22px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-on-dark);
}
.footer__socials {
  display: flex;
  gap: 14px;
}
.footer__socials a {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #EBA44A;
  color: #1D0D2A;
  display: grid;
  place-items: center;
  transition: transform 0.3s, background 0.3s;
}
.footer__socials a:hover {
  transform: scale(1.1) rotate(-6deg);
  background: #FFB9E6;
}
.footer__socials svg { width: 22px; height: 22px; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 40px;
}
.footer__links a {
  font-size: 13px;
  color: var(--text-on-dark);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.footer__links a:hover { opacity: 1; color: #EBA44A; }
.footer__form { width: 290px; }
.footer__form h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 2.1vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  white-space: nowrap;
}
.footer__form .newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer__form input {
  width: 100%;
  height: 59px;
  padding: 0 20px;
  border: 0;
  border-radius: 18px;
  background: var(--white);
  color: #1D0D2A;
  font-family: var(--font-body);
  font-size: 18px;
  outline: none;
}
.footer__form input::placeholder { color: #1D0D2A; opacity: 0.75; }
.footer__form input:focus { box-shadow: 0 0 0 3px #EBA44A; }
.footer__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 8px 0 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #EBA44A;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #1D0D2A;
  transition: background 0.25s;
}
.footer__submit i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1D0D2A;
  color: #EBA44A;
  display: grid;
  place-items: center;
  transition: transform 0.25s;
}
.footer__submit i svg { width: 16px; height: 16px; }
.footer__submit:hover { background: #FFB9E6; }
.footer__submit:hover i { transform: translateX(3px); }
.footer__submit.is-done { background: var(--teal); }
.footer__visual {
  position: absolute;
  left: 50%;
  top: calc(var(--ft-lip) + 4vw);
  width: 34vw;
  margin-left: -17vw;
  z-index: 1;
  pointer-events: none;
}
.footer__visual-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
  transform: translateY(calc(14.5vw * (1 - var(--p, 1)))) rotate(calc(-8deg + 30deg * (1 - var(--p, 1)))) scale(calc(0.9 + 0.1 * var(--p, 1)));
  transform-origin: 50% 60%;
  will-change: transform;
}
.footer__bottom {
  position: relative;
  z-index: 2;
  background: #000;
  min-height: 42px;
  padding: 10px var(--ft-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--white);
}

@media (max-width: 1199px) {
  .footer {
    --ft-pad: 24px;
    --ft-lip: 48px;
    min-height: 0;
    padding-top: calc(var(--ft-lip) + 48px);
  }
  .footer::before { border-radius: 0 0 40px 40px; }
  .footer__top {
    flex-direction: column;
    gap: 40px;
    padding-bottom: 0;
    transform: translateY(calc(-60px * (1 - var(--p, 1))));
  }
  .footer__nav { max-width: none; }
  .footer__links { margin-top: 28px; }
  .footer__form { width: 100%; max-width: 420px; }
  .footer__form h3 { white-space: normal; }
  .footer__visual {
    position: relative;
    left: auto;
    top: auto;
    width: min(72vw, 340px);
    margin: 24px auto -22%;
  }
  .footer__visual-img {
    transform: translateY(calc(80px * (1 - var(--p, 1)))) rotate(calc(-8deg + 30deg * (1 - var(--p, 1)))) scale(calc(0.9 + 0.1 * var(--p, 1)));
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    padding-block: 14px;
  }
}

.badges-row .badge-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
}

/* About: light version of the steps section */
.how-it-works--light { background: var(--page-bg); }
.how-it-works--light .section-header h2 { color: var(--purple-deep); }
.how-it-works--light .section-header p { color: var(--text-muted); }
.how-it-works--light .step-number {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  color: var(--mustard);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}
.how-it-works--light .step-card h4 { color: var(--purple-deep); }
.how-it-works--light .step-card p { color: var(--text-body); }

@media (max-width: 767px) {
  .how-it-works--light .steps-grid { grid-template-columns: 1fr; gap: 36px; }
  .how-it-works--light .step-number { width: 72px; height: 72px; margin-bottom: 16px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .footer { --ft-pad: 6vw; }
  .footer__top { flex-direction: row; }
  .footer__visual { width: min(46vw, 420px); }
}

/* --- Mobile carousel arrows (Our Worlds, How It Works) --- */
.m-carousel-nav { display: none; }

@media (max-width: 991px) {
  .m-carousel-nav[data-carousel="flow"] {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
  }
}

@media (max-width: 767px) {
  .m-carousel-nav[data-carousel="worlds"] {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
  }
  .m-carousel-nav .best__arrow { width: 48px; height: 48px; }
}

/* --- Mobile menu: bouncy reveal from the hamburger --- */
@media (max-width: 768px) {
  .mobile-menu {
    opacity: 1;
    visibility: hidden;
    clip-path: circle(0 at calc(100% - 44px) 38px);
    transition: clip-path 0.45s cubic-bezier(0.55, 0, 0.75, 0.2), visibility 0s 0.45s;
  }
  .mobile-menu.open {
    visibility: visible;
    clip-path: circle(150% at calc(100% - 44px) 38px);
    transition: clip-path 0.75s cubic-bezier(0.34, 1.3, 0.64, 1), visibility 0s;
  }
  .mobile-menu a,
  .mobile-menu-close {
    opacity: 0;
    transform: translateY(40px) scale(0.85);
    transition: opacity 0.2s, transform 0.2s;
  }
  .mobile-menu-close { transform: rotate(-180deg) scale(0.4); }
  .mobile-menu.open a,
  .mobile-menu.open .mobile-menu-close {
    opacity: 1;
    transform: none;
    transition: opacity 0.35s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .mobile-menu.open .mobile-menu-close { transition-delay: 0.15s; }
  .mobile-menu.open a:nth-of-type(1) { transition-delay: 0.12s; }
  .mobile-menu.open a:nth-of-type(2) { transition-delay: 0.18s; }
  .mobile-menu.open a:nth-of-type(3) { transition-delay: 0.24s; }
  .mobile-menu.open a:nth-of-type(4) { transition-delay: 0.30s; }
  .mobile-menu.open a:nth-of-type(5) { transition-delay: 0.36s; }
  .mobile-menu.open a:nth-of-type(6) { transition-delay: 0.42s; }
}

/* Phone carousels scroll sideways only, so vertical swipes always move the page */
@media (max-width: 991px) {
  .flow__list,
  .worlds-list,
  .best__track {
    overflow-y: hidden;
    overscroll-behavior-y: auto;
    touch-action: pan-x pan-y;
  }
}
