@font-face {
  font-family: "Baloo 2";
  src: url("fonts/Baloo2-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #F28723;
  --teal: #1296B9;
  --pink: #E4467A;
  --brown: #5C341E;
  --text: #462D1E;
  --text-soft: #6A4A32;
  --cream: #FFF4E4;
  --cream-deep: #F7DBB4;
  --cream-mid: #FBE8C8;
  --heart: #F08CA0;
  --white: #fffef9;
  --card: #fffaf2;
  --shadow: 92, 52, 30;
  --header-h: 4.25rem;
  --wrap: 70rem;
  --radius: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  background-color: #F7DBB4;
}

body {
  margin: 0;
  font-family: "Baloo 2", "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background-color: #F7DBB4;
  background-image: radial-gradient(ellipse 90% 50% at 50% 0%, #FFF8EC 0%, #F7DBB4 100%);
  background-repeat: no-repeat;
  background-size: 100% 52rem;
  min-height: 100%;
}

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

a { color: var(--teal); }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}
.wrap.narrow { width: min(42rem, calc(100% - 2.5rem)); }
.center { text-align: center; }
.nobr { white-space: nowrap; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  background: var(--brown);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  z-index: 100;
}
.skip-link:focus { top: 0.75rem; }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(var(--shadow), 0.08);
}
.header-inner {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.logo {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28em;
  align-items: baseline;
}
.word { display: inline-block; }
.word.puggin { color: var(--orange); }
.word.through { color: var(--teal); }
.word.life { color: var(--pink); }

.nav-toggle { position: absolute; appearance: none; width: 0; height: 0; overflow: hidden; clip: rect(0,0,0,0); }
.nav-btn {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.7rem;
  border: 2px solid rgba(var(--shadow), 0.15);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-btn-bars,
.nav-btn-bars::before,
.nav-btn-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  position: relative;
  content: "";
}
.nav-btn-bars::before { top: -6px; position: absolute; }
.nav-btn-bars::after { top: 6px; position: absolute; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  justify-content: flex-end;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: 2.25rem 0 3.25rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.hero-cover {
  justify-self: center;
  width: min(22rem, 100%);
}
.hero-cover img {
  width: 100%;
  border-radius: 0.85rem;
  box-shadow:
    0 1px 0 rgba(var(--shadow), 0.06),
    0 18px 40px rgba(var(--shadow), 0.22),
    0 4px 12px rgba(var(--shadow), 0.12);
}
.hero-copy { text-align: center; }
.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.hero-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 4.15rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero-title .word {
  -webkit-text-stroke: 7px #fff;
  paint-order: stroke fill;
  text-shadow: 2px 3px 0 rgba(110, 60, 20, 0.16);
}
.hero-title-row {
  display: block;
  white-space: nowrap;
}
.hero-subtitle {
  margin: 0.7rem 0 0.15rem;
  color: var(--pink);
  font-weight: 700;
  font-size: clamp(1.2rem, 3.4vw, 1.7rem);
  letter-spacing: -0.01em;
  -webkit-text-stroke: 4px #fff;
  paint-order: stroke fill;
}
.hero-byline {
  margin: 0.15rem 0 1rem;
  color: var(--brown);
  font-weight: 700;
  font-size: 1.2rem;
}
.hero-tagline {
  margin: 0 auto 1.4rem;
  max-width: 28rem;
  color: var(--text-soft);
  font-size: 1.15rem;
  line-height: 1.5;
}
.hero-actions { margin: 0 0 0.85rem; }
.hero-meta {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Decorative hearts & paws */
.deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.deco-heart { fill: var(--heart); opacity: 0.45; position: absolute; }
.deco-paw { fill: rgb(196, 140, 104); opacity: 0.22; position: absolute; }
.deco-hero .h1 { width: 1.4rem; top: 8%; left: 6%; transform: rotate(-18deg); }
.deco-hero .h2 { width: 1.1rem; top: 18%; right: 8%; transform: rotate(14deg); }
.deco-hero .h3 { width: 0.85rem; top: 6%; right: 18%; }
.deco-hero .p1 { width: 2.4rem; bottom: 6%; left: 5%; transform: rotate(-28deg); }
.deco-hero .p2 { width: 1.8rem; bottom: 10%; right: 6%; transform: rotate(22deg); }
.hero-grid { position: relative; z-index: 1; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.55rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  border: 3px solid transparent;
  min-height: 2.85rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-buy {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 5px 0 #b83363, 0 10px 18px rgba(228, 70, 122, 0.28);
}
.btn-buy:hover,
.btn-buy:focus-visible {
  transform: translateY(-2px);
  color: #fff;
}
.btn-outline {
  background: #fff;
  color: var(--teal);
  border-color: var(--teal);
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
}
.btn-outline:hover,
.btn-outline:focus-visible { background: #e7f7fb; }
.btn-outline .btn-note {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--cream-mid);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}
.btn[aria-disabled="true"] { cursor: default; }
.btn-tiktok {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 5px 0 #0b6e8a, 0 10px 18px rgba(18, 150, 185, 0.28);
}
.btn-tiktok:hover,
.btn-tiktok:focus-visible {
  transform: translateY(-2px);
  color: #fff;
}
.tiktok-icon { width: 1.2rem; height: 1.2rem; }

/* ----- Sections ----- */
.section { padding: 2.75rem 0; }
.section-title {
  margin: 0 0 1.1rem;
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 5px #fff;
  paint-order: stroke fill;
  text-shadow: 1px 2px 0 rgba(110, 60, 20, 0.12);
}
.section-title.left { text-align: left; }
.section-title.pink { color: var(--pink); }
.section-title.teal { color: var(--teal); }
.section-title.orange { color: var(--orange); }
.section-title.brown { color: var(--brown); }
.section-lead {
  text-align: center;
  color: var(--text-soft);
  margin: -0.4rem auto 1.6rem;
  max-width: 32rem;
}
.teal-text { color: var(--teal); }
.orange-text { color: var(--orange); }
.pink-text { color: var(--pink); }

.blurb {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.65;
  text-align: center;
}

/* Peek inside */
.peek-grid {
  display: grid;
  gap: 1.35rem;
}
.peek-card {
  margin: 0;
  background: var(--card);
  border-radius: var(--radius);
  padding: 0.65rem 0.65rem 0.9rem;
  box-shadow: 0 8px 22px rgba(var(--shadow), 0.1);
}
.peek-card img {
  width: 100%;
  border-radius: 0.8rem;
  background: var(--cream-mid);
}
.peek-card figcaption {
  text-align: center;
  margin-top: 0.6rem;
  font-weight: 600;
  color: var(--brown);
}

/* Meet the pugs */
.pugs-grid {
  display: grid;
  gap: 1.35rem;
}
.pug-card {
  background: var(--card);
  border-radius: 1.4rem;
  padding: 0.85rem 0.85rem 1.35rem;
  box-shadow: 0 8px 22px rgba(var(--shadow), 0.1);
  text-align: center;
}
.pug-photo {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f6e3c4;
}
.pug-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pug-cody .pug-photo img { object-position: 72% 42%; }
.pug-cash .pug-photo {
  background: linear-gradient(180deg, #f8e8cc 0%, #f3d7a8 100%);
}
.pug-cash .pug-photo img {
  object-fit: contain;
  object-position: center 58%;
  padding: 4% 6% 0;
}
.pug-rylee .pug-photo img { object-position: 50% 18%; }
.pug-name {
  margin: 0.85rem 0 0.3rem;
  font-size: 1.7rem;
  font-weight: 700;
  -webkit-text-stroke: 4px #fff;
  paint-order: stroke fill;
}
.pug-card p {
  margin: 0 auto;
  max-width: 18rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* Grown-ups */
.grownups-card {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: var(--card);
  border-radius: 1.6rem;
  padding: 1.75rem 1.4rem;
  box-shadow: 0 8px 22px rgba(var(--shadow), 0.1);
}
.grownups-copy p { margin: 0 0 0.9rem; }
.grownups-close {
  color: var(--pink);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
}
.grownups-art {
  justify-self: center;
  width: min(17rem, 75%);
}
.grownups-art img { width: 100%; }

/* Follow / author */
.hint {
  margin: 0.85rem 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}
.author-bio {
  margin: 0 auto;
  font-size: 1.2rem;
  max-width: 28rem;
}
.draft-badge {
  display: inline-block;
  margin-left: 0.45rem;
  vertical-align: middle;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--cream-mid);
  border: 2px solid rgba(var(--shadow), 0.15);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  -webkit-text-stroke: 0;
  text-shadow: none;
  position: relative;
  top: -0.35em;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid rgba(var(--shadow), 0.1);
  background: rgba(247, 219, 180, 0.45);
}
.footer-inner { text-align: center; }
.footer-mark {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  justify-content: center;
  gap: 0.3em;
  flex-wrap: wrap;
}
.footer-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* ----- Desktop ----- */
@media (min-width: 800px) {
  .hero {
    padding: 3rem 0 4rem;
  }
  .hero-grid {
    grid-template-columns: minmax(18rem, 24rem) 1fr;
    gap: 3.25rem;
    align-items: center;
  }
  .hero-copy { text-align: left; }
  .hero-tagline { margin-left: 0; }
  .hero-title { font-size: clamp(3rem, 5.2vw, 4.4rem); }
  .peek-grid,
  .pugs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
  .grownups-card {
    grid-template-columns: 1fr minmax(12rem, 16rem);
    padding: 2.1rem 2.2rem 2.1rem 2.4rem;
    gap: 1rem 2rem;
  }
  .grownups-art { width: 100%; }
}

@media (max-width: 799px) {
  .nav-btn { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.15rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--wrap), calc(100vw - 2.5rem));
    background: rgba(255, 250, 242, 0.98);
    border: 1px solid rgba(var(--shadow), 0.1);
    border-radius: 1rem;
    box-shadow: 0 14px 30px rgba(var(--shadow), 0.16);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0.75rem 0.75rem;
    z-index: 50;
  }
  .site-nav a {
    padding: 0.7rem 0.6rem;
    border-bottom: 1px solid rgba(var(--shadow), 0.08);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .section-title.left { text-align: center; }
  .grownups-copy { text-align: center; }
  .hero-title .word { -webkit-text-stroke: 5px #fff; }
  .hero-subtitle { -webkit-text-stroke: 3px #fff; }
  .section-title { -webkit-text-stroke: 4px #fff; }
}

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