/* Luxotene — Liquid nutrition, advanced by science */

:root {
  --bg: #fbf5ec;
  --cream: #f7efe2;
  --cream-deep: #f1e6d2;
  --gold: #b8841c;
  --gold-deep: #9c6f14;
  --gold-light: #d4a14a;
  --brown: #3d2a14;
  --brown-deep: #1f1408;
  --ink: #2a1d10;
  --muted: #6e5a44;
  --line: rgba(184, 132, 28, 0.25);
  --serif: "Cormorant Garamond", "Cormorant", "EB Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- HEADER ---------- */
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 56px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav__logo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.nav__links {
  display: flex;
  gap: 44px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav__link:hover { color: var(--gold); }
.nav__link--active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  transition: background 0.2s, color 0.2s, transform 0.05s;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn:active { transform: translateY(1px); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--on-dark {
  border-color: rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
}
.btn--on-dark:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.nav__cart {
  background: none;
  border: 0;
  padding: 6px;
  color: var(--ink);
  display: flex;
  align-items: center;
  position: relative;
}
.nav__cart:hover { color: var(--gold); }
.nav__cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--gold);
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(212, 161, 74, 0.28), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 90%, rgba(184, 132, 28, 0.10), transparent 70%),
    linear-gradient(180deg, #fdf7ed 0%, #f9efdc 100%);
  overflow: hidden;
}
.hero__bokeh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255,220,150,0.6) 0 8px, transparent 9px),
    radial-gradient(circle at 88% 18%, rgba(255,220,150,0.5) 0 14px, transparent 15px),
    radial-gradient(circle at 70% 78%, rgba(255,220,150,0.4) 0 10px, transparent 11px),
    radial-gradient(circle at 30% 70%, rgba(255,220,150,0.45) 0 6px, transparent 7px),
    radial-gradient(circle at 50% 12%, rgba(255,220,150,0.35) 0 18px, transparent 19px),
    radial-gradient(circle at 95% 60%, rgba(255,220,150,0.5) 0 12px, transparent 13px);
  filter: blur(2px);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px 56px 96px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin: 0 0 24px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: var(--ink);
  text-wrap: balance;
}
.hero__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
  margin: 0 0 36px;
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 0 40px;
  max-width: 560px;
}
.feature {
  padding: 0 14px;
  border-right: 1px solid var(--line);
  text-align: left;
}
.feature:first-child { padding-left: 0; }
.feature:last-child { border-right: 0; }
.feature__icon {
  color: var(--gold);
  margin-bottom: 12px;
  width: 28px;
  height: 28px;
}
.feature__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  margin: 0 0 6px;
}
.feature__desc {
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}
.hero__cta {
  display: flex;
  gap: 16px;
}

/* Maker's tagline — inline version under hero CTAs */
.maker-inline {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 560px;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.maker-inline__you {
  color: var(--muted);
}
.maker-inline__we {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  color: var(--gold-deep);
  letter-spacing: 0;
}
.hero__product {
  position: relative;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__product image-slot {
  width: 100%;
  height: 100%;
}
.hero__splash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ---------- DARK GOLD SECTION ---------- */
.science {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(212, 161, 74, 0.35), transparent 70%),
    linear-gradient(135deg, #6b4a1a 0%, #4a3010 60%, #3a2308 100%);
  color: #fff;
  overflow: hidden;
}
.science__bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.science__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 56px;
}
.science__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.005em;
}
.science__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.9);
  margin: 0 0 28px;
}
.science__lede {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 380px;
  margin: 0 0 32px;
}
.science__pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 0;
}
.science__pill {
  padding: 24px 18px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.science__pill:not(:nth-child(3n)) {
  border-right: 1px solid rgba(255,255,255,0.18);
}
.science__pill:nth-child(-n+3) {
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.science__pill svg {
  width: 36px;
  height: 36px;
  color: #fff;
  stroke-width: 1.2;
}
.science__pill-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  color: #fff;
}

/* ---------- BENEFITS ---------- */
.benefits {
  background: var(--cream);
  padding: 90px 56px 110px;
}
.benefits__head {
  text-align: center;
  margin-bottom: 56px;
}
.benefits__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  margin: 12px 0 0;
  letter-spacing: -0.005em;
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.benefit-card {
  background: #fff;
  padding: 0 0 24px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(60, 35, 8, 0.10);
}
.benefit-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.benefit-card__img image-slot {
  width: 100%;
  height: 100%;
}
.benefit-card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 22px 0 8px;
  color: var(--ink);
}
.benefit-card__desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 28px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #1d140a;
  color: rgba(255,255,255,0.85);
  padding: 60px 56px 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 64px;
  max-width: 1280px;
  margin: 0 auto 36px;
  align-items: start;
}
.footer__logo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin: 0 0 12px;
}
.footer__tagline {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.footer__head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  margin: 0 0 14px;
}
.footer__copy {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0 0 18px;
}
.subscribe {
  display: flex;
}
.subscribe input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.subscribe input::placeholder { color: rgba(255,255,255,0.4); }
.subscribe input:focus { border-color: var(--gold-light); }
.subscribe button {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 0 24px;
  transition: background 0.2s;
}
.subscribe button:hover { background: var(--gold-deep); }
.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold-light); }
.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.socials {
  display: flex;
  gap: 16px;
}
.socials a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--gold);
  color: #1d140a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.socials a:hover { transform: translateY(-2px); background: var(--gold-light); }

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: #fff;
  padding: 14px 24px;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Bottle placeholder fallback ---------- */
.bottle-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { grid-template-columns: 1fr auto; padding: 18px 24px; }
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; padding: 56px 24px 64px; gap: 24px; }
  .hero__product { height: 460px; }
  .hero__title { font-size: 44px; }
  .feature-row { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .feature:nth-child(2) { border-right: 0; }
  .science__grid { grid-template-columns: 1fr; padding: 56px 24px; gap: 32px; }
  .science__title { font-size: 36px; }
  .science__pills { grid-template-columns: repeat(3, 1fr); }
  .benefits { padding: 56px 24px 72px; }
  .benefits__title { font-size: 36px; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 48px 24px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
}
