:root {
  --ink: #2a1f1c;
  --clove: #3d2f2a;
  --muted: #5f5049;
  --paper: #f5ede1;
  --cream: #fbf6ef;
  --pink: #f8e1e3;
  --rose: #d98896;
  --wine: #7e3a31;
  --wine-dark: #5c2822;
  --gold: #b8925a;
  --gold-soft: #e2cfb0;
  --sage: #63745f;
  --line: #d9be95;
  --white: #fffdf9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.background-sweep {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 56px);
  background: rgba(245, 237, 225, 0.78);
  border-bottom: 1px solid rgba(184, 146, 90, 0.38);
  backdrop-filter: blur(14px);
}

.brand,
nav,
.nav-cta {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand svg path {
  fill: var(--gold);
}

.brand span,
.footer-brand {
  font-family: "Gloock", Georgia, serif;
  font-size: 26px;
  letter-spacing: 0.18em;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 15px;
  font-weight: 600;
}

nav a,
.button,
.nav-cta,
.site-footer a {
  text-decoration: none;
}

.nav-cta,
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta,
.button.primary,
button {
  color: var(--cream);
  background: var(--wine);
  border: 1px solid var(--wine);
}

.nav-cta {
  padding: 0 20px;
  white-space: nowrap;
}

.nav-cta:hover,
.button.primary:hover,
button:hover {
  background: var(--wine-dark);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(34px, 7vw, 76px);
  width: min(1200px, calc(100% - 40px));
  min-height: calc(100vh - 75px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 86px) 0 clamp(62px, 8vw, 90px);
}

.hero-copy {
  flex: 1 1 430px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Gloock", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1.02;
}

h1 span {
  color: var(--wine);
}

h2 {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08;
}

h3 {
  font-size: 28px;
  line-height: 1.15;
}

p {
  margin: 0;
}

.lede {
  max-width: 34rem;
  margin-top: 22px;
  color: var(--clove);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.benefit-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.benefit-strip li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.benefit-strip li::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--gold);
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 30px;
}

.button {
  min-height: 58px;
  padding: 0 30px;
  font-size: 18px;
}

.button.text {
  min-height: auto;
  padding: 0;
  color: var(--ink);
  border-radius: 0;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
}

.capsule-note,
.medical-note {
  color: var(--muted);
}

.capsule-note {
  margin-top: 22px;
  font-weight: 700;
}

.medical-note {
  max-width: 46rem;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.product-hero {
  flex: 1 1 360px;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.product-hero img {
  width: min(100%, 450px);
  height: auto;
  filter: drop-shadow(0 34px 32px rgba(77, 45, 30, 0.22));
}

.lifestyle-story {
  position: relative;
  width: min(1320px, calc(100% - 40px));
  min-height: clamp(520px, 70vw, 760px);
  margin: clamp(24px, 5vw, 64px) auto;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(74, 42, 28, 0.18);
}

.lifestyle-story::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(39, 22, 16, 0.72) 0%, rgba(39, 22, 16, 0.28) 46%, rgba(39, 22, 16, 0.04) 72%);
}

.lifestyle-story > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.lifestyle-story-copy {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 7vw, 92px);
  bottom: clamp(34px, 8vw, 92px);
  width: min(540px, calc(100% - 56px));
  color: var(--white);
}

.lifestyle-story-copy .eyebrow {
  color: #f4d5a0;
}

.lifestyle-story-copy h2 {
  max-width: 12ch;
  text-wrap: balance;
}

.lifestyle-story-copy > p:last-child {
  max-width: 38rem;
  margin-top: 18px;
  font-size: clamp(17px, 2vw, 21px);
}

.split-section,
.focus-section,
.ingredients-section,
.label-section,
.method-section,
.routine-section,
.faq-section,
.references-section,
.waitlist-section,
.site-footer {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 104px) 0;
}

.split-section,
.label-section,
.routine-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
}

.section-heading,
.section-copy,
.routine-stack {
  min-width: 0;
}

.gold-line {
  display: block;
  width: 64px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--gold);
}

.section-copy {
  display: grid;
  gap: 18px;
  color: var(--clove);
  font-size: 18px;
}

.routine-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--pink);
  border: 1px solid var(--gold-soft);
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(99, 59, 35, 0.12);
}

.routine-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.routine-photo figcaption {
  padding: 14px 18px 16px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.campaign-gallery {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 7vw, 86px) 0 clamp(70px, 10vw, 112px);
}

.campaign-gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.7fr);
  gap: 12px 48px;
  align-items: end;
  margin-bottom: 30px;
}

.campaign-gallery-heading .eyebrow {
  grid-column: 1 / -1;
}

.campaign-gallery-heading h2 {
  max-width: 13ch;
}

.campaign-gallery-heading > p:last-child {
  max-width: 30rem;
  color: var(--muted);
  font-size: 18px;
}

.campaign-gallery-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: repeat(2, minmax(240px, 340px));
  gap: 18px;
}

.campaign-tile {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--pink);
  border-radius: 22px;
}

.campaign-tile-tall {
  grid-row: 1 / 3;
}

.campaign-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.campaign-tile:hover img {
  transform: scale(1.025);
}

.campaign-tile-tall img {
  object-position: center 40%;
}

.campaign-tile-studio img {
  object-position: center 50%;
}

.campaign-tile-soft img {
  object-position: center 62%;
}

.center-heading,
.wide-heading {
  display: grid;
  gap: 14px;
}

.center-heading {
  justify-items: center;
  text-align: center;
}

.wide-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.wide-heading p:last-child {
  color: var(--clove);
  font-size: 18px;
}

.focus-grid,
.ingredient-grid,
.method-grid {
  display: grid;
  gap: 22px;
}

.focus-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
}

.focus-grid article,
.ingredient-grid article,
.method-grid article {
  background: rgba(251, 246, 239, 0.84);
  border: 1px solid var(--gold-soft);
}

.focus-grid article {
  display: grid;
  gap: 14px;
  min-height: 332px;
  padding: 32px 28px;
  border-top: 2px solid var(--gold);
  border-radius: 20px;
}

.focus-grid p,
.ingredient-grid p,
.method-grid p,
.label-section p,
.routine-stack p,
.faq-list p {
  color: var(--clove);
}

.focus-grid strong {
  align-self: end;
  color: var(--wine);
  font-size: 14px;
  line-height: 1.45;
}

.icon {
  position: relative;
  width: 42px;
  height: 42px;
  color: var(--wine);
}

.icon::before,
.icon::after {
  position: absolute;
  content: "";
}

.icon.sun::before {
  inset: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon.sun::after {
  inset: 0;
  background: conic-gradient(from 0deg, currentColor 0 8deg, transparent 8deg 42deg, currentColor 42deg 50deg, transparent 50deg 90deg, currentColor 90deg 98deg, transparent 98deg 132deg, currentColor 132deg 140deg, transparent 140deg 180deg, currentColor 180deg 188deg, transparent 188deg 222deg, currentColor 222deg 230deg, transparent 230deg 270deg, currentColor 270deg 278deg, transparent 278deg 312deg, currentColor 312deg 320deg, transparent 320deg);
  -webkit-mask: radial-gradient(circle, transparent 0 17px, #000 18px);
  mask: radial-gradient(circle, transparent 0 17px, #000 18px);
}

.icon.leaf::before {
  inset: 4px 6px 6px 7px;
  border: 2px solid currentColor;
  border-radius: 80% 10% 80% 10%;
  transform: rotate(-28deg);
}

.icon.leaf::after {
  left: 12px;
  bottom: 4px;
  width: 22px;
  height: 2px;
  background: currentColor;
  transform: rotate(-34deg);
}

.icon.star::before {
  inset: 1px;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 34%, 98% 34%, 69% 55%, 80% 91%, 50% 70%, 20% 91%, 31% 55%, 2% 34%, 38% 34%);
}

.claim-note {
  max-width: 820px;
  margin: 28px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

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

.ingredient-grid article {
  display: grid;
  gap: 8px;
  min-height: 220px;
  padding: 24px;
  border-radius: 16px;
}

.ingredient-grid span {
  color: #8a6a3a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ingredient-note {
  margin-top: 24px;
  color: var(--clove);
  font-size: 16px;
}

sup {
  line-height: 0;
}

sup a {
  color: var(--wine);
  font-weight: 800;
  text-decoration: none;
}

.label-section {
  align-items: center;
}

.label-panel {
  padding: 24px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.label-panel h3 {
  padding-bottom: 8px;
  border-bottom: 6px solid var(--ink);
  font-family: "Figtree", Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.serving {
  padding: 10px 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 15px;
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  font-size: 14px;
}

.facts-table thead {
  border-bottom: 5px solid var(--ink);
}

.facts-table th,
.facts-table td {
  padding: 8px 0;
  border-bottom: 1px solid #cdbfae;
  vertical-align: top;
}

.facts-table th {
  text-align: left;
  font-weight: 700;
}

.facts-table td,
.facts-table th:not(:first-child) {
  text-align: right;
}

.label-footnote {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.method-section .wide-heading {
  max-width: 840px;
}

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

.method-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 300px;
  padding: 26px 22px;
  border-top: 2px solid var(--gold);
  border-radius: 16px;
}

.method-grid span {
  color: var(--wine);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.method-grid h3 {
  font-size: 24px;
}

.method-grid p {
  font-size: 15px;
  line-height: 1.55;
}

.routine-stack {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.routine-section {
  display: block;
}

.routine-section .section-heading {
  margin-bottom: 30px;
}

.routine-photo {
  grid-row: 1 / 3;
}

.routine-stack article {
  display: grid;
  align-content: center;
  padding: 24px;
  background: rgba(251, 246, 239, 0.75);
  border: 1px solid var(--gold-soft);
  border-radius: 14px;
}

.routine-stack .eyebrow {
  margin-bottom: 8px;
}

.task-tracker-section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 104px) 0;
}

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

.task-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  background: rgba(251, 246, 239, 0.88);
  border: 1px solid var(--gold-soft);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
}

.task-card.priority-high {
  border-top-color: var(--wine);
}

.task-card.priority-medium {
  border-top-color: var(--gold);
}

.task-card.waiting {
  border-top-color: var(--sage);
}

.task-card-head,
.task-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.task-card-head span,
.task-card-head strong,
.task-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.task-card-head span,
.task-meta-row span {
  color: var(--muted);
  background: rgba(255, 253, 249, 0.76);
}

.task-card-head strong {
  color: var(--wine);
  background: rgba(216, 136, 150, 0.16);
}

.task-card.waiting .task-card-head strong {
  color: var(--sage);
  background: rgba(99, 116, 95, 0.16);
}

.task-card h3 {
  font-size: 25px;
}

.task-card p {
  color: var(--clove);
}

.faq-section {
  max-width: 860px;
}

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

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  flex: none;
  width: 20px;
  height: 20px;
  content: "";
  background: linear-gradient(var(--gold), var(--gold)) center/2px 20px no-repeat, linear-gradient(var(--gold), var(--gold)) center/20px 2px no-repeat;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  padding: 0 0 24px;
}

.references-section {
  max-width: 980px;
}

.reference-list {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding-left: 24px;
  color: var(--clove);
  font-size: 15px;
}

.reference-list li {
  padding-left: 6px;
}

.reference-list a {
  color: var(--wine);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.waitlist-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.78fr);
  gap: clamp(30px, 7vw, 82px);
  align-items: center;
  padding-top: clamp(78px, 10vw, 116px);
}

.waitlist-section > div > p:last-child {
  max-width: 620px;
  margin-top: 18px;
  font-size: 18px;
}

.signup {
  padding: 26px;
  background: var(--cream);
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(99, 59, 35, 0.1);
}

.signup label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.signup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input,
button {
  min-height: 52px;
  font: inherit;
}

input {
  width: 100%;
  min-width: 0;
  padding: 0 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d7c1ba;
  border-radius: 999px;
}

button {
  padding: 0 22px;
  cursor: pointer;
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(220px, 0.5fr);
  gap: 28px 56px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.site-footer > div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer > div:nth-child(2) span {
  color: var(--wine);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--wine);
  font-weight: 700;
}

.site-footer p,
.site-footer small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer p {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .split-section,
  .label-section,
  .routine-section,
  .waitlist-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .focus-grid,
  .ingredient-grid,
  .method-grid,
  .task-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campaign-gallery-heading {
    grid-template-columns: 1fr;
  }

  .routine-stack {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.82fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    padding: 12px 18px;
  }

  .brand span,
  .footer-brand {
    font-size: 23px;
  }

  .nav-cta {
    display: none;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 14px;
  }

  .hero,
  .split-section,
  .focus-section,
  .ingredients-section,
  .label-section,
  .method-section,
  .routine-section,
  .campaign-gallery,
  .task-tracker-section,
  .faq-section,
  .references-section,
  .waitlist-section,
  .site-footer {
    width: min(100% - 32px, 1200px);
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: 100%;
    flex-basis: auto;
  }

  h1 {
    max-width: 10ch;
    font-size: 41px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .lede,
  .medical-note {
    max-width: 30ch;
  }

  .benefit-strip {
    gap: 8px 14px;
    font-size: 15px;
  }

  .button {
    min-height: 54px;
    padding: 0 22px;
    font-size: 16px;
  }

  .product-hero img {
    width: min(100%, 360px);
  }

  .lifestyle-story {
    width: calc(100% - 32px);
    min-height: 620px;
    border-radius: 20px;
  }

  .lifestyle-story::after {
    background: linear-gradient(0deg, rgba(39, 22, 16, 0.78) 0%, rgba(39, 22, 16, 0.16) 58%, rgba(39, 22, 16, 0.02) 100%);
  }

  .lifestyle-story > img {
    object-position: 52% center;
  }

  .campaign-gallery-heading {
    margin-bottom: 22px;
  }

  .campaign-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 500px 340px 340px;
  }

  .campaign-tile-tall {
    grid-row: auto;
  }

  .routine-section .section-heading {
    margin-bottom: 22px;
  }

  .routine-stack {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .routine-photo {
    grid-row: auto;
  }

  .focus-grid,
  .ingredient-grid,
  .method-grid,
  .task-board {
    grid-template-columns: 1fr;
  }

  .focus-grid article,
  .ingredient-grid article,
  .method-grid article,
  .task-card {
    min-height: 0;
  }

  .signup-row {
    grid-template-columns: 1fr;
  }
}
