:root {
  --ink: #0c1714;
  --ink-soft: #283732;
  --forest: #0d2b24;
  --forest-2: #133b31;
  --forest-3: #1b4b3f;
  --cream: #f5f1e8;
  --paper: #fbfaf6;
  --white: #ffffff;
  --gold: #c8944b;
  --gold-light: #e8cfa5;
  --line: rgba(12, 23, 20, 0.13);
  --line-light: rgba(255, 255, 255, 0.16);
  --muted: #62706b;
  --shadow: 0 24px 70px rgba(9, 31, 26, 0.14);
  --container: min(1180px, calc(100% - 40px));
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-shell { overflow: clip; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 120px 0; }
.section-dark { background: var(--forest); color: var(--white); }

.announcement-bar {
  background: #081d18;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}
.announcement-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.announcement-label {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 700;
}
.announcement-inner a {
  margin-left: auto;
  color: var(--white);
  font-weight: 600;
}

.site-header {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 40;
  transition: 0.3s ease;
}
.site-header.is-sticky {
  position: fixed;
  top: 0;
  background: rgba(8, 29, 24, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-light);
}
.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}
.brand {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: start;
  color: var(--white);
  min-width: 170px;
}
.brand-main {
  font-family: "Playfair Display", serif;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.brand-mark { font-size: 11px; margin-left: 3px; color: var(--gold-light); }
.brand-sub {
  grid-column: 1 / -1;
  margin-top: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}
.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 27px;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 600;
}
.site-nav a { position: relative; padding: 10px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--gold-light);
  transition: 0.25s ease;
}
.site-nav a:hover::after { right: 0; }
.menu-toggle { display: none; }

.button {
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 43px; padding-inline: 18px; font-size: 11px; }
.button-gold { background: var(--gold); color: #10231e; box-shadow: 0 12px 30px rgba(200, 148, 75, 0.18); }
.button-gold:hover { background: #d5a65f; box-shadow: 0 16px 34px rgba(200, 148, 75, 0.24); }
.button-dark { background: var(--forest); color: var(--white); }
.button-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.28); }
.button-outline-light:hover { border-color: var(--white); }
.button-outline-dark { background: transparent; border-color: rgba(13, 43, 36, 0.35); color: var(--forest); }
.button-outline-dark:hover { background: var(--forest); color: var(--white); }
.header-cta { background: var(--gold); color: #10231e; }
.text-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--forest);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-link-light { color: var(--white); }
.text-link span { transition: transform 0.25s ease; }
.text-link:hover span { transform: translateX(5px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #8a6938;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-light); }

.hero {
  position: relative;
  padding: 170px 0 0;
  min-height: 900px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(204, 161, 94, 0.20), transparent 33%),
    radial-gradient(circle at 22% 58%, rgba(45, 97, 82, 0.36), transparent 36%),
    linear-gradient(135deg, #0b2922 0%, #0c211c 50%, #071814 100%);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 72%);
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 70px;
  align-items: center;
}
.hero-copy { padding: 72px 0 58px; }
.hero h1 {
  margin: 0;
  max-width: 720px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(48px, 5.2vw, 78px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}
.hero h1 em {
  display: block;
  margin-top: 10px;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: -0.04em;
}
.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.78;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
}
.hero-proof {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.hero-proof > div { display: flex; gap: 12px; align-items: flex-start; }
.proof-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(232, 207, 165, 0.38);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 800;
}
.hero-proof p { margin: 1px 0 0; color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.55; }

.hero-visual { position: relative; height: 650px; }
.hero-photo {
  position: absolute;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.hero-photo-main {
  inset: 0 0 42px 82px;
  border-radius: 260px 260px 28px 28px;
  background-image:
    linear-gradient(to top, rgba(5, 25, 20, 0.28), transparent 48%),
    var(--dr-ergo-hero-photo);
}
.molecule-card {
  position: absolute;
  top: 38px;
  right: -42px;
  width: 220px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: rgba(7, 27, 22, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.molecule-card svg { width: 100%; height: auto; }
.orbit { fill: none; stroke: rgba(232,207,165,.32); stroke-width: 1.5; }
.orbit-two { stroke-dasharray: 4 8; }
.core { fill: rgba(200,148,75,.25); stroke: var(--gold-light); stroke-width: 2; }
.node { fill: var(--gold); }
.node-soft { fill: #d8ebe4; }
.bond { fill: none; stroke: rgba(232,207,165,.4); stroke-width: 1.5; }
.molecule-label { margin-top: -6px; display: grid; gap: 4px; }
.molecule-label strong { font-family: "Manrope", sans-serif; font-size: 12px; }
.molecule-label span { color: rgba(255,255,255,.58); font-size: 9px; line-height: 1.5; }
.visual-caption {
  position: absolute;
  right: 18px;
  bottom: 0;
  width: 260px;
  padding: 18px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(6, 25, 20, 0.9);
  backdrop-filter: blur(12px);
}
.visual-caption span { display: block; margin-bottom: 5px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .15em; font-size: 8px; font-weight: 800; }
.visual-caption strong { font-size: 12px; line-height: 1.55; }

.hero-audience {
  position: relative;
  z-index: 3;
  margin-top: 34px;
  min-height: 88px;
  border-top: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  gap: 34px;
}
.hero-audience > span { color: var(--gold-light); text-transform: uppercase; letter-spacing: .16em; font-size: 9px; font-weight: 800; }
.audience-list { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.audience-list p { margin: 0; color: rgba(255,255,255,.76); font-size: 11px; font-weight: 600; }
.audience-list i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

.section-heading { margin-bottom: 58px; }
.split-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 90px;
  align-items: end;
}
.section-heading h2,
.science-copy h2,
.formats-copy h2,
.quality-panel h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 4.1vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.heading-copy p,
.section-heading > p,
.science-copy > p,
.formats-copy > p,
.quality-panel > p,
.contact-copy > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.centered-heading { max-width: 800px; text-align: center; margin-inline: auto; }
.centered-heading .eyebrow { justify-content: center; }
.centered-heading p { max-width: 670px; margin: 20px auto 0; }

.section-intro { background: var(--paper); }
.why-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 26px;
}
.why-feature { min-height: 610px; position: relative; overflow: hidden; border-radius: 3px; }
.why-feature-photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to top, rgba(8, 33, 27, .75), transparent 60%),
    var(--dr-ergo-why-image);
  background-size: cover;
  background-position: center;
  transition: transform .65s ease;
}
.why-feature:hover .why-feature-photo { transform: scale(1.035); }
.why-feature-overlay { position: absolute; left: 34px; right: 34px; bottom: 34px; color: var(--white); }
.why-feature-overlay span { color: var(--gold-light); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.why-feature-overlay h3 { margin: 10px 0 0; max-width: 420px; font-size: 28px; line-height: 1.18; letter-spacing: -.03em; }
.why-points { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.point-card { min-height: 292px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.44); }
.point-card-accent { background: var(--forest); color: var(--white); }
.point-number { display: inline-block; margin-bottom: 56px; color: var(--gold); font-size: 11px; font-weight: 800; }
.point-card h3 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -.03em; }
.point-card p { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.point-card-accent p { color: rgba(255,255,255,.65); }

.section-science {
  background: #0a241e;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-science::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: rgba(57,106,91,.18); filter: blur(1px); top: -320px; right: -130px; }
.science-layout { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.science-copy > p { color: rgba(255,255,255,.66); margin-top: 26px; }
.science-actions { margin-top: 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.science-diagram { border: 1px solid var(--line-light); background: rgba(255,255,255,.035); padding: 34px; }
.diagram-stage { min-height: 420px; position: relative; display: grid; grid-template-columns: 1fr auto 1fr auto 1.25fr; gap: 14px; align-items: center; }
.diagram-glow { position: absolute; width: 240px; height: 240px; border-radius: 50%; right: 10px; background: radial-gradient(circle, rgba(200,148,75,.22), transparent 68%); }
.diagram-step { position: relative; min-height: 150px; padding: 22px; border: 1px solid var(--line-light); display: flex; flex-direction: column; justify-content: flex-end; background: rgba(4,19,15,.34); }
.diagram-step > span { position: absolute; top: 18px; left: 18px; color: var(--gold-light); font-size: 10px; font-weight: 800; }
.diagram-step strong { font-size: 18px; }
.diagram-step small { margin-top: 6px; color: rgba(255,255,255,.54); line-height: 1.5; }
.diagram-arrow { display: grid; gap: 4px; justify-items: center; color: var(--gold-light); }
.diagram-arrow span { font-size: 24px; }
.diagram-arrow small { font-size: 8px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.45); }
.diagram-cell { position: relative; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cell-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(232,207,165,.34); }
.ring-one { width: 250px; height: 250px; }
.ring-two { width: 172px; height: 172px; border-style: dashed; }
.cell-core { width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #efd7aa, #a96d2f); box-shadow: 0 0 60px rgba(200,148,75,.28); margin-bottom: 22px; }
.diagram-cell strong { position: relative; font-size: 16px; }
.diagram-cell small { position: relative; color: rgba(255,255,255,.5); margin-top: 5px; }
.diagram-note { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-light); color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.65; }

.clinical-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.clinical-image {
  min-height: 630px;
  position: relative;
  background-image:
    linear-gradient(to top, rgba(9, 37, 30, .78), transparent 55%),
    var(--dr-ergo-clinical-image);
  background-size: cover;
  background-position: center;
}
.clinical-image-card { position: absolute; left: 32px; right: 32px; bottom: 32px; color: var(--white); }
.clinical-image-card span { color: var(--gold-light); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; font-weight: 800; }
.clinical-image-card strong { display: block; margin-top: 10px; max-width: 430px; font-size: 25px; line-height: 1.25; }
.clinical-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clinical-card { min-height: 210px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clinical-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(200,148,75,.5); border-radius: 50%; color: #9d6c29; }
.clinical-card h3 { margin: 30px 0 8px; font-size: 17px; }
.clinical-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.clinical-card-dark { background: var(--forest); color: var(--white); }
.clinical-card-dark p { color: rgba(255,255,255,.62); }

.section-concepts { background: var(--cream); }
.concept-tabs { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); }
.concept-tab { flex: 1; min-width: max-content; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 18px 22px; color: var(--muted); font-size: 11px; font-weight: 800; }
.concept-tab.active { color: var(--forest); border-bottom-color: var(--forest); }
.concept-showcase { min-height: 560px; display: grid; grid-template-columns: 1.06fr .94fr; background: #efe9dd; }
.concept-visual { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 45% 42%, #f8f4eb, #ded4c3 68%); }
.concept-orbit { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(13,43,36,.12); box-shadow: inset 0 0 0 90px rgba(255,255,255,.18); }
.pack { position: relative; z-index: 2; box-shadow: 0 30px 70px rgba(34,36,28,.16); display: flex; flex-direction: column; }
.pack-bottle { width: 170px; height: 300px; padding: 86px 20px 26px; border-radius: 32px 32px 24px 24px; background: linear-gradient(160deg, #173f35, #081f1a); color: var(--white); transform: translateX(35px) rotate(3deg); }
.pack-bottle::before { content: ""; position: absolute; top: -32px; left: 30px; right: 30px; height: 50px; border-radius: 14px 14px 5px 5px; background: #c7bda8; box-shadow: inset 0 -8px 12px rgba(0,0,0,.12); }
.pack-bottle span { font-family: "Playfair Display", serif; color: var(--gold-light); font-size: 15px; }
.pack-bottle strong { margin-top: auto; font-size: 21px; letter-spacing: .08em; }
.pack-bottle small { margin-top: 5px; font-size: 8px; letter-spacing: .16em; color: rgba(255,255,255,.55); }
.pack-box { width: 210px; height: 260px; padding: 28px; background: #f8f4e9; color: var(--forest); transform: translate(-30px, 34px) rotate(-4deg); }
.pack-box span { font-size: 8px; text-transform: uppercase; letter-spacing: .12em; color: #8a6938; }
.pack-box strong { margin-top: auto; font-size: 25px; line-height: 1.08; }
.pack-box small { margin-top: 12px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.concept-copy { padding: 70px 64px; background: var(--white); display: flex; flex-direction: column; justify-content: center; }
.concept-kicker { color: #8a6938; text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.concept-copy h3 { margin: 18px 0 14px; font-size: 40px; line-height: 1.06; letter-spacing: -.045em; }
.concept-copy > p { margin: 0; color: var(--muted); line-height: 1.75; }
.concept-copy ul { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 13px; }
.concept-copy li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: 13px; }
.concept-copy li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.concept-copy .button { align-self: flex-start; }
.concept-mini-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.concept-mini-grid article { min-height: 120px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.38); }
.concept-mini-grid span { display: block; margin-bottom: 18px; color: #9a743e; font-size: 9px; font-weight: 800; }
.concept-mini-grid strong { font-size: 12px; line-height: 1.5; }

.section-formats { background: var(--paper); }
.formats-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.formats-copy { position: sticky; top: 120px; }
.formats-copy > p { margin-top: 24px; }
.format-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.format-card { min-height: 190px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.format-card > span { color: #956d35; font-size: 9px; font-weight: 800; }
.format-card strong { margin-top: auto; font-size: 20px; }
.format-card small { margin-top: 7px; color: var(--muted); line-height: 1.5; }
.format-card-image {
  min-height: 380px;
  grid-row: span 2;
  color: var(--white);
  background-image: linear-gradient(to top, rgba(7,30,24,.8), transparent 60%), var(--dr-ergo-formats-image);
  background-size: cover;
  background-position: center;
}
.format-card-image > span { color: var(--gold-light); }
.format-card-dark { background: var(--forest); color: var(--white); }
.format-card-dark small { color: rgba(255,255,255,.58); }

.section-quality { background: #0a241e; color: var(--white); }
.quality-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.quality-panel { position: sticky; top: 120px; padding: 50px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); border: 1px solid var(--line-light); }
.quality-panel > p { color: rgba(255,255,255,.62); margin-top: 24px; }
.quality-badge { margin: 32px 0; padding: 16px 18px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.04); color: var(--gold-light); font-size: 11px; font-weight: 700; }
.quality-list { border-top: 1px solid var(--line-light); }
.quality-item { display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line-light); }
.quality-item > span { color: var(--gold-light); font-size: 10px; font-weight: 800; }
.quality-item h3 { margin: 0; font-size: 19px; }
.quality-item p { margin: 8px 0 0; color: rgba(255,255,255,.54); font-size: 12px; line-height: 1.65; }

.section-contact { background: #112f27; color: var(--white); position: relative; }
.section-contact::before { content: ""; position: absolute; right: -140px; top: -220px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(200,148,75,.16), transparent 67%); }
.contact-layout { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-copy > p { color: rgba(255,255,255,.64); margin-top: 24px; }
.contact-options { margin-top: 38px; border-top: 1px solid var(--line-light); }
.contact-options button { width: 100%; min-height: 70px; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; color: var(--white); display: grid; grid-template-columns: 38px 1fr auto; align-items: center; text-align: left; }
.contact-options button:hover { background: rgba(255,255,255,.04); }
.contact-options span { color: var(--gold-light); font-size: 9px; font-weight: 800; }
.contact-options strong { font-size: 14px; }
.contact-options i { font-style: normal; color: var(--gold-light); }
.lead-form { background: var(--paper); color: var(--ink); padding: 46px; box-shadow: 0 28px 80px rgba(0,0,0,.18); }
.form-heading span { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.form-heading p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.form-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid label, .modal-form label { display: grid; gap: 8px; }
.form-grid label > span, .modal-form label > span { color: #4d5c57; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.form-grid input, .form-grid textarea, .form-grid select,
.modal-form input, .modal-form textarea {
  width: 100%;
  border: 1px solid #d5d8d2;
  background: #fff;
  color: var(--ink);
  outline: 0;
  border-radius: 0;
  padding: 14px 15px;
  font-size: 13px;
  transition: border .2s ease, box-shadow .2s ease;
}
.form-grid input, .form-grid select, .modal-form input { min-height: 48px; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus,
.modal-form input:focus, .modal-form textarea:focus { border-color: var(--forest-3); box-shadow: 0 0 0 3px rgba(27,75,63,.08); }
.form-full, .modal-full { grid-column: 1 / -1; }
.form-footer { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.consent { display: flex !important; grid-auto-flow: column; align-items: center; gap: 10px !important; color: var(--muted); font-size: 10px; line-height: 1.5; }
.consent input { width: 16px; height: 16px; }
.form-status { min-height: 18px; margin: 14px 0 0; color: #2c6d58; font-size: 12px; font-weight: 700; }
.form-status.error { color: #a6452d; }

.site-footer { background: #061712; color: var(--white); }
.footer-top { padding: 64px 0 40px; display: grid; grid-template-columns: .8fr 1.3fr 1fr; gap: 60px; align-items: start; }
.brand-footer { color: var(--white); }
.footer-top > p { margin: 0; max-width: 440px; color: rgba(255,255,255,.54); font-size: 12px; line-height: 1.75; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 30px; font-size: 11px; color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { min-height: 72px; border-top: 1px solid var(--line-light); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: rgba(255,255,255,.38); font-size: 9px; }
.footer-bottom p { margin: 0; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,15,12,.72); backdrop-filter: blur(5px); }
.modal-dialog { position: relative; width: min(650px, calc(100% - 28px)); max-height: calc(100vh - 40px); overflow: auto; margin: 20px auto; padding: 48px; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.34); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 22px; color: var(--ink); }
.modal-kicker { color: #8a6938; text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.modal-copy h2 { margin: 12px 0 10px; font-size: 34px; letter-spacing: -.04em; }
.modal-copy p { margin: 0; color: var(--muted); line-height: 1.7; }
.modal-form { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.modal-submit { grid-column: 1 / -1; justify-self: start; }
.modal-form .form-status { grid-column: 1 / -1; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }

@media (max-width: 1080px) {
  .site-nav { gap: 16px; font-size: 10px; }
  .hero-layout { grid-template-columns: 1fr .9fr; gap: 40px; }
  .hero-visual { height: 590px; }
  .hero-photo-main { left: 50px; }
  .molecule-card { right: -15px; width: 190px; }
  .split-heading { gap: 50px; }
  .science-layout, .quality-layout, .contact-layout { gap: 50px; }
  .diagram-stage { grid-template-columns: 1fr auto 1fr; }
  .diagram-cell { grid-column: 1 / -1; min-height: 260px; }
  .diagram-stage .diagram-arrow:nth-of-type(4) { display: none; }
}

@media (max-width: 900px) {
  :root { --container: min(100% - 28px, 760px); }
  .section { padding: 86px 0; }
  .site-header { top: 38px; }
  .site-header.is-sticky { top: 0; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 72px; }
  .menu-toggle { display: grid; gap: 6px; width: 42px; height: 42px; place-content: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: transparent; }
  .menu-toggle span { width: 18px; height: 1px; background: var(--white); }
  .site-nav { position: fixed; inset: 72px 14px auto 14px; padding: 24px; background: #09241d; border: 1px solid var(--line-light); display: none; flex-direction: column; align-items: flex-start; gap: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.28); }
  .site-nav.is-open { display: flex; }
  .header-cta { display: none; }
  .hero { padding-top: 145px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 20px; }
  .hero-visual { height: 620px; margin-top: 12px; }
  .hero-photo-main { inset: 0 0 42px 120px; }
  .molecule-card { right: 8px; }
  .hero-audience { align-items: flex-start; padding: 24px 0; }
  .audience-list { flex-wrap: wrap; justify-content: flex-start; }
  .split-heading, .why-grid, .clinical-layout, .science-layout, .formats-layout, .quality-layout, .contact-layout { grid-template-columns: 1fr; }
  .formats-copy, .quality-panel { position: static; }
  .why-feature { min-height: 520px; }
  .clinical-image { min-height: 560px; }
  .concept-showcase { grid-template-columns: 1fr; }
  .concept-mini-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > p { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .announcement-inner { padding: 9px 0; min-height: 38px; }
  .announcement-inner > span:nth-child(2), .announcement-inner a { display: none; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; min-height: 42px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-visual { height: 510px; }
  .hero-photo-main { inset: 0 0 40px 40px; border-radius: 170px 170px 20px 20px; }
  .molecule-card { top: 20px; width: 160px; padding: 12px; }
  .visual-caption { width: 220px; right: 0; }
  .hero-audience { display: block; }
  .audience-list { margin-top: 16px; gap: 10px 12px; }
  .why-points, .clinical-grid, .format-grid { grid-template-columns: 1fr; }
  .why-feature { min-height: 430px; }
  .point-card { min-height: 245px; }
  .diagram-stage { display: flex; flex-direction: column; }
  .diagram-step { width: 100%; }
  .diagram-arrow { transform: rotate(90deg); }
  .diagram-cell { width: 100%; }
  .clinical-image { min-height: 460px; }
  .concept-tabs { margin-inline: -14px; padding-inline: 14px; }
  .concept-visual { min-height: 450px; }
  .concept-orbit { width: 400px; height: 400px; }
  .pack-bottle { width: 140px; height: 250px; }
  .pack-box { width: 170px; height: 220px; }
  .concept-copy { padding: 46px 28px; }
  .concept-copy h3 { font-size: 33px; }
  .concept-mini-grid { grid-template-columns: 1fr; }
  .form-grid, .modal-form { grid-template-columns: 1fr; }
  .form-full, .modal-full, .modal-submit, .modal-form .form-status { grid-column: auto; }
  .lead-form { padding: 30px 22px; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .button { width: 100%; }
  .modal-dialog { padding: 40px 22px 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > p { grid-column: auto; }
  .footer-bottom { padding: 20px 0; display: grid; }
}


/* ===== Refined visual update: Outfit + Jost, stronger hero, improved science section ===== */
body {
  font-family: "Jost", sans-serif;
}

.brand-main,
.hero h1,
.hero h1 em,
.section-heading h2,
.science-copy h2,
.formats-copy h2,
.quality-panel h2,
.contact-copy h2,
.concept-copy h3,
.modal-copy h2,
.button,
.text-link,
.eyebrow,
.site-nav,
.brand-sub,
.molecule-label strong,
.why-feature-overlay h3,
.point-card h3,
.clinical-card h3,
.format-card strong,
.quality-item h3,
.hero-info-card h3 {
  font-family: "Outfit", sans-serif;
}

.brand-main {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.hero {
  min-height: 980px;
  padding-top: 172px;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(6, 23, 19, 0.92) 0%, rgba(6, 23, 19, 0.85) 38%, rgba(6, 23, 19, 0.48) 62%, rgba(6, 23, 19, 0.72) 100%),
    radial-gradient(circle at 80% 18%, rgba(204, 161, 94, 0.16), transparent 33%),
    radial-gradient(circle at 22% 58%, rgba(45, 97, 82, 0.20), transparent 36%),
    var(--dr-ergo-hero-bg);
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 16, 13, 0.16), rgba(4, 16, 13, 0.32) 60%, rgba(4, 16, 13, 0.78));
}

.hero-grid-overlay {
  z-index: 1;
  opacity: .75;
  background-size: 96px 96px;
}

.hero-layout,
.hero-audience {
  position: relative;
  z-index: 2;
}

.hero-layout {
  gap: 54px;
  align-items: center;
}

.hero-copy {
  padding: 46px 0 36px;
}

.hero-copy-panel {
  max-width: 700px;
  padding: 34px 36px 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(6, 22, 18, 0.72), rgba(6, 22, 18, 0.54));
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
}

.hero h1 {
  font-size: clamp(50px, 5.1vw, 82px);
  letter-spacing: -0.06em;
  line-height: .98;
}

.hero h1 em {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 600;
  color: var(--gold-light);
}

.hero-lead {
  max-width: 640px;
  margin-top: 24px;
  font-size: 18px;
  color: rgba(255,255,255,.78);
}

.hero-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags span {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 600;
}

.hero-actions {
  margin-top: 28px;
}

.hero-proof {
  margin-top: 34px;
  padding-top: 24px;
}

.hero-proof p {
  font-size: 12px;
}

.hero-visual {
  height: 700px;
}

.hero-photo-main {
  inset: 64px 30px 120px 80px;
  border-radius: 36px;
  background-image:
    linear-gradient(to top, rgba(5, 25, 20, 0.15), rgba(5, 25, 20, 0.08)),
    var(--dr-ergo-hero-photo);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
}

.hero-info-card {
  position: absolute;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(8, 30, 24, 0.8);
  backdrop-filter: blur(14px);
  color: var(--white);
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}

.hero-info-card-main {
  top: 0;
  right: 0;
  width: 330px;
  padding: 24px 24px 22px;
  border-radius: 24px;
}

.hero-card-kicker {
  display: inline-block;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
  font-weight: 800;
}

.hero-info-card-main h3 {
  margin: 14px 0 14px;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.hero-info-card-main ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hero-info-card-main li {
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.55;
}

.hero-info-card-main li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-info-card-mini {
  left: 20px;
  bottom: 34px;
  width: 280px;
  padding: 18px 20px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-info-card-mini div {
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  text-align: center;
}

.hero-info-card-mini strong {
  display: block;
  color: var(--gold-light);
  font-family: "Outfit", sans-serif;
  font-size: 32px;
  line-height: 1;
}

.hero-info-card-mini small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  line-height: 1.45;
}

.molecule-card {
  top: auto;
  right: 54px;
  bottom: 42px;
  width: 210px;
  border-radius: 24px;
  background: rgba(6, 25, 20, 0.78);
}

.hero-audience {
  margin-top: 24px;
  min-height: 96px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px 24px 0 0;
  background: rgba(6, 22, 18, 0.58);
  backdrop-filter: blur(12px);
}

.audience-list p {
  font-size: 12px;
}

.section-science {
  background: linear-gradient(180deg, #0a241e, #08201b);
}

.science-layout {
  align-items: stretch;
  gap: 70px;
}

.science-copy {
  padding: 24px 0;
}

.science-copy > p {
  color: rgba(255,255,255,.72);
}

.science-diagram {
  padding: 40px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  box-shadow: 0 30px 90px rgba(0,0,0,.18);
}

.diagram-stage {
  min-height: 440px;
  gap: 18px;
}

.diagram-step,
.diagram-cell {
  border-radius: 24px;
}

.diagram-step {
  min-height: 170px;
  padding: 24px;
}

.diagram-step strong {
  font-family: "Outfit", sans-serif;
  font-size: 19px;
}

.diagram-cell {
  min-height: 320px;
  background: radial-gradient(circle at 50% 50%, rgba(200,148,75,.08), transparent 60%);
}

.diagram-note {
  color: rgba(255,255,255,.62);
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy-panel {
    max-width: none;
  }

  .hero-visual {
    height: 620px;
  }

  .hero-photo-main {
    inset: 64px 20px 120px 60px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 150px;
  }

  .hero-copy {
    padding-bottom: 10px;
  }

  .hero-copy-panel {
    padding: 28px;
    border-radius: 26px;
  }

  .hero-visual {
    height: 580px;
    margin-top: 0;
  }

  .hero-photo-main {
    inset: 86px 0 120px 0;
  }

  .hero-info-card-main {
    width: min(320px, calc(100% - 24px));
  }

  .molecule-card {
    right: 20px;
    bottom: 22px;
  }

  .hero-audience {
    border-radius: 24px;
  }
}

@media (max-width: 620px) {
  .brand-main {
    font-size: 26px;
  }

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

  .hero-copy-panel {
    padding: 24px 20px;
  }

  .hero-tags span {
    width: 100%;
    text-align: center;
  }

  .hero-visual {
    height: 620px;
  }

  .hero-photo-main {
    inset: 154px 0 128px 0;
    border-radius: 26px;
  }

  .hero-info-card-main {
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    padding: 18px;
  }

  .hero-info-card-main h3 {
    font-size: 22px;
  }

  .hero-info-card-mini {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
  }

  .molecule-card {
    display: none;
  }

  .science-diagram {
    padding: 24px 18px;
    border-radius: 24px;
  }
}


/* Elementor integration: preserves the prototype dimensions and removes builder wrapper drift. */
.elementor-widget-dr-ergo-complete-landing,
.elementor-widget-dr-ergo-header,
.elementor-widget-dr-ergo-hero,
.elementor-widget-dr-ergo-why,
.elementor-widget-dr-ergo-science,
.elementor-widget-dr-ergo-clinical,
.elementor-widget-dr-ergo-concepts,
.elementor-widget-dr-ergo-formats,
.elementor-widget-dr-ergo-quality,
.elementor-widget-dr-ergo-contact,
.elementor-widget-dr-ergo-footer,
.elementor-widget-dr-ergo-complete-landing > .elementor-widget-container,
.elementor-widget-dr-ergo-header > .elementor-widget-container,
.elementor-widget-dr-ergo-hero > .elementor-widget-container,
.elementor-widget-dr-ergo-why > .elementor-widget-container,
.elementor-widget-dr-ergo-science > .elementor-widget-container,
.elementor-widget-dr-ergo-clinical > .elementor-widget-container,
.elementor-widget-dr-ergo-concepts > .elementor-widget-container,
.elementor-widget-dr-ergo-formats > .elementor-widget-container,
.elementor-widget-dr-ergo-quality > .elementor-widget-container,
.elementor-widget-dr-ergo-contact > .elementor-widget-container,
.elementor-widget-dr-ergo-footer > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  max-width: none;
}
.dr-ergo-site {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", sans-serif;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}
.dr-ergo-site .dr-ergo-honeypot {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.dr-ergo-site .form-status.is-success { color: #d6f0df; }
.dr-ergo-site .form-status.error { color: #ffb6aa; }
.dr-ergo-site .button[disabled] { opacity: .62; cursor: wait; transform: none; }
.dr-ergo-site.dr-ergo-mode-header { position: relative; z-index: 50; background: var(--forest); min-height: 122px; }
.dr-ergo-site.dr-ergo-mode-header .site-header { top: 38px; }
.dr-ergo-site.dr-ergo-mode-footer { background: var(--forest); }
.elementor-editor-active .dr-ergo-site .reveal { opacity: 1; transform: none; }
.admin-bar .dr-ergo-site .site-header.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .dr-ergo-site .site-header.is-sticky { top: 46px; } }

/* Independent-section editing additions. Defaults preserve the approved prototype. */
.dr-ergo-site.dr-ergo-mode-header {
  min-height: 38px;
}
.dr-ergo-site .molecule-card-has-image {
  overflow: hidden;
}
.dr-ergo-site .molecule-custom-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}
.dr-ergo-site .science-diagram-has-image {
  display: flex;
  flex-direction: column;
}
.dr-ergo-site .science-custom-diagram {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}
.dr-ergo-site .concept-visual.has-custom-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.dr-ergo-site .concept-visual.has-custom-image .concept-orbit,
.dr-ergo-site .concept-visual.has-custom-image .pack {
  display: none;
}

/* ========================================================================== 
   v1.2.0 production hardening: Elementor width, responsive behavior,
   accessible off-canvas navigation, and viewport-safe modal portals.
   Desktop defaults above remain unchanged.
   ========================================================================== */

html {
  overflow-x: clip;
  scrollbar-gutter: stable;
}

body {
  max-width: 100%;
  overflow-x: clip;
  --dr-ergo-admin-offset: 0px;
}

body.admin-bar { --dr-ergo-admin-offset: 32px; }
body.dr-ergo-overlay-open {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

@media (max-width: 782px) {
  body.admin-bar { --dr-ergo-admin-offset: 46px; }
}

/* Elementor must not box, offset, clip, or add gaps around the custom widgets. */
.elementor-widget-dr-ergo-complete-landing,
.elementor-widget-dr-ergo-header,
.elementor-widget-dr-ergo-hero,
.elementor-widget-dr-ergo-why,
.elementor-widget-dr-ergo-science,
.elementor-widget-dr-ergo-clinical,
.elementor-widget-dr-ergo-concepts,
.elementor-widget-dr-ergo-formats,
.elementor-widget-dr-ergo-quality,
.elementor-widget-dr-ergo-contact,
.elementor-widget-dr-ergo-footer {
  align-self: stretch !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.elementor-widget-dr-ergo-complete-landing > .elementor-widget-container,
.elementor-widget-dr-ergo-header > .elementor-widget-container,
.elementor-widget-dr-ergo-hero > .elementor-widget-container,
.elementor-widget-dr-ergo-why > .elementor-widget-container,
.elementor-widget-dr-ergo-science > .elementor-widget-container,
.elementor-widget-dr-ergo-clinical > .elementor-widget-container,
.elementor-widget-dr-ergo-concepts > .elementor-widget-container,
.elementor-widget-dr-ergo-formats > .elementor-widget-container,
.elementor-widget-dr-ergo-quality > .elementor-widget-container,
.elementor-widget-dr-ergo-contact > .elementor-widget-container,
.elementor-widget-dr-ergo-footer > .elementor-widget-container {
  min-width: 0 !important;
  overflow: visible !important;
}

/* Modern Elementor container parents generated by the one-click installer. */
.e-con:has(> .elementor-widget-dr-ergo-complete-landing),
.e-con:has(> .elementor-widget-dr-ergo-header),
.e-con:has(> .elementor-widget-dr-ergo-hero),
.e-con:has(> .elementor-widget-dr-ergo-why),
.e-con:has(> .elementor-widget-dr-ergo-science),
.e-con:has(> .elementor-widget-dr-ergo-clinical),
.e-con:has(> .elementor-widget-dr-ergo-concepts),
.e-con:has(> .elementor-widget-dr-ergo-formats),
.e-con:has(> .elementor-widget-dr-ergo-quality),
.e-con:has(> .elementor-widget-dr-ergo-contact),
.e-con:has(> .elementor-widget-dr-ergo-footer) {
  --container-max-width: none !important;
  --content-width: 100% !important;
  --width: 100% !important;
  --padding-top: 0px !important;
  --padding-right: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  --margin-top: 0px !important;
  --margin-right: 0px !important;
  --margin-bottom: 0px !important;
  --margin-left: 0px !important;
  --gap: 0px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: visible !important;
}

.dr-ergo-site {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  isolation: auto;
}

.dr-ergo-site .container {
  max-width: 100%;
}

.dr-ergo-site section[id] {
  scroll-margin-top: 104px;
}

.dr-ergo-site .hero-layout > *,
.dr-ergo-site .split-heading > *,
.dr-ergo-site .why-grid > *,
.dr-ergo-site .science-layout > *,
.dr-ergo-site .clinical-layout > *,
.dr-ergo-site .concept-showcase > *,
.dr-ergo-site .formats-layout > *,
.dr-ergo-site .quality-layout > *,
.dr-ergo-site .contact-layout > *,
.dr-ergo-site .footer-top > * {
  min-width: 0;
}

.dr-ergo-site h1,
.dr-ergo-site h2,
.dr-ergo-site h3,
.dr-ergo-site p,
.dr-ergo-site strong,
.dr-ergo-site span,
.dr-ergo-site a,
.dr-ergo-site button,
.dr-ergo-site label {
  overflow-wrap: break-word;
}

.dr-ergo-site button,
.dr-ergo-site input,
.dr-ergo-site select,
.dr-ergo-site textarea {
  max-width: 100%;
}

.dr-ergo-site .form-grid > *,
.dr-ergo-site .modal-form > * {
  min-width: 0;
}

.dr-ergo-honeypot {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status.is-success,
.dr-ergo-modal-portal .form-status.is-success { color: #2c6d58; }
.section-dark .form-status.is-success,
.section-contact .form-status.is-success { color: #d6f0df; }
.form-status.error,
.dr-ergo-modal-portal .form-status.error { color: #a6452d; }

/* Mobile navigation portal. The navigation is moved to body by JavaScript so
   Elementor overflow/transform wrappers can never crop it. */
.menu-close { display: none; }
.dr-ergo-menu-backdrop { display: none; }

/* Modal portal. The dialog is moved to body while open so it is never clipped
   by an Elementor section, transform, overflow rule, or stacking context. */
.modal {
  position: fixed;
  inset: var(--dr-ergo-admin-offset, 0px) 0 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100dvh - var(--dr-ergo-admin-offset, 0px));
  min-height: 0;
  padding: 20px;
  overflow: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: fixed;
  inset: var(--dr-ergo-admin-offset, 0px) 0 0;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  max-width: 100%;
  max-height: calc(100dvh - var(--dr-ergo-admin-offset, 0px) - 40px);
  margin: 0;
  overflow: auto;
  overscroll-behavior: contain;
  transform: translateY(14px) scale(.985);
  transition: transform .2s ease;
  -webkit-overflow-scrolling: touch;
}

.modal.is-open .modal-dialog {
  transform: none;
}

.modal-copy {
  padding-right: 36px;
}

.modal-form input,
.modal-form textarea,
.modal-form select {
  min-width: 0;
}

.modal-form textarea,
.form-grid textarea {
  resize: vertical;
}

/* Prevent fixed headers from becoming trapped below section stacking contexts. */
.dr-ergo-site.dr-ergo-mode-header {
  z-index: 70;
  overflow: visible;
}

.dr-ergo-site .site-header {
  width: 100%;
  max-width: 100vw;
}

@media (max-width: 1080px) {
  .dr-ergo-site {
    --container: min(940px, calc(100% - 36px)) !important;
  }

  .dr-ergo-site .section { padding: 96px 0; }
  .dr-ergo-site .hero-layout { gap: 34px; }
  .dr-ergo-site .science-layout,
  .dr-ergo-site .quality-layout,
  .dr-ergo-site .contact-layout { gap: 42px; }
}

@media (max-width: 900px) {
  .dr-ergo-site {
    --container: min(760px, calc(100% - 28px)) !important;
  }

  .dr-ergo-site .section { padding: 82px 0; }
  .dr-ergo-site section[id] { scroll-margin-top: 86px; }

  .dr-ergo-site .announcement-inner {
    min-width: 0;
  }

  .dr-ergo-site .site-header.is-sticky {
    left: 0;
    right: 0;
    width: 100vw;
  }

  .dr-ergo-site .header-inner {
    width: var(--container);
    min-width: 0;
  }

  .dr-ergo-site .menu-toggle {
    position: relative;
    z-index: 2;
    flex: 0 0 42px;
  }

  .site-nav {
    position: fixed !important;
    inset: var(--dr-ergo-admin-offset, 0px) 0 0 auto !important;
    z-index: 99998 !important;
    display: flex !important;
    width: min(370px, calc(100vw - 34px)) !important;
    height: calc(100dvh - var(--dr-ergo-admin-offset, 0px)) !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 82px 30px 32px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #0a2a22, #061b16) !important;
    box-shadow: -30px 0 80px rgba(0,0,0,.36) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(105%, 0, 0);
    transition: transform .24s ease, opacity .2s ease, visibility .24s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .site-nav .menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
  }

  .site-nav a {
    width: 100%;
    padding: 17px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.88);
    font-size: 15px;
    line-height: 1.35;
  }

  .site-nav a::after { display: none; }

  .dr-ergo-menu-backdrop {
    position: fixed;
    inset: var(--dr-ergo-admin-offset, 0px) 0 0;
    z-index: 99997;
    display: block;
    width: 100%;
    height: calc(100dvh - var(--dr-ergo-admin-offset, 0px));
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(2, 12, 10, .66);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }

  .dr-ergo-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .dr-ergo-site .hero {
    padding-top: 138px;
  }

  .dr-ergo-site .hero-layout,
  .dr-ergo-site .split-heading,
  .dr-ergo-site .why-grid,
  .dr-ergo-site .science-layout,
  .dr-ergo-site .clinical-layout,
  .dr-ergo-site .formats-layout,
  .dr-ergo-site .quality-layout,
  .dr-ergo-site .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .dr-ergo-site .split-heading,
  .dr-ergo-site .science-layout,
  .dr-ergo-site .formats-layout,
  .dr-ergo-site .quality-layout,
  .dr-ergo-site .contact-layout {
    gap: 42px;
  }

  .dr-ergo-site .hero-copy-panel {
    width: 100%;
  }

  .dr-ergo-site .hero-visual {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }

  .dr-ergo-site .formats-copy,
  .dr-ergo-site .quality-panel {
    position: static;
    top: auto;
  }

  .dr-ergo-site .concept-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .dr-ergo-site .concept-visual,
  .dr-ergo-site .concept-copy {
    min-width: 0;
  }

  .dr-ergo-site .footer-top {
    gap: 34px;
  }
}

@media (max-width: 620px) {
  .dr-ergo-site {
    --container: min(100%, calc(100% - 24px)) !important;
  }

  .dr-ergo-site .section { padding: 68px 0; }
  .dr-ergo-site .section-heading { margin-bottom: 38px; }

  .dr-ergo-site .announcement-inner {
    min-height: 36px;
    padding: 8px 0;
  }

  .dr-ergo-site .announcement-label {
    font-size: 9px;
    line-height: 1.4;
  }

  .dr-ergo-site .site-header { top: 36px; }
  .dr-ergo-site .header-inner { min-height: 70px; }

  .dr-ergo-site .brand { min-width: 0; }
  .dr-ergo-site .brand-main { font-size: 25px; }

  .dr-ergo-site .hero {
    padding-top: 122px;
  }

  .dr-ergo-site .hero-copy {
    padding-top: 32px;
  }

  .dr-ergo-site .hero-copy-panel {
    padding: 24px 19px;
    border-radius: 24px;
  }

  .dr-ergo-site .hero h1 {
    font-size: clamp(35px, 11.4vw, 42px);
    line-height: 1;
    letter-spacing: -.052em;
  }

  .dr-ergo-site .hero h1 em {
    margin-top: 10px;
  }

  .dr-ergo-site .hero-lead {
    font-size: 15px;
    line-height: 1.68;
  }

  .dr-ergo-site .hero-tags {
    gap: 9px;
  }

  .dr-ergo-site .hero-tags span {
    padding: 9px 12px;
    font-size: 11px;
  }

  .dr-ergo-site .hero-actions {
    gap: 10px;
  }

  .dr-ergo-site .hero-actions .button,
  .dr-ergo-site .science-actions .button {
    width: 100%;
  }

  .dr-ergo-site .hero-actions .text-link,
  .dr-ergo-site .science-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .dr-ergo-site .hero-proof {
    gap: 14px;
  }

  .dr-ergo-site .hero-visual {
    height: 570px;
  }

  .dr-ergo-site .hero-photo-main {
    inset: 148px 0 116px;
  }

  .dr-ergo-site .hero-info-card-main {
    width: 100%;
    max-width: none;
  }

  .dr-ergo-site .hero-info-card-mini {
    gap: 10px;
  }

  .dr-ergo-site .hero-info-card-mini strong {
    font-size: 28px;
  }

  .dr-ergo-site .hero-audience {
    min-height: 0;
    padding: 22px 18px;
  }

  .dr-ergo-site .audience-list {
    align-items: flex-start;
  }

  .dr-ergo-site .audience-list i {
    display: none;
  }

  .dr-ergo-site .section-heading h2,
  .dr-ergo-site .science-copy h2,
  .dr-ergo-site .formats-copy h2,
  .dr-ergo-site .quality-panel h2,
  .dr-ergo-site .contact-copy h2 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.06;
  }

  .dr-ergo-site .why-feature {
    min-height: 410px;
  }

  .dr-ergo-site .why-feature-overlay {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .dr-ergo-site .why-feature-overlay h3 {
    font-size: 24px;
  }

  .dr-ergo-site .point-card {
    min-height: 0;
    padding: 27px 24px;
  }

  .dr-ergo-site .point-number {
    margin-bottom: 34px;
  }

  .dr-ergo-site .science-diagram {
    padding: 22px 16px;
  }

  .dr-ergo-site .diagram-stage {
    min-height: 0;
  }

  .dr-ergo-site .diagram-step {
    min-height: 138px;
  }

  .dr-ergo-site .diagram-cell {
    min-height: 280px;
    overflow: hidden;
  }

  .dr-ergo-site .ring-one {
    width: min(250px, 82vw);
    height: min(250px, 82vw);
  }

  .dr-ergo-site .ring-two {
    width: min(172px, 56vw);
    height: min(172px, 56vw);
  }

  .dr-ergo-site .clinical-image {
    min-height: 430px;
  }

  .dr-ergo-site .clinical-image-card {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .dr-ergo-site .clinical-image-card strong {
    font-size: 22px;
  }

  .dr-ergo-site .clinical-card {
    min-height: 0;
    padding: 26px 24px;
  }

  .dr-ergo-site .clinical-card h3 {
    margin-top: 22px;
  }

  .dr-ergo-site .concept-tabs {
    margin-inline: -12px;
    padding-inline: 12px;
    scrollbar-width: thin;
  }

  .dr-ergo-site .concept-tab {
    flex: 0 0 auto;
    padding: 16px 18px;
  }

  .dr-ergo-site .concept-visual {
    min-height: 410px;
  }

  .dr-ergo-site .concept-orbit {
    width: min(390px, 112vw);
    height: min(390px, 112vw);
  }

  .dr-ergo-site .pack-bottle {
    width: 132px;
    height: 238px;
    padding: 70px 16px 22px;
    transform: translateX(26px) rotate(3deg);
  }

  .dr-ergo-site .pack-box {
    width: 158px;
    height: 205px;
    padding: 22px;
    transform: translate(-24px, 30px) rotate(-4deg);
  }

  .dr-ergo-site .pack-box strong {
    font-size: 20px;
  }

  .dr-ergo-site .concept-copy {
    padding: 40px 22px;
  }

  .dr-ergo-site .concept-copy h3 {
    font-size: 32px;
  }

  .dr-ergo-site .concept-copy .button {
    width: 100%;
  }

  .dr-ergo-site .concept-mini-grid article {
    min-height: 100px;
  }

  .dr-ergo-site .format-card {
    min-height: 155px;
    padding: 24px;
  }

  .dr-ergo-site .format-card-image {
    min-height: 330px;
  }

  .dr-ergo-site .quality-panel {
    padding: 30px 24px;
  }

  .dr-ergo-site .quality-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 0;
  }

  .dr-ergo-site .contact-options button {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .dr-ergo-site .lead-form {
    padding: 30px 18px;
  }

  .dr-ergo-site .form-grid {
    gap: 16px;
  }

  .dr-ergo-site .footer-top {
    padding-top: 52px;
    gap: 28px;
  }

  .dr-ergo-site .footer-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .dr-ergo-site .footer-bottom {
    gap: 12px;
  }

  .modal {
    align-items: flex-start;
    padding: 10px;
  }

  .modal-dialog {
    width: 100%;
    max-height: calc(100dvh - var(--dr-ergo-admin-offset, 0px) - 20px);
    padding: 38px 18px 24px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .modal-copy {
    padding-right: 28px;
  }

  .modal-copy h2 {
    margin-top: 10px;
    font-size: clamp(28px, 9vw, 34px);
    line-height: 1.08;
  }

  .modal-copy p {
    font-size: 14px;
    line-height: 1.6;
  }

  .modal-form {
    margin-top: 22px;
    gap: 14px;
  }

  .modal-submit {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .dr-ergo-site .hero h1 {
    font-size: clamp(33px, 10.7vw, 38px);
  }

  .dr-ergo-site .hero-visual {
    height: 535px;
  }

  .dr-ergo-site .hero-photo-main {
    inset: 160px 0 112px;
  }

  .dr-ergo-site .hero-info-card-main {
    padding: 17px;
  }

  .dr-ergo-site .hero-info-card-main h3 {
    font-size: 20px;
  }

  .dr-ergo-site .hero-info-card-main li {
    font-size: 12px;
  }

  .dr-ergo-site .hero-info-card-mini {
    padding: 14px;
  }

  .dr-ergo-site .concept-visual {
    min-height: 380px;
  }

  .dr-ergo-site .pack-bottle {
    width: 120px;
    height: 218px;
  }

  .dr-ergo-site .pack-box {
    width: 145px;
    height: 190px;
  }

  .site-nav {
    width: min(340px, calc(100vw - 24px)) !important;
    padding-inline: 24px !important;
  }
}

@media (max-width: 360px) {
  .dr-ergo-site {
    --container: min(100%, calc(100% - 20px)) !important;
  }

  .dr-ergo-site .brand-main { font-size: 23px; }
  .dr-ergo-site .menu-toggle { width: 40px; height: 40px; }
  .dr-ergo-site .hero-copy-panel { padding-inline: 16px; }
  .dr-ergo-site .hero h1 { font-size: 32px; }
  .dr-ergo-site .hero-lead { font-size: 14px; }
  .dr-ergo-site .hero-visual { height: 520px; }
  .dr-ergo-site .hero-photo-main { inset: 166px 0 108px; }
  .dr-ergo-site .hero-info-card-main li { line-height: 1.42; }
  .dr-ergo-site .hero-info-card-mini small { font-size: 10px; }
  .dr-ergo-site .section-heading h2,
  .dr-ergo-site .science-copy h2,
  .dr-ergo-site .formats-copy h2,
  .dr-ergo-site .quality-panel h2,
  .dr-ergo-site .contact-copy h2 { font-size: 32px; }
  .dr-ergo-site .concept-copy h3 { font-size: 29px; }
}

@media (max-width: 900px) and (orientation: landscape) {
  .site-nav {
    width: min(430px, 62vw) !important;
  }

  .modal {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .button,
  .text-link span,
  .site-nav,
  .dr-ergo-menu-backdrop,
  .modal,
  .modal-dialog {
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Final v1.2 viewport corrections. */
body.elementor-page:has(.dr-ergo-site),
body:has(> .elementor .dr-ergo-site) {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.modal.is-open {
  display: flex;
}
