/* CaringHealth — corporate site
   L'Oreal-inspired: Cormorant Garamond display + Assistant text, near-black ink on white.
   Indigo #323670 (sampled from the Caring wordmark) is reserved for brand accents. */

:root {
  --brand: #323670;
  --brand-2: #5A5FA8;
  --brand-3: #9AA0D0;
  --mist: #DDE0F2;
  --mist-light: #F6F6F3;
  --warm: #FCFBF8;
  --paper: #FFFFFF;
  --white: #FFFFFF;
  --ink: #111111;
  --ink-2: #3D3D3D;
  --muted: #6F6F6F;
  --line: #E6E6E3;
  --lilac: #7C6BB0;
  --gold: #C9A46B;
  --max: 1320px;
  --radius: 0px;
  --font-text: 'Assistant', 'Helvetica Neue', Arial, sans-serif;
  --font-label: 'Assistant', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.012em;
  line-height: 1.08;
  margin: 0 0 24px;
  color: var(--ink);
}
h1 { font-size: clamp(3.2rem, 5.9vw, 5.4rem); }
h2 { font-size: clamp(2.5rem, 4.1vw, 3.8rem); }
h3 { font-size: 1.6rem; font-weight: 400; }
h4 { font-size: 1rem; font-weight: 600; font-family: var(--font-text); }
p { margin: 0 0 18px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { display: block; max-width: 100%; }
svg { display: block; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--mist); color: var(--ink); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 48px; }
.section { padding: 116px 0; }
.section--tight { padding: 76px 0; }
.section--white { background: var(--white); }
.section--mist { background: var(--mist-light); }
.section--warm { background: var(--warm); }
.section--brand { background: var(--brand); color: rgba(255,255,255,.82); }
.section--brand h1, .section--brand h2, .section--brand h3 { color: var(--white); }
.eyebrow {
  display: block;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .69rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.section--brand .eyebrow { color: rgba(255,255,255,.75); }
.eyebrow--light { color: rgba(255,255,255,.78); }

.section-head { max-width: 820px; margin-bottom: 64px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.16rem; line-height: 1.8; font-weight: 300; color: var(--ink-2); }
.section--brand .lead { color: rgba(255,255,255,.82); }
.small { font-size: .86rem; color: var(--muted); }
.note {
  font-size: .8rem; line-height: 1.65; color: var(--muted);
  border-left: 1px solid var(--ink); padding-left: 18px; margin-top: 30px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border: 1px solid var(--ink); border-radius: 100px;
  font-family: var(--font-label); font-size: .73rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  background: var(--ink); color: var(--white); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { background: var(--brand); border-color: var(--brand); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-label); font-size: .82rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 5px; border-bottom: 1px solid var(--line);
}
.text-link:hover { color: var(--brand); border-color: var(--brand); }
.text-link .arrow { transition: transform .25s; }
.text-link:hover .arrow { transform: translateX(5px); }

/* ---------- top bar / header ---------- */
.topbar {
  background: var(--white); color: var(--ink-2); border-bottom: 1px solid var(--line);
  font-family: var(--font-label); font-size: .66rem; letter-spacing: .17em;
  text-transform: uppercase;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 20px; }
.topbar b { color: var(--ink); font-weight: 700; }
.topbar .sep { opacity: .45; margin: 0 12px; }
/* slogan rail — no city names in the header */
.topbar .container.topbar-inner { justify-content: center; gap: 22px; min-height: 42px; }
.topbar-rule { display: block; width: 46px; height: 1px; background: var(--brand-3); opacity: .7; }
.topbar-slogan {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1.15rem; letter-spacing: .1em; text-transform: none; color: var(--brand);
  white-space: nowrap;
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(17,17,17,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { width: 150px; height: auto; }
.brand .brand-sub {
  font-family: var(--font-label); font-size: .62rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  border-left: 1px solid var(--line); padding-left: 14px; line-height: 1.4;
}
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); padding: 6px 0; position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--brand); height: 1px; transition: right .25s;
}
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .btn { padding: 11px 20px; font-size: .72rem; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; border-radius: 2px; padding: 11px 9px;
}
.menu-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* ---------- hero: full-bleed photograph, L'Oreal-style display type ---------- */
.hero { position: relative; overflow: hidden; }
.hero--full {
  position: relative; min-height: 760px; display: flex; flex-direction: column;
  background: #111; color: var(--white); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,14,20,.92) 0%, rgba(10,14,20,.80) 38%, rgba(10,14,20,.36) 68%, rgba(10,14,20,.10) 100%);
}
.hero--full .hero-inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding: 96px 0 80px; }
.hero--full .hero-copy { position: relative; z-index: 2; max-width: 760px; min-width: 0; }
.hero--full h1 { margin-bottom: 28px; color: var(--white); font-size: clamp(3.6rem, 6.6vw, 6.1rem); line-height: 1.02; }
.hero--full h1 em { font-style: italic; font-weight: 300; color: var(--white); }
.hero--full .hero-copy p { font-size: 1.16rem; font-weight: 300; color: rgba(255,255,255,.88); max-width: 570px; }
.hero--full .eyebrow { color: rgba(255,255,255,.78); }
.hero--full .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero--full .btn:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.hero--full .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.hero--full .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero--full .hero-meta { color: rgba(255,255,255,.78); }
.hero--full .hero-meta .line { background: rgba(255,255,255,.5); }
.hero-foot { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.22); background: rgba(10,14,20,.42); }
.hero-foot .container { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px;
  font-family: var(--font-label); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.hero-foot a { color: rgba(255,255,255,.9); transition: color .2s; }
.hero-foot a:hover { color: var(--white); }

/* ---------- stats ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 30px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--font-display); font-weight: 400; font-size: 3.4rem;
  line-height: 1; color: var(--ink); letter-spacing: -.02em;
}
.stat .num span { color: var(--brand); }
.stat .lbl {
  display: block; margin-top: 14px; font-family: var(--font-label);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

/* ---------- generic grids / cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 42px 36px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(17,17,17,.07); border-color: #D8D8D4; }
.card .icon { width: 46px; height: 46px; margin-bottom: 26px; color: var(--brand); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: .95rem; margin-bottom: 0; }
.card .index {
  font-family: var(--font-label); font-size: .72rem; letter-spacing: .16em;
  color: var(--brand); font-size: .68rem; letter-spacing: .2em; display: block; margin-bottom: 18px;
}
.card--mist { background: var(--mist-light); border-color: var(--line); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.split-img { position: relative; }
.split-img img { width: 100%; height: 540px; object-fit: cover; border-radius: var(--radius); }
.split-img .caption {
  position: absolute; left: 0; bottom: 0; background: rgba(255,255,255,.94);
  padding: 13px 20px; font-family: var(--font-label); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  border-radius: 0 0 0 var(--radius);
}
.split--reverse .split-img { order: 2; }

/* ---------- application tiles ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  min-height: 292px; color: var(--white); background: #111;
}
.app-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .7s; }
.app-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,12,12,.05) 0%, rgba(12,12,12,.42) 45%, rgba(12,12,12,.88) 100%);
}
.app-card:hover img { transform: scale(1.06); }
.app-card .app-body { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.app-card h3 { color: var(--white); margin: 0 0 6px; font-size: 1.22rem; font-weight: 500; }
.app-card p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.82); line-height: 1.5; }
.app-card .app-num {
  font-family: var(--font-label); font-size: .72rem; letter-spacing: .2em;
  color: rgba(255,255,255,.78); display: block; margin-bottom: 10px;
}

/* ---------- dosage cards ---------- */
.dose-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dose-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 34px; transition: border-color .3s, transform .3s;
}
.dose-card:hover { border-color: var(--brand); transform: translateY(-4px); }
.dose-card .dose-art {
  height: 108px; display: flex; align-items: center; justify-content: center;
  background: var(--mist-light); border-radius: 3px; margin-bottom: 24px;
}
.dose-card .dose-art svg { width: 92px; height: 72px; }
.dose-card .dose-num { font-family: var(--font-label); font-size: .7rem; letter-spacing: .18em; color: var(--brand); }
.dose-card h3 { font-size: 1.16rem; margin: 8px 0 10px; }
.dose-card p { font-size: .88rem; color: var(--muted); margin: 0; }

/* photo-based dosage cards */
.dose-card--photo { padding: 0; overflow: hidden; }
.dose-card--photo .dose-photo { height: 236px; overflow: hidden; background: var(--mist-light); }
.dose-card--photo .dose-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.dose-card--photo:hover .dose-photo img { transform: scale(1.045); }
.dose-card--photo .dose-body { padding: 26px 24px 32px; }
.dose-card--photo h3 { font-size: 1.5rem; margin: 10px 0 9px; }
.dose-card--photo p { font-size: .86rem; line-height: 1.7; }

/* chapter lead + centered note block */
.chapter-lead { max-width: 760px; margin: -24px 0 44px; font-size: 1.04rem; color: var(--ink-2); font-weight: 300; }
.center-block { max-width: 720px; margin: 0 auto; text-align: center; }
.center-block h2 { font-size: clamp(2.4rem, 4vw, 3.5rem); margin: 14px 0 20px; }
.center-block p { color: var(--ink-2); font-size: 1.02rem; margin: 0; }
.about-story { max-width: 860px; text-align: left; }
.about-story p + p { margin-top: 20px; }
.about-story h2 { margin-top: 0; }
.btn-row--center { justify-content: center; margin-top: 30px; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--white); padding: 34px 30px; }
.step .n { font-family: var(--font-label); font-size: 1.9rem; font-weight: 600; color: var(--brand-3); line-height: 1; }
.step h4 { margin: 14px 0 8px; font-weight: 500; color: var(--ink); }
.step p { font-size: .87rem; color: var(--muted); margin: 0; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); }
.gallery figcaption { font-family: var(--font-label); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 9px; }

/* ---------- check list ---------- */
.check-list li { position: relative; padding-left: 30px; margin-bottom: 16px; color: var(--ink-2); font-size: .96rem; }
.check-list li::before {
  content: ''; position: absolute; left: 2px; top: 10px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--brand);
}
.check-list li b { color: var(--ink); font-weight: 600; }

/* ---------- values ---------- */
.value-item { border-top: 1px solid var(--ink); padding-top: 28px; }
.value-item .vnum { font-family: var(--font-label); font-size: .72rem; letter-spacing: .2em; color: var(--brand); }
.value-item h3 { margin: 12px 0 12px; }
.value-item p { color: var(--ink-2); font-size: .93rem; margin: 0; }

/* ---------- cta band ---------- */
.cta-band { background: var(--brand); color: rgba(255,255,255,.85); padding: 92px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 620px; margin: 0 auto 30px; }
.cta-band .btn-row { justify-content: center; margin-top: 0; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--white); border-bottom: 1px solid var(--line); padding: 92px 0 80px; }
.page-hero h1 { font-size: clamp(3rem, 5vw, 4.6rem); margin-bottom: 20px; }
.page-hero .lead { max-width: 720px; margin: 0; }
.page-hero .hero-kicker { display: flex; gap: 14px; align-items: center; margin-bottom: 26px;
  font-family: var(--font-label); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brand); }
.page-hero .hero-kicker .line { width: 42px; height: 1px; background: var(--brand-3); }
.page-hero--photo { position: relative; overflow: hidden; background: #111; color: var(--white); }
.page-hero--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,20,.90) 0%, rgba(10,14,20,.72) 52%, rgba(10,14,20,.34) 100%); }
.page-hero--photo > .container { position: relative; z-index: 2; }
.page-hero--photo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo h1, .page-hero--photo .lead { color: var(--white); }
.page-hero--photo .hero-kicker { color: rgba(255,255,255,.8); }

/* CDMO hero — bright botanical flat-lay: deep left scrim for white type, product detail on the right */
.page-hero--botanical::after { background: linear-gradient(90deg, rgba(10,14,20,.93) 0%, rgba(10,14,20,.89) 34%, rgba(10,14,20,.72) 56%, rgba(10,14,20,.26) 82%, rgba(10,14,20,.10) 100%); }
.page-hero--botanical h1, .page-hero--botanical .lead, .page-hero--botanical .hero-kicker { text-shadow: 0 1px 22px rgba(0,0,0,.55); }
.page-hero--botanical h1 { max-width: 860px; }
.page-hero--botanical .lead { max-width: 500px; }
.page-hero--botanical img.bg { object-position: 50% 50%; }

/* ---------- products ---------- */
.family-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--ink); padding-bottom: 16px; margin: 0 0 8px; }
.family-bar h2 { margin: 0; font-size: 2.2rem; }
.family-bar .count { font-family: var(--font-label); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.family-intro { max-width: 780px; color: var(--ink-2); margin: 18px 0 28px; }

.search-box { position: relative; }
.search-box input {
  font-family: var(--font-text); font-size: .86rem; padding: 10px 14px 10px 36px;
  border: 1px solid var(--line); background: var(--white); border-radius: 100px; width: 220px; color: var(--ink);
}
.search-box input:focus { outline: none; border-color: var(--brand-2); }
.search-box svg { position: absolute; left: 12px; top: 12px; width: 15px; height: 15px; color: var(--muted); }

/* health-function checkbox filter (botanikind-style) */
.fn-filter { border: 1px solid var(--line); background: var(--white); padding: 32px 36px 26px; }
.fn-filter-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.fn-filter-head .eyebrow { margin-bottom: 0; }
.fn-clear {
  font-family: var(--font-label); font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--muted); cursor: pointer; padding: 0 0 3px; transition: .2s;
}
.fn-clear:hover, .fn-clear.is-on { color: var(--brand); border-color: var(--brand); }
.fn-checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px 28px; }
.fn-check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.fn-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.fn-box {
  position: relative; flex: 0 0 auto; width: 15px; height: 15px; margin-top: 4px;
  border: 1px solid var(--brand-3); background: var(--white); transition: .2s;
}
.fn-check input:checked + .fn-box { background: var(--brand); border-color: var(--brand); }
.fn-check input:checked + .fn-box::after {
  content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border: solid var(--white); border-width: 0 1.6px 1.6px 0; transform: rotate(42deg);
}
.fn-check input:focus-visible + .fn-box { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.fn-check:hover .fn-label { color: var(--brand); }
.fn-label { transition: color .2s; }
.fn-search-row { display: flex; align-items: center; gap: 20px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.fn-search-row .search-box { margin-left: 0; }
.fn-search-row .search-box input { width: 280px; }
.fn-count { margin-left: auto; font-family: var(--font-label); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ingredient card grid — replaces the old table */
.ingredient-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 26px; background: transparent; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ingredient-card { background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 26px 30px; text-align: center; display: flex; flex-direction: column; transition: background .25s; }
.ingredient-card:hover { background: var(--warm); }
/* one hand-painted watercolour specimen per card, botanikind-style */
.ic-illus {
  height: 178px; margin: 0 0 20px; display: flex; align-items: center; justify-content: center;
}
.ic-illus img {
  display: block; max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; transition: transform .6s ease;
}
.ingredient-card:hover .ic-illus img { transform: scale(1.06); }
.ingredient-card h3 { font-family: var(--font-display); font-size: 1.34rem; font-weight: 400; line-height: 1.22; margin: 0 0 12px; color: var(--brand); }
.ic-latin { font-style: italic; font-size: .82rem; line-height: 1.5; color: var(--muted); margin: 0 0 6px; }
.ic-spec { font-size: .8rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 24px; min-height: 46px; }
.ic-functions { margin: auto 0 0; padding-top: 20px; min-height: 120px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; align-items: center; width: 100%; }
.ic-functions li { display: flex; align-items: flex-start; gap: 8px; font-size: .79rem; line-height: 1.45; color: var(--ink); text-align: left; }
.ic-functions li::before { content: ''; flex: 0 0 auto; width: 4px; height: 8px; margin-top: 4px; border: solid var(--brand); border-width: 0 1.5px 1.5px 0; transform: rotate(42deg); }
.empty-state { padding: 34px; text-align: center; color: var(--muted); font-size: .9rem; display: none; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-label); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-text); font-size: .92rem; color: var(--ink);
  border: 1px solid var(--line); background: var(--white); border-radius: 0;
  padding: 13px 15px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--muted); margin: 16px 0 0; }

.hub-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 34px; }
.hub-card .hub-flag { font-family: var(--font-label); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-2); }
.hub-card h3 { margin: 12px 0 16px; font-size: 1.5rem; }
.hub-card p { font-size: .92rem; color: var(--muted); }
.hub-card .hub-line { display: flex; gap: 12px; font-size: .88rem; padding: 9px 0; border-top: 1px solid var(--line); }
.hub-card .hub-line b { min-width: 96px; color: var(--ink); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: #1E2050; color: rgba(255,255,255,.66); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 58px; }
.footer-brand .logo-box { display: inline-block; background: var(--white); padding: 12px 16px; border-radius: 3px; margin-bottom: 24px; }
.footer-brand .logo-box img { width: 132px; }
.footer-brand p { font-size: .88rem; max-width: 300px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-family: var(--font-label); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.footer-col li { font-size: .88rem; margin-bottom: 11px; }
.footer-col a:hover { color: var(--mist); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-label); font-size: .71rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ---------- editorial v3: image-led sections ---------- */
.container--narrow { max-width: 940px; }
.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }

.chapter { display: flex; align-items: baseline; gap: 26px; border-bottom: 1px solid var(--ink); padding-bottom: 20px; margin-bottom: 48px; }
.chapter .n { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--brand); }
.chapter h2 { margin: 0; font-size: clamp(2.1rem, 3.5vw, 3.1rem); }
.chapter .aside { margin-left: auto; font-family: var(--font-label); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.statement { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; background: #111; color: var(--white); }
.statement > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.statement::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,20,.82) 0%, rgba(10,14,20,.56) 48%, rgba(10,14,20,.16) 100%); }
.statement .container { position: relative; z-index: 2; }
.statement h2 { color: var(--white); font-size: clamp(2.9rem, 5.2vw, 5rem); max-width: 920px; margin-bottom: 20px; }
.statement h2 em { font-style: italic; }
.statement p { color: rgba(255,255,255,.84); max-width: 540px; font-size: 1.02rem; margin-bottom: 0; }
.statement .eyebrow { color: rgba(255,255,255,.8); }
.statement .text-link { color: var(--white); border-color: rgba(255,255,255,.5); }
.statement .text-link:hover { color: var(--white); border-color: var(--white); }
.statement--center { text-align: center; }
.statement--center::after { background: rgba(10,14,20,.5); }
.statement--center h2 { margin-left: auto; margin-right: auto; }
.statement--center p { margin-left: auto; margin-right: auto; }
.statement--center .btn-row { justify-content: center; }

.photo-band { display: grid; gap: 2px; background: var(--white); width: 100%; }
.photo-band--3 { grid-template-columns: repeat(3, 1fr); }
.photo-band--4 { grid-template-columns: repeat(4, 1fr); }
.photo-band figure { margin: 0; position: relative; overflow: hidden; background: var(--mist-light); }
.photo-band img { width: 100%; height: 380px; object-fit: cover; transition: transform .8s ease; }
.photo-band--4 img { height: 330px; }
.photo-band figure:hover img { transform: scale(1.045); }
.photo-band figcaption { position: absolute; left: 0; bottom: 0; z-index: 2; background: rgba(255,255,255,.94); padding: 11px 18px; font-family: var(--font-label); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }

.duo-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--white); }
.duo-item { position: relative; display: block; min-height: 520px; overflow: hidden; color: var(--white); }
.duo-item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.duo-item:hover > img { transform: scale(1.05); }
.duo-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,20,.06) 0%, rgba(10,14,20,.34) 34%, rgba(10,14,20,.80) 72%, rgba(10,14,20,.92) 100%); }
.duo-body { position: absolute; z-index: 2; left: 46px; right: 46px; bottom: 40px; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.duo-item .eyebrow { margin-bottom: 14px; }
.duo-item h3 { color: var(--white); font-size: clamp(2rem, 3vw, 2.8rem); margin: 0 0 10px; }
.duo-item p { color: rgba(255,255,255,.8); font-size: .9rem; margin: 0 0 22px; max-width: 420px; }
.duo-arrow { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; font-size: 1.1rem; transition: background .25s, color .25s, transform .25s; }
.duo-item:hover .duo-arrow { background: var(--white); color: var(--ink); transform: translateX(5px); }

.place-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.place { position: relative; min-height: 470px; overflow: hidden; background: #111; }
.place > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.place:hover > img { transform: scale(1.04); }
.place::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,20,.04) 0%, rgba(10,14,20,.30) 36%, rgba(10,14,20,.80) 74%, rgba(10,14,20,.92) 100%); }
.place-body { position: absolute; z-index: 2; left: 44px; right: 44px; bottom: 36px; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.place-body .eyebrow { margin-bottom: 12px; }
.place-body h3 { color: var(--white); font-size: clamp(2rem, 3vw, 2.7rem); margin: 0 0 8px; }
.place-body p { color: rgba(255,255,255,.84); font-size: .95rem; margin: 0; }

.split--wide { grid-template-columns: 1.12fr .88fr; gap: 92px; }
.media-stack { position: relative; height: 540px; }
.media-stack .main { width: 86%; height: 100%; object-fit: cover; }
.media-stack .sub { position: absolute; right: 0; bottom: 0; width: 38%; height: 208px; object-fit: cover; border: 8px solid var(--white); }
.media-stack .stack-cap { position: absolute; left: 0; top: 0; z-index: 2; background: rgba(255,255,255,.94); padding: 12px 20px; font-family: var(--font-label); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }

.pull { background: var(--warm); padding: 116px 0; text-align: center; }
.pull blockquote { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.16; color: var(--ink); margin: 0 auto; max-width: 1000px; }
.pull .eyebrow { margin-bottom: 28px; }

.fact-line { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.fact-line > div { padding: 34px 34px 10px 0; border-right: 1px solid var(--line); }
.fact-line > div:not(:first-child) { padding-left: 34px; }
.fact-line > div:last-child { border-right: 0; }
.fact-line h3 { font-size: 1.7rem; margin: 0 0 12px; }
.fact-line p { font-size: .92rem; color: var(--muted); margin: 0; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }

.cta-band--photo { position: relative; overflow: hidden; background: #111; padding: 112px 0; }
.cta-band--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* bright sunflower close-up needs a touch more darkening for white type */
.cta-band--photo > img[src*="footer-plant2"] { filter: brightness(.84); }
.cta-band--photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(10,14,28,.62); }
.cta-band--photo .container { position: relative; z-index: 2; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.contact-block { background: var(--white); padding: 56px 48px; }
.contact-block h3 { font-size: 2.4rem; margin: 0 0 20px; }
.contact-block p { font-size: 1rem; line-height: 1.85; color: var(--ink-2); margin: 0; }
.contact-block address {
  display: block; font-style: normal; margin-top: 24px; padding-top: 24px;
  border-top: 1px solid var(--line); font-size: .96rem; line-height: 1.8; color: var(--ink-2);
}
.cb-email {
  display: inline-block; margin-top: 22px; font-family: var(--font-display);
  font-size: 1.35rem; color: var(--brand);
  border-bottom: 1px solid var(--brand); padding-bottom: 4px;
}
.cb-email:hover { color: var(--ink); border-color: var(--ink); }
.form-shell { background: var(--white); border: 1px solid var(--line); padding: 44px; margin-top: 34px; }

.footer-grid--3 { grid-template-columns: 1.6fr 1fr 1.2fr; }
.app-card { min-height: 320px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 20px; }
  .brand .brand-sub { display: none; }
  .split { gap: 42px; }
}
@media (max-width: 980px) {
  .section { padding: 82px 0; }
  .header-inner { min-height: 72px; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--white);
    border-bottom: 1px solid var(--line); padding: 12px 34px 24px; box-shadow: 0 16px 30px rgba(28,30,60,.10);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .hero--full { min-height: 620px; }
  .hero--full .hero-inner { padding: 72px 0 56px; }
  .hero-copy { max-width: 680px; }
  .grid-3, .grid-4, .dose-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split-img { order: 0; }
  .split-img img { height: 420px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  /* editorial v3 */
  .stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .split--wide { gap: 44px; }
  .media-stack { height: 420px; }
  .media-stack .sub { height: 160px; }
  .duo-item { min-height: 420px; }
  .place { min-height: 380px; }
  .statement { min-height: 470px; }
  .photo-band--4 { grid-template-columns: repeat(2, 1fr); }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .chapter { flex-wrap: wrap; gap: 14px; }
  .chapter .aside { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .section { padding: 66px 0; }
  .topbar .container { font-size: .62rem; padding-top: 8px; padding-bottom: 8px; }
  .topbar .container.topbar-inner { flex-direction: row; align-items: center; gap: 12px; }
  .topbar-rule { width: 24px; }
  .topbar-slogan { font-size: .92rem; }
  .topbar .hide-sm { display: none; }
  .topbar .sep { display: none; }
  .hero--full h1 { font-size: 3rem; }
  .hero-meta { font-size: .65rem; }
  .hero-foot .container { flex-direction: column; gap: 6px; font-size: .64rem; }
  .grid-2, .grid-3, .grid-4, .dose-grid, .app-grid, .steps, .form-grid, .footer-grid,
  .duo-nav, .place-grid, .contact-grid, .photo-band--3, .photo-band--4, .fact-line,
  .steps--4, .stats-grid--3, .footer-grid--3 { grid-template-columns: 1fr; }
  .stat { padding: 30px 20px; }
  .stat .num { font-size: 2.2rem; }
  .app-card { min-height: 230px; }
  .split-img img { height: 320px; }
  .family-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { width: 100%; }
  .section-head { margin-bottom: 36px; }
  .cta-band { padding: 68px 0; }
  /* editorial v3 */
  .photo-band img, .photo-band--4 img { height: 270px; }
  .duo-item { min-height: 360px; }
  .place { min-height: 340px; }
  .duo-body, .place-body { left: 26px; right: 26px; bottom: 28px; }
  .media-stack { height: 360px; }
  .media-stack .sub { height: 130px; border-width: 5px; }
  .statement { min-height: 420px; }
  .statement h2 { font-size: 2.6rem; }
  .fact-line > div, .fact-line > div:not(:first-child) { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact-line > div:last-child { border-bottom: 0; }
  .contact-block { padding: 38px 26px; }
  .form-shell { padding: 26px 20px; }
  .pull { padding: 76px 0; }
  .cta-band--photo { padding: 76px 0; }
  .chapter .n { font-size: 1.5rem; }
  .chapter { margin-bottom: 32px; }
  /* CDMO botanical hero: even dark scrim on narrow screens */
  .page-hero--botanical::after { background: linear-gradient(90deg, rgba(10,14,20,.93) 0%, rgba(10,14,20,.87) 55%, rgba(10,14,20,.78) 100%); }
  .page-hero--botanical h1 { font-size: 2.7rem; }
  .page-hero--botanical .lead { max-width: 100%; font-size: .98rem; }
  .dose-card--photo .dose-photo { height: 260px; }
  .chapter-lead { margin-top: -12px; margin-bottom: 32px; }
  .center-block h2 { font-size: 2.1rem; }
}

/* ---------- products: responsive ---------- */
@media (max-width: 1100px) {
  .fn-checks { grid-template-columns: repeat(3, 1fr); }
  .ingredient-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .fn-filter { padding: 26px 22px 22px; }
  .fn-checks { grid-template-columns: repeat(2, 1fr); gap: 13px 18px; }
  .ingredient-grid { grid-template-columns: repeat(2, 1fr); }
  .fn-search-row { flex-wrap: wrap; }
  .fn-count { margin-left: 0; }
}
@media (max-width: 520px) {
  .fn-checks { grid-template-columns: 1fr; }
  .ingredient-grid { grid-template-columns: 1fr; }
  .fn-search-row .search-box, .fn-search-row .search-box input { width: 100%; }
  .ic-spec, .ic-functions { min-height: 0; }
}

/* ---------- illustrated home poster · paper edition ----------
   The hand-drawn artwork stays, but the poster now uses the same design system
   as every inner page: white header, warm paper ground, Cormorant display type,
   hairline rules and ink pill buttons. Green lives in the plants, not the ground. */
.poster {
  position: relative; overflow: hidden; min-height: 900px; isolation: isolate;
  background: #FCFBF8; border-bottom: 1px solid var(--line);
}
/* A ghosted botanical photograph: plant texture without a coloured ground */
.poster::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('../img/greens-flatlay.jpg') center center / cover no-repeat;
  opacity: .24; filter: saturate(.5); mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.30) 34%, #000 76%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.30) 34%, #000 76%);
}
/* Warm paper behind the type, a whisper of sage where the botanicals sit */
.poster::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 76% 34%, rgba(151,183,112,.27), transparent 58%),
    radial-gradient(ellipse at 90% 84%, rgba(167,193,130,.16), transparent 52%),
    radial-gradient(ellipse at 10% 88%, rgba(244,240,226,.60), transparent 60%),
    linear-gradient(105deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.52) 44%, rgba(255,255,255,.06) 100%);
}
.poster-cubes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.poster-objects { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.poster-obj {
  position: absolute; display: block; height: auto;
  filter: drop-shadow(0 10px 14px rgba(32,35,60,.13));
}
.poster-words { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.poster-word {
  position: absolute; white-space: nowrap; line-height: 1;
  font-family: 'Caveat', 'Segoe Print', cursive; font-weight: 700;
  font-size: clamp(1.7rem, 2.5vw, 2.6rem); color: var(--brand); opacity: .74;
  letter-spacing: .005em;
}
.poster-word.word--vertical { transform: rotate(90deg); transform-origin: 0 0; }

.poster-copy { position: relative; z-index: 6; padding-top: 100px; padding-bottom: 180px; }
.poster .hero-kicker {
  display: flex; gap: 14px; align-items: center; margin-bottom: 30px;
  font-family: var(--font-label); font-size: .7rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--brand);
}
.poster .hero-kicker .line { width: 42px; height: 1px; background: var(--brand-3); }
.poster-hand {
  display: block; width: max-content; margin-bottom: 6px; transform: rotate(-3deg);
  font-family: 'Caveat', 'Segoe Print', cursive; font-weight: 700;
  font-size: 2rem; line-height: 1; color: var(--brand-2);
}
.poster-copy h1 {
  position: relative; max-width: 540px; margin: 0 0 24px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.3rem, 5vw, 5.1rem); line-height: 1.04;
  color: var(--ink); letter-spacing: -.015em;
}
.poster-copy h1 em { font-style: italic; font-weight: 300; color: var(--brand); }
.poster-copy h1::after {
  content: ''; display: block; width: 74px; height: 1px; margin-top: 28px;
  background: var(--brand-3);
}
.poster-copy p {
  max-width: 390px; margin: 0 0 30px; font-size: 1.02rem;
  line-height: 1.75; font-weight: 300; color: var(--ink-2);
}
.poster-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.poster-btns .btn span { font-size: 1rem; }
.poster-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  border-top: 1px solid var(--line); background: rgba(255,255,255,.76);
}
.poster-foot .container {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 17px; padding-bottom: 17px;
  font-family: var(--font-label); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.poster-foot a { color: var(--brand); }
.poster-foot a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .poster { min-height: 0; padding-bottom: 0; }
  .poster::before { opacity: .08; -webkit-mask-image: none; mask-image: none; }
  .poster-cubes { height: 430px; bottom: auto; opacity: .34; }
  .poster-copy { padding-top: 54px; padding-bottom: 40px; }
  /* soft paper veil: keeps the doodles from sitting on top of the headline */
  .poster-copy::before {
    content: ''; position: absolute; inset: -12px 0 -26px; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(252,251,248,.94) 0%, rgba(252,251,248,.86) 64%, rgba(252,251,248,0) 100%);
  }
  .poster-copy h1 { font-size: clamp(2.9rem, 8.5vw, 4.4rem); }
  .poster-copy p { max-width: 100%; }
  .poster-obj:last-child { grid-column: 2; justify-self: center; }
  .poster-objects {
    position: relative; inset: auto; z-index: 5;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    padding: 0 22px 34px;
  }
  .poster-obj { position: static; width: 100% !important; }
  .poster-words {
    position: relative; inset: auto; z-index: 5;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px;
    padding: 0 22px 36px;
  }
  .poster-word { position: static; font-size: 2rem; transform: none !important; }
  .poster-foot { position: relative; bottom: auto; }
}
@media (max-width: 520px) {
  .poster-objects { grid-template-columns: repeat(2, 1fr); }
  .poster-obj:last-child { grid-column: 1 / -1; width: 50% !important; }
  .poster-word { font-size: 1.7rem; }
  .poster-hand { font-size: 1.7rem; }
  .poster .hero-kicker { flex-wrap: wrap; gap: 10px; font-size: .64rem; letter-spacing: .16em; }
  .poster-btns { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
