:root {
  --ink: #101216;
  --muted: #626a73;
  --line: #e3e7ec;
  --soft: #f5f7fa;
  --mist: #eef3f8;
  --blue: #004a98;
  --blue-2: #0d67bf;
  --green: #667a62;
  --cream: #faf8f4;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.text-muted-strong {
  color: var(--muted);
}

.eyebrow {
  color: var(--blue);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-pad {
  padding: 88px 0;
}

.section-soft {
  background: var(--soft);
}

.section-mist {
  background: var(--mist);
}

.section-title {
  max-width: 760px;
}

.section-title h1,
.section-title h2 {
  margin: 10px 0 16px;
  font-weight: 700;
  line-height: 1.05;
}

.display-tight {
  font-size: clamp(2.7rem, 7vw, 6.7rem);
  line-height: .92;
  font-weight: 800;
  letter-spacing: 0;
}

.h-tight {
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.btn {
  border-radius: 0;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.btn-sorrel {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.btn-sorrel:hover,
.btn-sorrel:focus {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.btn-outline-sorrel {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline-sorrel:hover,
.btn-outline-sorrel:focus {
  background: var(--ink);
  color: var(--white);
}

.topline {
  background: var(--ink);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.nav-link {
  color: var(--ink);
  font-size: .84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-cta {
  min-width: 128px;
}

.hero {
  min-height: calc(100vh - 105px);
  display: grid;
  align-items: stretch;
  background: var(--cream);
}

.hero .container-fluid {
  min-height: inherit;
}

.hero-copy {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(24px, 6vw, 92px);
}

.hero-media {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  background: var(--mist);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  margin-top: 42px;
  max-width: 620px;
}

.hero-proof div {
  background: rgba(255,255,255,.76);
  padding: 18px;
}

.hero-proof strong {
  display: block;
  color: var(--blue);
  font-size: 1.35rem;
  line-height: 1;
}

.hero-proof span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
  margin-top: 7px;
}

.product-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.strip-item {
  padding: 24px 10px;
  border-right: 1px solid var(--line);
}

.strip-item:last-child {
  border-right: 0;
}

.strip-item b {
  display: block;
  font-size: .9rem;
  text-transform: uppercase;
}

.strip-item span {
  color: var(--muted);
  font-size: .9rem;
}

.product-feature {
  border: 1px solid var(--line);
  background: var(--white);
  height: 100%;
}

.product-feature .media {
  aspect-ratio: 1 / 1.12;
  background: var(--mist);
  overflow: hidden;
}

.product-feature .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-feature:hover .media img {
  transform: scale(1.035);
}

.product-feature .body {
  padding: 28px;
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.science-cell {
  min-height: 250px;
  background: var(--white);
  padding: 30px;
}

.science-cell strong {
  color: var(--blue);
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 22px;
}

.image-band {
  min-height: 560px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.image-band img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  opacity: .78;
}

.image-band .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(16,18,22,.78), rgba(16,18,22,.22));
}

.ingredient-list {
  border-top: 1px solid var(--line);
}

.ingredient-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.ingredient-row h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
}

.routine-step {
  border-left: 3px solid var(--blue);
  padding: 10px 0 10px 22px;
}

.mini-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
  height: 100%;
}

.mini-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.product-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

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

.product-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  object-fit: cover;
  background: var(--mist);
}

.product-buy {
  position: sticky;
  top: 100px;
}

.price {
  font-size: 1.35rem;
  font-weight: 800;
}

.accordion-button {
  font-weight: 800;
}

.accordion-button:not(.collapsed) {
  background: var(--mist);
  color: var(--ink);
}

.contact-panel {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 36px;
}

.form-control,
.form-select {
  border-radius: 0;
  min-height: 52px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .2rem rgba(0,74,152,.12);
}

.site-footer {
  color: var(--white);
  background: var(--ink);
}

.site-footer a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-brand {
  font-size: 2rem;
  font-weight: 900;
}

.subfooter {
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.62);
  font-size: .86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}

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

@media (max-width: 991px) {
  .section-pad {
    padding: 64px 0;
  }

  .hero,
  .hero-copy,
  .hero-media,
  .hero-media img {
    min-height: auto;
  }

  .hero-copy {
    padding: 56px 24px;
  }

  .hero-media img {
    height: 62vh;
  }

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

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

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

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

  .product-buy {
    position: static;
  }
}

@media (max-width: 575px) {
  .display-tight {
    font-size: 3.1rem;
  }

  .hero-proof,
  .science-grid,
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    padding: 16px;
  }

  .science-cell {
    min-height: auto;
  }

  .image-band,
  .image-band img {
    min-height: 480px;
  }

  .image-band .overlay {
    align-items: flex-end;
    padding-bottom: 34px;
    background: linear-gradient(0deg, rgba(16,18,22,.84), rgba(16,18,22,.12));
  }
}
