@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --navy: #102b46;
  --navy-2: #173f5f;
  --teal: #119c83;
  --teal-dark: #087965;
  --mint: #e9f7f3;
  --cream: #f7faf8;
  --white: #fff;
  --ink: #173047;
  --muted: #6c7c8b;
  --line: #e2ebe7;
  --shadow: 0 18px 55px rgba(16, 43, 70, .09);
  --radius: 26px
}

* {
  box-sizing: border-box
}

[hidden] {
  display: none !important
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at 8% 0%, rgba(17, 156, 131, .08), transparent 33%), radial-gradient(ellipse at 92% 24%, rgba(77, 148, 190, .07), transparent 27%)
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  cursor: pointer
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 235, 231, .85)
}

.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px
}

.brand {
  display: inline-flex;
  align-items: center
}

.brand img {
  width: 174px;
  height: 66px;
  object-fit: contain
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 8px
}

.navlinks a {
  font-size: 13px;
  font-weight: 700;
  color: #4d6273;
  padding: 12px 16px;
  border-radius: 999px;
  transition: background .2s, color .2s
}

.navlinks a:hover,
.navlinks a:focus-visible {
  background: var(--mint);
  color: var(--teal-dark)
}

.menu {
  display: none;
  border: 1px solid var(--line);
  background: white;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--navy);
  font-size: 20px
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  background: linear-gradient(115deg, #f1faf7 0%, #f7fbfa 50%, #edf7f8 100%);
  border-bottom: 1px solid var(--line)
}

.hero:before,
.hero:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none
}

.hero:before {
  width: 440px;
  height: 440px;
  right: -140px;
  top: -240px;
  border: 1px solid rgba(17, 156, 131, .15);
  box-shadow: 0 0 0 42px rgba(17, 156, 131, .035), 0 0 0 86px rgba(17, 156, 131, .025)
}

.hero:after {
  width: 190px;
  height: 190px;
  left: -95px;
  bottom: -125px;
  background: rgba(17, 156, 131, .07)
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 22px
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(17, 156, 131, .12)
}

.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(42px, 5.3vw, 68px);
  letter-spacing: -2.8px;
  line-height: 1.06;
  margin: 0 0 22px;
  color: var(--navy);
  max-width: 680px;
  font-weight: 800
}

.hero h1 span {
  color: var(--teal);
  position: relative;
  white-space: nowrap
}

.hero p {
  max-width: 590px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  margin: 0
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 21px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s, box-shadow .2s, background .2s;
  border: 1px solid transparent
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 156, 131, .22)
}

.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 14px 28px rgba(17, 156, 131, .28)
}

.btn-light {
  background: #fff;
  border-color: var(--line);
  color: var(--navy)
}

.btn-light:hover {
  box-shadow: 0 9px 22px rgba(16, 43, 70, .08)
}

.hero-card {
  position: relative;
  min-height: 350px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(235, 248, 244, .86));
  box-shadow: 0 28px 75px rgba(16, 43, 70, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.hero-card:before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d6f0e8, #f8fffc);
  box-shadow: inset 0 0 0 1px rgba(17, 156, 131, .1)
}

.hero-card:after {
  content: "SCIENCE  ·  CARE  ·  GROWTH";
  position: absolute;
  bottom: 25px;
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 800;
  color: #70978c
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 245px;
  height: 245px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(16, 43, 70, .08))
}

.trust {
  background: #fff;
  border-bottom: 1px solid var(--line)
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.trust-item {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--line)
}

.trust-item:last-child {
  border-right: 0
}

.trust-item b {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--navy)
}

.trust-item span {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted)
}

.section {
  padding: 92px 0
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 38px
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase
}

.tag:before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--teal);
  border-radius: 3px
}

.section h2,
.info h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -1.5px;
  line-height: 1.13;
  color: var(--navy);
  margin: 13px 0 0;
  font-weight: 800
}

.section-intro {
  max-width: 430px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 5px
}

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

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(16, 43, 70, .025);
  transition: transform .28s, border-color .28s, box-shadow .28s;
  outline: none
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(17, 156, 131, .35);
  box-shadow: var(--shadow)
}

.product-top {
  position: relative;
  min-height: 245px;
  padding: 25px;
  background: var(--cardbg, #edf8f4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.product-top:before {
  content: "";
  position: absolute;
  width: 205px;
  height: 205px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .48);
  border: 1px solid rgba(255, 255, 255, .8)
}

.stage {
  position: absolute;
  top: 17px;
  left: 18px;
  z-index: 2;
  max-width: 75%;
  padding: 7px 10px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #496575
}

.arrow {
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-dark);
  font-size: 17px;
  transition: transform .2s
}

.product-card:hover .arrow {
  transform: rotate(45deg)
}

.product-top>img {
  position: relative;
  z-index: 1;
  height: 172px;
  max-width: 76%;
  object-fit: contain
}

.product-body {
  padding: 23px 24px 25px
}

.product-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  letter-spacing: -.5px;
  color: var(--navy);
  margin: 0 0 7px
}

.age {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px
}

.product-body p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 13px 0 17px;
  min-height: 68px
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px
}

.chip {
  padding: 6px 9px;
  border: 1px solid #e2eeea;
  border-radius: 999px;
  background: #f6faf8;
  color: #59716d;
  font-size: 10px;
  font-weight: 600
}

.weight-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
  font-size: 12px
}

.weight-label {
  color: var(--muted)
}

.weight {
  font-weight: 800;
  color: var(--navy)
}

/* CSS package illustrations are used when product photography is not supplied. */
.pack-art {
  position: relative;
  z-index: 1;
  width: 130px;
  height: 166px;
  padding: 18px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, var(--pack, #158d83), var(--pack-dark, #075f63));
  border: 4px solid rgba(255, 255, 255, .75);
  border-radius: 8px 8px 15px 15px;
  box-shadow: 10px 15px 24px rgba(20, 62, 70, .18);
  transform: rotate(-3deg);
  clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%)
}

.pack-art:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 13px;
  background: rgba(255, 255, 255, .25)
}

.pack-art:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  background: rgba(255, 255, 255, .13)
}

.pack-art span {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -.6px;
  line-height: 1.1;
  position: relative;
  z-index: 1
}

.pack-art small {
  position: relative;
  z-index: 1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase
}

.pack-art .pack-stage {
  font-size: 8px;
  letter-spacing: 1px;
  border-top: 1px solid rgba(255, 255, 255, .45);
  padding-top: 8px;
  width: 100%;
  text-transform: uppercase
}

.product-top .pack-art {
  height: 162px;
  width: 125px
}

.product-top .pack-art:before {
  height: 12px
}

.info {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #102b46, #17445a);
  color: #fff;
  border-radius: 32px;
  padding: 58px;
  box-shadow: 0 25px 60px rgba(16, 43, 70, .13)
}

.info:after {
  content: "";
  position: absolute;
  right: -115px;
  top: -170px;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .025), 0 0 0 80px rgba(255, 255, 255, .02);
  pointer-events: none
}

.info-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 55px;
  align-items: center
}

.info .tag {
  color: #85ddc6
}

.info .tag:before {
  background: #85ddc6
}

.info h2 {
  color: #fff;
  max-width: 440px
}

.info-grid>div:first-child>p {
  color: #c5d7de;
  font-size: 14px;
  line-height: 1.9;
  max-width: 470px
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.pillar {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: rgba(255, 255, 255, .055)
}

.pillar b {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: #fff
}

.pillar p {
  font-size: 12px;
  line-height: 1.7;
  color: #c5d7de;
  margin: 9px 0 0
}

.quality {
  background: rgba(255, 255, 255, .75);
  border-block: 1px solid var(--line)
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px
}

.quality-card {
  min-height: 170px;
  padding: 22px 19px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform .2s, box-shadow .2s
}

.quality-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16, 43, 70, .07)
}

.quality-card strong {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: var(--mint);
  color: var(--teal-dark);
  border-radius: 12px;
  font-size: 11px;
  margin-bottom: 24px
}

.quality-card b {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 8px
}

.quality-card span {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted)
}

.milk-product-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: #f0f7f4;
  border-top: 1px solid var(--line)
}

.milk-product-links b {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-right: 8px
}

.milk-product-links a {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-2);
  padding: 8px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .2s, border-color .2s
}

.milk-product-links a:hover {
  color: var(--teal-dark);
  border-color: var(--teal)
}

.footer {
  padding: 30px 0;
  background: #0c243a;
  color: #fff
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

.footer-row b {
  font-family: 'Manrope', sans-serif;
  font-size: 14px
}

.footer-row small {
  font-size: 11px;
  color: #a9bfca
}

.detail {
  display: none;
  padding: 58px 0 90px;
  min-height: 70vh
}

.detail.active {
  display: block
}

.home.hidden {
  display: none
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 12px 17px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 30px;
  transition: transform .2s
}

.back:hover {
  transform: translateX(-3px)
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center
}

.detail-image {
  position: relative;
  min-height: 480px;
  background: linear-gradient(145deg, #edf8f4, #e7f2f7);
  border: 1px solid var(--line);
  border-radius: 32px;
  display: grid;
  place-items: center;
  padding: 45px;
  overflow: hidden
}

.detail-image:before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .9)
}

.detail-image img {
  position: relative;
  z-index: 1;
  max-width: 85%;
  max-height: 400px;
  object-fit: contain
}

.detail-image .detail-pack-art {
  width: 180px;
  height: 235px;
  transform: rotate(-2deg);
  padding: 25px 15px
}

.detail-pack-art span {
  font-size: 19px
}

.detail-pack-art small {
  font-size: 11px
}

.detail-age {
  font-size: 12px;
  color: var(--teal-dark);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 16px
}

.detail h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.6px;
  color: var(--navy);
  margin: 12px 0 18px
}

.detail-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9
}

.detail-list {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 12px
}

.detail-list li {
  font-size: 13px;
  color: #415a6b;
  display: flex;
  align-items: center;
  gap: 10px
}

.detail-list li:first-letter {
  color: var(--teal)
}

.detail-weight-box {
  margin: 26px 0;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff
}

.detail-weight-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 12px
}

.detail-weights {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.detail-weight {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800
}

.detail-note {
  font-size: 10px;
  line-height: 1.7;
  color: #87949e;
  margin-top: 20px;
  max-width: 520px
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-grid,
.trust-grid,
.section,
.detail.active>.container {
  animation: fadeUp .65s ease both
}

.product-card {
  animation: fadeUp .55s ease both
}

.product-card:nth-child(2) {
  animation-delay: .04s
}

.product-card:nth-child(3) {
  animation-delay: .08s
}

.product-card:nth-child(4) {
  animation-delay: .12s
}

.product-card:nth-child(5) {
  animation-delay: .16s
}

.product-card:nth-child(6) {
  animation-delay: .2s
}

.product-card:nth-child(7) {
  animation-delay: .24s
}

@media(max-width:1000px) {
  .hero-grid {
    gap: 38px
  }

  .hero h1 {
    font-size: clamp(42px, 5.5vw, 58px)
  }

  .quality-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .info {
    padding: 40px
  }

  .detail-grid {
    gap: 35px
  }

  .detail-image {
    min-height: 420px
  }
}

@media(max-width:800px) {
  .container {
    width: min(100% - 36px, 1180px)
  }

  .nav {
    height: 74px
  }

  .brand img {
    width: 155px;
    height: 60px
  }

  .menu {
    display: block
  }

  .navlinks {
    display: none
  }

  .navlinks.mobile-open {
    display: flex;
    position: absolute;
    top: 66px;
    left: 18px;
    right: 18px;
    background: #fff;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 3px;
    align-items: stretch
  }

  .navlinks.mobile-open a {
    padding: 13px 14px
  }

  .hero {
    padding: 62px 0
  }

  .hero-grid,
  .info-grid,
  .detail-grid {
    grid-template-columns: 1fr
  }

  .hero-grid {
    gap: 38px
  }

  .hero-card {
    min-height: 300px
  }

  .hero-logo {
    width: 205px;
    height: 205px
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .trust-item:nth-child(2) {
    border-right: 0
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }

  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .section {
    padding: 70px 0
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px
  }

  .section-intro {
    max-width: 650px
  }

  .info-grid {
    gap: 30px
  }

  .detail-grid {
    gap: 28px
  }

  .detail-image {
    min-height: 380px
  }

  .detail-grid>div:last-child {
    padding-bottom: 15px
  }
}

@media(max-width:560px) {
  .container {
    width: calc(100% - 28px)
  }

  .hero {
    padding: 48px 0
  }

  .hero h1 {
    font-size: 42px;
    letter-spacing: -1.8px
  }

  .hero p {
    font-size: 14px
  }

  .hero-actions {
    gap: 9px
  }

  .btn {
    padding: 13px 16px;
    font-size: 12px
  }

  .hero-card {
    min-height: 260px;
    border-radius: 25px
  }

  .hero-logo {
    width: 170px;
    height: 170px
  }

  .trust-item {
    padding: 18px 14px
  }

  .trust-item b {
    font-size: 12px
  }

  .trust-item span {
    font-size: 11px
  }

  .section {
    padding: 60px 0
  }

  .section h2,
  .info h2 {
    font-size: 34px
  }

  .products {
    grid-template-columns: 1fr;
    gap: 17px
  }

  .product-top {
    min-height: 225px
  }

  .product-top .pack-art {
    height: 152px
  }

  .product-body {
    padding: 20px
  }

  .product-body p {
    min-height: 0
  }

  .info {
    padding: 27px 21px;
    border-radius: 24px
  }

  .pillars {
    grid-template-columns: 1fr
  }

  .pillar {
    padding: 17px
  }

  .quality-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .quality-card {
    min-height: 155px;
    padding: 17px 14px
  }

  .quality-card strong {
    margin-bottom: 17px
  }

  .milk-product-links {
    gap: 7px;
    padding: 20px 12px
  }

  .milk-product-links b {
    width: 100%;
    text-align: center;
    margin: 0 0 4px
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px
  }

  .detail {
    padding: 30px 0 60px
  }

  .detail-image {
    min-height: 320px;
    padding: 28px
  }

  .detail-image:before {
    width: 230px;
    height: 230px
  }

  .detail-image .detail-pack-art {
    width: 150px;
    height: 205px
  }

  .detail h1 {
    font-size: 36px
  }

  .back {
    margin-bottom: 20px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}


/* ===== Enhanced motion system ===== */
:root {
  --motion-fast: 180ms;
  --motion-base: 320ms;
  --motion-slow: 720ms;
  --ease-out: cubic-bezier(.2, .75, .25, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
}

.header {
  transition: box-shadow .28s ease, background .28s ease, border-color .28s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 32px rgba(16, 43, 70, .09);
  border-color: rgba(17, 156, 131, .18);
}

.brand img {
  transition: transform .35s var(--ease-out);
}

.brand:hover img {
  transform: scale(1.035) rotate(-1deg);
}

.navlinks a {
  position: relative;
  overflow: hidden;
}

.navlinks a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease-out);
}

.navlinks a:hover::after,
.navlinks a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  isolation: isolate;
}

.hero::before {
  animation: orbitDrift 14s ease-in-out infinite alternate;
}

.hero::after {
  animation: breathe 8s ease-in-out infinite alternate;
}

.hero-grid>div:first-child {
  animation: heroEnter .85s .08s both var(--ease-out);
}

.hero-card {
  transform-style: preserve-3d;
  animation: heroCardEnter 1s .15s both var(--ease-out), heroFloat 7s 1.2s ease-in-out infinite;
  transition: box-shadow .35s ease, border-color .35s ease;
}

.hero-card:hover {
  box-shadow: 0 32px 85px rgba(16, 43, 70, .18);
  border-color: rgba(17, 156, 131, .34);
}

.hero-logo {
  animation: logoBreath 5.5s ease-in-out infinite;
}

.eyebrow .dot {
  animation: dotPulse 2.4s ease-in-out infinite;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .24s var(--ease-out), box-shadow .24s ease, background .24s ease;
}

.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .24) 45%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .65s ease;
}

.btn:hover::before {
  transform: translateX(130%);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px) scale(.985);
}

.trust-item {
  transition: transform .28s var(--ease-out), background .28s ease;
}

.trust-item:hover {
  transform: translateY(-4px);
  background: rgba(233, 247, 243, .52);
}

.product-card {
  opacity: 1;
  transform: translateY(0);
  transition: transform .4s var(--ease-out), box-shadow .4s ease, border-color .3s ease;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 26px 58px rgba(16, 43, 70, .15);
}

.product-card:focus-visible {
  outline: 3px solid rgba(17, 156, 131, .55);
  outline-offset: 4px;
}

.product-top {
  overflow: hidden;
}

.product-top::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -45%;
  width: 34%;
  transform: rotate(18deg) translateX(-180%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .48), transparent);
  pointer-events: none;
  transition: transform .8s ease;
}

.product-card:hover .product-top::after {
  transform: rotate(18deg) translateX(560%);
}

.product-top .pack-art {
  transition: transform .55s var(--ease-out), filter .4s ease;
}

.product-card:hover .product-top .pack-art {
  transform: translateY(-7px) rotate(-2deg) scale(1.045);
  filter: drop-shadow(0 16px 16px rgba(16, 43, 70, .16));
}

.product-card .arrow {
  transition: transform .3s var(--ease-out), background .3s ease;
}

.product-card:hover .arrow {
  transform: translate(3px, -3px);
  background: var(--teal);
  color: #fff;
}

.chip {
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.product-card:hover .chip {
  background: #e5f6f1;
  color: var(--teal-dark);
}

.pillar,
.quality-card {
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}

.pillar:hover,
.quality-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(16, 43, 70, .08);
  border-color: rgba(17, 156, 131, .28);
}

.quality-card strong {
  transition: transform .3s var(--ease-out), color .3s ease;
}

.quality-card:hover strong {
  transform: scale(1.12);
  color: var(--teal);
}

.detail.active .detail-image {
  animation: detailReveal .65s var(--ease-out) both;
}

.detail.active .detail-grid>div:last-child {
  animation: detailTextReveal .7s .08s var(--ease-out) both;
}

.detail-image .detail-pack-art {
  animation: packPop .7s .18s var(--ease-out) both;
}

.back {
  transition: transform .22s ease, color .22s ease;
}

.back:hover {
  transform: translateX(-4px);
  color: var(--teal-dark);
}

.scroll-progress {
  position: fixed;
  z-index: 150;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, #119c83, #62cbb4, #9adbd0);
  box-shadow: 0 0 12px rgba(17, 156, 131, .28);
}

.reveal-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.reveal-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready .product-card.reveal-on-scroll {
  transition-delay: var(--reveal-delay, 0ms);
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCardEnter {
  from {
    opacity: 0;
    transform: translateY(28px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroFloat {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@keyframes logoBreath {

  0%,
  100% {
    filter: drop-shadow(0 8px 18px rgba(16, 43, 70, .07));
  }

  50% {
    filter: drop-shadow(0 16px 25px rgba(17, 156, 131, .16));
  }
}

@keyframes orbitDrift {
  from {
    transform: translate3d(0, 0, 0) rotate(0);
  }

  to {
    transform: translate3d(-24px, 18px, 0) rotate(8deg);
  }
}

@keyframes breathe {
  from {
    transform: scale(.92);
    opacity: .7;
  }

  to {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes dotPulse {

  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(17, 156, 131, .12);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(17, 156, 131, .04);
  }
}

@keyframes detailReveal {
  from {
    opacity: 0;
    transform: translateX(-16px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes detailTextReveal {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes packPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.9) rotate(-3deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@media (max-width: 800px) {
  .hero-card {
    animation: heroCardEnter .8s .12s both var(--ease-out);
  }

  .product-card:hover {
    transform: translateY(-4px);
  }
}



/* ===== Product section layout refinement ===== */
#products.section {
  padding-top: 76px;
  padding-bottom: 84px;
  background:
    radial-gradient(ellipse at 8% 12%, rgba(17, 156, 131, .045), transparent 32%),
    #f7faf9;
}

#products .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  margin-bottom: 30px;
}

#products .section-head>div {
  position: relative;
  padding-left: 0;
}

#products .section-head h2 {
  max-width: 580px;
  font-size: clamp(34px, 3.45vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.65px;
  margin-top: 14px;
}

#products .section-intro {
  max-width: none;
  margin: 0;
  padding: 21px 24px 21px 25px;
  border: 1px solid rgba(17, 156, 131, .13);
  border-left: 3px solid var(--teal);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 28px rgba(16, 43, 70, .035);
  font-size: 14px;
  line-height: 1.8;
}

#products .products {
  gap: 22px;
}

#products .product-card {
  border-radius: 22px;
  box-shadow: 0 8px 26px rgba(16, 43, 70, .045);
}

#products a.product-card {
  color: inherit;
  text-decoration: none;
}

#products .product-card:hover {
  border-color: rgba(17, 156, 131, .35);
  box-shadow: 0 22px 46px rgba(16, 43, 70, .11);
}

#products .product-top {
  border-bottom: 1px solid rgba(16, 43, 70, .045);
}

.trust {
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 32px rgba(16, 43, 70, .025);
}

.trust-grid {
  align-items: stretch;
}

.trust-item {
  position: relative;
  padding: 23px 26px 24px;
  transition: background .25s ease, transform .25s ease;
}

.trust-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(17, 156, 131, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.trust-item:hover::before {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  #products.section {
    padding-top: 60px;
  }

  #products .section-head {
    gap: 24px;
  }

  #products .section-head h2 {
    font-size: clamp(32px, 5vw, 42px);
  }
}

@media (max-width: 680px) {
  #products.section {
    padding-top: 48px;
    padding-bottom: 58px;
  }

  #products .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 25px;
    align-items: start;
  }

  #products .section-head h2 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.1;
    letter-spacing: -1.2px;
  }

  #products .section-intro {
    padding: 15px 17px;
    font-size: 13px;
  }

  .trust-item {
    padding: 17px 14px;
  }

  .trust-item::before {
    left: 14px;
    right: 14px;
  }
}


/* ===== SL LifeSciences brand refresh: responsive, content-adaptive UI ===== */
:root {
  --navy: #092b59;
  --navy-2: #12477c;
  --teal: #087fbd;
  --teal-dark: #075f91;
  --mint: #eaf6fb;
  --cream: #f7fafc;
  --ink: #16334d;
  --muted: #617487;
  --line: #dce8ef;
  --shadow: 0 22px 60px rgba(9, 43, 89, .10);
  --radius: 24px;
}

body {
  background: #f8fbfd;
  color: var(--ink);
  line-height: 1.6;
}

body:before {
  background:
    radial-gradient(ellipse at 4% 2%, rgba(8, 127, 189, .09), transparent 34%),
    radial-gradient(ellipse at 95% 20%, rgba(64, 190, 109, .08), transparent 29%);
}

.container {
  width: min(1200px, calc(100% - 48px));
}

.header {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: #e0eaf1;
}

.nav {
  min-height: 82px;
  height: auto;
  padding-block: 8px;
}

.brand img {
  width: 172px;
  height: 66px;
}

.navlinks a {
  color: #3d5871;
}

.navlinks a:hover,
.navlinks a:focus-visible {
  background: #eaf6fb;
  color: #075f91;
}

.menu {
  color: var(--navy);
}

.hero {
  padding: clamp(58px, 7vw, 94px) 0 clamp(54px, 6vw, 82px);
  background: linear-gradient(120deg, #f0f8fc 0%, #f8fbfd 52%, #eef9f2 100%);
  border-bottom-color: #deebf1;
}

.hero-grid {
  gap: clamp(32px, 5vw, 72px);
}

.eyebrow {
  color: #075f91;
  letter-spacing: 1.5px;
}

.dot {
  background: #31a95e;
  box-shadow: 0 0 0 5px rgba(49, 169, 94, .13);
}

.hero h1 {
  color: #092b59;
  letter-spacing: -2.6px;
  line-height: 1.04;
}

.hero h1 span {
  color: #0783bd;
}

.hero p {
  color: #5b7184;
  max-width: 560px;
}

.btn {
  min-height: 46px;
}

.btn-primary {
  background: linear-gradient(135deg, #087fbd, #075f91);
  box-shadow: 0 10px 24px rgba(8, 127, 189, .22);
}

.btn-primary:hover {
  background: #064e79;
}

.btn-light {
  border-color: #d9e7ef;
}

.hero-card {
  min-height: clamp(300px, 34vw, 400px);
  border-color: #fff;
  border-radius: 30px;
  background: linear-gradient(145deg, #fff, #eaf6fb 65%, #edf9f0);
  box-shadow: 0 28px 70px rgba(9, 43, 89, .11);
}

.hero-card:before {
  background: linear-gradient(145deg, #dceff8, #f4fbff);
  box-shadow: inset 0 0 0 1px rgba(8, 127, 189, .13);
}

.hero-card:after {
  color: #64899b;
  letter-spacing: 2.5px;
}

.hero-logo {
  filter: drop-shadow(0 12px 18px rgba(9, 43, 89, .10));
}

.trust {
  border-bottom-color: var(--line);
}

.trust-item b {
  color: var(--navy);
}

.trust-item::before {
  background: linear-gradient(90deg, #087fbd, rgba(8, 127, 189, 0));
}

.section {
  padding-block: clamp(58px, 7vw, 88px);
}

.tag {
  color: #075f91;
  letter-spacing: 1.5px;
}

.tag:before {
  background: #31a95e;
}

.section h2,
.info h2 {
  color: var(--navy);
}

.section-intro {
  color: #5f7487;
  border-color: rgba(8, 127, 189, .16) !important;
  border-left-color: #087fbd !important;
  background: rgba(255, 255, 255, .9) !important;
}

#products.section {
  background:
    radial-gradient(ellipse at 8% 12%, rgba(8, 127, 189, .05), transparent 32%),
    #f7fafc;
}

.products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-color: #dce8ef;
  border-radius: 22px;
  box-shadow: 0 8px 26px rgba(9, 43, 89, .045);
}

.product-top {
  min-height: clamp(205px, 21vw, 250px);
  background: var(--cardbg, #eaf6fb);
}

.product-top:before {
  width: min(205px, 70%);
  aspect-ratio: 1;
  height: auto;
  background: rgba(255, 255, 255, .58);
}

.stage {
  color: #345b75;
}

.arrow {
  color: #075f91;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  color: #092b59;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.age {
  color: #08764a;
}

.product-body p {
  min-height: 0;
  flex: 1;
}

.chip {
  border-color: #dcebe8;
  background: #f5fbf8;
  color: #42665c;
}

.weight {
  color: #092b59;
}

.pack-art {
  background: linear-gradient(145deg, var(--pack, #087fbd), var(--pack-dark, #075f91));
  box-shadow: 10px 15px 24px rgba(9, 43, 89, .17);
}

.info {
  background: linear-gradient(135deg, #092b59, #124a70 72%, #0b665d);
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(9, 43, 89, .14);
}

.info .tag {
  color: #a7e7cb;
}

.info .tag:before {
  background: #65d99d;
}

.pillar {
  background: rgba(255, 255, 255, .07);
}

.pillar:hover {
  border-color: rgba(101, 217, 157, .4);
}

.quality {
  background: #fff;
  border-color: var(--line);
}

.quality-card {
  border-color: #dce8ef;
  border-radius: 18px;
}

.quality-card strong {
  background: #eaf6fb;
  color: #075f91;
}

.milk-product-links {
  background: #eff6fa;
  border-top-color: var(--line);
}

.milk-product-links a {
  border-color: #dce8ef;
}

.milk-product-links a:hover {
  color: #075f91;
  border-color: #087fbd;
}

.footer {
  background: #071f40;
}

.detail-image {
  background: linear-gradient(145deg, #eaf6fb, #eef9f2);
  border-color: #dce8ef;
}

.detail-age {
  color: #08764a;
}

.detail-weight {
  background: #eaf6fb;
  color: #075f91;
}

.back {
  border-color: #dce8ef;
}

.back:hover {
  color: #075f91;
}

/* Content grows naturally when products, chips, or copy are added. */
.product-card,
.product-body,
.product-top,
.detail-grid>* {
  min-width: 0;
}

.product-body p,
.section-intro,
.detail-copy,
.detail-note {
  overflow-wrap: anywhere;
}

.chips,
.detail-weights {
  align-items: flex-start;
}

.product-top>img {
  max-width: min(76%, 230px);
}

#productGrid:empty {
  display: none;
}

a:focus-visible,
button:focus-visible,
.product-card:focus-visible {
  outline: 3px solid rgba(8, 127, 189, .55);
  outline-offset: 4px;
}

@media (min-width: 1500px) {
  .container {
    width: min(1280px, calc(100% - 80px));
  }
}

@media (max-width: 1000px) {
  .hero-grid {
    gap: 34px;
  }

  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info {
    padding: clamp(28px, 5vw, 44px);
  }
}

@media (max-width: 800px) {
  .container {
    width: calc(100% - 36px);
  }

  .nav {
    min-height: 72px;
  }

  .brand img {
    width: 148px;
    height: 56px;
  }

  .hero-grid,
  .info-grid,
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-card {
    min-height: 290px;
  }

  .hero-logo {
    width: 195px;
    height: 195px;
  }

  .detail-grid {
    gap: 28px;
  }

  .detail-image {
    min-height: 360px;
  }

  .section-head {
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero {
    padding: 46px 0 48px;
  }

  .hero h1 {
    font-size: clamp(35px, 10vw, 43px);
    letter-spacing: -1.7px;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    flex: 1 1 145px;
  }

  .hero-card {
    min-height: 245px;
    border-radius: 23px;
  }

  .hero-card:before {
    width: 205px;
    height: 205px;
  }

  .hero-logo {
    width: 160px;
    height: 160px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item {
    padding: 17px 12px;
    overflow-wrap: anywhere;
  }

  .trust-item b {
    font-size: 12px;
  }

  .trust-item span {
    font-size: 11px;
  }

  .section {
    padding-block: 54px;
  }

  .section h2,
  .info h2 {
    font-size: clamp(30px, 8vw, 35px);
  }

  .products {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .product-top {
    min-height: 220px;
  }

  .product-body {
    padding: 20px;
  }

  .product-body h3 {
    font-size: 19px;
  }

  .product-body p {
    font-size: 13px;
  }

  .info {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .pillars {
    grid-template-columns: minmax(0, 1fr);
  }

  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-card {
    min-height: 150px;
    padding: 16px 13px;
  }

  .milk-product-links {
    padding: 20px 12px;
  }

  .milk-product-links a {
    font-size: 10px;
  }

  .footer-row {
    align-items: flex-start;
  }

  .detail {
    padding: 25px 0 50px;
  }

  .detail-image {
    min-height: 290px;
    padding: 24px;
  }

  .detail-image:before {
    width: 220px;
    height: 220px;
  }

  .detail h1 {
    font-size: clamp(31px, 9vw, 37px);
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 22px);
  }

  .brand img {
    width: 128px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .trust-grid,
  .quality-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .quality-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-card,
  .hero-logo,
  .hero:before,
  .hero:after,
  .eyebrow .dot {
    animation: none !important;
  }
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --color-navy: #103B50;
  --color-teal: #087F8C;
  --color-teal-hover: #066873;
  --color-gold: #E4CF9B;
  --color-gold-deep: #BDA46C;
  --color-gold-soft: #F4EBD6;
  --color-ivory: #FBF7ED;
  --color-aqua: #DDF3F1;
  --color-cloud: #F6F9FB;
  --color-white: #FFFFFF;
  --color-text: #243746;
  --color-muted: #607481;
  --color-border: #DCE5EA;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gradient-hero: linear-gradient(115deg, #103B50 0%, #087F8C 72%, #BDA46C 100%);
  --gradient-premium-light: linear-gradient(135deg, #FBF7ED 0%, #F4EBD6 55%, #E4CF9B 100%);
  --gradient-science: linear-gradient(135deg, #F6F9FB 0%, #DDF3F1 100%);

  --radius-card: 14px;
  --radius-control: 8px;
  --shadow-soft: 0 12px 34px rgba(16, 59, 80, .075);
  --shadow-hover: 0 20px 44px rgba(16, 59, 80, .12);
  --transition-ui: 200ms ease;
}

html {
  font-family: var(--font-sans);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
}

body:before {
  background:
    radial-gradient(ellipse at 4% 2%, rgba(8, 127, 140, .055), transparent 34%),
    radial-gradient(ellipse at 96% 18%, rgba(228, 207, 155, .10), transparent 27%);
}

.container {
  width: min(1200px, calc(100% - 48px));
}

.header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--color-border);
}

.header.is-scrolled {
  box-shadow: 0 8px 28px rgba(16, 59, 80, .08);
}

.nav {
  min-height: 80px;
  height: auto;
  padding-block: 8px;
}

.navlinks a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
  transition: color var(--transition-ui), background var(--transition-ui);
}

.navlinks a:hover,
.navlinks a:focus-visible {
  color: var(--color-teal);
  background: var(--color-aqua);
}

.navlinks a::after {
  background: var(--color-gold-deep);
}

.menu {
  border-color: var(--color-border);
  color: var(--color-navy);
  border-radius: var(--radius-control);
}

.hero {
  background: var(--gradient-science);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  gap: clamp(32px, 5vw, 70px);
}

.eyebrow {
  color: var(--color-teal);
  letter-spacing: 1.25px;
}

.dot {
  background: var(--color-gold-deep);
  box-shadow: 0 0 0 5px rgba(228, 207, 155, .28);
}

.hero h1 {
  color: var(--color-navy);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
}

.hero h1 span {
  color: var(--color-teal);
}

.hero p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-card {
  background: linear-gradient(145deg, #fff 0%, #f6f9fb 65%, #fbf7ed 100%);
  border: 1px solid rgba(228, 207, 155, .48);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.hero-card:before {
  background: var(--gradient-premium-light);
  box-shadow: inset 0 0 0 1px rgba(189, 164, 108, .18);
}

.hero-card:after {
  color: #6d7f82;
}

.btn {
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--radius-control);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  transition: transform var(--transition-ui), background var(--transition-ui), border-color var(--transition-ui), box-shadow var(--transition-ui);
}

.btn-primary {
  background: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 7px 18px rgba(8, 127, 140, .16);
}

.btn-primary:hover {
  background: var(--color-teal-hover);
}

.btn-light {
  color: var(--color-teal);
  background: rgba(255, 255, 255, .9);
  border-color: var(--color-teal);
}

.btn-light:hover {
  background: var(--color-aqua);
  box-shadow: none;
}

.trust {
  background: var(--color-white);
  border-color: var(--color-border);
}

.trust-item b {
  color: var(--color-navy);
  font-size: 14px;
}

.trust-item span {
  color: var(--color-muted);
  font-size: 12px;
}

.trust-item::before {
  background: linear-gradient(90deg, var(--color-gold-deep), transparent);
}

.section {
  padding-block: clamp(60px, 7vw, 96px);
}

.tag {
  color: var(--color-teal);
}

.tag:before {
  background: var(--color-gold-deep);
}

.section h2,
.info h2 {
  color: var(--color-navy);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -1.1px;
  line-height: 1.18;
}

.section-intro {
  color: var(--color-muted);
  line-height: 1.75;
}

#products.section {
  background: var(--color-cloud);
}

#products .section-intro {
  background: var(--color-white) !important;
  border: 1px solid var(--color-border) !important;
  border-left: 3px solid var(--color-gold-deep) !important;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  box-shadow: none;
}

.products {
  gap: 22px;
  align-items: stretch;
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: 0 5px 20px rgba(16, 59, 80, .035);
  background: var(--color-white);
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(8, 127, 140, .4);
  box-shadow: var(--shadow-hover);
}

.product-top {
  background: var(--gradient-science);
  min-height: clamp(210px, 22vw, 250px);
}

.product-top:before {
  border-color: rgba(228, 207, 155, .45);
  background: rgba(255, 255, 255, .68);
}

.stage {
  color: var(--color-navy);
  border-color: rgba(220, 229, 234, .9);
}

.arrow {
  color: var(--color-teal);
}

.product-body h3 {
  color: var(--color-navy);
  font-size: 20px;
  font-weight: 600;
}

.age {
  color: var(--color-teal);
}

.product-body p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.chip {
  border-color: var(--color-border);
  background: var(--color-cloud);
  color: var(--color-muted);
  border-radius: 6px;
  font-size: 11px;
}

.product-card:hover .chip {
  background: var(--color-aqua);
  color: var(--color-navy);
}

.weight {
  color: var(--color-navy);
}

.pack-art {
  background: linear-gradient(145deg, var(--pack, #087F8C), var(--pack-dark, #103B50));
  border-color: rgba(255, 255, 255, .8);
}

.info {
  background: var(--color-navy);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.info:after {
  border-color: rgba(228, 207, 155, .18);
}

.info .tag {
  color: var(--color-gold);
}

.info .tag:before {
  background: var(--color-gold-deep);
}

.info h2 {
  color: var(--color-white);
}

.info-grid>div:first-child>p,
.pillar p {
  color: #D3E0E5;
}

.pillar {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(220, 229, 234, .18);
  border-radius: var(--radius-card);
}

.pillar:hover {
  border-color: rgba(228, 207, 155, .42);
  box-shadow: none;
}

.pillar b {
  color: var(--color-white);
}

.quality {
  background: var(--color-ivory);
  border-color: rgba(189, 164, 108, .24);
}

.quality-card {
  background: var(--color-white);
  border-color: var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: none;
}

.quality-card:hover {
  border-color: rgba(189, 164, 108, .65);
  box-shadow: var(--shadow-soft);
}

.quality-card strong {
  background: var(--color-gold-soft);
  color: var(--color-navy);
  border-radius: 8px;
}

.quality-card b {
  color: var(--color-navy);
}

.quality-card span {
  color: var(--color-muted);
}

.milk-product-links {
  background: var(--color-cloud);
  border-color: var(--color-border);
}

.milk-product-links b {
  color: var(--color-muted);
}

.milk-product-links a {
  color: var(--color-navy);
  background: var(--color-white);
  border-color: var(--color-border);
  border-radius: 8px;
}

.milk-product-links a:hover {
  color: var(--color-teal);
  border-color: var(--color-teal);
  background: var(--color-aqua);
}

.footer {
  background: var(--color-navy);
}

.footer-row b {
  color: var(--color-white);
}

.footer-row small {
  color: #D3E0E5;
}

.detail {
  background: var(--color-white);
}

.back {
  border-color: var(--color-border);
  border-radius: var(--radius-control);
  color: var(--color-navy);
}

.back:hover {
  color: var(--color-teal);
}

.detail-image {
  background: var(--gradient-science);
  border-color: var(--color-border);
  border-radius: 18px;
}

.detail-image:before {
  background: rgba(255, 255, 255, .65);
  border-color: rgba(228, 207, 155, .42);
}

.detail-age {
  color: var(--color-teal);
}

.detail h1 {
  color: var(--color-navy);
  font-weight: 700;
}

.detail-copy {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.75;
}

.detail-list li {
  color: var(--color-text);
}

.detail-weight-box {
  border-color: var(--color-border);
  border-radius: var(--radius-card);
}

.detail-weight {
  background: var(--color-aqua);
  color: var(--color-navy);
  border-radius: 7px;
}

.detail-note {
  color: var(--color-muted);
}

/* Focus, touch targets and small-screen layout */
a:focus-visible,
button:focus-visible,
.product-card:focus-visible {
  outline: 3px solid var(--color-gold-deep);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .nav {
    min-height: 72px;
  }

  .navlinks.mobile-open {
    border-color: var(--color-border);
    border-radius: 12px;
  }

  .hero h1 {
    font-size: clamp(36px, 7vw, 46px);
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 40px);
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 40px);
    letter-spacing: -1.3px;
  }

  .hero p {
    font-size: 15px;
  }

  .btn {
    min-height: 48px;
    padding-inline: 18px;
  }

  .section h2,
  .info h2 {
    font-size: clamp(27px, 7.6vw, 31px);
  }

  .product-body p {
    font-size: 14px;
  }

  .quality {
    background: var(--color-ivory);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}


/* Requested hero artwork polish: soft circular depth behind the brand logo */
.hero-card:before {
  box-shadow:
    0 18px 42px rgba(16, 59, 80, .16),
    0 0 0 1px rgba(189, 164, 108, .22),
    inset 0 1px 0 rgba(255, 255, 255, .72);
  filter: drop-shadow(0 12px 22px rgba(16, 59, 80, .10));
}

.hero-logo {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 16px rgba(16, 59, 80, .13));
  border-radius: 0;
}

.hero-card {
  isolation: isolate;
}

.hero-card:before {
  z-index: 0;
}

.hero-card:after {
  z-index: 2;
}

/* Contact section styling: readable details and understated gold accent */
#contact,
.contact,
.contact-section {
  scroll-margin-top: 100px;
}

.contact-section,
#contact {
  border-top: 1px solid rgba(189, 164, 108, .28);
}

.contact-section h2,
#contact h2 {
  color: var(--color-navy);
}

.contact-section a,
#contact a {
  color: var(--color-teal);
}

.contact-section a:hover,
#contact a:hover {
  color: var(--color-teal-hover);
}


/* Final polish: soft circular depth behind the hero logo */
.hero-card {
  isolation: isolate;
}

.hero-card:before {
  z-index: 0;
  box-shadow:
    0 20px 46px rgba(16, 59, 80, .17),
    0 0 0 1px rgba(189, 164, 108, .22),
    inset 0 1px 0 rgba(255, 255, 255, .76);
  filter: drop-shadow(0 12px 22px rgba(16, 59, 80, .10));
}

.hero-logo {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 17px rgba(16, 59, 80, .16));
}

.hero-card:after {
  z-index: 2;
}

/* Contact section uses the premium palette without inventing contact details. */
#contact {
  scroll-margin-top: 100px;
  border-top: 1px solid rgba(189, 164, 108, .32);
}

#contact .tag:before {
  background: var(--color-gold-deep);
}

#contact .section-intro {
  border-left-color: var(--color-gold-deep) !important;
}

#contact .quality-card strong {
  background: var(--color-gold-soft);
  color: var(--color-navy);
}


/* =========================================================
   Final refinement: circular logo and premium contact area
   ========================================================= */
.hero-card {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FBFC 68%, #FBF7ED 100%);
  border: 1px solid rgba(189, 164, 108, .36);
  border-radius: 26px;
}

.hero-card:before {
  content: "";
  position: absolute;
  width: min(66%, 350px);
  aspect-ratio: 1;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(145deg, #FBF7ED 0%, #F4EBD6 62%, #E4CF9B 100%);
  border: 1px solid #E4CF9B;
  box-shadow:
    0 18px 42px rgba(228, 207, 155, .30),
    0 7px 24px rgba(16, 59, 80, .09),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  z-index: 0;
}

.hero-logo {
  width: min(58%, 310px);
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  background: transparent !important;
  mix-blend-mode: multiply;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 7px 8px rgba(189, 164, 108, .15));
}

.hero-card:after {
  z-index: 2;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

.contact-section {
  background: var(--color-ivory);
  border-top: 1px solid rgba(189, 164, 108, .28);
  padding-block: clamp(64px, 7vw, 100px);
}

.contact-message-card {
  max-width: 960px;
  margin-inline: auto;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: clamp(30px, 5vw, 58px);
  box-shadow: 0 18px 45px rgba(16, 59, 80, .07);
  text-align: center;
}

.contact-message-card h2 {
  margin: 0 0 22px;
  color: var(--color-navy);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
}

.contact-message-card p {
  max-width: 555px;
  margin: 0 auto 16px;
  color: var(--color-text);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.7;
}

.contact-message-card p:last-child {
  margin-bottom: 0;
}

.contact-message-card a {
  color: var(--color-teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .hero-card {
    min-height: 320px;
    border-radius: 20px;
  }

  .hero-card:before {
    width: min(74%, 280px);
  }

  .hero-logo {
    width: min(66%, 260px);
  }

}

/* Mobile menu interaction polish */
.menu {
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.menu:focus-visible,
.navlinks a:focus-visible {
  outline: 3px solid rgba(8, 127, 140, .32);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .menu {
    display: inline-flex;
    position: relative;
    z-index: 1002;
  }

  .nav {
    position: relative;
  }

  .navlinks.mobile-open {
    z-index: 1001;
  }
}
