/* ==========================================================================
   THE LITTLE ROO — Warm Editorial Watercolor Design System
   Palette: cream / sage / terracotta / blush / ink
   Type: Fraunces (display+body) + DM Mono (UI labels)
   ========================================================================== */

/* --- Reset & Base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "ss01", "ss02", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; border-radius: 2px; }

/* --- Design Tokens ------------------------------------------------------ */
:root {
  /* Colors — calibrated to actual brand IG palette */
  --cream: #FBF8F3;            /* dominant light cream */
  --cream-light: #FFFCF7;      /* near-white for cards */
  --cream-deep: #F0E9DD;       /* soft beige */
  --paper: #F7F2EA;            /* alt background section */
  /* The 5 Gentle Essentials variants */
  --blush-whisper: #E6C7C2;
  --sky-lullaby: #B8C9D9;
  --sage-haven: #BCC9B5;
  --cloud-embrace: #C5BCB1;
  --warm-nest: #B59C84;
  /* Working accents */
  --sage: #BCC9B5;
  --sage-dark: #8A9882;
  --sage-deep: #5F6E58;
  --terracotta: #C89B7B;
  --terracotta-dark: #A87A5C;
  --blush: #E6C7C2;
  --blush-deep: #D4A097;
  --gold: #B5946A;
  --ink: #3D3329;
  --ink-soft: #6B5D4F;
  --ink-mute: #A89B8B;
  --line: rgba(61, 51, 41, 0.10);
  --line-soft: rgba(61, 51, 41, 0.05);
  --shadow-sm: 0 2px 12px rgba(61, 51, 41, 0.06);
  --shadow-md: 0 8px 32px rgba(61, 51, 41, 0.08);
  --shadow-lg: 0 24px 64px rgba(61, 51, 41, 0.12);

  /* Spacing */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Type scale (clamp for responsive) */
  --t-hero: clamp(2.5rem, 7vw, 6rem);
  --t-display: clamp(2rem, 5vw, 4rem);
  --t-h2: clamp(1.75rem, 3.5vw, 2.75rem);
  --t-h3: clamp(1.25rem, 2vw, 1.625rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-mono: 0.75rem;
}

/* --- Type --------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 144;
}
h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-display); }
h3 { font-size: var(--t-h2); }
h4 { font-size: var(--t-h3); }

.italic, em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }

.mono {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: var(--t-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

p { font-size: var(--t-body); color: var(--ink-soft); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--ink-soft); }

/* --- Layout ------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 10vw, 140px); }
.section-divider {
  height: 1px;
  background: var(--line);
  max-width: var(--container);
  margin-inline: auto;
}

/* --- Paper grain texture (subtle) --------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.24, 0 0 0 0 0.20, 0 0 0 0 0.16, 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Announcement marquee ----------------------------------------------- */
.announce {
  background: var(--ink);
  color: var(--cream-light);
  overflow: hidden;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-block: 10px;
  position: relative;
  z-index: 10;
}

/* --- The 5 Gentle Essentials color swatch grid -------------------------- */
.swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  max-width: 880px;
  margin-inline: auto;
}
@media (max-width: 640px) {
  .swatches { grid-template-columns: repeat(5, 1fr); gap: 2px; }
}
.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}
.swatch-color {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  position: relative;
  transition: transform .5s ease;
  box-shadow: inset 0 -40px 40px -30px rgba(61,51,41,0.18);
}
.swatch:hover .swatch-color { transform: translateY(-6px); }
.swatch-name {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  color: var(--ink);
  margin-top: 16px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  text-align: center;
  line-height: 1.2;
}
.swatch-tone {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
  text-align: center;
}
@media (max-width: 540px) {
  .swatch-name { font-size: 0.7rem; }
  .swatch-tone { display: none; }
}

/* --- Stack-of-swaddles centerpiece visual ------------------------------- */
.stack-visual {
  max-width: 480px;
  margin-inline: auto;
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
}
.stack-visual .layer {
  position: absolute;
  width: 70%;
  height: 8%;
  border-radius: 4px;
  box-shadow: 0 6px 24px -8px rgba(61,51,41,0.15), inset 0 -8px 12px -8px rgba(61,51,41,0.08);
  left: 15%;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.stack-visual .layer.l1 { background: var(--blush-whisper); top: 30%; }
.stack-visual .layer.l2 { background: var(--cloud-embrace); top: 39%; }
.stack-visual .layer.l3 { background: var(--warm-nest); top: 48%; }
.stack-visual .layer.l4 { background: var(--sage-haven); top: 57%; }
.stack-visual .layer.l5 { background: var(--sky-lullaby); top: 66%; }
.stack-visual:hover .l1 { transform: translateY(-12px) rotate(-1deg); }
.stack-visual:hover .l2 { transform: translateY(-8px) rotate(0.5deg); }
.stack-visual:hover .l3 { transform: translateY(-4px); }
.stack-visual:hover .l4 { transform: translateY(4px) rotate(-0.5deg); }
.stack-visual:hover .l5 { transform: translateY(8px) rotate(1deg); }
.stack-visual::after {
  content: "";
  position: absolute;
  bottom: 18%;
  left: 20%; right: 20%;
  height: 12px;
  background: radial-gradient(ellipse, rgba(61,51,41,0.12), transparent 70%);
  filter: blur(4px);
}

/* --- Inline logo mark (small kangaroo glyph SVG) ------------------------ */
.brand-mark {
  width: 56px;
  height: 56px;
  display: inline-block;
}
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track span::after { content: "✺"; margin-left: 4rem; color: var(--terracotta); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Nav ---------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 230, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: 18px;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav-links.left { justify-content: flex-start; }
.nav-links.right { justify-content: flex-end; }
.nav-links a { position: relative; padding-block: 4px; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--terracotta);
}
.nav-brand {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-brand span { color: var(--terracotta); }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-inner { grid-template-columns: 1fr auto auto; }
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 32px var(--gutter);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    gap: 18px;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    justify-self: end;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform .3s, opacity .3s;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--ink); color: var(--cream-light); }
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink-soft); padding: 8px 0; border-radius: 0; border-bottom: 1px solid var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn .arrow { display: inline-block; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* --- Editorial section header ------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin-bottom: 24px;
}
.eyebrow .num {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  color: var(--terracotta-dark);
}

/* --- HERO --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(80px, 14vh, 180px) clamp(80px, 14vh, 160px);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.hero h1 {
  max-width: 16ch;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.hero h1 em {
  color: var(--terracotta-dark);
  display: inline-block;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  max-width: 42ch;
  color: var(--ink-soft);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: "•"; color: var(--sage); }

/* Decorative watercolor blobs */
.watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
}
.watermark.tl { top: -50px; left: -80px; width: 320px; }
.watermark.br { bottom: -60px; right: -60px; width: 360px; }
.watermark.tr { top: 40px; right: 5%; width: 200px; }

/* --- Story / dual column ------------------------------------------------ */
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 880px) {
  .story.alt { grid-template-columns: 1.1fr 1fr; }
  .story.alt.reverse { grid-template-columns: 1fr 1.1fr; }
  .story.alt.reverse .story-img { order: -1; }
}
.story-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.story-img.tall { aspect-ratio: 3 / 4; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-img .caption {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(245, 239, 230, 0.92);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.story-text h2 { margin-bottom: 24px; max-width: 18ch; }
.story-text h2 em { color: var(--terracotta-dark); }
.story-text p { margin-bottom: 16px; max-width: 50ch; }
.story-text .btn-ghost { margin-top: 16px; display: inline-block; }

/* --- Value pillars ------------------------------------------------------ */
.values {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.value {
  padding: 32px 24px;
  background: var(--cream-light);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  background: var(--cream-deep);
  border-radius: 50%;
  margin-bottom: 20px;
}
.value h4 { margin-bottom: 8px; font-style: italic; }
.value p { font-size: 0.95rem; }

/* --- Product grid ------------------------------------------------------- */
.products-grid {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.product-card {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .35s ease;
}
.product-card:hover { transform: translateY(-6px); }
.product-img {
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--terracotta);
  color: var(--cream-light);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.product-badge.oos { background: var(--ink-mute); }
.product-cat {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.product-name {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}
.price-now { font-weight: 500; color: var(--ink); }
.price-old { text-decoration: line-through; color: var(--ink-mute); font-size: 0.875rem; }
.price-hidden {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
}

/* --- Filter bar --------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-block: 32px;
  border-block: 1px solid var(--line);
  margin-bottom: 48px;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .25s;
  background: transparent;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--cream-light); border-color: var(--ink); }
.filter-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-sort select {
  font: inherit;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}

/* --- Product detail ----------------------------------------------------- */
.pd-grid {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .pd-grid { grid-template-columns: 1.15fr 1fr; align-items: start; }
}
.pd-gallery { position: relative; }
.pd-main-img {
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.pd-thumb {
  aspect-ratio: 1;
  background: var(--cream-deep);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
  padding: 0;
}
.pd-thumb.active { border-color: var(--terracotta); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { position: sticky; top: 100px; }
.pd-info .product-cat { margin-bottom: 12px; }
.pd-info h1 {
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 16px;
  line-height: 1.1;
}
.pd-info .price-block { display: flex; gap: 12px; align-items: baseline; margin: 16px 0 24px; }
.pd-info .price-block .price-now { font-size: 1.5rem; }
.pd-info .price-block .price-old { font-size: 1rem; }
.pd-info .price-block .info-diskon {
  background: var(--blush);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pd-info hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.pd-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.pd-meta dt {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  align-self: center;
}
.pd-meta dd { color: var(--ink); }
.pd-desc { color: var(--ink-soft); white-space: pre-line; line-height: 1.75; margin-bottom: 32px; }
.pd-cta-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.pd-marketplace { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.pd-mp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all .25s;
}
.pd-mp:hover { background: var(--ink); color: var(--cream-light); border-color: var(--ink); transform: translateY(-2px); }
.pd-mp .dot { width: 8px; height: 8px; border-radius: 50%; }
.pd-mp.shopee .dot { background: #ee4d2d; }
.pd-mp.tokopedia .dot { background: #03ac0e; }
.pd-mp.tiktok .dot { background: #000; }
.pd-mp.wa .dot { background: #25d366; }
.pd-mp.other .dot { background: var(--gold); }

.pd-redeem {
  background: var(--cream-light);
  border: 1px dashed var(--terracotta);
  border-radius: 6px;
  padding: 18px 22px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pd-redeem-text { font-size: 0.875rem; }
.pd-redeem-code {
  font-family: 'DM Mono', monospace;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--terracotta-dark);
  background: var(--cream);
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  cursor: pointer;
}

/* --- Marquee tags strip ------------------------------------------------- */
.tags-strip {
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: hidden;
  background: var(--cream-light);
}
.tags-strip .marquee-track { animation-duration: 52s; }
.tags-strip span {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.tags-strip span::after {
  content: "❦";
  margin-left: 3rem;
  color: var(--terracotta);
  font-style: normal;
  font-size: 0.6em;
  vertical-align: middle;
}

/* --- IG feed (mock) ----------------------------------------------------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
@media (min-width: 640px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .ig-grid { grid-template-columns: repeat(6, 1fr); } }
.ig-tile {
  aspect-ratio: 1;
  background: var(--cream-deep);
  position: relative;
  overflow: hidden;
  transition: transform .4s;
}
.ig-tile:hover { transform: scale(0.98); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.ig-tile::after {
  content: "@thelittleroo.co";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(61, 51, 41, 0.6);
  color: var(--cream-light);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0;
  transition: opacity .3s;
}
.ig-tile:hover::after { opacity: 1; }

/* --- Footer ------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--cream-light);
  padding-block: clamp(60px, 8vw, 100px) 40px;
  position: relative;
  z-index: 2;
}
.footer .container { display: grid; gap: 60px; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.footer h5 {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-deep);
  margin-bottom: 20px;
  font-weight: 500;
  opacity: 0.7;
}
.footer ul li { margin-bottom: 12px; font-size: 0.95rem; }
.footer a { color: var(--cream-light); opacity: 0.85; }
.footer a:hover { color: var(--terracotta); opacity: 1; }
.footer-brand h3 {
  color: var(--cream-light);
  font-style: italic;
  font-size: 2rem;
  margin-bottom: 16px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.footer-brand p { color: var(--cream-deep); opacity: 0.7; font-size: 0.95rem; max-width: 32ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 239, 230, 0.15);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-deep);
  opacity: 0.6;
}

/* --- Loading skeleton --------------------------------------------------- */
.skel {
  background: linear-gradient(110deg, var(--cream-deep) 8%, var(--cream-light) 18%, var(--cream-deep) 33%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  border-radius: 4px;
}
.skel-product {
  display: flex; flex-direction: column; gap: 12px;
}
.skel-img { aspect-ratio: 4 / 5; }
.skel-line { height: 14px; }
.skel-line.w-80 { width: 80%; }
.skel-line.w-60 { width: 60%; }
.skel-line.w-40 { width: 40%; }
@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* --- Empty / error ------------------------------------------------------ */
.empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-mute);
}
.empty h3 { color: var(--ink); margin-bottom: 12px; font-style: italic; }

/* --- Reveal animation on scroll ----------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* --- PLAY page specific ------------------------------------------------- */
.play-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.play-tab {
  padding: 18px 32px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .3s;
  background: none;
  border-top: none; border-left: none; border-right: none;
  cursor: pointer;
}
.play-tab.active { color: var(--ink); border-bottom-color: var(--terracotta); }
.play-tab:hover { color: var(--ink); }

.play-pane { display: none; }
.play-pane.active { display: block; animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Lullaby player */
.lullaby {
  text-align: center;
  padding: 40px 20px;
  max-width: 480px;
  margin-inline: auto;
}
.lullaby h2 { font-style: italic; margin-bottom: 8px; }
.lullaby p { margin-bottom: 32px; }
.lullaby-orb {
  position: relative;
  width: clamp(220px, 50vw, 280px);
  height: clamp(220px, 50vw, 280px);
  margin: 0 auto 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--blush), var(--terracotta) 50%, var(--terracotta-dark));
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 30px 80px rgba(200, 155, 123, 0.4);
  transition: transform .4s;
  border: none;
  padding: 0;
}
.lullaby-orb::before, .lullaby-orb::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid var(--terracotta);
  opacity: 0;
  animation: ripple 3s ease-out infinite;
}
.lullaby-orb.playing::before { opacity: 0.5; }
.lullaby-orb.playing::after { opacity: 0.3; animation-delay: 1.5s; }
.lullaby-orb:hover { transform: scale(1.03); }
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.lullaby-orb svg { width: 60px; height: 60px; fill: var(--cream-light); position: relative; z-index: 2; }
.lullaby-orb.playing { animation: breathe 4s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.timer-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.timer-chip {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: all .25s;
}
.timer-chip:hover { border-color: var(--ink); }
.timer-chip.active { background: var(--ink); color: var(--cream-light); border-color: var(--ink); }
.timer-remaining {
  margin-top: 18px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  min-height: 16px;
}

/* High-contrast slideshow */
.hc-launcher {
  margin-top: 60px;
  text-align: center;
}
.hc-fullscreen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 100;
  display: none;
  place-items: center;
  cursor: pointer;
}
.hc-fullscreen.open { display: grid; }
.hc-fullscreen .hc-stage {
  width: min(90vw, 90vh);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hc-fullscreen .hc-stage svg { width: 100%; height: 100%; }
.hc-fullscreen .hc-close {
  position: absolute;
  top: 24px; right: 24px;
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 12px 20px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: transparent;
}
.hc-fullscreen .hc-progress {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.hc-fullscreen .hc-progress span {
  width: 28px; height: 2px; background: #444;
}
.hc-fullscreen .hc-progress span.active { background: #fff; }

/* Milestones */
.milestones-form {
  display: flex; gap: 12px;
  max-width: 480px;
  margin: 0 auto 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.milestones-form input {
  flex: 1;
  min-width: 160px;
  font: inherit;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  padding: 14px 20px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}
.milestones-form input:focus { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.milestone-card {
  background: var(--cream-light);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 24px;
  display: grid;
  gap: 8px;
}
.milestone-card h4 { font-style: italic; margin-bottom: 4px; }
.milestone-card .age {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
}
.milestone-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tips-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 32px;
}
.tip-card {
  background: var(--cream-light);
  border-radius: 6px;
  padding: 28px 24px;
  border: 1px solid var(--line-soft);
}
.tip-card .num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.tip-card h4 { font-style: italic; font-size: 1.2rem; margin-bottom: 8px; }
.tip-card p { font-size: 0.95rem; }

/* --- Misc utilities ----------------------------------------------------- */
.center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.bg-cream-deep { background: var(--cream-deep); }
.text-italic { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.divider-dot {
  text-align: center;
  color: var(--terracotta);
  font-size: 1.5rem;
  letter-spacing: 1.5em;
  padding-left: 1.5em;
  margin: 24px 0;
}

/* Responsive type tightening */
@media (max-width: 540px) {
  body { font-size: 16px; }
  .pd-info { position: static; }
}
