/* =====================================================================
   Gold Standard Curcumin — Phytaphix
   Shared design system. Black + gold, premium apothecary-science.
   ===================================================================== */

:root {
  /* Brand palette (sampled from packaging) */
  --gold-100: #fbe6b8;
  --gold-200: #f3d27a;
  --gold-300: #e9b949;
  --gold-400: #d4972a;   /* primary gold */
  --gold-500: #b6791c;
  --gold-600: #8a5a12;

  --ink-900: #0a0a0b;    /* near-black background */
  --ink-800: #141416;
  --ink-700: #1d1d20;
  --ink-600: #26262b;
  --ink-500: #34343b;

  --paper: #faf6ec;       /* warm off-white */
  --paper-dim: #efe7d4;

  --text-on-dark: #f3efe3;
  --text-dim: #b9b2a1;
  --text-on-light: #201d16;
  --text-on-light-dim: #5c5545;

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #f6d878 0%, #d4972a 45%, #a76a16 100%);
  --grad-gold-soft: linear-gradient(135deg, #e9b949, #b6791c);
  --grad-ink: linear-gradient(160deg, #1a1a1d 0%, #0a0a0b 100%);

  --shadow-lg: 0 30px 60px -25px rgba(0,0,0,.75);
  --shadow-gold: 0 18px 40px -18px rgba(212,151,42,.55);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --maxw: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-on-light);
  background: var(--paper);
  line-height: 1.6;
  font-size: clamp(1rem, .96rem + .25vw, 1.075rem);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 1.6rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); }
p { margin: 0 0 1rem; }
.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 6vw, 6.5rem) 0; }

/* ---------- Utility ---------- */
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .74rem; color: var(--gold-500);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-gold-soft); }
.eyebrow.on-dark { color: var(--gold-200); }
.lead { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); color: var(--text-on-light-dim); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .9rem 1.7rem; border-radius: var(--radius-pill);
  cursor: pointer; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--grad-gold); color: #241704; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -16px rgba(212,151,42,.7); }
.btn-outline { background: transparent; border-color: rgba(212,151,42,.55); color: var(--gold-500); }
.btn-outline.on-dark { color: var(--gold-100); border-color: rgba(233,185,73,.5); }
.btn-outline:hover { background: rgba(212,151,42,.1); }
.btn-ghost-dark { background: rgba(255,255,255,.06); color: var(--text-on-dark); border-color: rgba(255,255,255,.14); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.12); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,11,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,151,42,.18);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .85rem 0; min-height: 62px;
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; color: var(--text-on-dark); font-size: 1.12rem; letter-spacing: -.01em; }
.brand .brand-mark { color: var(--gold-300); font-weight: 700; }
.brand small { display:block; font-size:.62rem; letter-spacing:.22em; text-transform:uppercase; color:var(--text-dim); font-weight:500; margin-top:2px; }
.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text-dim); font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  padding: .5rem .8rem; border-radius: var(--radius-sm); transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-100); background: rgba(212,151,42,.1); }
.nav-cta { margin-left: .4rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold-200); margin: 5px 0; transition: .25s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .1rem;
    background: var(--ink-900); border-bottom: 1px solid rgba(212,151,42,.2);
    padding: .8rem 1.2rem 1.4rem; transform: translateY(-140%); transition: transform .3s ease; z-index: -1;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .8rem .6rem; font-size: 1rem; }
  .nav-links .nav-cta { margin: .6rem 0 0; }
  .nav-links .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--grad-ink); color: var(--text-on-dark);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 40%, rgba(212,151,42,.28), transparent 70%),
    radial-gradient(40% 40% at 12% 90%, rgba(212,151,42,.14), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 5rem);
}
.hero h1 { color: var(--text-on-dark); }
.hero .lead { color: var(--text-dim); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-bottle { position: relative; text-align: center; }
.hero-bottle img { margin-inline: auto; width: auto; height: auto; max-height: 560px; filter: drop-shadow(0 40px 45px rgba(0,0,0,.55)); animation: floaty 6s ease-in-out infinite; }
.hero-glow { position: absolute; inset: 0; margin: auto; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(233,185,73,.4), transparent 62%); filter: blur(20px); z-index: 0; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .hero-bottle img { animation: none; } }

.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; }
.hero-badge { display: flex; flex-direction: column; }
.hero-badge b { font-family: var(--font-head); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.hero-badge > span { font-size: .8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; }
.hero-badge b [data-count] { font-size: inherit; color: inherit; letter-spacing: normal; text-transform: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-bottle { order: -1; }
  .hero-bottle img { max-height: 380px; }
}

/* ---------- Marquee / trust bar ---------- */
.trustbar { background: var(--ink-900); border-top: 1px solid rgba(212,151,42,.18); border-bottom: 1px solid rgba(212,151,42,.18); }
.trustbar-inner { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center; padding: 1.1rem 0; }
.trustbar-inner span { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-100); font-family: var(--font-head); font-weight: 500; font-size: .86rem; text-transform: uppercase; letter-spacing: .09em; }
.trustbar-inner svg { width: 18px; height: 18px; color: var(--gold-300); }

/* ---------- Section headers ---------- */
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section.dark { background: var(--grad-ink); color: var(--text-on-dark); }
.section.dark h2 { color: var(--text-on-dark); }
.section.dark .lead { color: var(--text-dim); }
.section.warm { background: var(--paper-dim); }

/* ---------- Benefit grid ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.benefit {
  background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius);
  padding: 1.5rem 1.35rem; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.section.dark .benefit { background: rgba(255,255,255,.04); border-color: rgba(212,151,42,.22); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(212,151,42,.5); }
.benefit-ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-gold-soft); color: #241704; margin-bottom: 1rem;
}
.benefit-ico svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.section.dark .benefit h3 { color: var(--text-on-dark); }
.benefit p { margin: 0; font-size: .93rem; color: var(--text-on-light-dim); }
.section.dark .benefit p { color: var(--text-dim); }

/* ---------- Stat cards ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1rem; }
.stat {
  background: var(--ink-800); border: 1px solid rgba(212,151,42,.28); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; position: relative; overflow: hidden;
}
.stat::after { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--grad-gold); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1; }
.stat b .gold-text { display: inline; }
.stat > span { color: var(--text-dim); font-size: .92rem; }
.stat b [data-count] { font-size: inherit; color: inherit; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* ---------- Highlight callout (540 tsp) ---------- */
.callout {
  background: var(--grad-gold); color: #241704; border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem); display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem 2rem; justify-content: center; text-align: center;
}
.callout .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 1.5rem + 5vw, 4.5rem); line-height: 1; }
.callout .callout-text { text-align: left; max-width: 30ch; }
.callout .callout-text b { font-family: var(--font-head); font-size: 1.15rem; }
@media (max-width:560px){ .callout .callout-text { text-align: center; } }

/* ---------- Feature list (checklist) ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--grad-gold-soft);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/16px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/16px no-repeat;
}

/* ---------- Steps (pill to cell) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem; background: rgba(255,255,255,.04); border: 1px solid rgba(212,151,42,.22); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: .5rem; }
.step h3 { font-size: 1.1rem; }

/* ---------- Testimonial ---------- */
.quote { max-width: 760px; margin-inline: auto; text-align: center; }
.quote blockquote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + 1.4vw, 2rem); line-height: 1.3; margin: 0 0 1.2rem; }
.quote cite { font-style: normal; color: var(--gold-300); font-weight: 600; letter-spacing: .04em; }
.quote .stars { color: var(--gold-300); letter-spacing: .2em; margin-bottom: 1rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-gold); color: #241704; text-align: center; }
.cta-band h2 { color: #241704; }
.cta-band .btn-dark { background: var(--ink-900); color: var(--gold-100); }
.cta-band .btn-dark:hover { transform: translateY(-2px); }

/* ---------- Product card (shop) ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: start; }
.product-media { background: var(--grad-ink); border-radius: var(--radius); padding: 2rem; position: relative; overflow: hidden; }
.product-media::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 60% at 50% 40%, rgba(233,185,73,.3), transparent 70%); }
.product-media img { position: relative; margin-inline: auto; width: auto; height: auto; max-height: 460px; }
.price { display: flex; align-items: baseline; gap: .6rem; margin: .3rem 0 1rem; }
.price .amount { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; }
.price .was { color: var(--text-on-light-dim); text-decoration: line-through; font-size: 1.1rem; }
.price .save { background: rgba(212,151,42,.16); color: var(--gold-600); font-weight: 600; padding: .2rem .6rem; border-radius: var(--radius-pill); font-size: .8rem; }
.buy-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.pill { background: rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-pill); padding: .35rem .85rem; font-size: .82rem; font-weight: 500; }
@media (max-width: 820px){ .product { grid-template-columns: 1fr; } }

/* ---------- Research index ---------- */
.research-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.search-box { position: relative; flex: 1 1 280px; }
.search-box input { width: 100%; padding: .85rem 1rem .85rem 2.8rem; border-radius: var(--radius-pill); border: 1px solid rgba(0,0,0,.15); font-size: 1rem; font-family: var(--font-body); background: #fff; }
.search-box input:focus { outline: 2px solid var(--gold-300); border-color: transparent; }
.search-box svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-on-light-dim); }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid rgba(0,0,0,.15); background: #fff; border-radius: var(--radius-pill); padding: .45rem 1rem; font-size: .85rem; font-family: var(--font-head); font-weight: 500; cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--gold-400); }
.chip.active { background: var(--grad-gold); border-color: transparent; color: #241704; }

.research-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.condition {
  background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.15rem;
  transition: transform .18s, box-shadow .18s, border-color .18s; display: flex; flex-direction: column; gap: .5rem;
}
.condition:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(212,151,42,.45); }
.condition-top { display: flex; align-items: center; gap: .7rem; }
.condition-ico { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--grad-gold-soft); color: #241704; display: grid; place-items: center; }
.condition-ico svg { width: 22px; height: 22px; }
.condition h3 { font-size: 1.05rem; margin: 0; }
.condition .tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--gold-600); font-weight: 600; }
.condition p { margin: 0; font-size: .88rem; color: var(--text-on-light-dim); }
.no-results { text-align: center; padding: 3rem 1rem; color: var(--text-on-light-dim); grid-column: 1 / -1; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg); }
.section.dark .form-card { background: rgba(255,255,255,.04); border-color: rgba(212,151,42,.25); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,.16); font-family: var(--font-body); font-size: 1rem; background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold-300); border-color: transparent; }
.form-note { font-size: .82rem; color: var(--text-on-light-dim); }

/* ---------- Cards grid (generic) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.2rem; }
.card { background:#fff; border:1px solid rgba(0,0,0,.07); border-radius: var(--radius); padding: 1.6rem; }
.section.dark .card { background: rgba(255,255,255,.04); border-color: rgba(212,151,42,.22); color: var(--text-on-dark); }
.icon-badge { width:44px; height:44px; border-radius:11px; background: var(--grad-gold-soft); color:#241704; display:grid; place-items:center; margin-bottom:.9rem; }
.icon-badge svg { width:24px; height:24px; }

/* ---------- Disclaimer ---------- */
.disclaimer { background: var(--ink-900); color: var(--text-dim); font-size: .85rem; text-align: center; padding: 1.4rem 0; border-top: 1px solid rgba(212,151,42,.14); }
.disclaimer .container { max-width: 80ch; }

/* ---------- Footer ---------- */
.site-footer { background: #060607; color: var(--text-dim); padding: clamp(3rem,5vw,4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-grid h4 { font-family: var(--font-head); color: var(--gold-100); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-grid a:hover { color: var(--gold-200); }
.footer-brand p { max-width: 34ch; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; }
.footer-social { display: flex; gap: .7rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; transition: .18s; }
.footer-social a:hover { border-color: var(--gold-300); color: var(--gold-200); }
.footer-social svg { width: 18px; height: 18px; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; } }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--grad-ink); color: var(--text-on-dark); padding: clamp(3rem,6vw,5rem) 0 clamp(2.5rem,5vw,4rem); position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 60% at 85% 20%, rgba(212,151,42,.22), transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--text-on-dark); max-width: 18ch; }
.page-hero .lead { color: var(--text-dim); }
.breadcrumb { font-size: .82rem; color: var(--text-dim); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--gold-200); }

/* =====================================================================
   Enhancements: hero polish, SLCP journey, Home 2 callouts
   ===================================================================== */

/* ---- Hero entrance stagger ---- */
.hero-copy > * { opacity: 0; transform: translateY(18px); animation: heroIn .7s cubic-bezier(.2,.7,.3,1) forwards; }
.hero-copy > *:nth-child(1){ animation-delay:.05s } .hero-copy > *:nth-child(2){ animation-delay:.15s }
.hero-copy > *:nth-child(3){ animation-delay:.25s } .hero-copy > *:nth-child(4){ animation-delay:.35s }
.hero-copy > *:nth-child(5){ animation-delay:.45s }
@keyframes heroIn { to { opacity:1; transform:none; } }

/* ---- Floating gold particles in hero ---- */
.hero-particles { position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
.hero-particles i {
  position:absolute; bottom:-10px; width:6px; height:6px; border-radius:50%;
  background: radial-gradient(circle, #f6d878, #d4972a); opacity:0; filter: blur(.3px);
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) scale(.6); opacity:0; }
  10% { opacity:.9; }
  90% { opacity:.6; }
  100% { transform: translateY(-90vh) scale(1); opacity:0; }
}
.hero-grid { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce){
  .hero-copy > * { opacity:1; transform:none; animation:none; }
  .hero-particles { display:none; }
}

/* ---- SLCP journey diagram ---- */
.journey { position: relative; margin-top: 1rem; }
.journey-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  position: relative; padding-top: 2.4rem;
}
.journey-line {
  position: absolute; top: 2.4rem; left: 8%; right: 8%; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(212,151,42,.25), rgba(212,151,42,.25));
  overflow: hidden;
}
.journey-line::after {
  content:""; position:absolute; inset:0; width:0;
  background: var(--grad-gold); border-radius:4px; box-shadow: 0 0 12px rgba(233,185,73,.7);
  transition: width 2.8s ease;
}
.journey.run .journey-line::after { width: 100%; }
.journey-particle {
  position: absolute; top: 2.4rem; left: 8%; width: 18px; height: 18px; margin: -7px 0 0 -9px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3d1, #d4972a);
  box-shadow: 0 0 18px 4px rgba(233,185,73,.85); opacity: 0; z-index: 3;
}
.journey.run .journey-particle { animation: travel 2.8s ease forwards; }
@keyframes travel {
  0% { left: 8%; opacity: 0; } 6% { opacity: 1; }
  94% { opacity: 1; } 100% { left: 92%; opacity: 0; }
}
.journey-stop { position: relative; text-align: center; z-index: 2; }
.journey-node {
  width: 66px; height: 66px; margin: -2.7rem auto .9rem; border-radius: 50%;
  background: var(--ink-800); border: 2px solid rgba(212,151,42,.35);
  display: grid; place-items: center; color: var(--gold-200);
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease, background .4s;
}
.journey-node svg { width: 30px; height: 30px; }
.journey.run .journey-stop:nth-child(1) .journey-node { transition-delay:.1s }
.journey.run .journey-stop:nth-child(2) .journey-node { transition-delay:.8s }
.journey.run .journey-stop:nth-child(3) .journey-node { transition-delay:1.6s }
.journey.run .journey-stop:nth-child(4) .journey-node { transition-delay:2.4s }
.journey.run .journey-node {
  border-color: var(--gold-300); background: linear-gradient(160deg,#2a2113,#151109);
  box-shadow: 0 0 0 6px rgba(212,151,42,.12), 0 10px 30px -10px rgba(212,151,42,.6);
  transform: translateY(-4px) scale(1.04);
}
.journey-stop h4 { font-family: var(--font-head); font-size: 1rem; margin: 0 0 .3rem; color: var(--text-on-dark); }
.journey-stop p { font-size: .84rem; color: var(--text-dim); margin: 0; }
.journey-step-num { font-family: var(--font-head); font-weight:700; font-size:.72rem; letter-spacing:.12em; color: var(--gold-400); text-transform:uppercase; }

@media (max-width: 760px){
  .journey-track { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 0; padding-left: 2.6rem; }
  .journey-line { top: 1.4rem; bottom: 1.4rem; left: 1.4rem; right: auto; width: 4px; height: auto; }
  .journey-line::after { width:100% !important; height:0; transition: height 2.8s ease; }
  .journey.run .journey-line::after { height:100%; }
  .journey-particle { display:none; }
  .journey-node { margin: 0 0 .6rem; }
  .journey-stop { text-align: left; padding-left: .4rem; }
}
@media (prefers-reduced-motion: reduce){
  .journey.run .journey-line::after { width:100%; transition:none; }
  .journey-particle { display:none; }
  .journey-node { border-color: var(--gold-300); }
}

/* ---- Home 2: interactive callouts ---- */
.callout-stage {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem,3vw,2.5rem);
  align-items: center; margin-bottom: 2.4rem;
}
.callout-col { display: flex; flex-direction: column; gap: .8rem; }
.callout-col.right { align-items: flex-start; }
.callout-col.left { align-items: flex-end; }
.callout-bottle { position: relative; text-align:center; }
.callout-bottle img { max-height: 520px; width:auto; margin-inline:auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.callout-bottle .hero-glow { background: radial-gradient(circle, rgba(233,185,73,.35), transparent 62%); }

.callout-item {
  display: flex; align-items: center; gap: .7rem; width: 100%; max-width: 260px;
  background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-pill);
  padding: .6rem .9rem; cursor: pointer; text-align: left; font-family: var(--font-body);
  transition: transform .18s, box-shadow .18s, border-color .18s, background .18s;
}
.callout-col.left .callout-item { flex-direction: row-reverse; text-align: right; }
.callout-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: rgba(212,151,42,.5); }
.callout-item.active { background: var(--grad-gold); border-color: transparent; box-shadow: var(--shadow-gold); }
.callout-item.active .ci-ico { background: rgba(0,0,0,.15); color:#241704; }
.callout-item.active .ci-label { color:#241704; }
.ci-ico { flex:0 0 38px; height:38px; border-radius:50%; background: var(--grad-gold-soft); color:#241704; display:grid; place-items:center; }
.ci-ico svg { width:20px; height:20px; }
.ci-label { font-family: var(--font-head); font-weight:600; font-size:.92rem; line-height:1.15; }

.callout-detail {
  background: var(--grad-ink); color: var(--text-on-dark); border: 1px solid rgba(212,151,42,.3);
  border-radius: var(--radius); padding: clamp(1.5rem,4vw,2.4rem); position: relative; overflow: hidden;
  min-height: 200px;
}
.callout-detail::before { content:""; position:absolute; top:0; right:0; width:220px; height:220px; background: radial-gradient(circle at 70% 30%, rgba(233,185,73,.25), transparent 70%); }
.callout-detail .cd-inner { position: relative; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.callout-detail .cd-inner.show { opacity: 1; transform: none; }
.cd-tag { display:inline-flex; align-items:center; gap:.5rem; font-family:var(--font-head); font-weight:600; text-transform:uppercase; letter-spacing:.12em; font-size:.72rem; color: var(--gold-200); margin-bottom:.7rem; }
.cd-tag .ci-ico { width:34px; height:34px; flex-basis:34px; }
.callout-detail h3 { color: var(--text-on-dark); font-size: clamp(1.3rem,1.1rem+1vw,1.8rem); }
.callout-detail p { color: var(--text-dim); max-width: 60ch; }
.cd-studies { display:flex; flex-wrap:wrap; gap:.5rem; margin: 1rem 0 1.2rem; }
.cd-studies span { background: rgba(212,151,42,.14); border:1px solid rgba(212,151,42,.3); color: var(--gold-100); border-radius: var(--radius-pill); padding:.3rem .8rem; font-size:.78rem; }

/* Home2 mobile: bottle first, chips as grid, detail below */
@media (max-width: 860px){
  .callout-stage { grid-template-columns: 1fr; }
  .callout-bottle { order: -1; }
  .callout-bottle img { max-height: 340px; }
  .callout-col { display: grid; grid-template-columns: 1fr 1fr; gap:.6rem; }
  .callout-col.left, .callout-col.right { align-items: stretch; }
  .callout-col.left .callout-item { flex-direction: row; text-align: left; }
  .callout-item { max-width: none; }
}
@media (max-width: 420px){ .callout-col { grid-template-columns: 1fr; } }

/* Concept ribbon */
.concept-ribbon { background: var(--gold-400); color:#241704; text-align:center; font-family:var(--font-head); font-weight:600; font-size:.86rem; padding:.5rem 1rem; }
.concept-ribbon a { text-decoration: underline; }

/* ---- Home 2 v2: conditions left · lines to capsule · detail right ---- */
.callout-stage2 {
  display: grid;
  grid-template-columns: minmax(200px, 250px) minmax(240px, 340px) minmax(290px, 1fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: center;
  position: relative;
}
.callout-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.cl-line { fill: none; stroke: rgba(233,185,73,.28); stroke-width: 1.5; transition: stroke .25s ease, stroke-width .25s ease; }
.cl-line.hover { stroke: rgba(233,185,73,.65); stroke-width: 2; }
.cl-line.on { stroke: var(--gold-300); stroke-width: 2.5; filter: drop-shadow(0 0 5px rgba(233,185,73,.85)); }
.cl-dot { fill: rgba(233,185,73,.5); transition: fill .25s ease, r .25s ease; }
.cl-dot.hover { fill: rgba(233,185,73,.9); }
.cl-dot.on { fill: var(--gold-200); }
.cl-hub { fill: var(--gold-300); filter: drop-shadow(0 0 7px rgba(233,185,73,.9)); }
.cl-hub-ring { fill: none; stroke: rgba(233,185,73,.4); stroke-width: 1.5; }

.callout-buttons { display: flex; flex-direction: column; gap: .65rem; position: relative; z-index: 1; }
.callout-buttons .callout-item { max-width: none; width: 100%; }
.callout-stage2 .callout-bottle { position: relative; z-index: 1; }
.callout-stage2 .callout-bottle img { max-height: 480px; }
.callout-stage2 .callout-detail { position: relative; z-index: 1; margin: 0; height: 100%; display: flex; align-items: center; }

@media (max-width: 900px){
  .callout-stage2 { grid-template-columns: 1fr; }
  .callout-lines { display: none; }
  .callout-stage2 .callout-bottle { order: -1; }
  .callout-stage2 .callout-bottle img { max-height: 320px; }
  .callout-buttons { display: grid; grid-template-columns: 1fr 1fr; }
  .callout-stage2 .callout-detail { height: auto; }
}
@media (max-width: 460px){ .callout-buttons { grid-template-columns: 1fr; } }
