:root {
  --cream: #fff6df;
  --paper: #fffbef;
  --green: #245941;
  --green-dark: #153728;
  --gold: #efbd3d;
  --orange: #d95d2a;
  --brown: #3e2516;
  --mint: #dbeed8;
  --shadow: 0 18px 50px rgba(62, 37, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 14%, rgba(239, 189, 61, 0.25), transparent 28%),
    linear-gradient(180deg, var(--cream), #f6ecd2 58%, #fff8e8);
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.page-shell {
  overflow: clip;
}

#treats,
#dog-month,
#finder,
#order {
  scroll-margin-top: 90px;
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 246, 223, 0.9);
  border-bottom: 2px solid rgba(36, 89, 65, 0.14);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(62, 37, 22, 0.18);
}

.brand span {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  border: 2px solid rgba(36, 89, 65, 0.16);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 251, 239, 0.72);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  position: relative;
  padding: clamp(46px, 8vw, 92px) 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  border: 2px solid rgba(217, 93, 42, 0.25);
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff0cb;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(3.6rem, 11vw, 8.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.tagline {
  max-width: 630px;
  margin: 22px 0 0;
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: #5b3924;
}

.hero-actions,
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid var(--green-dark);
  border-radius: 999px;
  padding: 12px 19px;
  background: var(--green);
  color: #fffbed;
  box-shadow: 0 10px 0 var(--green-dark);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 0 var(--green-dark);
}

.button.secondary {
  background: var(--gold);
  color: var(--brown);
  box-shadow: 0 10px 0 #9b6d13;
}

.button.ghost {
  background: var(--paper);
  color: var(--green-dark);
  box-shadow: none;
}

.hero-logo-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.hero-logo-card::before {
  position: absolute;
  inset: 36px 0 0 36px;
  border-radius: 34px;
  background: var(--gold);
  content: "";
  transform: rotate(4deg);
}

.hero-logo-card img {
  position: relative;
  width: min(100%, 390px);
  border: 7px solid #fff8e5;
  border-radius: 32px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.section {
  padding: clamp(50px, 8vw, 86px) 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-title h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.section-title p {
  max-width: 420px;
  margin: 0;
  font-size: 1.08rem;
}

.treat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.treat-card {
  position: relative;
  min-height: 100%;
  border: 2px solid rgba(62, 37, 22, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(62, 37, 22, 0.1);
}

.treat-bag {
  display: block;
  width: min(100%, 290px);
  aspect-ratio: 1;
  margin: -6px auto 14px;
  object-fit: contain;
}

.treat-card h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 1.5rem;
  line-height: 1.05;
}

.treat-card p {
  margin: 0 0 14px;
}

.price {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--mint);
  color: var(--green-dark);
  font-weight: 800;
}

.dog-month-band {
  background:
    linear-gradient(90deg, rgba(36, 89, 65, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(36, 89, 65, 0.08) 1px, transparent 1px),
    #fff8e7;
  background-size: 34px 34px;
}

.dog-month {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
}

.dog-month-photo {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
}

.dog-month-photo::before {
  position: absolute;
  inset: 34px 16px 18px 0;
  border: 4px solid var(--green);
  border-radius: 8px;
  background: var(--gold);
  content: "";
  transform: rotate(-3deg);
}

.dog-month-photo img {
  position: relative;
  aspect-ratio: 1;
  width: min(82%, 290px);
  border: 8px solid #fffbed;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  transform: rotate(2deg);
}

.dog-ribbon {
  position: absolute;
  right: 4px;
  bottom: 28px;
  border: 4px solid #fffbed;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--orange);
  color: #fffbed;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(1rem, 3vw, 1.35rem);
  letter-spacing: 0;
  text-transform: uppercase;
  transform: rotate(-5deg);
}

.dog-month-copy .eyebrow {
  margin-bottom: 14px;
}

.dog-month-copy h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(3.2rem, 9vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.dog-award {
  display: inline-flex;
  margin: 18px 0 14px;
  border: 2px solid rgba(36, 89, 65, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--mint);
  color: var(--green-dark);
  font-weight: 900;
}

.dog-month-copy p:last-child {
  max-width: 570px;
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  color: #5b3924;
}

.finder-band {
  background: var(--green);
  color: #fff9e9;
}

.finder-band .section-title h2 {
  color: #fff9e9;
}

.finder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.72fr);
  gap: 20px;
  align-items: start;
}

.quiz-form,
.quiz-result,
.promise-box,
.order-box {
  border-radius: 8px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--paper);
  color: var(--brown);
  box-shadow: var(--shadow);
}

.question {
  margin: 0 0 24px;
  border: 0;
  padding: 0;
}

.question legend {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 1.2rem;
  font-weight: 800;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-row label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 2px solid rgba(36, 89, 65, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff8e8;
  font-weight: 700;
  cursor: pointer;
}

.choice-row input {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  accent-color: var(--orange);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quiz-result {
  position: sticky;
  top: 98px;
  border: 4px solid var(--gold);
}

.quiz-result[hidden] {
  display: none;
}

.result-kicker {
  margin: 0 0 6px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.quiz-result h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.95;
}

.result-bag {
  display: block;
  width: min(100%, 230px);
  aspect-ratio: 1;
  margin: -8px auto 14px;
  object-fit: contain;
}

.promise-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: stretch;
}

.promise-box {
  background: var(--green-dark);
  color: #fff9e9;
}

.promise-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  border-left: 8px solid var(--gold);
  padding: 11px 14px;
  background: rgba(255, 251, 239, 0.74);
  font-weight: 700;
}

.order-band {
  padding-bottom: 80px;
}

.order-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border: 3px solid var(--green);
}

.site-footer {
  border-top: 2px solid rgba(36, 89, 65, 0.16);
  padding: 24px 0;
  background: #f4e5bf;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--gold);
  color: var(--brown);
}

@media (max-width: 820px) {
  .hero-grid,
  .dog-month,
  .finder,
  .promise-grid,
  .order-box {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .treat-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-logo-card {
    min-height: 280px;
  }

  .dog-month-photo {
    min-height: 280px;
  }

  .dog-ribbon {
    right: 12px;
  }

  .quiz-result {
    position: static;
  }
}
