/* ══════════════════════════════════════════════════════════════
   lotion buddy — styles.css
   Palette sampled from the product photos:
   sky (hero backdrop) · sun (flowers) · coral (lip balm) · ocean (cap)
   ══════════════════════════════════════════════════════════════ */

:root {
  --sky:        #BFE4EC;
  --sky-deep:   #A9DAE3;
  --sky-light:  #DFF1F6;
  --cream:      #FFF8ED;
  --ink:        #16384E;
  --ink-soft:   #3E5D73;
  --sun:        #FFB428;
  --sun-light:  #FFE7AE;
  --coral:      #F4788F;
  --ocean:      #1E6E9F;
  --ease-pop:   cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1rem/1.6 "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
h1, h2 { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 600; color: var(--ink); }
::selection { background: var(--coral); color: #fff; }

.wrap { width: min(1120px, 92%); margin-inline: auto; position: relative; z-index: 1; }
.center { text-align: center; }

.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 16px; top: 16px; z-index: 100;
  background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 12px; text-decoration: none;
}

/* ---------- candy buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .35em;
  font: 600 1.05rem "Fredoka", sans-serif;
  color: var(--ink); background: var(--sun);
  border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 15px 30px; text-decoration: none;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .18s var(--ease-pop), box-shadow .18s var(--ease-pop);
}
.btn:hover  { transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink); }
.btn:active { transform: translateY(3px);  box-shadow: 0 2px 0 var(--ink); }
.btn:focus-visible,
summary:focus-visible,
a:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
.btn-sm { padding: 9px 20px; font-size: .98rem; box-shadow: 0 4px 0 var(--ink); }
.btn-sm:hover { box-shadow: 0 6px 0 var(--ink); }
.btn-lg { padding: 17px 34px; font-size: 1.15rem; }
.btn-ghost { background: #fff; }

/* ---------- floating header ---------- */
.site-head {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
}
.head-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 18px;
  background: rgba(255, 251, 243, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 8px 9px 8px 20px;
  box-shadow: 0 5px 0 rgba(22, 56, 78, .9);
  transition: box-shadow .25s;
}
.site-head.scrolled .head-pill {
  box-shadow: 0 5px 0 rgba(22, 56, 78, .9), 0 16px 32px rgba(22, 56, 78, .16);
}
.wordmark {
  display: flex; align-items: center; gap: 9px;
  font: 600 1.25rem "Fredoka", sans-serif;
  color: var(--ink); text-decoration: none;
}
.wordmark svg { width: 22px; height: 22px; }

/* ---------- drip dividers ---------- */
.divider { line-height: 0; font-size: 0; }
.divider svg { display: block; width: 100%; height: 74px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--sky);
  padding: 155px 0 110px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.eyebrow {
  font: 500 1rem "Fredoka", sans-serif;
  color: var(--ocean); letter-spacing: .08em;
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.06; margin: 0 0 20px;
}
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 46ch; margin: 0; }
.cta-row { display: flex; margin-top: 28px; }
.ship-note { font-size: .95rem; color: var(--ink-soft); margin: 12px 0 0; }

.chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; padding: 0; margin: 26px 0 0;
}
.chips li {
  font: 500 .85rem "Fredoka", sans-serif;
  background: #fff; border: 2px solid var(--ink); border-radius: 999px;
  padding: 7px 14px;
  box-shadow: 0 3px 0 rgba(22, 56, 78, .25);
}

.hero-art { position: relative; }
.hero-blob {
  max-width: 460px; margin-inline: auto;
  border: 9px solid #fff; overflow: hidden;
  border-radius: 58% 42% 55% 45% / 52% 58% 42% 48%;
  box-shadow: 0 24px 50px rgba(22, 56, 78, .18);
  animation: blobMorph 14s ease-in-out infinite alternate,
             floatY 7s ease-in-out infinite;
}
.hero-blob img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 1 / 1; object-fit: cover;
}
.spin-badge {
  position: absolute; width: 128px; left: -14px; bottom: -18px;
  animation: spin 22s linear infinite;
  filter: drop-shadow(0 6px 10px rgba(22, 56, 78, .18));
}
.badge-text {
  font: 600 10.5px "Fredoka", sans-serif;
  letter-spacing: 1.6px; fill: var(--ink);
}

/* soft background blobs + bobbing droplets */
.blob {
  position: absolute; will-change: transform;
  border-radius: 47% 53% 58% 42% / 48% 52% 48% 52%;
}
.blob-1 { width: 560px; height: 560px; background: rgba(255, 255, 255, .5);  top: -180px; right: -140px; }
.blob-2 { width: 420px; height: 420px; background: rgba(30, 110, 159, .10); bottom: -160px; left: -150px; }
.float-drop { position: absolute; animation: bob 6s ease-in-out infinite alternate; }
.drop-1 { width: 44px; top: 17%; left: 4.5%; animation-duration: 7s; }
.drop-2 { width: 30px; top: 64%; right: 5%; animation-delay: 1.2s; }

/* ---------- section backgrounds ---------- */
.sect-cream { background: var(--cream); }
.sect-sky-light { background: var(--sky-light); }
section { position: relative; }
.pattern::before, .pattern-soft::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/pattern.svg") 0 0 / 230px auto;
  opacity: .55; pointer-events: none;
}
.pattern-soft::before { opacity: .3; }

/* ---------- feature sections ---------- */
.feature .wrap { padding: 60px 0 104px; }
.feat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.feat-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0 0 16px; }
.feat-copy p { font-size: 1.12rem; color: var(--ink-soft); line-height: 1.65; max-width: 46ch; margin: 0; }

.feat-art { position: relative; }
.photo-blob {
  border: 9px solid #fff; overflow: hidden;
  border-radius: 46% 54% 52% 48% / 55% 44% 56% 45%;
  box-shadow: 0 22px 44px rgba(22, 56, 78, .16);
  max-width: 440px; margin-inline: auto;
}
.photo-blob img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ar-34 img { aspect-ratio: 3 / 4; }
.ar-43 { max-width: 520px; }
.ar-43 img { aspect-ratio: 4 / 3; }
.tilt-l { transform: rotate(-2.5deg); }
.tilt-r { transform: rotate(2deg); }

.sticker {
  position: absolute; bottom: 22px;
  padding: 9px 16px; border-radius: 999px;
  font: 500 .95rem "Fredoka", sans-serif; color: var(--ink);
  border: 2.5px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  transform: rotate(-6deg);
}
.st-coral { background: #FFD3DC; left: 6%; }
.st-sun   { background: #FFE3A6; right: 6%; transform: rotate(5deg); }

/* ---------- parallax band ---------- */
.parallax {
  position: relative; overflow: hidden;
  min-height: clamp(560px, 92vh, 860px);
  display: grid; align-items: center;
  background: #3a2a22;
}
.parallax .divider-top    { position: absolute; top: -1px; left: 0; right: 0; z-index: 3; }
.parallax .divider-bottom { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3; }
.parallax-bg { position: absolute; left: 0; right: 0; top: -11%; bottom: -11%; }
.parallax-bg img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.parallax-inner { z-index: 2; padding: 130px 0; }
.quote-card {
  max-width: 500px;
  background: var(--cream);
  border: 2.5px solid var(--ink); border-radius: 30px;
  padding: 36px 38px;
  box-shadow: 0 9px 0 var(--ink);
  transform: rotate(-1.5deg);
}
.quote-card h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0 0 14px; }
.quote-card p { color: var(--ink-soft); font-size: 1.1rem; line-height: 1.6; margin: 0; }
.mini-chip {
  display: inline-block; margin-top: 18px;
  font: 500 .85rem "Fredoka", sans-serif;
  background: #fff; border: 2px solid var(--ink);
  border-radius: 999px; padding: 6px 13px;
}

/* ---------- pull quote ---------- */
.quote-band { background: var(--ocean); }
.quote-band .wrap { padding: 60px 0 110px; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 880px; }
.quote-band p {
  font: 500 clamp(1.5rem, 3.4vw, 2.5rem)/1.35 "Fredoka", sans-serif;
  color: #fff; margin: 0 0 18px;
}
.quote-band cite { font: 600 1rem "Nunito", sans-serif; font-style: normal; color: rgba(255, 255, 255, .8); }

/* ---------- details + faq ---------- */
.details .wrap { padding: 60px 0 100px; }
.spec-chips { justify-content: center; margin-top: 0; }
.small-biz { text-align: center; color: var(--ink-soft); margin: 22px auto 0; max-width: 52ch; }
.faq-title { text-align: center; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 74px 0 26px; }
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: #fff; border: 2.5px solid var(--ink); border-radius: 20px;
  margin-bottom: 14px; box-shadow: 0 4px 0 rgba(22, 56, 78, .2);
  overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  font: 500 1.08rem "Fredoka", sans-serif; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font: 600 1.5rem "Fredoka", sans-serif;
  color: var(--ocean); line-height: 1; transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); line-height: 1.6; }
.faq details a { color: var(--ocean); font-weight: 700; }

/* ---------- final CTA ---------- */
.final-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FFF3D2 0%, #FFE7AE 100%);
}
.final-cta .wrap { padding: 56px 0 110px; }
.final-cta h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin: 0 0 6px; }
.big-price {
  font: 600 clamp(2.4rem, 6vw, 3.6rem) "Fredoka", sans-serif;
  color: var(--ocean); margin: 6px 0 24px;
}
.drop-3 { width: 54px; left: 7%; top: 36%; }
.drop-4 { width: 34px; right: 9%; top: 58%; animation-delay: 1s; }

/* ---------- wholesale ---------- */
.wholesale .wrap { padding: 56px 0 96px; }
.wholesale h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0 0 12px; }
.wholesale p { color: var(--ink-soft); font-size: 1.1rem; margin: 0 0 26px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #EAF2F7; }
.foot-inner { padding: 52px 0 46px; text-align: center; display: grid; gap: 10px; }
.foot-mark {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  font: 600 1.5rem "Fredoka", sans-serif; color: var(--cream); margin: 0 0 4px;
}
.foot-mark svg { width: 24px; height: 24px; }
.site-foot p { margin: 0; }
.site-foot a { color: #BFE4EC; font-weight: 700; text-underline-offset: 3px; }
.site-foot a:hover { color: #fff; }
.micro { opacity: .7; font-size: .9rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translate(-50%, 16px);
  background: var(--ink); color: #fff;
  font: 600 1rem "Nunito", sans-serif;
  padding: 13px 22px; border-radius: 999px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  z-index: 60;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- scroll reveals ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.in { opacity: 1; transform: none; }
.tilt-l.reveal.in { transform: rotate(-2.5deg); }
.tilt-r.reveal.in { transform: rotate(2deg); }
.quote-card.reveal.in { transform: rotate(-1.5deg); }
.btn.reveal.in {
  transition: transform .18s var(--ease-pop), box-shadow .18s var(--ease-pop);
}
.d2 { transition-delay: .12s; }
.d3 { transition-delay: .24s; }

/* ---------- animations ---------- */
@keyframes blobMorph {
  0%   { border-radius: 58% 42% 55% 45% / 52% 58% 42% 48%; }
  50%  { border-radius: 45% 55% 48% 52% / 58% 46% 54% 42%; }
  100% { border-radius: 52% 48% 42% 58% / 46% 52% 48% 54%; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes bob {
  from { transform: translateY(0) rotate(-5deg); }
  to   { transform: translateY(-14px) rotate(6deg); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 132px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .lede { margin-inline: auto; }
  .cta-row, .chips { justify-content: center; }
  .hero-blob { max-width: 340px; }
  .spin-badge { width: 104px; left: 2px; bottom: -14px; }

  .feat-grid { grid-template-columns: 1fr; gap: 40px; }
  .feat-copy { order: 1; text-align: center; }
  .feat-copy p { margin-inline: auto; }
  .feat-art { order: 2; }
  .photo-blob { max-width: 400px; }

  .parallax { min-height: 74svh; }
  .parallax-inner { padding: 110px 0; }
  .quote-card { margin-inline: auto; padding: 30px 28px; }

  .divider svg { height: 54px; }
}

@media (max-width: 480px) {
  .head-pill { gap: 10px; padding-left: 14px; }
  .wordmark { font-size: 1.08rem; }
  .chips li { font-size: .8rem; }
  .sticker { font-size: .85rem; bottom: 14px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .tilt-l { transform: rotate(-2.5deg); }
  .tilt-r { transform: rotate(2deg); }
  .quote-card { transform: rotate(-1.5deg); }
}
