:root {
  --cocoa: #302923;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --terracotta: #873021;
  --sage: #b9c8a7;
  --biscuit: #e7c98d;
  --line-dark: rgb(48 41 35 / 18%);
  --line-light: rgb(255 248 236 / 24%);
  color: var(--cocoa);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  margin: 0;
  background: var(--cream);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
  padding: 0.9rem clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line-dark);
  background: rgb(255 248 236 / 92%);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  justify-self: start;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 50%;
  color: var(--cream);
  background: var(--cocoa);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.wordmark,
.footer-brand strong {
  font: 700 clamp(1.12rem, 2.2vw, 1.5rem)/1.2 Georgia, "Times New Roman", serif;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
}

.site-nav a,
.header-cta,
.text-link,
.site-footer a {
  font-size: 0.875rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.header-cta {
  justify-self: end;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--cream);
  background: var(--cocoa);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: auto;
  overflow: hidden;
}

.paw-print {
  --paw-color: var(--biscuit);
  --paw-size: 5rem;
  position: absolute;
  z-index: 1;
  width: var(--paw-size);
  height: var(--paw-size);
  color: var(--paw-color);
  opacity: 0.82;
  pointer-events: none;
}

.hero-copy,
.hero-details,
.hero-image,
.section-heading,
.product-grid,
.ingredients-image,
.ingredients-copy,
.manufactory-copy,
.process-list,
.call-to-action > div {
  position: relative;
  z-index: 2;
}

.paw-pad,
.paw-toe {
  position: absolute;
  display: block;
  background: currentcolor;
}

.paw-pad {
  right: 21%;
  bottom: 7%;
  width: 58%;
  height: 48%;
  border-radius: 48% 52% 46% 54% / 58% 58% 42% 42%;
  transform: rotate(-2deg);
}

.paw-toe {
  width: 22%;
  height: 28%;
  border-radius: 50%;
}

.paw-toe-1 {
  top: 28%;
  left: 2%;
  transform: rotate(-35deg);
}

.paw-toe-2 {
  top: 5%;
  left: 24%;
  transform: rotate(-14deg);
}

.paw-toe-3 {
  top: 3%;
  right: 24%;
  transform: rotate(14deg);
}

.paw-toe-4 {
  top: 28%;
  right: 2%;
  transform: rotate(35deg);
}

.paw-print-hero {
  --paw-color: var(--terracotta);
  --paw-size: clamp(4.8rem, 8vw, 7.5rem);
  right: 48%;
  bottom: 6%;
  transform: rotate(-18deg);
}

.paw-print-assortment-a {
  --paw-color: var(--sage);
  --paw-size: clamp(5rem, 9vw, 9rem);
  top: 4%;
  right: 5%;
  opacity: 0.2;
  transform: rotate(23deg);
}

.paw-print-assortment-b {
  --paw-color: var(--biscuit);
  --paw-size: clamp(3.4rem, 5vw, 5.3rem);
  top: 17%;
  right: 1.5%;
  opacity: 0.18;
  transform: rotate(39deg);
}

.paw-print-ingredients {
  --paw-color: var(--terracotta);
  --paw-size: clamp(5rem, 8vw, 8.5rem);
  right: 2%;
  bottom: 4%;
  opacity: 0.11;
  transform: rotate(-24deg);
}

.paw-print-manufactory-a {
  --paw-color: var(--cocoa);
  --paw-size: clamp(4.2rem, 7vw, 7rem);
  top: 8%;
  left: 2%;
  opacity: 0.12;
  transform: rotate(-31deg);
}

.paw-print-manufactory-b {
  --paw-color: var(--terracotta);
  --paw-size: clamp(3.2rem, 5vw, 5rem);
  right: 3%;
  bottom: 7%;
  opacity: 0.14;
  transform: rotate(27deg);
}

.paw-print-cta {
  --paw-color: var(--biscuit);
  --paw-size: clamp(7rem, 13vw, 13rem);
  top: -12%;
  right: 23%;
  opacity: 0.13;
  transform: rotate(16deg);
}

.hero-copy {
  padding: 3rem 1.25rem 1.5rem;
}

.hero-details {
  padding: 1.75rem 1.25rem 3.5rem;
}

.eyebrow,
.section-label,
.product-meta {
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  margin: 0 0 1.5rem;
  color: var(--terracotta);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 10ch;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 12vw, 3.6rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
}

h2 {
  max-width: 13ch;
  margin-bottom: 1.7rem;
  font-size: clamp(2.65rem, 5.5vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.lead,
.section-heading > p,
.ingredients-copy > p,
.manufactory-copy > p,
.cta-copy > p {
  max-width: 39rem;
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}

.rich-accent[data-color="terracotta"] {
  color: var(--terracotta);
}

.rich-accent[data-color="sage"] {
  color: var(--sage);
}

.rich-accent[data-color="biscuit"] {
  color: var(--biscuit);
}

.hero-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 850;
  text-decoration: none;
}

.button-primary {
  color: var(--cream);
  background: var(--terracotta);
}

.button-light {
  color: var(--terracotta);
  background: var(--cream);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 1.75rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-facts li::before {
  content: "✦";
  margin-right: 0.45rem;
  color: var(--terracotta);
}

.hero-image,
.ingredients-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--biscuit);
}

.hero-image {
  min-height: 0;
  aspect-ratio: 4 / 5;
  margin-left: 1rem;
  border-radius: 5rem 0 0 5rem;
  box-shadow: inset 0 0 0 1px rgb(48 41 35 / 8%);
}

.hero-image img,
.ingredients-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-image img {
  position: absolute;
  inset: 0;
  min-height: 0;
  object-position: 50% 42%;
}

.hero-image figcaption,
.ingredients-image figcaption {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  border-radius: 999px;
  background: rgb(255 248 236 / 92%);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.hero-image figcaption {
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 0.7rem 0.9rem;
}

.hero-image figcaption span {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 50%;
  color: var(--cream);
  background: var(--terracotta);
  font-size: 0.64rem;
}

.assortment {
  position: relative;
  padding: 4.5rem 1.25rem;
  overflow: hidden;
  color: var(--cream);
  background: var(--cocoa);
}

.assortment .section-label,
.assortment .product-meta {
  color: var(--sage);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.section-heading .section-label {
  grid-column: auto;
  margin-bottom: 0;
}

.section-heading h2,
.section-heading > p {
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  max-width: 38rem;
  margin: 0 auto;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 1.5rem;
}

.product-card-apple {
  color: var(--cocoa);
  background: var(--biscuit);
}

.product-card-peanut {
  color: var(--cream);
  background: var(--terracotta);
}

.product-card-carrot {
  color: var(--cocoa);
  background: var(--sage);
}

.product-number {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.product-stamp {
  display: grid;
  width: 4.75rem;
  height: 4.75rem;
  place-items: center;
  align-self: flex-start;
  margin: 1.25rem 0 1.5rem;
  border: 2px solid currentcolor;
  border-radius: 42% 58% 48% 52% / 52% 43% 57% 48%;
  font: italic 500 2.2rem/1 Georgia, serif;
  transform: rotate(-6deg);
}

.product-card:nth-child(2) .product-stamp {
  transform: rotate(7deg);
}

.product-card h3 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.product-card > p:not(.price) {
  font-size: 0.95rem;
  line-height: 1.65;
}

.product-card .product-meta {
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
  color: inherit;
}

.price {
  margin: 0;
  font: 600 1.55rem/1 Georgia, serif;
}

.ingredients {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(21rem, 0.96fr);
  min-height: 48rem;
  overflow: hidden;
}

.ingredients-image {
  min-height: 42rem;
}

.ingredients-image figcaption {
  bottom: 1.4rem;
  left: 1.4rem;
  padding: 0.75rem 1rem;
}

.ingredients-copy {
  align-self: center;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.5rem, 6vw, 6rem);
}

.ingredient-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.ingredient-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-weight: 800;
}

.ingredient-list li:nth-child(odd) {
  padding-right: 1rem;
}

.ingredient-list li:nth-child(even) {
  padding-left: 1rem;
  border-left: 1px solid var(--line-dark);
}

.ingredient-list span {
  color: var(--terracotta);
  font-size: 0.72rem;
}

.manufactory {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(21rem, 1.1fr);
  gap: clamp(3rem, 9vw, 9rem);
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 7vw, 7rem);
  overflow: hidden;
  background: var(--sage);
}

.manufactory-copy {
  align-self: center;
}

.manufactory .section-label {
  color: var(--cocoa);
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(7rem, 0.7fr) minmax(11rem, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.process-list span,
.process-list small {
  font-size: 0.78rem;
}

.process-list strong {
  font: 500 1.5rem/1.1 Georgia, serif;
}

.process-list small {
  line-height: 1.6;
}

.call-to-action {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.62fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: end;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 7vw, 7rem);
  overflow: hidden;
  color: var(--cream);
  background: var(--terracotta);
}

.call-to-action .section-label {
  color: var(--biscuit);
}

.call-to-action h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

.cta-copy > p {
  margin-bottom: 2rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1.5rem, 5vw, 5rem);
  color: var(--cream);
  background: var(--cocoa);
}

.site-footer .brand-mark {
  color: var(--cocoa);
  background: var(--biscuit);
}

.footer-brand div {
  display: grid;
}

.footer-brand small,
.site-footer p {
  color: var(--sage);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.site-footer p {
  justify-self: end;
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .ingredients,
  .manufactory,
  .call-to-action {
    grid-template-columns: 1fr;
  }

  .ingredients-image {
    min-height: 34rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .site-footer p {
    justify-self: start;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .hero-copy {
    padding: 4rem 2.5rem 2rem;
  }

  .hero-details {
    padding: 2rem 2.5rem 4.5rem;
  }

  .hero-image {
    aspect-ratio: 16 / 10;
    margin-left: 1.5rem;
    border-radius: 8rem 0 0 8rem;
  }

  .assortment {
    padding: 5.5rem 2.5rem;
  }
}

@media (min-width: 901px) {
  .hero {
    grid-template-areas:
      "intro image"
      "details image";
    grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
    grid-template-rows: 1fr 1fr;
    min-height: calc(100svh - 76px);
  }

  .hero-copy {
    grid-area: intro;
    align-self: end;
    padding: clamp(3.5rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem) 1rem;
  }

  .hero-details {
    grid-area: details;
    align-self: start;
    padding: 1rem clamp(1.5rem, 6vw, 6rem) clamp(3.5rem, 8vw, 7rem);
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.25rem, 7vw, 6.8rem);
    line-height: 0.91;
  }

  .hero-actions {
    align-items: center;
    flex-direction: row;
    gap: 1.4rem;
    margin-top: 2rem;
  }

  .hero-facts {
    gap: 0.7rem 1.5rem;
    margin-top: 2rem;
  }

  .hero-image {
    grid-area: image;
    min-height: calc(100svh - 76px);
    aspect-ratio: auto;
    margin-left: 0;
    border-radius: 13rem 0 0 13rem;
  }

  .hero-image img {
    min-height: calc(100svh - 76px);
  }

  .assortment {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 6rem);
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.58fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: end;
    margin-bottom: clamp(3.5rem, 7vw, 6rem);
  }

  .section-heading .section-label {
    grid-column: 1 / -1;
    margin-bottom: -1rem;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    margin: 0;
  }

  .product-card {
    min-height: 31rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
  }

  .product-stamp {
    width: 8rem;
    height: 8rem;
    align-self: center;
    margin: 2rem 0;
    font-size: 3.4rem;
  }

  .product-card .product-meta {
    margin-top: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding: 0.7rem 1rem;
  }

  .brand-mark {
    width: 2.5rem;
    height: 2.5rem;
  }

  .wordmark {
    font-size: 1.05rem;
  }

  .header-cta {
    display: none;
  }

  .paw-print-hero {
    right: -1.2rem;
    bottom: 47%;
    opacity: 0.16;
  }

  .paw-print-assortment-a {
    top: 2.5%;
    right: -1rem;
  }

  .paw-print-assortment-b {
    display: none;
  }

  .paw-print-ingredients {
    right: -1rem;
    bottom: 2%;
  }

  .paw-print-manufactory-a {
    top: 2%;
    left: auto;
    right: -1rem;
  }

  .paw-print-manufactory-b {
    display: none;
  }

  .paw-print-cta {
    top: -3rem;
    right: -2rem;
  }

  .product-card {
    display: grid;
    grid-template-areas:
      "number number number"
      "stamp title title"
      "description description description"
      "meta meta price";
    grid-template-columns: 4rem minmax(0, 1fr) auto;
    gap: 0.85rem 1rem;
    padding: 1.25rem;
    border-radius: 1.25rem;
  }

  .product-number {
    grid-area: number;
  }

  .product-stamp {
    grid-area: stamp;
    width: 4rem;
    height: 4rem;
    margin: 0;
    font-size: 1.9rem;
  }

  .product-card h3 {
    grid-area: title;
    align-self: center;
    margin: 0;
    font-size: clamp(1.65rem, 8vw, 2.05rem);
  }

  .product-card > p:not(.price):not(.product-meta) {
    grid-area: description;
    margin: 0;
    line-height: 1.55;
  }

  .product-card .product-meta {
    grid-area: meta;
    align-self: end;
    margin: 0.45rem 0 0;
  }

  .product-card .price {
    grid-area: price;
    align-self: end;
    justify-self: end;
    margin-top: 0.45rem;
    white-space: nowrap;
  }

  .hero-image figcaption {
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .assortment,
  .ingredients-copy,
  .manufactory,
  .call-to-action {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .ingredients-image {
    min-height: 26rem;
  }

  .ingredient-list {
    grid-template-columns: 1fr;
  }

  .ingredient-list li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .process-list li {
    grid-template-columns: 2rem 1fr;
  }

  .process-list small {
    grid-column: 2;
  }

  .site-footer {
    padding: 2rem 1.25rem;
  }
}

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