/* Slightly deeper than the agency teal so lime labels meet WCAG AA. */
:root { --cat-deep: #075f59; }

.site-header {
  padding: 0 clamp(1rem, 3.2vw, 3rem);
}

.brand img {
  width: 170px;
}

.site-header nav {
  margin-left: auto;
  gap: clamp(1.5rem, 3vw, 2.6rem);
}

.site-header nav a {
  font-size: 1rem;
  font-weight: 400;
}

.header-social {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-left: clamp(1.5rem, 3vw, 2.6rem);
}

.header-social a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
}

.header-social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero {
  min-height: 0;
  aspect-ratio: 1920 / 862;
  display: block;
  background: #f2f2f2 url("assets/hero-background.jpg") center / cover no-repeat;
}

.hero-mark {
  top: 50%;
  left: 50%;
  width: min(41vw, 790px);
  transform: translate(-50%, -50%);
  padding: clamp(2.75rem, 5vw, 5rem);
}

.hero-mark .hero-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.hero-mark .hero-logo {
  width: min(27vw, 520px);
  max-width: none;
  margin: 0 auto clamp(1rem, 1.8vw, 1.6rem);
}

.hero-mark h1 {
  font-size: clamp(2.15rem, 3.35vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.hero-title-medium,
.hero-title-extrabold {
  display: block;
}

.hero-title-medium { font-weight: 500; }
.hero-title-extrabold { font-weight: 800; }

.intro {
  background: #f3f3f1 url("assets/bk1.png") center / cover no-repeat;
}

.intro h2,
.intro p {
  font-weight: 700;
}

.intro h2 { font-size: 56px; }
.intro p {
  max-width: 1380px;
  color: #000;
  font-size: 24px;
  line-height: 36px;
}

.dog .product-hero {
  grid-template-columns: minmax(230px, 0.85fr) minmax(380px, 1.45fr) minmax(320px, 1fr);
  min-height: 0;
  aspect-ratio: 1588 / 711;
  padding: clamp(2.5rem, 4.2vw, 5rem) clamp(2.5rem, 6vw, 7rem);
  gap: clamp(2rem, 4vw, 5rem);
  background: #f3f3f1 url("assets/bk2-v2.png") center bottom / cover no-repeat;
}

.dog .pack {
  align-self: center;
}

.dog .pack img {
  width: min(100%, 390px);
  max-height: none;
}

.dog .species {
  max-width: 9ch;
  color: var(--dog);
  font-size: clamp(2.25rem, 3.6vw, 4.35rem);
  font-weight: 800;
  line-height: .96;
}

.dog .product-copy h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 3.1vw, 3.75rem);
  font-weight: 700;
  line-height: 1.02;
}

.dog .weight-art {
  width: clamp(100px, 9vw, 145px);
}

.dog .flavour-art {
  width: min(100%, 360px);
  margin: 0 auto 1rem;
}

.dog .flavour ul {
  color: #fff;
  font-size: clamp(1rem, 1.55vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.dog .flavour ul::marker,
.dog .flavour li::marker {
  color: var(--lime);
}

.skin-benefits {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skin-benefits li {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .3);
}

.skin-benefits strong,
.skin-benefits span {
  display: block;
}

.skin-benefits strong {
  font-weight: 700;
}

.skin-benefits span {
  margin-top: .15rem;
}

.dog .benefits {
  min-height: 0;
  aspect-ratio: 1920 / 871;
  grid-template-columns: minmax(300px, 1.2fr) minmax(170px, .62fr) minmax(280px, 1fr);
  align-items: center;
  justify-items: center;
  padding: clamp(2rem, 3vw, 3.6rem) clamp(2rem, 5vw, 6rem);
  gap: clamp(2rem, 5vw, 6.5rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dog-deep) url("assets/bk4-v2.png") center / cover no-repeat;
}

.dog .benefits::before {
  display: none;
}

.benefits-art {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.benefits-art-skin {
  max-width: 564px;
}

.benefits-art-probiotics {
  max-width: 227px;
}

.benefits-art-digestive {
  max-width: 359px;
}

.dog .benefit-lead {
  grid-row: 1 / 3;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dog .benefit-lead h3 {
  align-self: flex-start;
  margin: 0 0 .4rem;
  font-weight: 800;
}

.skin-card {
  padding: 1.8rem clamp(1.8rem, 2.8vw, 3rem) 2.1rem;
  border: 6px solid var(--lime);
  background: rgba(158, 46, 28, .58);
}

.benefit-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.dog .benefits .benefit-icon {
  width: 88px;
  color: var(--lime);
  border: 5px solid currentColor;
}

.dog .benefits .benefit-icon-large {
  width: 116px;
  color: #fff;
}

.benefit-icon svg {
  width: 58%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-heading h4 {
  font-size: clamp(1.35rem, 2vw, 2.15rem);
  line-height: 1.06;
  margin: 0;
}

.dog .skin-benefits li {
  position: relative;
  padding: .65rem 0 .65rem 3.9rem;
  border: 0;
}

.dog .skin-benefits li::before {
  content: "";
  position: absolute;
  left: .65rem;
  top: .85rem;
  width: 1.25rem;
  height: .7rem;
  border-left: .5rem solid var(--cat);
  border-bottom: .5rem solid var(--cat);
  transform: rotate(-45deg);
}

.dog .skin-benefits strong {
  font-size: 1.08rem;
}

.dog .skin-benefits span,
.dog .benefit p {
  font-weight: 600;
}

.dog .benefit {
  text-align: center;
  position: relative;
  z-index: 1;
}

.dog .benefit .benefit-icon {
  margin: 0 auto .65rem;
}

.dog .benefit h4 {
  max-width: 14ch;
  margin: 0 auto .65rem;
  line-height: 1.06;
}

.dog .benefit p {
  max-width: 25ch;
  margin: 0 auto;
}

.benefit-probiotics { grid-column: 2; grid-row: 1; align-self: end; }
.benefit-intolerance { grid-column: 2; grid-row: 2; align-self: start; }
.benefit-digestive { grid-column: 3; grid-row: 1 / 3; }

.digestive-benefits {
  position: relative;
  margin: 1rem auto 0;
  padding: 0 0 0 1.4rem;
  max-width: 30ch;
  text-align: left;
  list-style: none;
}

.digestive-benefits::before {
  content: "";
  position: absolute;
  left: 0;
  top: .9rem;
  bottom: .9rem;
  width: 4px;
  background: var(--lime);
}

.digestive-benefits li {
  position: relative;
  padding: .42rem 0;
  font-weight: 700;
  line-height: 1.22;
}

.digestive-benefits li::before {
  content: "";
  position: absolute;
  left: calc(-1.4rem - 7px);
  top: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.dog .dog-nutrition {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  background: var(--dog-deep) url("assets/bk4b.png") center / cover no-repeat;
}

.dog .ingredient-panel {
  width: min(62%, 980px);
  padding: 20px;
  border: 4px solid var(--lime);
}

.dog .dog-nutrition h3 {
  margin: 0 0 .65rem;
  color: #fff;
  font-weight: 800;
  line-height: 1;
}

.dog .ingredient-panel h3 {
  font-size: clamp(2rem, 3.3vw, 3.65rem);
  text-transform: uppercase;
}

.dog .ingredient-panel p {
  max-width: none;
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
}

.dog .dog-nutrition .tables {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .85fr);
  gap: clamp(2rem, 6vw, 7rem);
}

.dog .dog-nutrition table,
.dog .dog-nutrition dl {
  background: rgba(74, 24, 17, .48);
  font-weight: 700;
}

.dog .dog-nutrition dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  padding: 0 .65rem;
}

.dog .composition-table dl div {
  display: contents;
}

.dog .composition-table dt,
.dog .composition-table dd {
  padding: .55rem 0;
  border-bottom: 1px solid rgba(23, 23, 23, .72);
}

.dog .dog-nutrition th,
.dog .dog-nutrition td,
.dog .dog-nutrition dl div {
  border-color: rgba(23, 23, 23, .72);
}

.dog .dog-nutrition th {
  color: #fff;
}

.dog .dog-nutrition td:not(:first-child),
.dog .dog-nutrition th:not(:first-child) {
  text-align: center;
}

.dog .supply-table thead tr:nth-child(2) th {
  text-align: center;
}

.dog .supply-table td.weight-value {
  text-align: center;
}

.dog .dog-nutrition dt,
.dog .dog-nutrition dd {
  font-weight: 700;
}

.dog .dog-nutrition dd {
  margin: 0;
  padding-left: 1rem;
  color: #fff;
  text-align: right;
}

.cup-note {
  margin: .55rem 0 0;
  font-size: .78rem;
  font-weight: 600;
}

.cat .product-hero {
  min-height: 0;
  aspect-ratio: 1209 / 538;
  grid-template-columns: minmax(280px, .95fr) minmax(300px, .9fr) minmax(330px, 1.05fr);
  padding: clamp(2.5rem, 4vw, 5rem) clamp(2.5rem, 6vw, 7rem);
  gap: clamp(2rem, 5vw, 6rem);
  background: var(--paper) url("assets/bk5.png") center / cover no-repeat;
}

.cat .cat-pack {
  align-self: center;
}

.cat .cat-pack img {
  max-height: min(610px, 42vw);
  mix-blend-mode: normal;
}

.cat .cat-product-copy {
  align-self: center;
}

.cat .species {
  max-width: 9ch;
  color: var(--ink);
  font-weight: 800;
  line-height: .95;
}

.cat .cat-product-copy h2 {
  margin: .75rem 0 clamp(2rem, 4vw, 4.25rem);
  color: var(--cat-deep);
  font-size: clamp(2.3rem, 3.6vw, 4.35rem);
  font-weight: 500;
  line-height: 1.02;
}

.cat-weight-art {
  width: clamp(110px, 11vw, 180px);
  margin-left: 1rem;
}

.cat-flavour {
  align-self: center;
}

.cat-flavour-art {
  position: relative;
  width: min(100%, 465px);
  margin: 0 auto;
}

.cat-flavour-art img {
  width: 100%;
}

.cat .cat-flavour ul {
  margin: clamp(1.5rem, 3vw, 3rem) 0 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.7vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  list-style: "✓  ";
}

.cat .cat-flavour li::marker {
  color: var(--cat);
}

.cat .cat-benefits-artwork {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(540px, 1.65fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 7rem);
  padding: clamp(3rem, 5vw, 5.5rem) clamp(3rem, 8vw, 9rem);
  background: #67b6ae url("assets/paper.webp") center / 700px auto;
  background-blend-mode: multiply;
}

.cat-benefits-art {
  width: 100%;
  height: auto;
}

.cat-benefits-primary {
  max-width: 450px;
  justify-self: end;
}

.cat-benefits-secondary {
  max-width: 865px;
  justify-self: start;
}

.cat .cat-nutrition {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  background: #67b6ae url("assets/paper.webp") center / 700px auto;
  background-blend-mode: multiply;
}

.cat .cat-ingredient-panel {
  width: min(62%, 980px);
  padding: 20px;
  border: 4px solid var(--cat);
}

.cat .cat-nutrition h3 {
  margin: 0 0 .65rem;
  color: #fff;
  font-weight: 800;
  line-height: 1;
}

.cat .cat-ingredient-panel h3 {
  font-size: clamp(2rem, 3.3vw, 3.65rem);
}

.cat .cat-ingredient-panel p {
  max-width: none;
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
}

.cat .cat-nutrition .tables {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: clamp(2rem, 6vw, 7rem);
}

.cat .cat-nutrition .cat-tables > * {
  min-width: 0;
}

.cat .cat-nutrition table,
.cat .cat-nutrition dl {
  background: rgba(10, 83, 78, .38);
  font-weight: 700;
}

.cat .cat-nutrition dl {
  padding: 0 .65rem;
}

.cat .cat-nutrition th,
.cat .cat-nutrition td,
.cat .cat-nutrition dl div {
  border-color: rgba(10, 70, 66, .75);
}

.cat .cat-nutrition th {
  color: #fff;
}

.cat .cat-nutrition td:not(:first-child),
.cat .cat-nutrition th:not(:first-child) {
  text-align: center;
}

.cat .cat-nutrition dt,
.cat .cat-nutrition dd {
  font-weight: 700;
}

.cat .cat-nutrition dd {
  color: #fff;
  text-align: right;
}

.cat .cat-supply-table {
  min-width: 690px;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.cat .cat-supply-table th,
.cat .cat-supply-table td {
  padding: .65rem .75rem;
  line-height: 1.2;
  vertical-align: middle;
}

.cat .cat-supply-table th:first-child {
  width: 31%;
  text-align: center;
}

.cat .cat-supply-table thead tr:first-child th[colspan] {
  text-align: center;
}

.cat .cat-supply-table tbody td:first-child {
  text-align: center;
}

.cat .cat-supply-table tbody tr:nth-last-child(-n + 2) td {
  padding-block: .8rem;
}

.cat .cat-cup-note {
  margin: .75rem 0 0;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
}

.cat .cat-composition dl div {
  gap: 1rem;
  align-items: center;
}

.cat .cat-composition dt {
  min-width: 0;
  line-height: 1.25;
}

.cat .cat-composition dd {
  flex: 0 0 auto;
  margin-inline-start: auto;
  line-height: 1.25;
  white-space: nowrap;
}

.cat .cat-composition .energy {
  margin: 1rem 0 0;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.contact {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .9fr) minmax(420px, 1.55fr);
  gap: clamp(2rem, 3vw, 4rem);
  min-height: clamp(560px, 40vw, 667px);
  padding: clamp(2rem, 3vw, 3rem) clamp(2rem, 2.5vw, 3rem);
  overflow: hidden;
  background: var(--paper) url("assets/bk7.png") center bottom / cover no-repeat;
}

.contact::before,
.contact::after {
  content: none;
}

.contact-products {
  display: grid;
  place-items: center;
  align-self: center;
  min-width: 0;
}

.contact-products img {
  width: min(100%, 595px);
  max-height: 520px;
  object-fit: contain;
}

.contact-brand {
  align-self: center;
}

.contact-brand > img:first-child {
  width: min(330px, 100%);
  margin-bottom: 2rem;
}

.contact-brand p {
  margin: 0;
  font-weight: 500;
  line-height: 1.55;
}

.contact-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}

.contact-social a {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
}

.contact-social img {
  width: 41px;
  height: 41px;
}

.contact .vitalpet {
  width: 172px;
  margin-top: 2rem;
}

.contact form {
  position: relative;
  align-self: center;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 445px;
  background: #fff;
}

.contact input,
.contact textarea {
  grid-column: 1;
  border: 0;
  border-bottom: 1px solid #e3e3e3;
  background: #fff;
  padding: 1rem;
  color: var(--ink);
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: var(--ink);
  opacity: 1;
}

.contact textarea {
  min-height: 270px;
  padding-bottom: 4.5rem;
}

.contact button[type="submit"] {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  margin: 0;
  padding: .55rem 1rem;
  background: var(--lime);
  color: var(--ink);
}

.contact .form-status {
  grid-column: 1;
  padding: 0 1rem 1rem;
}

.contact .form-status:empty {
  display: none;
}

@media (min-width: 901px) {
  .product-copy h2 { font-size: clamp(2rem, 3.25vw, 3.7rem); }
}

@media (max-width: 900px) {
  .hero {
    min-height: 760px;
    aspect-ratio: auto;
    background-image: none;
  }

  .hero::before,
  .hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: 0;
    width: 50%;
    height: 44%;
    background-image: url("assets/hero-background.jpg");
    background-repeat: no-repeat;
    background-size: auto 100%;
  }

  .hero::before {
    left: 0;
    background-position: left bottom;
  }

  .hero::after {
    right: 0;
    background-position: right bottom;
  }

  .hero-mark {
    top: 35px;
    width: min(84vw, 500px);
    transform: translateX(-50%);
    z-index: 1;
    padding: clamp(2rem, 9vw, 3rem);
  }

  .hero-mark .hero-logo {
    width: min(62vw, 240px);
    margin-bottom: clamp(1rem, 4vw, 1.5rem);
  }

  .hero-mark h1 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
    line-height: 0.92;
  }

  .dog .product-hero {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    padding: 4rem 1.5rem;
    gap: 2.5rem;
    background: #f3f3f1 url("assets/bk2-v2.png") center bottom / cover no-repeat;
  }

  .dog .product-copy h2 {
    max-width: 15ch;
    margin-right: auto;
    margin-left: auto;
  }

  .dog .species {
    max-width: none;
  }

  .dog .weight-art {
    margin: 0 auto;
  }

  .dog .flavour ul {
    color: var(--ink);
    font-size: 1.1rem;
  }

  .dog .benefits {
    min-height: auto;
    aspect-ratio: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 3rem;
    padding: 4rem 1.5rem;
    background: var(--dog-deep) url("assets/bk4-v2.png") center / cover no-repeat;
  }

  .dog .benefits::before {
    display: none;
  }

  .dog .benefit-lead,
  .benefit-probiotics,
  .benefit-intolerance,
  .benefit-digestive {
    grid-column: 1;
    grid-row: auto;
  }

  .benefits-art {
    grid-column: 1;
    width: min(100%, 500px);
  }

  .benefits-art-probiotics {
    width: min(56%, 227px);
  }

  .benefits-art-digestive {
    width: min(82%, 359px);
  }

  .skin-card {
    border-width: 5px;
  }

  .dog .benefit {
    border-top: 1px solid rgba(255, 255, 255, .3);
    padding-top: 2rem;
  }

  .dog .ingredient-panel {
    width: 100%;
  }

  .dog .dog-nutrition .tables {
    grid-template-columns: 1fr;
  }

  .dog .dog-nutrition h3 {
    line-height: 1.08;
  }

  .cat .product-hero {
    aspect-ratio: auto;
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem;
    gap: 2.5rem;
    background: var(--paper) url("assets/bk5.png") center / cover no-repeat;
  }

  .cat .cat-pack img {
    max-height: 560px;
  }

  .cat .species {
    max-width: none;
  }

  .cat .cat-product-copy h2 {
    margin-bottom: 2rem;
  }

  .cat-weight-art {
    margin: 0 auto;
  }

  .cat-flavour-art {
    width: min(100%, 390px);
  }

  .cat .cat-flavour ul {
    display: inline-block;
    color: var(--ink);
    text-align: left;
  }

  .cat .cat-benefits-artwork {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 1.5rem;
  }

  .cat-benefits-primary,
  .cat-benefits-secondary {
    width: min(100%, 620px);
    justify-self: center;
  }

  .cat .cat-ingredient-panel {
    width: 100%;
  }

  .cat .cat-nutrition .tables {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem;
  }

  .contact-products {
    align-self: auto;
  }

  .contact-products {
    width: min(100%, 520px);
    justify-self: center;
  }

  .contact-brand {
    width: min(100%, 520px);
    justify-self: center;
  }

  .contact form {
    width: min(100%, 620px);
    justify-self: center;
  }

  .contact {
    background-position: left bottom;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 0;
    aspect-ratio: 1080 / 1696;
    background: #f2f2f2 url("assets/hero-mobile.jpg") center / cover no-repeat;
  }

  .hero::before,
  .hero::after {
    content: none;
  }

  .hero-mark {
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    transform: none;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .intro h2 { font-size: 26px; }
  .intro p {
    max-width: 323px;
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 900px) {
  .site-header {
    gap: .8rem;
  }

  .site-header nav {
    margin-left: 0;
  }

  .menu-toggle {
    order: 2;
    margin-left: auto;
  }

  .header-social {
    order: 3;
    flex: 0 0 auto;
    gap: .65rem;
    margin-left: 0;
  }

  .header-social a {
    width: 27px;
    height: 27px;
  }
}
