:root {
  --ink: #2f2925;
  --muted: #756b63;
  --paper: #fffaf5;
  --cream: #f7eee4;
  --peach: #efb697;
  --pink: #f4d7d7;
  --sage: #cfd9c6;
  --blue: #dbe8ed;
  --yellow: #f3df9e;
  --white: #ffffff;
  --line: rgba(47, 41, 37, 0.12);
  --shadow: 0 18px 50px rgba(80, 63, 49, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 215, 215, .7), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(207, 217, 198, .65), transparent 25%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.page-shell { overflow: hidden; }
.hero {
  min-height: 760px;
  padding: 22px clamp(20px, 5vw, 78px) 72px;
  background:
    linear-gradient(rgba(255,255,255,.28), rgba(255,255,255,.28)),
    radial-gradient(circle at 20% 20%, rgba(239, 182, 151, .45), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(219, 232, 237, .78), transparent 28%),
    var(--cream);
  position: relative;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(47, 41, 37, .16);
  border-radius: 999px;
  pointer-events: none;
}
.hero::before { width: 170px; height: 170px; left: -76px; bottom: 90px; }
.hero::after { width: 110px; height: 110px; right: 4%; top: 18%; }

.topbar {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-paw {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 7px 20px rgba(71, 55, 44, .1);
}
.instagram-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 15px;
  border: 1px solid rgba(47, 41, 37, .18);
  border-radius: 999px;
  background: rgba(255,255,255,.5);
}

.hero-grid {
  width: min(1240px, 100%);
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
  align-items: center;
  gap: clamp(46px, 7vw, 110px);
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  color: #7a5748;
  margin-bottom: 14px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6.3vw, 94px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 500;
}
h1 em {
  display: inline-block;
  position: relative;
  font-weight: 500;
  color: #9d5c44;
}
h1 em::after {
  content: "";
  position: absolute;
  height: 10px;
  left: 3%;
  right: -2%;
  bottom: 2px;
  background: rgba(243, 223, 158, .88);
  z-index: -1;
  transform: rotate(-1.4deg);
  border-radius: 999px;
}
.hero-text {
  max-width: 600px;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  margin-bottom: 28px;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 13px 32px rgba(47, 41, 37, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 18px 35px rgba(47, 41, 37, .22); }
.tiny-note { margin: 18px 0 0; font-size: 13px; color: #8a7f76; }

.hero-photos {
  min-height: 510px;
  position: relative;
}
.photo-card {
  margin: 0;
  position: absolute;
  background: #fff;
  padding: 11px 11px 42px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.photo-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  text-align: center;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 13px;
  font-weight: 700;
}
.photo-main {
  width: min(385px, 82%);
  height: 480px;
  right: 7%;
  top: 0;
  transform: rotate(2.5deg);
}
.photo-baby {
  width: 205px;
  height: 230px;
  left: -2%;
  bottom: -8px;
  transform: rotate(-7deg);
  z-index: 2;
}
.doodle { position: absolute; font-size: 44px; color: #9d5c44; z-index: 3; }
.doodle-one { right: -1%; top: -30px; transform: rotate(10deg); }
.doodle-two { left: 13%; top: 14%; transform: rotate(-12deg); }

.category-strip {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 13px 18px;
  background: rgba(255, 250, 245, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.category-scroll {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category-chip {
  flex: 0 0 auto;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}
.category-chip:hover { background: var(--yellow); transform: translateY(-1px); }

.products-wrap {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 94px 0 56px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 56px;
}
.section-heading h2,
.about-copy h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.5vw, 61px);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 500;
}
.search-box {
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(80, 63, 49, .07);
}
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }

.product-section { scroll-margin-top: 94px; margin-bottom: 72px; }
.product-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.025em;
}
.product-section-title span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--blue);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  min-width: 0;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(47, 41, 37, .1);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(80, 63, 49, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(80, 63, 49, .13); }
.product-image-link { display: block; text-decoration: none; }
.product-image-wrap {
  position: relative;
  aspect-ratio: 1.22 / 1;
  background: linear-gradient(135deg, #fbf6f0, #f4eadf);
  overflow: hidden;
}
.product-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  mix-blend-mode: multiply;
  transition: transform .25s ease;
}
.product-card:hover .product-image { transform: scale(1.035); }
.image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 7px;
  background:
    radial-gradient(circle at 30% 20%, rgba(239, 182, 151, .65), transparent 30%),
    radial-gradient(circle at 75% 75%, rgba(207, 217, 198, .8), transparent 35%),
    #f8f0e7;
  color: #765b4d;
}
.image-fallback span { font-size: 40px; }
.image-fallback small { font-weight: 900; letter-spacing: .04em; }
.product-card-body { padding: 21px; }
.store-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--pink);
  color: #664d4d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-card h3 { margin-bottom: 8px; font-size: 19px; line-height: 1.23; letter-spacing: -.025em; }
.product-card p { min-height: 44px; margin-bottom: 19px; color: var(--muted); font-size: 14px; }
.product-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}
.empty-state { text-align: center; padding: 70px 20px 100px; color: var(--muted); }
.empty-state span { font-size: 52px; }
.empty-state p { margin: 12px 0 0; font-weight: 700; }

.about-card {
  width: min(1200px, calc(100% - 40px));
  min-height: 520px;
  margin: 20px auto 100px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #dce5d4;
  box-shadow: var(--shadow);
}
.about-photo { min-height: 520px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { align-self: center; padding: clamp(42px, 6vw, 84px); }
.about-copy p { max-width: 530px; margin: 24px 0 20px; color: #5f655b; font-size: 17px; }
.signature { font-family: "Segoe Print", "Comic Sans MS", cursive; font-weight: 800; }

footer {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
}
footer strong { font-size: 18px; }
footer p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
footer a { font-weight: 800; text-decoration: none; }

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; margin-top: 54px; }
  .hero-copy { max-width: 760px; }
  .hero-photos { width: min(620px, 100%); margin: 0 auto; }
  .photo-main { right: 5%; }
  .photo-baby { left: 3%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-card { grid-template-columns: 1fr; }
  .about-photo { min-height: 430px; max-height: 520px; }
}

@media (max-width: 680px) {
  .hero { padding: 17px 20px 54px; }
  .topbar { align-items: center; }
  .instagram-link { font-size: 12px; padding: 8px 11px; }
  .brand span:last-child { display: none; }
  .hero-grid { margin-top: 44px; gap: 46px; }
  h1 { font-size: clamp(49px, 15vw, 70px); }
  .hero-text { font-size: 18px; }
  .hero-photos { min-height: 440px; }
  .photo-main { width: 78%; height: 405px; right: 2%; }
  .photo-baby { width: 150px; height: 170px; left: 0; bottom: -4px; }
  .section-heading { align-items: stretch; flex-direction: column; margin-bottom: 40px; }
  .search-box { min-width: 0; width: 100%; }
  .products-wrap { width: min(100% - 28px, 1200px); padding-top: 70px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { display: grid; grid-template-columns: 122px 1fr; }
  .product-image-wrap { height: 100%; min-height: 210px; aspect-ratio: auto; }
  .product-image { padding: 10px; }
  .product-card-body { padding: 18px 16px; }
  .product-card h3 { font-size: 17px; }
  .product-card p { min-height: 0; font-size: 13px; margin-bottom: 16px; }
  .about-card { width: min(100% - 28px, 1200px); margin-bottom: 70px; border-radius: 24px; }
  .about-photo { min-height: 330px; }
  .about-copy { padding: 38px 25px 44px; }
  footer { width: min(100% - 28px, 1200px); flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
