/* ============================================================
   AAHGOO — Complete Homepage Stylesheet
   Pixel-perfect match to the AI-generated design image
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Core Colors */
  --clr-dark: #2d2424;
  --clr-body: #5e5252;
  --clr-muted: #9a8d8d;
  --clr-white: #ffffff;

  /* Brand Pinks */
  --clr-blush: #fdf6f9;
  --clr-canvas: #F8F3EF;
  /* nav + hero background */
  /* lightest pink — hero bg */
  --clr-rose-light: #f8e8ef;
  /* section backgrounds */
  --clr-rose: #f0d4df;
  /* border lines, table bg */
  --clr-rose-dark: #e8bfcf;
  /* decorative curves */

  /* Brand Purples */
  --clr-purple: #9b7b9e;
  /* CTA buttons, accents */
  --clr-purple-deep: #7d6480;
  /* dark purple text */
  --clr-purple-soft: #c4a5c7;
  /* hover states */

  /* Accent */
  --clr-pink-text: #d4879c;
  /* eyebrow text, italic */
  --clr-gold: #e8b34a;
  /* stars */
  --clr-blue-soft: #e6ecf8;
  /* mattress promo bg */
  --clr-peach-soft: #fceae8;
  /* feeding promo bg */

  /* Spacing */
  --section-padding: 20px 0;
  --container-max: 1280px;
  --container-pad: 0 var(--pad-x);
  --pad-x: 48px;
  --design-width: 1280;
  --announcement-height: 0px;
  --header-height: 72px;
  --top-bar-height: var(--header-height);
  --hero-viewport-height: calc(100svh - var(--announcement-height));
  /* Desktop layout proportions (480px text / 800px image @ 1280px) */
  --hero-text-col: 37.5%;
  --hero-media-col: 62.5%;
  --hero-height-ratio: 0.58;
  /* Typography scaled from 1280px design reference */
  --hero-title-size: clamp(1.05rem, calc(100vw * 52 / var(--design-width)), 4.75rem);
  --hero-desc-size: clamp(0.72rem, calc(100vw * 16 / var(--design-width)), 1.14rem);
  --hero-eyebrow-size: clamp(0.52rem, calc(100vw * 11 / var(--design-width)), 0.88rem);
  --hero-btn-size: clamp(0.54rem, calc(100vw * 11.5 / var(--design-width)), 0.82rem);
  --hero-badge-size: clamp(0.38rem, calc(100vw * 9 / var(--design-width)), 0.66rem);
  --hero-image-wave-h: clamp(54px, 8.2vw, 98px);
  --hero-image-wave-lift: clamp(18px, 3.2vw, 36px);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--clr-dark);
  background: var(--clr-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

/* ---------- UTILITY ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* ============================================================
   1. ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  display: none !important;
  background: var(--clr-canvas);
  border-bottom: none !important;
  padding: calc(100vw * 10 / var(--design-width)) 0;
  position: relative;
  z-index: 1002;
}

.announcement-bar__wave {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  pointer-events: none;
  z-index: 10;
}

.announcement-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: calc(100vw * 48 / var(--design-width));
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.announcement-bar .container::-webkit-scrollbar {
  display: none;
}

.announcement-bar__item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: calc(100vw * 8 / var(--design-width));
  font-size: clamp(0.45rem, calc(100vw * 11.2 / var(--design-width)), 0.7rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-purple-deep);
}

.announcement-bar__item svg {
  width: clamp(10px, calc(100vw * 14 / var(--design-width)), 14px);
  height: clamp(10px, calc(100vw * 14 / var(--design-width)), 14px);
  flex-shrink: 0;
}


/* ============================================================
   SITE INTRO — announcement + overlay header + hero
   ============================================================ */
.site-intro {
  position: relative;
  background: var(--clr-canvas);
}


/* ============================================================
   2. SITE HEADER
   ============================================================ */
.site-header {
  padding: 16px 0;
  position: absolute;
  top: var(--announcement-height);
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  position: fixed;
  top: 0;
  background: rgba(248, 243, 239, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-rose-light);
}

.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  position: relative;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-self: start;
  align-items: flex-start;
}

.logo__name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--clr-purple-deep);
  letter-spacing: 0.1em;
  line-height: 1;
}

.logo__img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo__img--header {
  height: 30px;
}

.logo__tagline {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--clr-muted);
  margin-top: 5px;
  font-weight: 400;
}

.main-nav {
  justify-self: center;
  grid-column: 2;
}

/* Navigation */
.main-nav__list {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.main-nav__item {
  position: relative;
}

.main-nav__link,
.main-nav__trigger {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-dark);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
  cursor: pointer;
}

/* Show visitors which primary navigation page they are currently viewing. */
.main-nav__link.is-active,
.main-nav__link[aria-current="page"] {
  position: relative;
  color: var(--clr-dark);
}

.main-nav__link.is-active::after,
.main-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 50%;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--clr-pink-text) 0 68%, var(--clr-dark) 68% 100%);
}

.main-nav__link::after,
.main-nav__trigger::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--clr-purple);
  transition: width 0.25s;
}

.main-nav__link:hover,
.main-nav__trigger:hover,
.main-nav__item--dropdown.is-open .main-nav__trigger {
  color: var(--clr-purple);
}

.main-nav__link:hover::after,
.main-nav__trigger:hover::after,
.main-nav__item--dropdown.is-open .main-nav__trigger::after {
  width: 100%;
}

.main-nav__arrow {
  width: 7px;
  height: 4px;
  transition: transform 0.25s ease;
}

.main-nav__item--dropdown.is-open .main-nav__arrow {
  transform: rotate(180deg);
}

.main-nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background: var(--clr-white);
  border: 1px solid var(--clr-rose-light);
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 16px 40px rgba(45, 36, 36, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 20;
}

.main-nav__item--dropdown:hover .main-nav__dropdown,
.main-nav__item--dropdown.is-open .main-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.main-nav__dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.78rem;
  color: var(--clr-body);
  transition: background 0.2s, color 0.2s;
}

.main-nav__dropdown a:hover {
  background: var(--clr-blush);
  color: var(--clr-purple-deep);
}

/* Hamburger */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--clr-rose);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  background: var(--clr-white);
  transition: border-color 0.2s, background 0.2s;
  grid-column: 3;
  justify-self: end;
}

.menu-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
  grid-column: 3;
}

.header-actions__btn {
  width: 20px;
  height: 20px;
  color: var(--clr-dark);
  position: relative;
  transition: color 0.2s;
}

.header-actions__btn:hover {
  color: var(--clr-purple);
}

.header-actions__badge {
  position: absolute;
  top: -5px;
  right: -7px;
  background: var(--clr-purple);
  color: white;
  font-size: 0.6rem;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
}


/* ============================================================
   3. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background: var(--clr-canvas);
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .hero {
    height: clamp(600px, 52vw, 700px);
    min-height: clamp(600px, 52vw, 700px);
    max-height: clamp(600px, 52vw, 700px);
  }
}

@media (max-width: 1023px) {
  .hero {
    height: calc(100vw * var(--hero-height-ratio));
    min-height: calc(100vw * var(--hero-height-ratio));
    max-height: calc(100vw * var(--hero-height-ratio));
  }
}

.hero__inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: var(--container-pad);
  position: relative;
  z-index: 5;
  box-sizing: border-box;
}

.hero__layout {
  display: grid;
  grid-template-columns: var(--hero-text-col) minmax(0, var(--hero-media-col));
  grid-template-rows: var(--header-height) minmax(0, 1fr) auto;
  grid-template-areas:
    ". media"
    "copy media"
    "features media";
  align-items: stretch;
  gap: 0;
  column-gap: 0;
  height: 100%;
  min-height: 0;
  position: relative;
}

.hero__copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  padding: 0 calc(100vw * 12 / var(--design-width)) 0 0;
  align-self: stretch;
  min-height: 0;
}

.hero__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--hero-eyebrow-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #c45c6a;
  margin-bottom: calc(100vw * 14 / var(--design-width));
}

.hero__title {
  font-size: calc(var(--hero-title-size) - 5px);
  font-weight: 500;
  line-height: 1.06;
  color: var(--clr-dark);
  margin-bottom: calc(100vw * 14 / var(--design-width));
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: #c97b88;
}

.hero__description {
  font-family: var(--font-body);
  font-size: var(--hero-desc-size);
  color: var(--clr-body);
  line-height: 1.55;
  margin-bottom: calc(100vw * 22 / var(--design-width));
  max-width: 100%;
}

.hero__ctas {
  margin-bottom: 0;
}

.btn--hero {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: #48342e;
  border-radius: 999px;
  padding: calc(100vw * 12 / var(--design-width)) calc(100vw * 19 / var(--design-width)) calc(100vw * 12 / var(--design-width)) calc(100vw * 24 / var(--design-width));
  font-size: var(--hero-btn-size);
  font-weight: 700;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.btn--hero:hover {
  background: #33241f;
}

.btn--hero b { color: #e5a484; font-size: 1.35em; font-weight: 400; line-height: .8; }

/* Hero trust badges — left column only */
.hero__features {
  grid-area: features;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(20px, calc(100vw * 26 / var(--design-width)), 32px);
  padding-top: calc(100vw * 20 / var(--design-width));
  padding-bottom: calc(100vw * 22 / var(--design-width));
  margin-top: 0;
  border-top: 1px solid var(--clr-rose);
  max-width: 100%;
  position: relative;
  z-index: 10;
  align-self: end;
}

.hero__feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(7px, calc(100vw * 9 / var(--design-width)), 11px);
  flex: 0 1 auto;
  min-width: 0;
}

.hero__feature-icon {
  width: clamp(19px, calc(100vw * 23 / var(--design-width)), 25px);
  height: clamp(19px, calc(100vw * 23 / var(--design-width)), 25px);
  flex-shrink: 0;
  color: var(--clr-dark);
}

.hero__feature-icon svg { display: block; width: 100%; height: 100%; }

.hero__feature span {
  font-family: var(--font-body);
  font-size: clamp(.48rem, calc(100vw * 9 / var(--design-width)), .65rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: 1.28;
  color: var(--clr-dark);
}

.hero__media {
  grid-area: media;
  position: absolute;
  top: var(--header-height);
  bottom: 0;
  left: 5%;
  right: calc(-1 * max(0px, (100vw - var(--container-max)) / 2 + var(--pad-x)));
  margin: 0;
  z-index: 1;
  background: var(--clr-canvas);
  overflow: hidden;
  border-top-left-radius: clamp(52px, 6vw, 115px);
  border-bottom-left-radius: 28% 46%;
  border-bottom-right-radius: clamp(70px, 9vw, 175px) clamp(70px, 10vw, 185px);
}

.hero__media-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: var(--clr-canvas);
  overflow: hidden;
  border-radius: inherit;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 35%;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 30px;
  padding: 14px 28px;
  transition: all 0.25s ease;
}

.btn--primary {
  background: var(--clr-purple);
  color: var(--clr-white);
}

.btn--primary:hover {
  background: var(--clr-purple-deep);
}

.btn--primary.btn--hero {
  background: var(--clr-dark);
}

.btn--primary.btn--hero:hover {
  background: #1a1414;
}

.btn--outline {
  background: transparent;
  color: var(--clr-dark);
  border: 1.5px solid var(--clr-dark);
}

.btn--outline:hover {
  background: var(--clr-dark);
  color: var(--clr-white);
}


/* ============================================================
   4. JOURNEY SECTION
   ============================================================ */
.journey {
  position: relative;
  padding: 20px 0 24px;
  background: linear-gradient(to bottom, var(--clr-canvas) 0%, var(--clr-canvas) 130px, #FFFFFF 250px, #FFFFFF 100%);
  overflow: hidden;
}

/* Floating decorations */
.journey__deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  display: block;
  height: auto;
}

.journey__deco--balloon {
  top: 18%;
  left: 2%;
  width: 162px;
  filter: drop-shadow(0 8px 16px rgba(212, 155, 171, 0.22));
}

.journey__deco--cloud-tl {
  top: 4%;
  left: 14%;
  width: 130px;
  opacity: 0.5;
  filter: drop-shadow(0 4px 10px rgba(212, 155, 171, 0.14));
}

.journey__deco--cloud-tr {
  top: 4%;
  right: 12%;
  width: 140px;
  opacity: 0.5;
  filter: hue-rotate(105deg) saturate(2) brightness(1.05) drop-shadow(0 4px 10px rgba(212, 155, 171, 0.14));
}

.journey__deco--cloud-bl {
  top: 68%;
  left: 1.5%;
  width: 110px;
  opacity: 0.5;
  filter: drop-shadow(0 4px 10px rgba(212, 155, 171, 0.14));
}

.journey__deco--cloud-mr {
  top: 36%;
  right: 4%;
  width: 110px;
  opacity: 0.5;
  filter: grayscale(1) brightness(1.45) drop-shadow(0 4px 10px rgba(212, 155, 171, 0.12));
}

.journey__deco--bunny {
  bottom: -10px;
  right: 4%;
  width: 160px;
  filter: drop-shadow(0 8px 18px rgba(212, 155, 171, 0.28));
}

.journey__deco--star {
  width: 18px;
  height: auto;
  opacity: 0.9;
}

.journey__deco--star-1 {
  top: 6%;
  left: 8%;
  width: 16px;
}

.journey__deco--star-2 {
  top: 14%;
  left: 27%;
  width: 14px;
}

.journey__deco--star-3 {
  top: 54%;
  left: 45%;
  width: 15px;
}

.journey__deco--star-4 {
  top: 25%;
  left: 66%;
  width: 14px;
}

.journey__deco--star-5 {
  bottom: 22%;
  right: 2%;
  width: 14px;
  opacity: 0.7;
}

.journey__deco--star-6 {
  top: 10%;
  right: 15%;
  width: 15px;
  opacity: 0.85;
}

.journey__deco--star-7 {
  top: 72%;
  left: 10%;
  width: 14px;
  opacity: 0.8;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 5;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--clr-dark);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.section-header h2 .icon-heart {
  display: inline-block;
  width: 18px;
  height: 16px;
  vertical-align: middle;
  margin-left: 6px;
  transform: translateY(-2px);
}

.section-header p {
  font-size: 0.92rem;
  color: var(--clr-body);
}

/* Stages Row */
.journey__stages {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  padding-top: 72px;
}

.journey__path {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  aspect-ratio: 1600 / 320;
  height: auto;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.journey__path-node {
  cursor: pointer;
  pointer-events: auto;
}

.journey__path-node circle {
  transition: fill 0.3s ease;
}

.journey__path-node:hover circle {
  fill: url(#ringFillHover);
}

.journey__path-node text {
  fill: #3b4958;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
}

.journey__stage {
  flex: 1 1 0;
  text-align: center;
  max-width: 300px;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.journey__stage-age {
  font-family: var(--font-body);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a78a8a;
  margin-bottom: 4px;
  font-weight: 500;
}

.journey__stage-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--clr-dark);
  margin-bottom: 18px;
}

.journey__stage-img {
  height: 160px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  margin-top: auto;
  display: block;
  background: transparent;
  border-radius: 0;
  mix-blend-mode: multiply;
}

.journey__stage--featured .journey__stage-img {
  height: 160px;
  width: auto;
  max-width: 100%;
}

/* Keep the toddler-bed artwork visually balanced with the other stage images. */
.journey__stage--toddler .journey__stage-img {
  transform: translateY(18px) scale(1.2);
  transform-origin: center bottom;
}

/* Purple double-chevron between stages, aligned to crib center */
.journey__arrow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 103px;
  width: 0;
  flex: 0 0 0;
  overflow: visible;
  color: #ab8fd0;
  z-index: 4;
  position: relative;
}

.journey__arrow svg {
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  min-width: 30px;
}

/* Faint vertical separators between the cribs: a segment above and below the arrow (gap at the chevron) */
.journey__arrow::before,
.journey__arrow::after {
  content: "";
  position: absolute;
  width: 1px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Top segment: starts below the dotted line, stops just above the arrow */
.journey__arrow::before {
  top: 42px;
  height: 54px;
  background: linear-gradient(to bottom,
      rgba(150, 120, 120, 0) 0%,
      rgba(150, 120, 120, 0.28) 22%,
      rgba(150, 120, 120, 0.28) 100%);
}

/* Bottom segment: starts just below the arrow, fades out at the crib base */
.journey__arrow::after {
  top: 135px;
  height: 109px;
  background: linear-gradient(to bottom,
      rgba(150, 120, 120, 0.28) 0%,
      rgba(150, 120, 120, 0.28) 78%,
      rgba(150, 120, 120, 0) 100%);
}

@media (max-width: 767px) {
  .journey {
    padding: 28px 0 32px;
  }

  .journey__deco--cloud-bl,
  .journey__deco--cloud-mr {
    opacity: 0.45;
    transform: scale(0.78);
  }

  .journey__deco--balloon,
  .journey__deco--bunny {
    display: none;
  }

  .journey__stages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
    max-width: 460px;
    padding-top: 0;
  }

  .journey__path,
  .journey__arrow {
    display: none;
  }

  .journey__stage {
    max-width: none;
    min-width: 0;
  }

  .journey__stage::before {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(244, 194, 198, 0.25);
    border: 2px solid #f4c2c6;
    color: #3b4958;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .journey__stage:nth-of-type(1)::before {
    content: "01";
  }

  .journey__stage:nth-of-type(3)::before {
    content: "02";
  }

  .journey__stage:nth-of-type(5)::before {
    content: "03";
  }

  .journey__stage:nth-of-type(7)::before {
    content: "04";
  }

  .journey__stage-age {
    font-size: 0.58rem;
  }

  .journey__stage-title {
    font-size: 1.05rem;
    margin-bottom: 12px;
  }

  .journey__stage-img,
  .journey__stage--featured .journey__stage-img,
  .journey__stage--toddler .journey__stage-img {
    height: 118px;
  }
}


/* ============================================================
   5. COMPARE SECTION
   ============================================================ */
.compare {
  padding: 20px 0;
  background: #FFFFFF;
}

.compare .container {
  display: flex;
  align-items: stretch;
  gap: 60px;
}

.compare__text {
  flex: 0 0 36%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 0;
}

.compare__text h2 {
  font-size: 2.2rem;
  line-height: 1.15;
  color: var(--clr-dark);
  margin-bottom: 16px;
}

.compare__text>p {
  font-size: 0.9rem;
  color: var(--clr-body);
  margin-bottom: 24px;
  line-height: 1.6;
}

.compare__checklist {
  margin-bottom: 32px;
  max-width: 300px;
}

.compare__checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--clr-body);
  margin-bottom: 12px;
}

.compare__checklist li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--cta-purple {
  margin-top: auto;
  align-self: flex-start;
  background: var(--clr-purple);
  color: var(--clr-white);
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s;
}

.btn--cta-purple:hover {
  background: var(--clr-purple-deep);
}

/* ── Comparison grid ───────────────────────────────────────────
   Single flat CSS grid spanning both visual "cards".
   4 columns: [feature label] [aahgoo check] [vs gap] [traditional]
   Rows auto-size identically so both sides always align.
─────────────────────────────────────────────────────────────── */
.cmp-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 12px 1.35fr;
  align-items: stretch;
}

/* ── Left card cells ── */
.cg-feat,
.cg-chk {
  border-bottom: 1px solid rgba(220, 175, 198, 0.5);
}

.cg-feat {
  background: #FBF5F3;
}

.cg-chk {
  background: #F8E8E8;
}

.cg-feat {
  padding: 15px 10px 15px 26px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--clr-dark);
  display: flex;
  align-items: center;
}

.cg-chk {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 10px;
}

.cg-chk svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ── Right card cells (trad column) ── */
.cg-trad {
  background: #F9EDEB;
  border-bottom: 1px solid rgba(220, 175, 198, 0.5);
  padding: 15px 20px 15px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--clr-muted);
}

.cg-trad svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ── Gap column ── */
.cg-gap {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Last data row: no border ── */
.cg-last {
  border-bottom: none !important;
}

/* ── Header row ── */
.cg-head {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-dark);
  white-space: nowrap;
  min-height: 62px;
}

.cg-chk.cg-head {
  justify-content: center;
}

.cg-trad.cg-head {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-dark);
  justify-content: flex-start;
  padding-left: 24px;
}

/* ── Rounded corners for both visual cards ── */

/* Left card top corners */
.cg-feat.cg-head {
  border-radius: 20px 0 0 0;
}

.cg-chk.cg-head {
  border-radius: 0 20px 0 0;
}

/* Left card bottom corners */
.cg-feat.cg-last {
  border-radius: 0 0 0 20px;
}

.cg-chk.cg-last {
  border-radius: 0 0 20px 0;
}

/* Right card top + bottom corners */
.cg-trad.cg-head {
  border-radius: 20px 20px 0 0;
}

.cg-trad.cg-last {
  border-radius: 0 0 20px 20px;
}

/* ── VS circle badge — fills the gap exactly, bridging both cards ── */
.cg-vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--clr-rose);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--clr-purple-deep);
  box-shadow: 0 2px 8px rgba(155, 123, 158, 0.14);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.cg-head .cg-vs {
  transform: translateY(30px);
}


/* ============================================================
   6. CRAFTED SECTION
   ============================================================ */
.crafted {
  padding: var(--section-padding);
  background: #FFFFFF;
}

/* Large outer card that wraps the entire section content */
.crafted__panel {
  position: relative;
  background: transparent;
  border-radius: 80px;
  overflow: hidden;
  padding: 36px 48px;
  z-index: 1;
}

.crafted__panel-bg {
  position: absolute;
  top: 29px;
  /* slightly less than 30px to prevent sub-pixel gaps */
  bottom: 29px;
  left: 0;
  right: 0;
  background: #fdf5f6;
  z-index: -2;
}

.crafted__wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 30px;
  pointer-events: none;
  z-index: -1;
  line-height: 0;
}

.crafted__wave--top {
  top: 0;
}

.crafted__wave--bottom {
  bottom: 0;
}

.crafted__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.crafted .section-header {
  margin-bottom: 20px;
}

.crafted__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.crafted__card {
  text-align: center;
}

.crafted__card-img {
  width: 100%;
  aspect-ratio: 6/4;
  object-fit: contain;
  border-radius: 14px;
  margin-bottom: 10px;
}

.crafted__card h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: 4px;
}

.crafted__card p {
  font-size: 0.78rem;
  color: var(--clr-body);
  line-height: 1.5;
}


/* ============================================================
   7. PROMO CARDS SECTION
   ============================================================ */
.promo {
  padding: 12px 0 20px;
  background: var(--clr-white);
}

.promo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.promo__card {
  border-radius: 24px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1024 / 455;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 400' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0,0 C 45,0 75,2 120,2 S 195,0 240,0 C 285,0 315,2 360,2 S 435,0 480,0 C 525,0 555,2 600,2 S 675,0 720,0 C 765,0 795,2 840,2 S 915,0 960,0 C 1005,0 1035,2 1080,2 S 1155,0 1200,0 L 1200,400 C 1155,400 1125,398 1080,398 S 1005,400 960,400 C 915,400 885,398 840,398 S 765,400 720,400 C 675,400 645,398 600,398 S 525,400 480,400 C 435,400 405,398 360,398 S 285,400 240,400 C 195,400 165,398 120,398 S 45,400 0,400 Z' fill='white'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 400' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0,0 C 45,0 75,2 120,2 S 195,0 240,0 C 285,0 315,2 360,2 S 435,0 480,0 C 525,0 555,2 600,2 S 675,0 720,0 C 765,0 795,2 840,2 S 915,0 960,0 C 1005,0 1035,2 1080,2 S 1155,0 1200,0 L 1200,400 C 1155,400 1125,398 1080,398 S 1005,400 960,400 C 915,400 885,398 840,398 S 765,400 720,400 C 675,400 645,398 600,398 S 525,400 480,400 C 435,400 405,398 360,398 S 285,400 240,400 C 195,400 165,398 120,398 S 45,400 0,400 Z' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.promo__card--mattress {
  background: #DDDAEA;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 400' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 120,2 C 165,2 195,0 240,0 C 285,0 315,2 360,2 S 435,0 480,0 C 525,0 555,2 600,2 S 675,0 720,0 C 765,0 795,2 840,2 S 915,0 960,0 C 1005,0 1035,2 1080,2 S 1155,0 1200,0 L 1200,400 C 1155,400 1125,398 1080,398 S 1005,400 960,400 C 915,400 885,398 840,398 S 765,400 720,400 C 675,400 645,398 600,398 S 525,400 480,400 C 435,400 405,398 360,398 S 285,400 240,400 C 195,400 165,398 120,398 C 70,398 0,360 0,250 C 0,180 10,150 10,100 C 10,50 60,2 120,2 Z' fill='white'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 400' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 120,2 C 165,2 195,0 240,0 C 285,0 315,2 360,2 S 435,0 480,0 C 525,0 555,2 600,2 S 675,0 720,0 C 765,0 795,2 840,2 S 915,0 960,0 C 1005,0 1035,2 1080,2 S 1155,0 1200,0 L 1200,400 C 1155,400 1125,398 1080,398 S 1005,400 960,400 C 915,400 885,398 840,398 S 765,400 720,400 C 675,400 645,398 600,398 S 525,400 480,400 C 435,400 405,398 360,398 S 285,400 240,400 C 195,400 165,398 120,398 C 70,398 0,360 0,250 C 0,180 10,150 10,100 C 10,50 60,2 120,2 Z' fill='white'/%3E%3C/svg%3E");
}

.promo__card--feeding {
  background: #F7DEDD;
}

.promo__content {
  width: 50%;
  flex-shrink: 0;
  padding: 28px 16px 28px 32px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.promo__content h2 {
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--clr-dark);
  margin-bottom: 12px;
  position: relative;
}

.promo__content .icon-moon {
  display: none;
}

.promo__list {
  margin-bottom: 16px;
}

.promo__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--clr-body);
  margin-bottom: 4px;
}

.promo__list li svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--clr-purple);
}

.btn--white {
  background: transparent;
  color: var(--clr-dark);
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(45, 36, 36, 0.35);
  transition: all 0.25s;
  align-self: flex-start;
  margin-top: auto;
}

.btn--white:hover {
  background: var(--clr-purple);
  color: var(--clr-white);
  border-color: var(--clr-purple);
}

.btn--purple-solid {
  background: transparent;
  color: #b65f68;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.25s;
  border: 1px solid rgba(182, 95, 104, 0.55);
  align-self: flex-start;
  margin-top: auto;
}

.btn--purple-solid:hover {
  background: var(--clr-purple-deep);
}

.promo__card--feeding .btn--purple-solid {
  background: transparent;
}

.promo__card--feeding .btn--purple-solid:hover {
  background: #e07f82;
  color: #fff;
  border-color: #e07f82;
}

.promo__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.promo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}


/* ============================================================
   8. TRUST & SAFETY SECTION
   ============================================================ */
.trust {
  padding: 20px 0 24px;
  background: transparent;
}

.trust .section-header {
  margin-bottom: 32px;
}

.trust .section-header h2 {
  font-size: 2rem;
}

.trust__grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust__item img {
  display: block;
  width: 106px;
  height: 106px;
  object-fit: contain;
  transform-origin: center;
}

.trust__item:nth-child(2) img {
  transform: translateY(10px) scale(1.24);
}

.trust__item:nth-child(3) img {
  transform: translateY(5px) scale(1.23);
}

.trust__item:nth-child(4) img {
  width: 108px;
  height: 108px;
  transform: translateY(7px);
}

/* The independently tested badge has extra transparent padding in its source file. */
.trust__item:nth-child(5) img {
  transform: translateY(19px) scale(2.65);
}

/* The warranty badge also includes more transparent padding than its peers. */
.trust__item:nth-child(6) img {
  transform: translateY(11px) scale(1.8);
}

@media (min-width: 768px) {
  .trust__grid {
    gap: 0;
  }

  .trust__item {
    flex: 1;
    padding: 0 10px;
    border-right: 1px solid rgba(94, 82, 82, 0.15);
  }

  .trust__item:last-child {
    border-right: none;
  }
}


/* ============================================================
   9. TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
  padding: 10px 0 0;
  background: var(--clr-white);
  position: relative;
  overflow: hidden;
}

.testimonials__container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1640px;
  width: 96%;
  margin: 0 auto;
  padding: 57.5px 60px 22.5px;
  background: #FBF5F2;
  border-radius: 80px;
}

.testimonials__panel-bg {
  display: none;
}

.testimonials__wave {
  display: none;
}

.testimonials__wave--top { top: 0; }
.testimonials__wave--bottom { bottom: 0; }

.testimonials__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.testimonials__intro {
  flex: 0 0 24%;
}

.testimonials__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.testimonials__intro h2 {
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--clr-dark);
  margin-bottom: 12px;
}

.testimonials__intro h2 .icon-heart {
  display: inline-block;
  width: 20px;
  height: 18px;
  vertical-align: middle;
}

.testimonials__intro p {
  font-size: 0.88rem;
  color: var(--clr-body);
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonials__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-purple-deep);
  transition: color 0.2s;
}

.testimonials__link:hover {
  color: var(--clr-purple);
}

.testimonials__link svg {
  width: 14px;
  height: 14px;
}

/* Long rectangular card wrapping the grid + dots */
.testimonials__panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

/* Track holds the row + the nav arrow */
.testimonials__track {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.testimonials__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Each testimonial = photo left + text right */
.testimonial-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
}

.testimonial-card__img {
  flex: 0 0 130px;
  width: 130px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  /* Blend each photo's edge into the testimonial panel instead of a floating card. */
  box-shadow: 0 0 0 8px #FBF5F2;
}

.testimonial-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--clr-dark);
  font-style: normal;
  line-height: 1.55;
  margin-bottom: 10px;
}

.testimonial-card__author {
  display: none;
}

.testimonial-card__location {
  display: none;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
}

.testimonial-card__stars svg {
  width: 13px;
  height: 13px;
  fill: var(--clr-gold);
}

/* Carousel arrow */
.testimonials__nav {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--clr-white);
  border: 1px solid var(--clr-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-purple-deep);
  box-shadow: 0 4px 12px rgba(45, 36, 36, 0.08);
  cursor: pointer;
  transition: all 0.2s;
}

.testimonials__nav:hover {
  background: var(--clr-purple);
  color: var(--clr-white);
  border-color: var(--clr-purple);
}

.testimonials__nav svg {
  width: 16px;
  height: 16px;
}

/* Pagination dots */
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}

.testimonials__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-rose);
}

.testimonials__dots span.is-active {
  background: var(--clr-purple);
  width: 18px;
  border-radius: 4px;
}

/* Decorative florals bottom-right */
.testimonials__floral {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 140px;
  pointer-events: none;
}


/* ============================================================
   10. HOMEPAGE FAQ
   ============================================================ */
.homepage-faq {
  padding: 62px 0 54px;
  background: #fff;
}

.homepage-faq .container {
  max-width: 1280px;
}

.homepage-faq h2 {
  margin: 0 0 20px;
  color: var(--clr-dark);
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  font-weight: 500;
}

.homepage-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  column-gap: 26px;
}

.homepage-faq__item {
  border-bottom: 1px solid #f2e4e7;
}

.homepage-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  cursor: pointer;
  color: var(--clr-dark);
  font: 600 .84rem/1.4 var(--font-body);
  list-style: none;
}

.homepage-faq__item summary::-webkit-details-marker { display: none; }
.homepage-faq__item summary span { font-size: 1.25rem; font-weight: 500; line-height: 1; }
.homepage-faq__item[open] summary span { transform: rotate(45deg); }
.homepage-faq__item p { margin: -2px 34px 16px 0; color: var(--clr-body); font-size: .8rem; line-height: 1.55; }

@media (max-width: 767px) {
  .homepage-faq { padding: 44px 0 38px; }
  .homepage-faq__grid { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
}

/* ============================================================
   11. NEWSLETTER SECTION
   ============================================================ */
.newsletter-footer-wrap {
  background-image: url('../images/journey/newsletter-footer-bg-v4.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
}

.newsletter {
  position: relative;
  background: transparent;
  padding: 60px 0 60px;
  overflow: hidden;
}

/* Wavy top border */
.newsletter__wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}

.newsletter__wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Botanical leaf decoration – left edge */
.newsletter__leaves {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-52%);
  width: 130px;
  z-index: 3;
  pointer-events: none;
}

/* Teddy bear – right edge */
.newsletter__bear {
  position: absolute;
  right: 5%;
  bottom: 28px;
  width: 150px;
  z-index: 3;
  pointer-events: none;
}

/* Cloud bottom */
.newsletter__bottom-clouds {
  position: relative;
  z-index: 2;
  line-height: 0;
  margin-top: 32px;
}

.newsletter__bottom-clouds svg {
  display: block;
  width: 100%;
  height: auto;
}

.newsletter .container {
  position: relative;
  z-index: 5;
}

.newsletter__layout {
  display: flex;
  align-items: center;
  gap: 56px;
}

.newsletter__text {
  flex: 0 0 auto;
  max-width: 320px;
}

.newsletter h2 {
  font-size: 2.1rem;
  color: var(--clr-dark);
  margin-bottom: 10px;
  line-height: 1.15;
}

.newsletter p {
  font-size: 0.88rem;
  color: var(--clr-body);
  margin-bottom: 0;
  line-height: 1.6;
}

.newsletter__form {
  flex: 1;
  display: flex;
  background: var(--clr-white);
  border-radius: 40px;
  padding: 5px 5px 5px 0;
  box-shadow: 0 4px 20px rgba(45, 36, 36, 0.06);
  max-width: 480px;
}

.newsletter__form input {
  flex: 1;
  border: none;
  background: none;
  padding: 0 24px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--clr-dark);
  outline: none;
}

.newsletter__form input::placeholder {
  color: var(--clr-muted);
}

.newsletter__form button {
  background: var(--clr-purple);
  color: var(--clr-white);
  padding: 13px 28px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s;
  white-space: nowrap;
}

.newsletter__form button:hover {
  background: var(--clr-purple-deep);
}


/* ============================================================
   11. FOOTER
   ============================================================ */
.footer {
  padding: 10px 0 16px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Footer floating decorations */
.footer__deco-balloon {
  position: absolute;
  right: 2%;
  top: -5%;
  width: 250px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 6px 12px rgba(212, 155, 171, 0.15));
}

.footer__deco-cloud-left {
  position: absolute;
  right: 15%;
  top: 38%;
  width: 68px;
  height: auto;
  z-index: 3;
  opacity: 0.5;
}

.footer__deco-cloud-right {
  position: absolute;
  right: 1.5%;
  top: 70%;
  width: 60px;
  height: auto;
  z-index: 3;
  opacity: 0.5;
}

@media (max-width: 1023px) {

  .footer__deco-balloon,
  .footer__deco-cloud-left,
  .footer__deco-cloud-right {
    display: none;
  }
}

.footer__main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--clr-rose-light);
  margin-bottom: 24px;
}

/* Footer brand */
.footer__brand .logo__name {
  font-size: 1.6rem;
}

.footer__brand .logo__tagline {
  margin-bottom: 16px;
}

.footer__social {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.footer__social a {
  width: 18px;
  height: 18px;
  color: var(--clr-purple);
  transition: color 0.2s;
}

.footer__social a:hover {
  color: var(--clr-purple-deep);
}

.footer__social a svg {
  width: 100%;
  height: 100%;
}

/* Footer columns */
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-dark);
  margin-bottom: 16px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul a {
  font-size: 0.82rem;
  color: var(--clr-body);
  transition: color 0.2s;
}

.footer__col ul a:hover {
  color: var(--clr-purple);
}

/* Footer contact */
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #C8713D;
  margin-bottom: 12px;
}

.footer__contact-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #C8713D;
}

/* Footer bottom */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--clr-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  color: var(--clr-muted);
  transition: color 0.2s;
}

.footer__bottom-links a:hover {
  color: var(--clr-purple);
}


/* ============================================================
   RESPONSIVE — MINIATURE DESKTOP (same layout, proportional scale)
   ============================================================ */

/* Tablet & mobile: same 2-column hero, scaled from 1280px reference */
@media (max-width: 1023px) {
  :root {
    --pad-x: 20px;
    --container-pad: 0 var(--pad-x);
    --header-height: 64px;
    --announcement-height: 0px;
    --hero-height-ratio: 0.65;
  }

  .site-header {
    padding: calc(100vw * 14 / var(--design-width)) 0;
  }

  .site-header .container {
    gap: calc(100vw * 12 / var(--design-width));
  }

  .logo__name {
    font-size: clamp(1rem, calc(100vw * 28 / var(--design-width)), 1.75rem);
  }

  .logo__tagline {
    font-size: clamp(0.38rem, calc(100vw * 8 / var(--design-width)), 0.5rem);
    letter-spacing: 0.2em;
    margin-top: calc(100vw * 5 / var(--design-width));
  }

  .header-actions {
    gap: calc(100vw * 14 / var(--design-width));
  }

  .header-actions__btn svg {
    width: clamp(16px, calc(100vw * 20 / var(--design-width)), 20px);
    height: clamp(16px, calc(100vw * 20 / var(--design-width)), 20px);
  }

  /* Miniature Desktop Nav Scaling */
  .main-nav__list {
    gap: calc(100vw * 28 / var(--design-width));
  }

  .main-nav__link,
  .main-nav__trigger {
    font-size: clamp(0.4rem, calc(100vw * 10 / var(--design-width)), 0.68rem);
  }

  .main-nav__dropdown {
    min-width: calc(100vw * 210 / var(--design-width));
  }

  .main-nav__dropdown a {
    font-size: clamp(0.5rem, calc(100vw * 12 / var(--design-width)), 0.78rem);
    padding: calc(100vw * 10 / var(--design-width)) calc(100vw * 18 / var(--design-width));
  }

  .hero__media {
    --hero-media-bleed: clamp(100px, 32vw, 340px);
  }
}

@media (max-width: 767px) {
  :root {
    --pad-x: 14px;
  }

  .homepage .site-header {
    height: var(--header-height);
    padding: 0;
  }

  .homepage .site-header .container {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    height: 100%;
  }

  .homepage .logo__img--header {
    height: 27px;
  }

  .homepage .main-nav {
    display: none;
  }

  .homepage .menu-toggle {
    display: flex;
    grid-column: 3;
    width: 36px;
    height: 36px;
  }

  .homepage .header-actions {
    grid-column: 2;
    gap: 0;
  }

  .homepage .header-actions__btn:not(:last-child) {
    display: none;
  }

  .homepage .hero__layout {
    grid-template-columns: 52% 48%;
    grid-template-areas:
      "copy media"
      "features features";
  }

  .homepage .hero__features {
    width: 100%;
    background: var(--clr-canvas);
    padding: 12px 8px 14px;
  }

  .homepage .hero__feature {
    gap: 4px;
  }

  .homepage .hero__feature span {
    font-size: 0.45rem;
  }

  .hero__media {
    --hero-media-bleed: clamp(80px, 30vw, 260px);
  }
}

@media (max-width: 480px) {
  :root {
    --hero-height-ratio: 0.72;
  }

  .btn--hero {
    white-space: normal;
    line-height: 1.35;
  }
}

/* Desktop: fill first viewport; typography scales with available height */
@media (min-width: 1024px) {
  :root {
    --hero-title-size: clamp(2rem, min(calc((100svh - var(--top-bar-height)) * 0.092), calc(100vw * 52 / var(--design-width))), 4.75rem);
    --hero-desc-size: clamp(0.85rem, min(calc((100svh - var(--top-bar-height)) * 0.021), calc(100vw * 16 / var(--design-width))), 1.14rem);
    --hero-eyebrow-size: clamp(0.62rem, min(calc((100svh - var(--top-bar-height)) * 0.016), calc(100vw * 11 / var(--design-width))), 0.88rem);
    --hero-btn-size: clamp(0.62rem, min(calc((100svh - var(--top-bar-height)) * 0.018), calc(100vw * 11.5 / var(--design-width))), 0.82rem);
    --hero-badge-size: clamp(0.46rem, min(calc((100svh - var(--top-bar-height)) * 0.013), calc(100vw * 9 / var(--design-width))), 0.66rem);
  }

  .main-nav__item--dropdown:hover .main-nav__trigger {
    color: var(--clr-purple);
  }

  .main-nav__item--dropdown:hover .main-nav__trigger::after {
    width: 100%;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  :root {
    --hero-title-size: clamp(1.75rem, min(calc((100svh - var(--top-bar-height)) * 0.085), calc(100vw * 48 / var(--design-width))), 3.35rem);
    --hero-desc-size: clamp(0.78rem, min(calc((100svh - var(--top-bar-height)) * 0.019), calc(100vw * 15 / var(--design-width))), 1rem);
  }
}

/* Landscape phones: cap hero to remaining viewport without stretching internals */
@media (max-width: 1023px) and (max-height: 520px) and (orientation: landscape) {
  :root {
    --header-height: 56px;
    --announcement-height: 0px;
    --hero-height-ratio: 0.48;
  }

  .hero {
    height: min(calc(100vw * var(--hero-height-ratio)), calc(100svh - var(--top-bar-height)));
    min-height: min(calc(100vw * var(--hero-height-ratio)), calc(100svh - var(--top-bar-height)));
    max-height: min(calc(100vw * var(--hero-height-ratio)), calc(100svh - var(--top-bar-height)));
  }
}

@media (min-width: 1280px) {
  :root {
    --pad-x: 48px;
  }
}

@media (min-width: 1536px) {
  :root {
    --hero-title-size: clamp(2.5rem, min(calc((100svh - var(--top-bar-height)) * 0.095), calc(100vw * 56 / var(--design-width))), 5rem);
    --hero-desc-size: clamp(0.92rem, min(calc((100svh - var(--top-bar-height)) * 0.022), calc(100vw * 18 / var(--design-width))), 1.2rem);
  }
}

/* ============================================================
   RESPONSIVE LAYOUTS FOR ALL DEVICES
   ============================================================ */

@media (max-width: 1024px) {

  /* Compare */
  .compare .container {
    flex-direction: column;
    gap: 40px;
  }

  .compare__text {
    flex: 0 0 auto;
    width: 100%;
  }

  /* Crafted */
  .crafted__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Promo */
  .promo__grid {
    grid-template-columns: 1fr;
  }

  .promo__card {
    min-height: auto;
  }

  /* Testimonials */
  .testimonials .container {
    flex-direction: column;
    align-items: stretch;
  }

  .testimonials__intro {
    flex: 0 0 auto;
  }

  /* Newsletter */
  .newsletter__layout {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .newsletter__form {
    max-width: 100%;
    width: 100%;
  }

  /* Footer */
  .footer__main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__brand {
    grid-column: span 2;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {

  /* Crafted */
  .crafted__grid {
    grid-template-columns: 1fr;
  }

  /* Compare */
  .cmp-grid {
    grid-template-columns: 1fr 0.6fr 10px 1fr;
  }

  .cg-feat {
    padding: 10px;
    font-size: 0.7rem;
  }

  .cg-trad {
    padding: 10px;
    font-size: 0.7rem;
  }

  .cg-chk {
    padding: 10px 5px;
  }

  .cg-head,
  .cg-trad.cg-head {
    font-size: 0.55rem;
  }

  .cg-vs {
    width: 24px;
    height: 24px;
    font-size: 0.5rem;
  }

  /* Promo */
  .promo__card {
    flex-direction: column;
    height: auto;
    aspect-ratio: auto;
  }

  .promo__content {
    width: 100%;
    padding: 24px;
  }

  .promo__image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
  }

  .promo__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }

  /* Trust */
  .trust__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__track {
    flex-direction: column;
  }

  .testimonials__nav {
    margin-top: 10px;
  }

  /* Footer */
  .footer__main {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* ============================================================
   RESPONSIVE: 1440px Laptops
   ============================================================ */
@media (max-width: 1440px) {
  :root {
    --pad-x: 24px;
  }

  .journey__stages {
    gap: 10px;
  }

  .journey__stage {
    padding: 0 10px;
  }

  .testimonials .container {
    gap: 20px;
    padding: 27.5px 40px;
  }
}

/* ============================================================
   RESPONSIVE: 1024px Tablets & Small Laptops
   ============================================================ */
@media (max-width: 1024px) {
  .site-header .container {
    gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .main-nav__list {
    gap: 15px;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media"
      "features";
    gap: 30px;
    height: auto;
  }

  .hero__copy {
    text-align: center;
    align-items: center;
    padding: 0;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__features {
    justify-content: center;
    border-top: none;
    border-bottom: 1px solid var(--clr-rose);
  }

  .hero__media {
    --hero-media-bleed: 0px;
  }

  .hero__media-frame {
    margin: 0 auto;
  }

  .journey__path {
    display: none;
  }

  .journey__stages {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .journey__arrow {
    transform: rotate(90deg);
  }

  .journey__stage {
    width: 100%;
    margin-top: 0 !important;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESPONSIVE: 2460px Ultra-Wide Screens
   ============================================================ */
@media (min-width: 2460px) {
  .hero__image {
    max-height: 800px;
    object-fit: contain;
  }

  .hero__inner,
  .site-header .container {
    max-width: 2000px;
  }
}

/* Homepage: header + complete hero fill the first viewport without an announcement bar. */
.homepage {
  --announcement-height: 0px;
  --top-bar-height: var(--header-height);
  --hero-viewport-height: calc(100svh - var(--header-height));
}

.homepage .site-header {
  position: relative;
  top: auto;
  background: var(--clr-canvas);
}

.homepage .hero {
  /* Match the compact banner treatment in the supplied reference: the
     nursery artwork should end above the next section, not fill the viewport. */
  height: clamp(685px, calc(38vw + 55px), 775px);
  min-height: clamp(685px, calc(38vw + 55px), 775px);
  max-height: clamp(685px, calc(38vw + 55px), 775px);
}

.homepage .hero__layout {
  grid-template-columns: var(--hero-text-col) minmax(0, var(--hero-media-col));
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "copy media"
    "features media";
  height: 100%;
}

.homepage .hero__copy,
.homepage .hero__features {
  z-index: 10;
}

.homepage .hero__media {
  /* Position against the complete hero layout, not the media grid cell. */
  grid-area: auto;
  top: 0;
  /* Reference-aligned left boundary: immediately after the copy column. */
  left: calc(6% - 10px);
  /* The PNG includes the approved asymmetric silhouette; do not replace it
     with a generic CSS crop. */
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.homepage .hero__media-frame {
  overflow: visible;
  border-radius: 0;
}

/* Keep the supplied crib artwork in the established right-side hero banner position. */
.homepage .hero__image {
  /* The source image already contains the intended curved frame and composition. */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  /* Extend the artwork 10px to the left while anchoring its right edge. */
  transform: scaleX(1.00825);
  transform-origin: right center;
}

/* The larger hero artwork must not push the trust row lower. */
@media (min-width: 1024px) {
  .homepage .hero__eyebrow {
    font-size: calc(var(--hero-eyebrow-size) + 2px);
    transform: translate(5px, 10px);
  }

  .homepage .hero__title {
    font-size: calc(var(--hero-title-size) - 3px);
  }

  .homepage .hero__description {
    font-size: calc(var(--hero-desc-size) + 2px);
  }

  .homepage .btn--hero {
    width: 260px;
    min-height: 54px;
    justify-content: center;
    gap: 12px;
    font-size: calc(var(--hero-btn-size) + 2px);
    padding: 0 24px;
  }

  .homepage .hero__copy {
    transform: translateY(-45px);
  }

  .homepage .hero__features {
    width: calc(100% + 86px);
    max-width: none;
    justify-content: space-between;
    gap: 0;
    transform: translateY(-78px);
  }
}

@media (max-width: 767px) {
  .homepage {
    --header-height: 60px;
  }

  .homepage .hero__layout {
    grid-template-columns: 52% 48%;
    grid-template-areas:
      "copy media"
      "features features";
  }

  .homepage .hero__features {
    width: 100%;
    background: var(--clr-canvas);
    padding: 12px 8px 14px;
  }
}
