@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Pacifico";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pacifico-latin.woff2") format("woff2");
}

:root {
  --cream: #ffffff;
  --paper: #f7efe6;
  --blush: #f6d9c8;
  --ink: #2b211c;
  --ink-soft: #5c4638;
  --coral: #e07a5f;
  --coral-dark: #c45c42;
  --gold: #e9c46a;
  --sky: #7eb8d4;
  --line: rgba(43, 33, 28, 0.1);
  --shadow: 0 10px 28px rgba(43, 33, 28, 0.08);
  --radius: 22px;
  --max: 1180px;
  --header-h: 72px;
  --shop-bar-h: 132px;
  --font: "Nunito", "Segoe UI", system-ui, sans-serif;
  --script: "Pacifico", "Nunito", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

.has-shop-bar {
  padding-bottom: var(--shop-bar-h);
}

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

a {
  color: var(--coral-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0.5rem;
}

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), 760px);
}

.announce {
  margin: 0;
  padding: 0.55rem 1rem;
  text-align: center;
  background: var(--blush);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
}

.header-top {
  min-height: 76px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  justify-items: center;
}

.wordmark {
  grid-column: 2;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 2.9rem);
  color: var(--coral-dark);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.35rem 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  justify-self: start;
  grid-column: 1;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 11px;
}

.nav-toggle-bar::before {
  top: 14px;
}

.nav-toggle-bar::after {
  bottom: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 0.15rem 1rem 1rem;
  background: #fff;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a[aria-current="page"] {
  color: var(--coral-dark);
}

.site-nav-static {
  display: flex;
  flex-wrap: wrap;
}

.site-header.is-compact .announce,
.site-header.is-compact .header-top {
  display: none;
}

.site-header.is-compact .site-nav {
  padding: 0.35rem 1rem;
  background: var(--blush);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  border: 2px solid var(--ink);
  gap: 0.45rem;
}

.btn:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: #fff;
}

.btn-small {
  min-height: 44px;
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

.hero {
  padding: 0.5rem 0 0;
}

.hero-carousel {
  position: relative;
}

.hero-viewport {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 5 / 8;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide picture,
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  object-fit: cover;
  object-position: center;
}

.hero-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 0 0.2rem;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d8c8bc;
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #8a7264;
}

@media (min-width: 1025px) {
  .hero-viewport {
    aspect-ratio: 2 / 1;
  }
}

.intro {
  text-align: center;
  padding: 0.5rem 0 2.5rem;
}

.intro-kicker {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--coral-dark);
}

.intro > h1,
.intro > h2,
.section-head h2,
.follow h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.intro p,
.section-intro {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin: 0 auto;
}

.about-story,
.about-parents {
  text-align: left;
}

.about-story p + p {
  margin-top: 0.9rem;
}

.about-line,
.about-welcome,
.about-tag {
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.about-welcome {
  margin-top: 0.55rem;
}

.about-parents {
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.about-parents h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
  text-align: center;
  line-height: 1.2;
}

.about-point {
  margin-top: 1.2rem;
}

.about-point h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.about-point p {
  margin: 0;
}

.about-tag {
  margin-top: 2rem;
}

.about-meta {
  margin-top: 0.45rem;
  font-size: 0.95rem;
}

.about-page {
  padding-top: 1.6rem;
  padding-bottom: 4.5rem;
}

.about-hero {
  text-align: center;
  background: var(--blush);
  border-radius: 28px;
  padding: 2.1rem 1.5rem 2rem;
  margin: 0 auto 2rem;
  max-width: 52rem;
}

.about-hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

.about-page .about-story {
  max-width: 42rem;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 28px;
  padding: 2rem 1.7rem 1.85rem;
  box-shadow: var(--shadow);
}

.about-page .about-story p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin: 0;
}

.about-page .about-story p + p {
  margin-top: 1.05rem;
}

.about-page .about-story .about-line {
  margin-top: 1.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.about-page .about-story .about-welcome {
  font-family: var(--script);
  font-size: clamp(1.45rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--coral-dark);
  margin-top: 0.35rem;
}

.about-page .about-parents {
  margin-top: 3.25rem;
  padding-top: 0;
  border-top: 0;
}

.about-page .about-parents h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 1.6rem;
}

.about-points {
  display: grid;
  gap: 1.15rem;
}

.about-page .about-point {
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem 1.2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--coral);
}

.about-emoji {
  display: block;
  text-align: center;
  font-size: 1.75rem;
  line-height: 1;
  margin: 0 0 0.7rem;
}

.about-page .about-point h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}

.about-page .about-point p {
  color: var(--ink-soft);
}

@media (min-width: 720px) {
  .about-page .about-story {
    padding: 2.35rem 2.5rem 2.1rem;
  }

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

@media (min-width: 1024px) {
  .about-hero {
    padding: 2.6rem 2rem 2.4rem;
  }

  .about-points {
    grid-template-columns: repeat(6, 1fr);
  }

  .about-page .about-point {
    grid-column: span 2;
  }

  .about-page .about-point:nth-child(4),
  .about-page .about-point:nth-child(5) {
    grid-column: span 3;
  }
}

.section {
  padding: 2.4rem 0 3rem;
}

.section.about-page {
  padding-top: 1.6rem;
  padding-bottom: 4.5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 1.6rem;
}

.section-intro {
  text-align: center;
  max-width: 40rem;
  margin: -0.6rem auto 1.6rem;
}

.product-row {
  display: grid;
  gap: 1.35rem;
}

.product-card {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-media {
  display: block;
  background: var(--paper);
  border-radius: 24px;
  padding: 1.1rem 1.1rem 0.4rem;
  overflow: hidden;
}

.cover {
  width: 78%;
  margin-inline: auto;
  aspect-ratio: 1 / 1.08;
  object-fit: contain;
}

.cover-cycle {
  display: grid;
  justify-items: center;
}

.cover-cycle .cover {
  grid-area: 1 / 1;
  transition: opacity 0.6s ease;
}

.cover-cycle .cover:not(.is-active) {
  opacity: 0;
}

.product-card h3 {
  margin: 0.9rem 0 0.2rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
}

.product-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.product-card h3 a:hover {
  color: var(--coral-dark);
}

.product-copy {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0.35rem 0 0.2rem;
}

.product-meta {
  margin: auto 0 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.btn.product-buy {
  align-self: center;
  margin-top: 0.75rem;
  background: var(--blush);
  border-color: var(--blush);
  color: var(--ink);
}

.btn.product-buy:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: #fff;
}

.ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  z-index: 1;
}

.ribbon-winter {
  background: var(--sky);
  color: #123;
}

.ribbon-kindle {
  background: var(--coral);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.product-card.is-showing-kindle .ribbon-kindle {
  opacity: 1;
  visibility: visible;
}

.follow {
  text-align: center;
  padding: 1rem 0 5.5rem;
}

.follow p {
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
}

.follow .btn {
  display: flex;
  align-items: center;
  width: max-content;
  margin-inline: auto;
}

.follow .btn + .btn {
  margin-top: 0.75rem;
}

.btn.btn-instagram {
  background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
  border-color: transparent;
  color: #fff;
}

.btn.btn-instagram:hover {
  background: linear-gradient(45deg, #f7c41d 0%, #e01e6d 50%, #5420c4 100%);
  border-color: transparent;
  color: #fff;
}

.btn.btn-tiktok {
  background: #010101;
  border-color: transparent;
  color: #fff;
  box-shadow: -3px 0 0 #25f4ee, 3px 0 0 #fe2c55;
}

.btn.btn-tiktok:hover {
  background: #1a1a1a;
  border-color: transparent;
  color: #fff;
  box-shadow: -4px 0 0 #25f4ee, 4px 0 0 #fe2c55;
}

.footer-art {
  width: min(280px, 70%);
  margin: 0.4rem 0 0 auto;
  justify-self: end;
  align-self: end;
}

.site-footer {
  background: var(--blush);
  padding: 3.5rem 0 2.5rem;
  color: var(--ink);
  margin-top: -2.5rem;
  border-top-left-radius: 50% 40px;
  border-top-right-radius: 50% 40px;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-grid h2 {
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  height: 1.65em;
}

.footer-grid li + li,
.footer-grid p {
  margin: 0.35rem 0 0;
}

.footer-grid a {
  color: var(--ink);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--coral-dark);
}

.footer-grid li a,
.footer-grid li strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 100%;
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.social-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-grid .social-icon {
  width: 1em;
  height: 1em;
  display: block;
}

.footer-legal {
  margin-top: 2rem;
}

.legal {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.legal-page {
  padding-top: 2rem;
}

.legal-page h1 {
  font-size: 2rem;
}

.shop-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
}

.shop-bar .btn {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shop-bar .btn:hover {
  background: #a84b37;
  border-color: #a84b37;
  color: #fff;
}

.shop-bar .btn-amazon {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: #fff;
}

.shop-bar .btn-amazon:hover {
  background: #a84b37;
  border-color: #a84b37;
  color: #fff;
}

.shop-bar .btn-etsy {
  background: #f1641e;
  border-color: #f1641e;
}

.shop-bar .btn-etsy:hover {
  background: #d95a1a;
  border-color: #d95a1a;
  color: #fff;
}

.shop-bar.is-over-footer {
  background: var(--blush);
  border-top-color: transparent;
}

.shop-bar.is-over-footer .btn-amazon,
.shop-bar.is-over-footer .btn-etsy {
  background: var(--blush);
  border-color: var(--ink);
  color: var(--ink);
}

.shop-bar.is-over-footer .btn-amazon:hover,
.shop-bar.is-over-footer .btn-etsy:hover {
  background: var(--blush);
  border-color: var(--ink);
  color: var(--ink);
}

@media (min-width: 800px) {
  .product-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: calc((100% - 3 * 1.35rem) / 2 + 1.35rem);
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr) auto;
    padding-top: 1.5rem;
    align-items: start;
  }

  .footer-art {
    width: 280px;
    margin: 0;
    justify-self: end;
  }

  .shop-bar {
    display: none;
  }

  body.has-shop-bar {
    padding-bottom: 0;
  }
}

@media (max-width: 799px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header.is-compact .announce {
    display: none;
  }

  .site-header.is-compact .header-top {
    display: grid;
  }

  .site-header.is-compact .site-nav {
    display: none;
    background: #fff;
  }

  .site-header.is-compact .site-nav.is-open {
    display: flex;
  }

  .site-nav-static {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    border: 0;
    padding: 0 0 1rem;
    gap: 0.75rem;
  }

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

  .product-row-2 {
    grid-template-columns: 1fr;
  }

  .product-row-2 .product-copy {
    max-width: 36rem;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide,
  .cover-cycle .cover,
  .ribbon-kindle {
    transition: none;
  }
}
