:root {
  --plum: #54204f;
  --plum-soft: #a474a7;
  --sage: #6f8d68;
  --sage-dark: #385d43;
  --cream: #fff9ef;
  --butter: #f1c65d;
  --clay: #c46b4e;
  --burlap: #c7aa78;
  --burlap-dark: #8a6d45;
  --brown: #5e432c;
  --ink: #24191f;
  --muted: #665b61;
  --line: rgba(84, 32, 79, 0.16);
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(36, 25, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(138, 109, 69, 0.07) 0 7px, transparent 7px 25px),
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(199, 170, 120, 0.12) 10px 18px, transparent 18px 36px),
    linear-gradient(135deg, rgba(199, 170, 120, 0.18), transparent 44%, rgba(199, 170, 120, 0.1));
  opacity: 0.46;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(255, 249, 239, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--plum);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(84, 32, 79, 0.22);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--plum);
}

.hero {
  position: relative;
  min-height: min(700px, calc(88vh - 72px));
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(66px, 9vw, 118px) 22px clamp(84px, 11vw, 130px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 249, 239, 0.92), rgba(255, 249, 239, 0.78) 48%, rgba(255, 249, 239, 0.86)),
    linear-gradient(0deg, rgba(84, 32, 79, 0.15), rgba(84, 32, 79, 0.03)),
    url("assets/tg-fb-wallpaper.png") center / cover no-repeat;
  z-index: -2;
}

.hero-logo {
  position: absolute;
  width: min(78vw, 720px);
  max-height: 78vh;
  object-fit: contain;
  opacity: 0.16;
  z-index: -1;
}

.hero-content {
  width: min(840px, 100%);
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  color: var(--plum);
  font-size: clamp(4.3rem, 13vw, 10rem);
}

.hero-content p:not(.eyebrow) {
  width: min(720px, 100%);
  margin: 18px auto 0;
  color: #3c2f37;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--plum);
  box-shadow: 0 12px 28px rgba(84, 32, 79, 0.24);
}

.button.secondary {
  color: var(--plum);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(84, 32, 79, 0.22);
}

.button:hover {
  transform: translateY(-1px);
}

.fresh-note {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 24px;
  width: min(330px, calc(100% - 36px));
  padding: 16px 18px;
  color: var(--ink);
  background:
    repeating-linear-gradient(0deg, rgba(138, 109, 69, 0.07) 0 6px, transparent 6px 22px),
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(199, 170, 120, 0.13) 9px 17px, transparent 17px 32px),
    rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.fresh-note span {
  display: block;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fresh-note strong {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
}

.intro,
.animals,
.section {
  padding: clamp(56px, 8vw, 94px) clamp(20px, 5vw, 70px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  color: var(--white);
  background: linear-gradient(110deg, var(--sage-dark), #597c5d 58%, #8b5b8c);
}

.intro h2,
.animals h2,
.section-heading h2 {
  font-size: clamp(2.15rem, 5vw, 4.5rem);
}

.intro p:last-child {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.intro .section-kicker,
.animals .section-kicker {
  color: #f6da82;
}

.section {
  background:
    repeating-linear-gradient(0deg, rgba(138, 109, 69, 0.025) 0 7px, transparent 7px 28px),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(199, 170, 120, 0.055) 12px 20px, transparent 20px 40px),
    #fffdf8;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 30px;
}

.section-heading h2 {
  color: var(--plum);
}

.section-intro {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.product-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(0deg, rgba(138, 109, 69, 0.03) 0 7px, transparent 7px 26px),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(199, 170, 120, 0.06) 11px 19px, transparent 19px 38px),
    var(--white);
  box-shadow: 0 10px 35px rgba(36, 25, 31, 0.08);
}

.subcategory-card {
  min-height: 300px;
  border-color: rgba(84, 32, 79, 0.28);
}

.product-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
}

.product-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.soap .product-icon {
  color: var(--plum);
  background: #f2e6f5;
}

.lotion .product-icon {
  color: var(--sage-dark);
  background: #eaf2e5;
}

.baked .product-icon {
  color: #87502c;
  background: #fff0cb;
}

.eggs .product-icon {
  color: var(--clay);
  background: #fde8df;
}

.lemon .product-icon {
  color: #7a6d22;
  background: #fff4bf;
}

.muffins .product-icon {
  color: var(--brown);
  background: #f2e1c7;
}

.product-card h3 {
  color: var(--ink);
  font-size: 1.55rem;
}

.product-card p {
  color: var(--muted);
}

.product-card span {
  margin-top: auto;
  color: var(--sage-dark);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.animals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(36, 25, 31, 0.86), rgba(84, 32, 79, 0.45)),
    url("assets/the-boys.jpg") center 38% / cover no-repeat,
    #59415b;
}

.animal-copy p:last-child {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.animal-list {
  display: grid;
  gap: 12px;
}

.animal-list div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.animal-list strong,
.animal-list span {
  display: block;
}

.animal-list strong {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.animal-list span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.84);
}

.contact-section {
  background:
    repeating-linear-gradient(0deg, rgba(138, 109, 69, 0.024) 0 7px, transparent 7px 28px),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(199, 170, 120, 0.05) 12px 20px, transparent 20px 40px),
    #f7fbf2;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 18px;
  align-items: start;
}

.contact-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.95)),
    repeating-linear-gradient(0deg, rgba(138, 109, 69, 0.052) 0 7px, transparent 7px 24px),
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(199, 170, 120, 0.09) 10px 18px, transparent 18px 34px),
    var(--white);
  box-shadow: 0 10px 35px rgba(36, 25, 31, 0.08);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--plum);
  font-weight: 900;
}

.message-field,
.contact-form button {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(84, 32, 79, 0.2);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffefa;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(111, 141, 104, 0.28);
  border-color: var(--sage);
}

.contact-card {
  padding: 26px;
}

.contact-card img {
  width: min(210px, 70%);
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 3px solid rgba(84, 32, 79, 0.14);
}

.contact-card h3 {
  color: var(--plum);
  font-size: 1.7rem;
}

.contact-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--sage-dark);
  font-weight: 900;
}

.contact-card p {
  color: var(--muted);
}

.signature {
  color: var(--clay);
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
  line-height: 1.1;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.84);
  background: var(--plum);
}

footer span {
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .animals,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 640px;
    padding-top: 52px;
  }

  .hero-logo {
    width: 118vw;
  }

  h1 {
    font-size: clamp(4rem, 21vw, 6rem);
  }

  .fresh-note {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
  }

  .product-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .product-card {
    min-height: 260px;
  }
}

/* Mobile polish: cleaner header, wrapped nav, and less oversized hero artwork */
@media (max-width: 700px) {
  .site-header {
    position: sticky;
    top: 0;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 10px 14px 12px;
  }

  .brand-mark {
    align-self: center;
    gap: 9px;
    font-size: 1rem;
  }

  .brand-mark img {
    width: 42px;
    height: 42px;
  }

  nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    overflow-x: visible;
    font-size: 0.78rem;
    line-height: 1.1;
  }

  nav a {
    padding: 4px 6px;
    white-space: nowrap;
  }

  .hero {
    min-height: 560px;
    padding: 42px 18px 96px;
  }

  .hero-logo {
    width: 92vw;
    max-height: 390px;
    opacity: 0.11;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .hero-content p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    width: min(340px, 100%);
    margin-inline: auto;
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

  .fresh-note {
    padding: 13px 15px;
  }
}

/* The hero background artwork already includes the Tote & Goat mark, so we do not layer the logo a second time. */
.hero-logo {
  display: none;
}
